i just made formcomponent.checkrequired() none final. i think most implementations of formcomponentpanel will want to override it and always return true. that way required validation will be performed on formcomponentpanel's convertedinput rather then raw http post input. makes sense?
-igor On 7/26/07, Stephane Boisson <[EMAIL PROTECTED]> wrote: > > > Hello, > > I was wondering what were the guidelines about using setRequired for a > FormComponentPanel and for its child FormComponent.. > > For example I made a FormComponentPanel made of three DropDownChoice to > pick > a date (easier to enter birthday date than other date pickers). > > But if i make this FormComponentPanel required it never get validated, > because its input is always null.. > > I tried to overload isInputNullable for returning "false", but didn't > seems > a good way to me.. > > Any hints? > > Regards, > Stéphane > > -- > View this message in context: > http://www.nabble.com/FormComponentPanel-with-setRequired-tf4151671.html#a11810604 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > IMPORTANT NOTICE: > > This mailing list is shutting down. Please subscribe to the Apache Wicket > user list. Send a message to: "users-subscribe at wicket.apache.org" and > follow the instructions. > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ IMPORTANT NOTICE: This mailing list is shutting down. Please subscribe to the Apache Wicket user list. Send a message to: "users-subscribe at wicket.apache.org" and follow the instructions. _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user