I am using Liferay portal, JBoss Portlet Bridge and JSF with XHTML extension & Rich faces.
In my xhtml page i am calling one java script function to select my radio button bydefault onloading the page.
here is body onload="selectFirstRadio()"
what i observed is when we add the portlet to the new page then onload="selectFirstRadio()" method is not getting invoked.
But if you logout and login agian the portelet will be loaded as it was already added to the page, this time onload="selectFirstRadio()" method is invoked
or even if you refresh the page the onload="selectFirstRadio()" method is invoked.
Why the onload="selectFirstRadio()" method is not getting invoked at the time of adding the portlet to the portal page.
Could you please help me on how to call the script method onload event when adding the portlet to the portal page.
Thank you.
T P Naidu.
JavaScript method on onload event is not invoked at the time od adding portlet to the portal page
hi, sorry, but I do not have answers to your question. But I would like to know how you confiugred your portlet to run in liferay? Can you please show me your web.xml,faces.config.xml, liferay-portlet.xml! Thanks very much!