You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Gudiyella, Pavan" <PG...@Tribune.com> on 2006/11/07 22:42:59 UTC

set WindowState maximized by default?

Hi All,

I am using jetspeed 2.0 version.  How to set WindowState to Maximized by
default?  
I am setting in my doView method to maximize but it doesn't maximize.

response.createRenderURL().setWindowState(WindowState.MAXIMIZED);

Could someone let me know how this can be done?


Pavan Kumar Gudiyella
Tribune Media Services
pgudiyella@tribune.com
(312)-222-3192

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


Re: set WindowState maximized by default?

Posted by David Sean Taylor <da...@bluesunrise.com>.
Gudiyella, Pavan wrote:
> Hi All,
> 
> I am using jetspeed 2.0 version.  How to set WindowState to Maximized by
> default?  
> I am setting in my doView method to maximize but it doesn't maximize.
> 
> response.createRenderURL().setWindowState(WindowState.MAXIMIZED);
> 
> Could someone let me know how this can be done?
> 
You can't set the default window state for a portlet.
We once tried to build this feature into PSML, but I believe it was 
never completed. Once you logout, all window state is lost

The line of code above (response.createRenderURL().setWindowState) has 
no effect on your current window state. It simply creates a URL with a 
link back to the server to change your window state to maximized.

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