code: public static <T> DropDownChoice<T> newDropDownChoice(final String id, final IModel<T> model,
  		final List<? extends T> choices)
  	{
  		final DropDownChoice<T> dropDownChoice = new DropDownChoice<>(id, model, choices);
  		dropDownChoice.setOutputMarkupId(true);
  		return dropDownChoice;
  	}
docs: Factory method for create a new {@link DropDownChoice}.
  
  @param <T>
  the generic type of the {@link DropDownChoice}
  @param id
  the id
  @param model
  the model
  @param choices
  The collection of choices in the dropdown
  @return the new {@link DropDownChoice}.