Re: Model update with Link

2007-10-11 Thread Igor Vaynberg
setdefaultformprocessing(false) -igor On 10/11/07, Mattijs Hoitink <[EMAIL PROTECTED]> wrote: > > I already tried using a SubmitLink. The problem with that is user have > to complete the whole form (or at least the required fields) before they > can disable the field with the link. This is becau

Re: Model update with Link

2007-10-11 Thread Mattijs Hoitink
I already tried using a SubmitLink. The problem with that is user have to complete the whole form (or at least the required fields) before they can disable the field with the link. This is because validate() is called when the form is submitted, and users receive a message they have to fill in

Re: Model update with Link

2007-10-11 Thread martinf
; -- > Mattijs Hoitink > Func. Internet Integration > W http://www.func.nl > T +31 20 423 > F +31 20 4223500 > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EM

Re: Model update with Link

2007-10-11 Thread Swaroop Belur
>> My question is: is it normal wicket loads the page again when a link is pressed? - Yes - It renders the page after finishing ur onclick >> and if so, is there a way to update my model first? Use submitlink instead of Link if u want to show the new values -swaroop On 10/11/07, Mattijs Hoi

Model update with Link

2007-10-11 Thread Mattijs Hoitink
hi, i'm just starting to use wicket and i have a question regarding updating a model when a link is pressed. I will explain my situation. I have a normal form, with a model attached to it and a button to submit it. There is also a link in the form who's only purpose is to enable or disable a