On Mon, 17 Sep 2007 12:32:40 +0200
Federico Fanton <[EMAIL PROTECTED]> wrote:

> > you can probably add an InlineFrame which loads the webpage to the
> > DojoFloatingPane.
> 
> Mmh.. What about communicating between the two pages (containing page and 
> panel) in such a situation? For example, could I pass user input from the 
> panel back to the page? Via the Session maybe?

The session works, but now I have another little problem.. X-)
I need to add a button to the iframe-d page which should close the 
DojoFloatingPane.. I tried with something like

button.add(new AjaxEventBehavior("onclick"){
        @Override
        protected void onEvent(AjaxRequestTarget target) {
                target.prependJavascript("window.close();");
        }
});

but nothing happens, even though in "Wicket ajax debug" I can see that the 
window.close is returned..
Am I going the wrong way?
Many thanks in advance!


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

Reply via email to