You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Dan12321 <we...@centrum.cz> on 2012/06/18 21:50:49 UTC

onSelectionChanged without refreshing page

Hello,
is possible to execute some code when I change selected item in
DropDownChoice without refreshing page?
In onSelectionChanged method I would like to save information that new item
was selected and value of new selected item.
But when I use code below, it refresh page. It is possible without
refreshing page?
Thanks.




--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/onSelectionChanged-without-refreshing-page-tp4650044.html
Sent from the Users forum mailing list archive at Nabble.com.

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


Re: onSelectionChanged without refreshing page

Posted by Igor Vaynberg <ig...@gmail.com>.
add AjaxFormComponentUpdatingBehavior instead of overriding
wantOnSelectionChangeNotification()

-igor

On Mon, Jun 18, 2012 at 12:50 PM, Dan12321 <we...@centrum.cz> wrote:
> Hello,
> is possible to execute some code when I change selected item in
> DropDownChoice without refreshing page?
> In onSelectionChanged method I would like to save information that new item
> was selected and value of new selected item.
> But when I use code below, it refresh page. It is possible without
> refreshing page?
> Thanks.
>
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/onSelectionChanged-without-refreshing-page-tp4650044.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>

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