Foros de discusión
RE: Border less portlet does not work while viewing first time
Nilesh Gundecha, modificado hace 12 años.
Border less portlet does not work while viewing first time
Regular Member Mensajes: 205 Fecha de incorporación: 1/12/09 Mensajes recientes
Hi All,
I am able to configure my portlet to be borderless by setting the below tag in portlet.xml.
But the problem is that when any user views the portlet first time, he still sees the portlet border and title. But after he refresh the page, then the portlet starts looking right.
This happens only one time for one portlet instance.
I am using Liferay 6.1.
Did anyone notice this?
Regards,
Nilesh
I am able to configure my portlet to be borderless by setting the below tag in portlet.xml.
<portlet-preferences>
<preference>
<name>portletSetupShowBorders</name>
<value>false</value>
</preference>
</portlet-preferences>
But the problem is that when any user views the portlet first time, he still sees the portlet border and title. But after he refresh the page, then the portlet starts looking right.
This happens only one time for one portlet instance.
I am using Liferay 6.1.
Did anyone notice this?
Regards,
Nilesh
Nilesh Gundecha, modificado hace 12 años.
RE: Border less portlet does not work while viewing first time
Regular Member Mensajes: 205 Fecha de incorporación: 1/12/09 Mensajes recientes
Any idea on this guys? Is it known issue?
Regards,
Nilesh
Regards,
Nilesh
Mikel Goikoetxea, modificado hace 12 años.
RE: Border less portlet does not work while viewing first time
Junior Member Mensajes: 54 Fecha de incorporación: 16/03/10 Mensajes recientes
Hitoshi Ozawa, modificado hace 12 años.
RE: Border less portlet does not work while viewing first time
Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
The name changed in 6.1 so Nilesh got the name right.
http://stackoverflow.com/questions/9625139/is-it-possible-to-pass-the-version-number-of-liferay-into-a-themes-velocity-tem
http://stackoverflow.com/questions/9625139/is-it-possible-to-pass-the-version-number-of-liferay-into-a-themes-velocity-tem
Tejas Kanani, modificado hace 11 años.
RE: Border less portlet does not work while viewing first time
Liferay Master Mensajes: 654 Fecha de incorporación: 6/01/09 Mensajes recientes
Hi Nilesh,
Facing the same issue and checked for Liferay issues if somebody have created. But didn't find any so created issue in Liferay jira for the same.
LPS-27160
Facing the same issue and checked for Liferay issues if somebody have created. But didn't find any so created issue in Liferay jira for the same.
LPS-27160
Nilesh Gundecha, modificado hace 11 años.
RE: Border less portlet does not work while viewing first time
Regular Member Mensajes: 205 Fecha de incorporación: 1/12/09 Mensajes recientes
Hi Tejas,
Ya this seems to be Liferay bug. However I had overcome this issue by using <use-default-template>false</use-default-template>.
Regards,
Nilesh
Ya this seems to be Liferay bug. However I had overcome this issue by using <use-default-template>false</use-default-template>.
Regards,
Nilesh
Tejas Kanani:
Hi Nilesh,
Facing the same issue and checked for Liferay issues if somebody have created. But didn't find any so created issue in Liferay jira for the same.
LPS-27160
Tejas Kanani, modificado hace 11 años.
RE: Border less portlet does not work while viewing first time
Liferay Master Mensajes: 654 Fecha de incorporación: 6/01/09 Mensajes recientes
Thanks Nilesh for sharing this.
This might be useful until we'll get fix from Liferay.
Regards,
TK
This might be useful until we'll get fix from Liferay.
Regards,
TK
Atin Agarwal, modificado hace 10 años.
RE: Border less portlet does not work while viewing first time
Junior Member Mensajes: 86 Fecha de incorporación: 20/02/12 Mensajes recientesNilesh Gundecha:
However I had overcome this issue by using <use-default-template>false</use-default-template>.
But by using this workaround, even the configuration buttons become invisible.
They should be there atleast so as to drop the portlet at some other place or for any other configuration settings.
Is there any workaround just to disable the portlet borders. Issue in liferay is still unfixed.
Zsigmond Rab, modificado hace 10 años.
RE: Border less portlet does not work while viewing first time
Liferay Master Mensajes: 728 Fecha de incorporación: 5/01/10 Mensajes recientes
Atin Agarwal, modificado hace 10 años.
RE: Border less portlet does not work while viewing first time
Junior Member Mensajes: 86 Fecha de incorporación: 20/02/12 Mensajes recientes
Hey Zsigmond,
I am using Liferay 6.1.2.
In LPS-37951 ticket, it is mentioned that we need to add a line -
PortletPreferences portletSetup = PortletPreferencesFactoryUtil.getStrictLayoutPortletSetup(layout, portletId);
where do i add this line??
Regards,
Atin
I am using Liferay 6.1.2.
In LPS-37951 ticket, it is mentioned that we need to add a line -
PortletPreferences portletSetup = PortletPreferencesFactoryUtil.getStrictLayoutPortletSetup(layout, portletId);
where do i add this line??
Regards,
Atin
Zsigmond Rab, modificado hace 10 años.