07-16-04 10:49 PM
Sascha,
I tried this but it does not work for me. The url does not generate. Is anyo
ne else having this problem?
Thanks
Mathew
quote: Originally posted by Sascha Mamsch
Hi Boudewijn,
Try this for the first problem:
<wps:urlGeneration contentNode="uniqueNamePageB"
compositionNode="uniqueNamePortletB" portletWindowState="Maximized">
....
</wps:urlGeneration>
Try this for the second problem:
<wps:if portletState="Maximized">
I hope this helps.
Regards
Sascha
Boudewijn Schrader wrote:
> I have two questions:
>
> I would like to be able to make a link to a portlet in maximized state.
> If I use the following (nodename = uniquename of page):
>
> <wps:urlGeneration contentNode="nodename" portletWindowState="maximized">
> <a href="<% wpsURL.write(out); %>">lees verder</a>
> </wps:urlGeneration>
>
> then the portlet is not maximized. If I use the uniquename of the
> portlet then the link is not generated. What am I doing wrong?
>
> Also <wps:if portletMaximized="yes"> in the portlet view.jsp does not
> work, but
>
> if ( portletRequest.getWindow().getWindowState() !=
> org.apache.jetspeed.portlet.PortletWindow.State.MAXIMIZED )
>
> does work. What is going wrong here?
>
> thanks, Boudewijn
[ Post a follow-up to this message ]
|