Re: Turn off form validation

2009-01-19 Thread Kaspar Fischer
On 19.12.2008, at 13:45, Martijn Dashorst wrote: Adding a new record to a list should not trigger model updates. It should just add the thing and repaint the container with the added item. If you use a (ajax)submit(link|button) you can setDefaultFormProcessing(false) on the button/link and

RE: Turn off form validation

2009-01-19 Thread Hoover, William
http://cwiki.apache.org/WICKET/conditional-validation.html see alternative approach -Original Message- From: Kaspar Fischer [mailto:fisch...@inf.ethz.ch] Sent: Monday, January 19, 2009 5:19 AM To: users@wicket.apache.org Subject: Re: Turn off form validation On 19.12.2008, at 13:45

Re: Turn off form validation

2009-01-19 Thread Kaspar Fischer
On 19.01.2009, at 14:25, Hoover, William wrote: http://cwiki.apache.org/WICKET/conditional-validation.html see alternative approach Thanks -- I was actually hoping for something simpler/more elegant?! - To unsubscribe,

Re: Turn off form validation

2009-01-19 Thread jWeekend
Kaspar, Will either of getInput() or getVaue() allow you to do what you want? Regards - Cemal http://www.jWeekend.co.uk jWeekend hbf wrote: On 19.12.2008, at 13:45, Martijn Dashorst wrote: Adding a new record to a list should not trigger model updates. It should just add the thing

RE: Turn off form validation

2009-01-05 Thread Hoover, William
: Turn off form validation i also have a similar use case that requires turning off validation for some ajax button links e.g. i have a form, that may have some text fields with different/none validators and i want to do translation on some of the text fields by ajax/dynamically, so i need to use

RE: Turn off form validation

2009-01-05 Thread Hoover, William
Have you tried processInput? -Original Message- From: ywtsang [mailto:ywts...@gmail.com] Sent: Monday, January 05, 2009 10:15 AM To: users@wicket.apache.org Subject: RE: Turn off form validation because this will not update the model object automatically i.e. i cannot get the updated

Re: Turn off form validation

2009-01-03 Thread ywtsang
i also have a similar use case that requires turning off validation for some ajax button links e.g. i have a form, that may have some text fields with different/none validators and i want to do translation on some of the text fields by ajax/dynamically, so i need to use ajax button links to

Re: Turn off form validation

2008-12-21 Thread noon
I solved similar problem where I had some required TextField components and an AJAX component which does a AJAX submit. During this AJAX submit I wanted to prohibit all the form validations. I achieved this by setting the AJAX components (an autocomplete TextField with custom AJAX behaviour) into

Re: Turn off form validation

2008-12-19 Thread Martijn Dashorst
Validation is there to protect your domain objects from invalid data. Now you want to bypass this? Adding a new record to a list should not trigger model updates. It should just add the thing and repaint the container with the added item. If you use a (ajax)submit(link|button) you can