Thanks Martin.

2011/1/24 Martin Grigorov <mgrigo...@apache.org>

> target.appendJavascript("window.open('"+ url +"', 'someName');");
>
> 2011/1/24 Altuğ Bilgin Altıntaş <alt...@gmail.com>
>
> > Hi all;
> >
> > Is it possible opening a new page at AjaxButton's onSubmit button ?
> >
> > I've tried
> >
> >  PopupSettings popupSettings = new PopupSettings();
> >  popupSettings.setTarget("'" + url + "'");
> >  target.appendJavascript(popupSettings.getPopupJavaScript());
> >
> > but it doesn't work.
> >
> > Also
> >
> > throw new RestartResponseAtInterceptPageException(new RedirectPage(url);
> >
> > works but it opens popup in the same tab not a new window.
> >
> >
> > Any suggestions ?
> >
> > Thanks.
> >
> > --
> > *Altuğ*
> > ** <http://www.kodcu.com>
> >
>



-- 
*Altuğ*
*www.kodcu.com* <http://www.kodcu.com>**

Reply via email to