upgrade from 1.5 to Wicket 6 Form field issue and Ajax Link

2013-11-18 Thread lucast
Dear Forum, I have a main form and within this form, I have two fields: a drop-down list and a text field followed by an ajax-link which is meant to add the values from two fields to a list (scenario described in previous AjaxFormComponentUpdatingBehavior( change ) on a DropDownChoice

Re: upgrade from 1.5 to Wicket 6 Form field issue and Ajax Link

2013-11-18 Thread Martin Grigorov
Hi, AjaxLink does not submit values. Use AjaxSubmitLink or AjaxButton instead. On Mon, Nov 18, 2013 at 2:51 PM, lucast lucastol...@hotmail.com wrote: Dear Forum, I have a main form and within this form, I have two fields: a drop-down list and a text field followed by an ajax-link which is

Re: upgrade from 1.5 to Wicket 6 Form field issue and Ajax Link

2013-11-18 Thread Peter Henderson
Hi, Another approach. Add OnChangeAjaxBehavior or AjaxFormComponentUpdatingBehavior to the fields to keep the server side up to date. Peter. On 18 November 2013 12:57, Martin Grigorov mgrigo...@apache.org wrote: Hi, AjaxLink does not submit values. Use AjaxSubmitLink or AjaxButton