Re: [Wicket-user] form validation
Hi Tbt, You can work with form validators: http://cwiki.apache.org/WICKET/validating-related-fields.html Regards, Erik. tbt schreef: Hi! I'm a newbie to wicket and I'd like to know how to get multiple inputs into a single form validation class. eg:- i have several components in a form and in order to validate one component, i need the input of several other components. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Form validation
see ComponentFeedbackPanel -Igor On 6/29/06, ketan gote [EMAIL PROTECTED] wrote: hello friends i am looking for form validation other then feedbackpanel. for eg ajax form validation etc or the displaying all message in feedback in one ine for all component wating for reply -- RegardsKetan D.Gote Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Form validation with multiple submit buttons.
Yes, in 1.1. there is (was part of the refactoring I did on Form). Button now has property 'immediate', which is false by default. When true, validation AND model updating is skipped. There are some convenience methods in Form to do this manual now if you want to do it your own way. Eelco Matej Knopp wrote: Hi. Is there any way to disable automactic form validation when using multiple submit buttons? I remember some time ago one had to call validate on form manually form each handler. Now it's called automatically. I want to have a cancel button and having the form validated first means that user can't leave the form using this button if form isn't valid. Would be great to have something like new Button(cancel) { boolean validateForm() { // this would return true by default return false; } void onSubmit() { } } -Matej --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Form validation with multiple submit buttons.
Then you must like this option :) What I hated about Struts, is that conversion and validation was not integrated well enough. Only thing to work really well with it was to have string properties in your form beans, and then manually casting/ checking them. Never liked commons-validator too. Glady, those days are over! :) Eelco Michael Jouravlev wrote: Imho doing this manually is better. I never liked automatic reset/populate/validate sequence in Struts. On 7/19/05, Eelco Hillenius [EMAIL PROTECTED] wrote: Yes, in 1.1. there is (was part of the refactoring I did on Form). Button now has property 'immediate', which is false by default. When true, validation AND model updating is skipped. There are some convenience methods in Form to do this manual now if you want to do it your own way. Eelco --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user