[Wicket-user] AjaxFormComponentUpdatingBehavior lost the form data

2007-01-08 Thread tooy li(Gmail)
hi , I just use a behavior in multipart form, and it cannot hold the data of form when it triger. adType.add(new AjaxFormComponentUpdatingBehavior(ClientEvent.CHANGE) { protected void onUpdate(final AjaxRequestTarget target) { String value = (String) adType.getModelObject(); if

Re: [Wicket-user] AjaxFormComponentUpdatingBehavior lost the form data

2007-01-08 Thread Igor Vaynberg
first you should use AjaxFormSubmitBehavior if you want values for the entire form submitted, the one you are using only submits the value for the component it is attached to as the name implies second ajax does not submit multipart forms -igor On 1/8/07, tooy li(Gmail) [EMAIL PROTECTED]