please help me
private final class AuditProgramResetTaskListener implements
IChannelListener {
public void onEvent(final String channel, final Map<String,
String> datas,
final IChannelTarget target) {
Long wfEntityId=new
Long(datas.get(Parameters.PARAM_WF_ENTITY_ID));
if(wfEntityId.equals(wfEntityId)){
CustomModalWindow
modalWindow=(CustomModalWindow)get("programResetAlert");
modalWindow.show(target);// this line wont
compile it needs
AjaxRequestTarget , but I have IchannelTarget
}
}
}
Please tell me how can I convert IChannelTarget to AjaxRequestTarget ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/show-modal-window-on-cometd-event-using-IChannelTarget-tp2296068p2299004.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]