I think it's the simmilar situation like here
http://www.nabble.com/DOJO-Menu-Items-and-AJAX-Target-Components-td24020833.html
I posted here few days ago about dojo-menus, but I couldn't solve it.
There is a problem attaching js behavior on ajax rerendered components.
Is there anybody here who managed this problem?
Regards,
Wojtek
Stefan Jozsa pisze:
Doing:
public MyPage() {
...
add(new MyPanel("panelId"));
...
}
dragging elements (having DraggableBehavior) of 'MyPanel' works.
However doing:
...
@Override
public void onClick(AjaxRequestTarget target) {
Panel panel = new MyPanel("panelId");
addOrReplace(panel);
target.addComponent(panel);
}
dragging elements of 'MyPanel' DO NOT works
(DraggableBehavior is lost).
What's going on ?
Any help is (very) appreciated,
thanks Stefan
Using:
Wicket-1.4.rc4,
WicketJQuery-0.3.4
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]