Hi,
On Thu, Aug 1, 2013 at 4:15 PM, Dmitriy Neretin < dmitriy.nere...@googlemail.com> wrote: > Hi everyone, > > I have a problem with textfield enabling/disabling and with update of the > appropriate model. > > I have a wizzard with 3 steps: > - Step one: show some info fields > - Step two: let the user edit his info with textfields > - Step three: show the user new info. > > Now I built an ajaxcheckbox in the form with input fileds. With the > checkbox I can manage what textfields are enabled or disabled. I made it > like described here : > http://stackoverflow.com/questions/10282232/disable-input-text-in-wicket > > But the Problem is, that the model of the disabled fields doesn't update > itself anymore. I have then following situation: > > Step 1 Step 2 Step 3 > > info a field a new info a > info b field b new info b > info c field c - deaktvated old info c > > Is it possible to force the model to update itself? The textfields are in > the form and it is a ususal form handling. > The browser won't send any data to the server for the disabled elements. Wicket cannot update the model because there is no new value in the parameters. > > Regards, > Dmitriy >