[jboss-user] [JBoss Portal] - Re: How can I to include JavaScript files in Portlets to JBo
swisst
do-not-reply at jboss.com
Tue Feb 26 10:29:26 EST 2008
So you are having a single portlet download common javascript files that are used by multiple portlets? That sounds like a bad idea....If this is truly common js code, why not have the theme load it for you? Or reference it in every portlet, the browser will be smart enough to cache it for you.
If you are set on your current structure, my guess is that your other portlets that are trying to execute the javascript should tap into the onload event and start processing then.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132216#4132216
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132216
More information about the jboss-user
mailing list