use ajaxformcomponentupdatingbehavior

-igor

On Fri, Sep 3, 2010 at 11:06 AM, datazuul <ralf.eichin...@pixotec.de> wrote:
>
> I switched from DropDownChoice to Select/SelectOption (because of more
> flexible handling of option-tags (css-styling...)).
>
> Now I want the same behaviour of "wantOnSelectionChangesNotification" and
> "onSelectionChanged", but do not find a way to attach this to the "Select"
> component...
>
> I tried
>
> select.setOutputMarkupId(true);
> select.add(new AjaxFormChoiceComponentUpdatingBehavior() {
>       �...@override
>        protected void onUpdate(AjaxRequestTarget target) {
>                // TODO Auto-generated method stub
>                LOGGER.info("Locale changed to: {}", getLocale());
>        }
> });
>
> but this does  not have any effect.
>
> I want an (javascript /onchange) auto update when an option of the select
> box has been selected.
>
> How?
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Select-SelectOption-onchange-possible-tp2526059p2526059.html
> Sent from the Wicket - User 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