Hi , It is possible to have something like this
DateTextField dateFrom = new DateTextField("someid",new PropertyModel(somemodel,"dateFrom")); DateTextField dateTo = new DateTextField("someid",new PropertyModel(somemodel,"dateTo")); dateTo.add(DateValidator.minimum(someModel.getDateFrom)); I want to not have dateTo before date from, but this validator doesnt help me becouse it trows me null pointer exception, i looks like the minimum value is passed in the construction time, not dynamically getted after conversion. Is there a solution? Thx in advance -- View this message in context: http://www.nabble.com/Validating-Date-to-against-Date-From-tf3920457.html#a11116291 Sent from the Wicket - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user