You can use <a href="#" target="_blank">xx or WIcket's popupsettings,
if you want it to be a real separate window.

Example of "setPopupSettings":
http://www.wicket-library.com/wicket-examples/linkomatic/;jsessionid=F3CEC57A34EE838B0FC348E2AC909C5A?wicket:bookmarkablePage=sources:org.apache.wicket.examples.source.SourcesPage&SourcesPage_class=org.apache.wicket.examples.linkomatic.Home&source=Home.java

**
Martin

2009/1/27 nitinkc <[email protected]>:
>
> I have a requirement to redirect to a new window. Basically, I have a link in
> a column of a datagrid and I am redirecting to the URL using
> RedirectRequestTarget as follows:
>
> @Override
> protected void onClick(Object param) {
>        getRequestCycle()
>                .setRequestTarget(
>                        new RedirectRequestTarget(
>                                        ** dynamically created url using 
> param**));
>        }
>
> I would like to open this url in a new window. Since this is a datagrid and
> the request is intercepted and redirected to the dynamically created url, I
> am not sure if/how any JavaScript can be added. Any suggestions?
> --
> View this message in context: 
> http://www.nabble.com/Redirect-to-a-new-window-tp21687205p21687205.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to