:)

After instantiating your modal window.  You can do something like this:

       AjaxLink popupLink = new AjaxLink("manageWeightPop") {
           @Override
           public void onClick(AjaxRequestTarget target) {
* target.appendJavascript("Wicket.Window.unloadConfirmation = false;");*
               modalWindow.setTitle("Weight Log.");
               modalWindow.setMinimalHeight(600);
               modalWindow.setContent(new ManageWeightPanel(modalWindow
                       .getContentId(), modalWindow,
                       new BaseEntityDetachableModel(getPerson())));
               modalWindow.show(target);
           }
       };

Which means that the modal window showing up will not give that confirmation thing.

Per Newgro wrote:
Hello Nino Saturnino Martinez Vazquez Wael:

could you please provide a small example on this issue / solution. I think about a similiar way of doin things and i don't want to ask the same question as you in a month again

:-)

Thanks
Per

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to