I don't think the onload javascript execution issue has anything to do with the fact
you have instances of the same portlet on the same page.
This issue is more related to the way AJAX based Partial refresh works, and when that
happens, only your pages DOM model is getting updated, but the actual Page is not getting
refreshed (typical AJAX usecase).
Hence, the Page is not doing a complete refresh, the onLoad event is not fired, and your
JavaScript is not executed.
I bet if you put the
| <Script language="JavaScript">
| alert('Test');
| </Script>
|
inside your Portlet markup, they will probably work even in "Partial Refresh"
mode
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065515#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...