Hi,

I never used JQueryBlockUIBehavior, but
dropdownchoice is actually a form component while AjaxLink isn't so you
can't attach it a AjaxFormComponentUpdatingBehavior

On Fri, Jun 22, 2018, 3:03 PM JavaTraveler <meteor.ei...@gmail.com> wrote:

> Hello everyone !!!
>
> I wish to add a JQueryBlockUIBehavior, so I'm adding an
> AjaxFormComponentUpdatingBehavior.
> But when I click on the link, i get the error :
> Behavior (.........) can only be added to an instance of a FormComponent.
>
>  linkPointage.add(new
> JQueryBlockUIBehavior(JQueryBlockUIBehavior.JQUERY_ACTION_ONCHANGE,
> "Veuillez patienter..."));
>         linkPointage.add(new AjaxFormComponentUpdatingBehavior("change"){
>           @Override
>           protected void onUpdate(AjaxRequestTarget _target) {
>             _target.add(panelTableau);
>           }
>         });
>
>
> But I'm already using for a dropdownchoice, not in formcomponent, and it's
> working.
>
> Could anyone help me ? Please.
>
> --
> Sent from:
> http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to