フォーラム

ホーム » Liferay Portal » English » Liferay Legacy

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
phall@avexus.com phall@avexus.com
Borderless Portlet
2005/06/13 13:22
答え

phall@avexus.com phall@avexus.com

ランク: New Member

投稿: 1

参加年月日: 2005/06/12

最近の投稿

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?
mike mike
Borderless Portlet
2005/06/14 1:08
答え

mike mike

ランク: Expert

投稿: 481

参加年月日: 2004/12/14

最近の投稿

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.
theo theo
Borderless Portlet
2005/06/14 2:39
答え

theo theo

ランク: Junior Member

投稿: 43

参加年月日: 2005/02/28

最近の投稿

Hi,<br /><br />you can specify in liferay-portlet.xml <i>use-default-template=&quot;false&quot;</i> to get no border.<br /><br />example:<br /><br />
1<portlets>
2       <portlet id=&#34;xxx&#34; use-default-template=&#34;false&#34;/>
3</portlets>
<br /><br /><br />c u
Vikas R Khengare
RE: Borderless Portlet
2011/12/03 2:00
答え

Vikas R Khengare

ランク: Junior Member

投稿: 58

参加年月日: 2008/08/01

最近の投稿

Hi,

To have this for single portlet like "Request", we can use following code in JSP / Portlet class,

1renderRequest.setAttribute(WebKeys.PORTLET_DECORATE, Boolean.FALSE);


Thanks
Sagar A Vyas
RE: Borderless Portlet
2011/12/03 7:00
答え

Sagar A Vyas

ランク: Liferay Master

投稿: 655

参加年月日: 2009/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.

1<portlet-preferences>
2            <preference>
3                <name>portlet-setup-show-borders</name>
4                <value>false</value>
5            </preference>
6        </portlet-preferences>


Thanks,
Sagar Vyas