Hi

I've got a ModalWindow which lets the user select some choices.
Now I need a button in that ModalWindow allowing the user to enter some new choices. I don't want that target to be another ModalWindow (as it's referenced from other places too), so I need to redirect the user to that new page if he wishes to add a new choice.

Basically that works, using a Button or an AjaxButton both works, but since the ModalWindow is still open, I get the ugly browser warning about navigating away from the current page.
What can I do to solve that?
I tried an AjaxButton using

window.close(target);
setResponsePage(OtherPage.class);

But that doesn't work. Any ideas?

Thanks

Matt

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to