You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Christian Schubert <jo...@gmail.com> on 2005/07/20 09:15:05 UTC

PortletContext and windowState in Struts-Bridge

Hi,

i need a way to determine the windowState inside a Struts-Bridge
Portlet. Does anyone knows a way to do this?

Regards,
Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: PortletContext and windowState in Struts-Bridge

Posted by Christian Schubert <jo...@gmail.com>.
Hi All

i found a solution for myself :-)

For all others here is a small code snippet:

RenderRequest renderRequest = (RenderRequest) 
    request.getAttribute("javax.portlet.request");

WindowState state = renderRequest.getWindowState();

Regards
Christian


2005/7/20, Thomas.Koch@nepatec.de <Th...@nepatec.de>:
> hi!
> 
> during the renderRequest (in method doView() e.g.) with:
> 
> request.getWindowState()
> 
> thats's what you mean ?
> 
> thomas
> 
> 
> 
> 
> 
> 
> 
> Christian Schubert <jo...@gmail.com>
> 20.07.2005 09:15
> Please respond to "Jetspeed Users List"
> 
>         To:     Jetspeed Users List <je...@portals.apache.org>
>         cc:
>         Subject:        PortletContext and windowState in Struts-Bridge
> 
> 
> Hi,
> 
> i need a way to determine the windowState inside a Struts-Bridge
> Portlet. Does anyone knows a way to do this?
> 
> Regards,
> Christian
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> 
> 
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: PortletContext and windowState in Struts-Bridge

Posted by Th...@nepatec.de.
hi!

during the renderRequest (in method doView() e.g.) with:

request.getWindowState()

thats's what you mean ?

thomas







Christian Schubert <jo...@gmail.com>
20.07.2005 09:15
Please respond to "Jetspeed Users List"
 
        To:     Jetspeed Users List <je...@portals.apache.org>
        cc: 
        Subject:        PortletContext and windowState in Struts-Bridge


Hi,

i need a way to determine the windowState inside a Struts-Bridge
Portlet. Does anyone knows a way to do this?

Regards,
Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org