Foros de discusión
before loading the portlets
satish bejgum, modificado hace 14 años.
before loading the portlets
Junior Member Mensajes: 44 Fecha de incorporación: 5/11/08 Mensajes recientes
Hello Every one,
Is there any html or jsp page which loads before loading portlets in that page? I have tried in portal_normal.vm with javascript but it didn't help me. My aim is to run javascript before loading any portlet.
Thanks
Is there any html or jsp page which loads before loading portlets in that page? I have tried in portal_normal.vm with javascript but it didn't help me. My aim is to run javascript before loading any portlet.
Thanks
Christianto Sahat, modificado hace 14 años.
RE: before loading the portlets
Regular Member Mensajes: 179 Fecha de incorporación: 25/09/07 Mensajes recientes
You can try render_portlet.jsp
satish bejgum, modificado hace 14 años.
RE: before loading the portlets
Junior Member Mensajes: 44 Fecha de incorporación: 5/11/08 Mensajes recientes
Thanks for reply, I'm able to achieve what I needed. but it has little problem the java script is called before each portlet begiong loaded. Do we have some other place where I can call only once in the page?
Christianto Sahat, modificado hace 14 años.
RE: before loading the portlets
Regular Member Mensajes: 179 Fecha de incorporación: 25/09/07 Mensajes recientes
Yes, you can create your own javascript file, and update your portal-ext.properties with javascript.everything.files property.
Liferay would pick up your javascript.
Liferay would pick up your javascript.