WebSphere Portal Server - urlGeneration

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > September 2005 > urlGeneration





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 urlGeneration
bccDevelop

2004-05-07, 10:54 am

I can not get this tag to work. The following code is in a table row tag and nothing appears on the screen. I konw the wps:text works because I put it in another table tag outside of the urlGeneration tag and it appeard on the screen. What am I missing
here? The following code produces no visual output:

*wps:urlGeneration navigationNode="wps:Resource Permissions" portletWindowState="Solo" pacCheck="none" newWindow="true"*
*td class="wpsLinkBar"*
*a href="*% wpsURL.write(out); %*" class="wpsLinkBarLink"*
*wps:text key="link.home" bundle="nls.engine" /*
*/a*
*/td*
*/wps:urlGeneration*

Please help, this is very frustrating.
Cho Kuk

2004-05-12, 1:34 am

Try this...
<wps:urlGeneration contentNode="wps.Resource Permissions"
portletWindowState="Solo" pacCheck="NoCheck">
<td class="wpsLinkBar">
<a href="<% wpsURL.write(out); %>" class="wpsLinkBarLink">
<wps:text key="link.home" bundle="nls.engine" />
</a>
</td>
</wps:urlGeneration>

I don't know why the newWindow attribute doesn't work.
So, if you want to open a window, use the window.open() like this

<a href="java script:window.open('<% wpsURL.write(out); %>');"
class="wpsLinkBarLink">


"bccDevelop" <bill.lucas@batesville.com> wrote in message
news:392834001.1083938252560.JavaMail.wasadmin@swg3ws006...
> I can not get this tag to work. The following code is in a table row tag

and nothing appears on the screen. I konw the wps:text works because I put
it in another table tag outside of the urlGeneration tag and it appeard on
the screen. What am I missing here? The following code produces no visual
output:
>
> *wps:urlGeneration navigationNode="wps:Resource Permissions"

portletWindowState="Solo" pacCheck="none" newWindow="true"*
> *td class="wpsLinkBar"*
> *a href="*% wpsURL.write(out); %*" class="wpsLinkBarLink"*
> *wps:text key="link.home" bundle="nls.engine" /*
> */a*
> */td*
> */wps:urlGeneration*
>
> Please help, this is very frustrating.



2005-09-15, 7:50 am

Hi PieterH,
My problem is i am using wps 5.1.0.1 and developing jsr portlets can you help me how to use URLGeneration tag in jsr 168.
thanks

2005-09-15, 6:06 pm

Have you tried looking at the WP 5.1 Infocenter.

http://publib.boulder.ibm.com/infoc.../wpstrlink.html for PortletURI generation within Struts Action class.

http://publib.boulder.ibm.com/infoc.../wpstrjsps.html for PortletURI generation within JSP's. This should help.


2005-09-15, 6:06 pm

> Have you tried looking at the WP 5.1 Infocenter.
>
> http://publib.boulder.ibm.com/infocenter/wp51help/inde
> x.jsp?topic=/com.ibm.wp.zos.doc/wps/wpstrlink.html
> for PortletURI generation within Struts Action
> class.
>
> http://publib.boulder.ibm.com/infocenter/wp51help/inde
> x.jsp?topic=/com.ibm.wp.zos.doc/wps/wpstrjsps.html
> for PortletURI generation within JSP's. This should
> help.
>


Sorry I take it back. I thought someone mentioned struts in this post. This is specifically for PortletURI generation with Struts portlet.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com