Author: jdonnerstag Date: Sun Jun 12 08:37:34 2011 New Revision: 1134889 URL: http://svn.apache.org/viewvc?rev=1134889&view=rev Log: WICKET-3786 fixed: Add model-less constructor to DateTextField
Modified: wicket/trunk/wicket-datetime/src/main/java/org/apache/wicket/datetime/markup/html/form/DateTextField.java Modified: wicket/trunk/wicket-datetime/src/main/java/org/apache/wicket/datetime/markup/html/form/DateTextField.java URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-datetime/src/main/java/org/apache/wicket/datetime/markup/html/form/DateTextField.java?rev=1134889&r1=1134888&r2=1134889&view=diff ============================================================================== --- wicket/trunk/wicket-datetime/src/main/java/org/apache/wicket/datetime/markup/html/form/DateTextField.java (original) +++ wicket/trunk/wicket-datetime/src/main/java/org/apache/wicket/datetime/markup/html/form/DateTextField.java Sun Jun 12 08:37:34 2011 @@ -207,6 +207,19 @@ public class DateTextField extends TextF } /** + * Construct with a converter, and a null model. + * + * @param id + * The component id + * @param converter + * The converter to use + */ + public DateTextField(String id, DateConverter converter) + { + this(id, null, converter); + } + + /** * @return The specialized converter. * @see org.apache.wicket.Component#getConverter(java.lang.Class) */