code: public static <T> RadioGroup<T> newRadioGroup(final String id, final IModel<T> model)
  	{
  		final RadioGroup<T> radioGroup = new RadioGroup<>(id, model);
  		radioGroup.setOutputMarkupId(true);
  		return radioGroup;
  	}
docs: Factory method for create a new {@link RadioGroup}.
  
  @param <T>
  the generic type of the model
  @param id
  the id
  @param model
  the model
  @return the new {@link RadioGroup}.