I have an applet within a modal window. I use the applet to access devices
(namely printers) and it is embedded in modal window. I need to close the
modal window after ther printing process...
Is there a way to do this?
I tried triggering a click on the close button in the javascript:
function doCloseWindow(windowId) {
        $("#" + windowId + " w_close").trigger('click');

but it doesnt seem to do anything. By the way, I got the windowId using
getMarkUpId() of my modal window component. I am using a panel as the
content for the modal window so I pass the markupId as a constructor and add
it to the modal window as a parameter so i could access it from the applet.
the value i get for the markupId is "printerAppletModala"; I'm not sure if
this is the Id that I should get.

Any help would be greatly appreciated,

Best Regards,

View this message in context: 
Sent from the Wicket - User mailing list archive at Nabble.com.

To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to