留言板

How to resize portlet window in runtime?

thumbnail
Aritra Ghosh,修改在12 年前。

How to resize portlet window in runtime?

Junior Member 帖子: 62 加入日期: 11-11-8 最近的帖子
Hi All,
I am trying to render a data table within a ice panel after clicking a command button.But I am facing two problems.
1. No layout/border of the ice:panelLayout in not coming.
2. The data table is coming just below the portlet window over-writting the portlet border.So,Can anyone plz tell me how to dynamically resize portlet window based on the content of the portlet.I am building JSF portlet using Liferay 6.0.6.
Thanks & regards,
Aritra Ghosh
thumbnail
Neil Griffin,修改在12 年前。

RE: How to resize portlet window in runtime?

Liferay Legend 帖子: 2655 加入日期: 05-7-27 最近的帖子
I would recommend that you download the ICEfaces3 CRUD Portlet demo and see how customerView.xhtml and customerMaster.xhtml compare with your XHTML markup.
thumbnail
Aritra Ghosh,修改在12 年前。

RE: How to resize portlet window in runtime?

Junior Member 帖子: 62 加入日期: 11-11-8 最近的帖子
Thanks all.It is solved by just removing ice:panelLayout tag .If a populate the data within ice data table,the porlet get resized.
thumbnail
Robin Wyss,修改在12 年前。

RE: How to resize portlet window in runtime?

New Member 帖子: 4 加入日期: 12-1-9 最近的帖子
Hi Aritra

normally the portlet size should be adjusted according to its content, it could be a styling issue. If you user absolute positioning or floating in your css it can produce this problem. Have a look at the the html output using some developer tool, this can give you a clue.