掲示板
Borderless Portlet
18年前 に phall@avexus.com phall@avexus.com によって更新されました。
Borderless Portlet
New Member 投稿: 1 参加年月日: 05/06/13 最新の投稿
Is there an easy way to create a single borderless portlet while leaving the rest of the entries on the page with the standard borders?
Is there an easy way to create a single borderless portlet while leaving the rest of the entries on the page with the standard borders?<br /><br /><br />Instead of extending portlet_default you can make a modified version which do not show borders. Look at Wiki display they can be set up to not show borders.
Hi,<br /><br />you can specify in liferay-portlet.xml <i>use-default-template="false"</i> to get no border.<br /><br />example:<br /><br />
<portlets>
<portlet id=""xxx"" use-default-template=""false"/">
</portlet></portlets>
<br /><br /><br />c u
12年前 に Vikas R Khengare によって更新されました。
RE: Borderless Portlet
Junior Member 投稿: 58 参加年月日: 08/08/01 最新の投稿
Hi,
To have this for single portlet like "Request", we can use following code in JSP / Portlet class,
Thanks
To have this for single portlet like "Request", we can use following code in JSP / Portlet class,
renderRequest.setAttribute(WebKeys.PORTLET_DECORATE, Boolean.FALSE);
Thanks
12年前 に Sagar A Vyas によって更新されました。
RE: Borderless Portlet
Liferay Master 投稿: 679 参加年月日: 09/04/17 最新の投稿phall@avexus.com phall@avexus.com:
Is there an easy way to create a single borderless portlet while leaving the rest of the entries on the page with the standard borders?
Hi,
You can keep <use-default-template> false </...> in liferay-portlet.xml.
or you can use following tag inside the portlet.xml to make it particular portlet borderless.
<portlet-preferences>
<preference>
<name>portlet-setup-show-borders</name>
<value>false</value>
</preference>
</portlet-preferences>
Thanks,
Sagar Vyas