>
> 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!


yes, that's the wrong way.

instead of target.prependJavascript(..); you should do the following:
myDojoFloatingPane.close(target);

hth,
  gerolf


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

Reply via email to