Basically, where you would normally call: Formcomponent.add(IValidator), You could now add a behavior. In my behavior, on bind I add the server-side equivalent validator. Then in renderHead, I add some onLoad JS that adds the component to a JS array of components to be validated on form submit.
Let me get a little more of the basic started, and then I would REALLY welcome the help! Maybe tomorrow night or Monday I can get a wicketstuff project started for it... The help will be great - my JS fu is rusty! Jeremy Thomerson http://www.wickettraining.com -- sent from a wireless device -----Original Message----- From: Jörn Zaefferer =F6rn_Zaefferer _ <[EMAIL PROTECTED]> Sent: Saturday, October 04, 2008 5:50 AM To: [email protected] Subject: Re: Client side validation behaviors - already started? What approach for client-side validation are you looking for? I may be able to help with that. Jörn On Fri, Oct 3, 2008 at 5:50 AM, Jeremy Thomerson <[EMAIL PROTECTED]> wrote: > I've been thinking of trying to create some behaviors that combine the > standard server-side validation with client-side validation. I just wanted > to check to see if anyone knew of something like this already started. I > don't want to duplicate work already done. > > Thanks, > > -- > Jeremy Thomerson > http://www.wickettraining.com > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
