|
Home > Archive > WebSphere Portal Server > April 2007 > Problem with <portal:urlGeneration> tag
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 |
Problem with <portal:urlGeneration> tag
|
|
|
| Hi,
I am working on JSR 168 portlets with WPS v5.1.
I am getting problem with <portal:urlGeneration> tag.
I am not able to pass parametes using this tag. I want to pass the parameters to a portlet on another page. I am using following code:
<portal:urlGeneration contentNode="wps.My Portal.Welcome"
layoutNode="welcome.bookmarks">
<portal:urlParam name="<%= month %>" value="August" type="render" />
<aa href=<% wpsURL.write(out); %> class="wpsLinkBarLink">
<portal:text key="link.bookmarkstitle" bundle="nls.myproperties"/>
</a>
</portal:urlGeneration>
| |
|
| what value are you using for layoutNode ? Is it portlet unique name or portlet window unique name ? If it is portlet unique name, it is not going to work. You will need portlet window unique name. The only way to assign one is using xml access.
> Hi,
> I am working on JSR 168 portlets with WPS v5.1.
> I am getting problem with <portal:urlGeneration>
> tag.
> I am not able to pass parametes using this tag. I
> want to pass the parameters to a portlet on another
> page. I am using following code:
>
>
> <portal:urlGeneration contentNode="wps.My
> Portal.Welcome"
> layoutNode="welcome.bookmarks">
> <portal:urlParam name="<%= month %>"
> %>" value="August" type="render" />
> <aa href=<% wpsURL.write(out); %>
> ; %> class="wpsLinkBarLink">
> <portal:text key="link.bookmarkstitle"
> title" bundle="nls.myproperties"/>
> </a>
> </portal:urlGeneration>
|
|
|
|
|