WebSphere Portal Server - Open links in second window

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > October 2006 > Open links in second window





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Open links in second window

2006-10-28, 1:41 pm

Hi!

How can I open a page in the portal 6.0 in a second window? A custumer wants to be able to click the link to thier demonstration portal, and then have the page opened in a new browser window...

Thanks
Marius
Norway
Rama Jaini

2006-10-28, 1:41 pm


You could use target="_blank" in the hyperlink tag or use a javascript popup.
for example:

<wps:urlGeneration contentNode="portal_page_unique_name">
<A href="<% wpsURL.write(out); %>" target="_blank">
<h:outputText value="Click Here"/></A>
</wps:urlGeneration>


Rama.

Rama Jaini

2006-10-28, 1:41 pm



In my previous reply the hyperlink tag got rendered. see the code here:

<wps:urlGeneration contentNode="portal_page_unique_name">
<!--
<A href="<% wpsURL.write(out); %>" target="_blank">
<h:outputText value="Click Here" /></A> -->
</wps:urlGeneration>
Rama Jaini

2006-10-28, 1:41 pm


oops! that did'nt show up either. How about this?

href="<% wpsURL.write(out); %>" target="_blank"



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com