Hello All,
I'm trying to migrate huge project from wicket 1.4 to wicket 6
In old code I have code like this:
DataView<ProjectListItem> listView = new
DataView<ProjectListItem>("projectList", sdp) {
protected void populateItem(final Item<ProjectListItem> item) {
item.add(new AjaxEventBehavior("doubleClickEvent") {
protected void onEvent(AjaxRequestTarget target) {
}
}
}
}
after this each table row generated has "doubleClickEvent" attribute with
callback and I has able to call it.
currently nothing is generated :( code like
"$('#rowId').trigger('doubleClickEvent');" also has no effect :(
what am I doing wrong?
ps I was unable to find guide on custom events :(
--
WBR
Maxim aka solomax