Hello all,
can anybody give me a hint, how can I put an "onload-event-functioncall" to the body-tag of the page from processAction()- or doView()-Method of a JBossPortlet-class, for example
<body id="body" onload="FunctionXYZ(...)">
You can't.
What mess would it be if you could do it from the portlet. Each portlet could add its own code, portlets usually come from different resources and must not interfere.