Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
surjeet singh
Remove border for a particular portlet through out the Site
April 1, 2013 7:13 AM

surjeet singh

Rank: New Member

Posts: 14

Join Date: October 8, 2012

Recent Posts

Dear All,

I have created a portlet which I am using through out the SITE. So rather than going to all pages and change the look and feel(Show border - no), I want to remove the border by some property.

Is there any property by that portlet which can remove the border by default.
I have used


in portlet.xml for my portlet.

But that thing hadn't worked for me.

please help me ASAP.

Thanx in advance,
Jaynil A Bagdai
RE: Remove border for a perticular portlet through out the Site
March 11, 2013 3:48 AM

Jaynil A Bagdai

Rank: Regular Member

Posts: 120

Join Date: March 3, 2012

Recent Posts

Hi Surjeet singh,

Can you try with this approach, this may help you.
In your default controller add this.

2PortletPreferences prefs = PortletPreferencesFactoryUtil.getLayoutPortletSetup(page, portletInstanceId);
3prefs.setValue("groupId", String.valueOf(page.getGroupId()));
5prefs.setValue("portletSetupShowBorders", "false");;
Gouse Basha
RE: Remove border for a particular portlet through out the Site
April 1, 2013 11:41 PM

Gouse Basha

Rank: New Member

Posts: 10

Join Date: November 30, 2012

Recent Posts

You can uncheck the show border in UI Portlet configuration