掲示板

RE Maximised Window State

thumbnail
8年前 に Manikantha Rajamani によって更新されました。

RE Maximised Window State

Expert 投稿: 258 参加年月日: 14/03/25 最新の投稿
Hi team
I have developed one custom portlet but when i added into an page it will be in normal windows mode but i have to do maximised mode when portlet added into the page
I did following actionRequest.setWindowState(WindowState.MAXIMIZED);
but it is not working plz suggest or any configuration to achive these

Thanks and Regards
Manikantha R
thumbnail
8年前 に David H Nebinger によって更新されました。

RE: RE Maximised Window State

Liferay Legend 投稿: 14914 参加年月日: 06/09/02 最新の投稿
Manikantha Rajamani:
I did following actionRequest.setWindowState(WindowState.MAXIMIZED) but it is not working plz suggest or any configuration to achive these.


An action request is only invoked when an action is occurring, i.e. you click a button or link. You will not be able to default to maximized mode, it is not supported.

Relying on maximize/minimize is bad practice anyway. If you need it to be full screen, use a 1 col layout and let the portlet take on the whole space.