WebSphere Portal Server - wps:UrlGeneration portletstate="maximized"

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > July 2004 > wps:UrlGeneration portletstate="maximized"





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 wps:UrlGeneration portletstate="maximized"
Boudewijn Schrader

2004-02-27, 10:33 am

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
Boudewijn Schrader

2004-02-27, 10:33 am

Boudewijn Schrader wrote:


> 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 )
>


I meant:

if ( portletRequest.getWindow().getWindowState() ==
org.apache.jetspeed.portlet.PortletWindow.State.MAXIMIZED )

obviously...
Sascha Mamsch

2004-06-06, 10:49 am

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


mkc

2004-07-16, 5:49 pm

Sascha,

I tried this but it does not work for me. The url does not generate. Is anyone 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

Justin Rosenberg

2004-07-19, 5:58 pm

This is a known bug (at least here in the forum) I'm not sure if it's
been filed with IBM. The only work around I have come up with is to
deploy the portlet that you want maximized in a different area using a
theme that causes the portlet to look maximized. Unfortunately the
restore feature won't do the user any good.

Justin

mkc wrote:
> Sascha,
>
> I tried this but it does not work for me. The url does not generate. Is
> anyone else having this problem?
>
> Thanks
> Mathew
>
>
> Sascha Mamsch wrote:
>
>
>
>
>
> --
> mkc
> ------------------------------------------------------------------------
> Posted via http://www.webservertalk.com
> ------------------------------------------------------------------------
> View this thread: http://www.webservertalk.com/message136151.html
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com