wps:UrlGeneration portletstate="maximized"
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > wps:UrlGeneration portletstate="maximized"




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    wps:UrlGeneration portletstate="maximized"  
Boudewijn Schrader


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-27-04 03:33 PM

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 ]



    Re: wps:UrlGeneration portletstate="maximized"  
Boudewijn Schrader


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-27-04 03:33 PM

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





[ Post a follow-up to this message ]



    Re: wps:UrlGeneration portletstate="maximized"  
Sascha Mamsch


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-06-04 03:49 PM

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 ]



mkc is offline     Re: Re: wps:UrlGeneration portletstate="maximized"  
mkc


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for mkc Click here to Send mkc a Private Message Find more posts by mkc Add mkc to your buddy list
 
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 ]



    Re: wps:UrlGeneration portletstate="maximized"  
Justin Rosenberg


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-19-04 10: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
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:57 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register