Have you tried assign a Model to the component which needs to be updated? Model<String> model = new Model<String>(""); ---> assign to the component of the form. i.e. final TextField tf = new TextField("txt", model);
in Link Execution -> tf.setModel(mode); ----- Ursprüngliche Mail ---- Von: Antoine van Wel <antoine.van....@gmail.com> An: users@wicket.apache.org Gesendet: Mittwoch, den 21. Oktober 2009, 13:22:01 Uhr Betreff: how to update a form model when clicking a link On a page there's a form with a textarea. Somewhere else on the page there is a wicket link, which is not inside the form. The user types something in the textarea and then presses the link. Now what I'd like to achieve is when the code of the link is executed, the model of the form is up-to-date - so what the user has typed, should be inside the model. The form should not be submitted. Any suggestions how this can be done - preferably without writing Javascript? Thanks, Antoine -- take your photos everywhere you go - https://www.memolio.com follow us on Twitter - http://twitter.com/Memolio --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org