Yes, this is the problem.

Only one of the two updates will be performed:

https://issues.apache.org/jira/browse/WICKET-214

Sven

On 08/22/2012 06:51 PM, eugenebalt wrote:
Looking further in our code, I see that the 2nd form (which has the problem)
defines an additional Ajax "onchange" on its own, it finds the dropdown and
adds this extra Ajax code:

final DropDownChoice myDropDown =
(DropDownChoice)((Panel)get("myPanel")).get("myDropDown");
myDropDown.add(new AjaxFormComponentUpdatingBehavior("onchange") {
             protected void onUpdate(AjaxRequestTarget target)
                ...
             }
});


Is this an issue? Is there a problem getting *both* Ajax updates to kick in,
both the Form2-specific one and the general Panel one? Thanks



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Ajax-onUpdate-DropDown-Invoked-In-One-Place-But-Not-The-Other-tp4651438p4651439.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
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

Reply via email to