JavaTraveler
2018-06-22 13:03:55 UTC
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-***@wicket.apache.org
For additional commands, e-mail: users-***@wicket.apache.org
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-***@wicket.apache.org
For additional commands, e-mail: users-***@wicket.apache.org