[Wicket-user] Preserve value of TextField on Ajax action

2007-01-28 Thread Dominik Roblek
Hi all, I have a form with a TextField component and a DropDownChoice component. The DropDownChoice component has an AjaxFormComponentUpdatingBehavior(onchange) behavior added. What I would like to do is to change the color of the text in the TextField component whenever a DropDownChoice

Re: [Wicket-user] Preserve value of TextField on Ajax action

2007-01-28 Thread Martijn Dashorst
You don't send the data of the text field back to the server. So either you add a formcomponent updating behavior to the textfield, so that the user input is available at the server, or you don't update the textfield, but manipulate its style directly, see target.appendJavaScript() for that.