掲示板

How to resize portlet window in runtime?

thumbnail
12年前 に Aritra Ghosh によって更新されました。

How to resize portlet window in runtime?

Junior Member 投稿: 62 参加年月日: 11/11/08 最新の投稿
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
12年前 に Neil Griffin によって更新されました。

RE: How to resize portlet window in runtime?

Liferay Legend 投稿: 2655 参加年月日: 05/07/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
12年前 に Aritra Ghosh によって更新されました。

RE: How to resize portlet window in runtime?

Junior Member 投稿: 62 参加年月日: 11/11/08 最新の投稿
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
12年前 に Robin Wyss によって更新されました。

RE: How to resize portlet window in runtime?

New Member 投稿: 4 参加年月日: 12/01/09 最新の投稿
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.