Hi guys,
I'm very new to Wicket, and I came across this:
What I want to do:
- I have a DropDownChoice component and I'd like to update it's model
when it changes through AJAX. Also, I want to refresh (repaint,
reload) this dropdown's parent when a value is changed, also though
AJAX.
My
Why not put everything in the AjaxFormComponentUpdatingBehavior?
As in:
dropDownChoice.add(new AjaxFormComponentUpdatingBehavior(onchange)
{
@Override
protected void onUpdate(AjaxRequestTarget target) {
LOG.debug(New updated value: +
Hi Clint,
Thank you very much for your (quick) response.
I had the (maybe incorrect) idea that AjaxEventBehavior's
target.addComponent(aComponent) would only make aComponent refresh
itself through AJAX (and not store new changed values on it's model).
I also thought that the
So far it seems to work.
Thank you Clint
On Fri, Jul 22, 2011 at 12:55 PM, Rodrigo Heffner
rodrigo.heff...@gmail.com wrote:
Hi Clint,
Thank you very much for your (quick) response.
I had the (maybe incorrect) idea that AjaxEventBehavior's
target.addComponent(aComponent) would only make