Fórum

portlet-setup-show-borders : false is not working

François LE QUEMENER, modificado 13 Anos atrás.

portlet-setup-show-borders : false is not working

Junior Member Postagens: 48 Data de Entrada: 18/09/09 Postagens Recentes
Hi,
I'm embedding a static portlet in my theme. I want this portlet not to have borders. I added the property portlet-setup-show-borders, as I did before in Liferay 5.3, but it's not working:

$velocityPortletPreferences.setValue("portlet-setup-show-borders", "false")
$theme.runtime("Recherche_WAR_liferaysearchportlet", "", $velocityPortletPreferences.toString())
$velocityPortletPreferences.reset()

Is there any new trick in Liferay 6 ? Or another way to remove those borders?

I know that I can add it in portlet.xml, but I want to add this portlet with borders on other pages, it is instanciable.

Thanks !