Form form = new Form("form");
form.add(new TextField("minLength", Integer.class));Since the field is not a compulsary field, if input is empty, it will cause the following runtime exception: wicket.util.convert.ConversionException: Can't convert null value to a primitive class: int for setting it Is there any workaround for this? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
