On Fri, Aug 16, 2013 at 12:12 PM, Lucio Crusca <lu...@sulweb.org> wrote:

> > Everything is possible.
> > Just different tasks take different time to implement.
> > What did you try and what issues you faced so far ?
>
> Please see my previous message. To recap, I tried a mix you just told me
> it can't work: I added the TextFields to the AjaxRequestTarget while
> updating the bean in the onSelectionChanged method. I didn't know they
> could not work together.
>
> > onSelectionChanged() is non-Ajax update. Using
> > AjaxFormComponentUpdatingBehavior("onchange") is Ajax update.
>
> Ok, but I need to know the selected item in order to update the String
> properties accordingly. AjaxFormComponentUpdatingBehavior("onchange")
> doesn't tell me the selected item, while onSelectionChanged seems to be
> the wrong way to accomplish what I'm trying to do (see the first post of
> Paul Bors in this thread).
>

AjaxFormComponentUpdatingBehavior updates the DropDownChoice's model.
You can use it to read the newly selected value.

Don't use onSelectionChanged() at all if you want to use Ajax.


>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to