[jboss-dev-forums] [Design of JBoss Portal] - Problem using javascript files in Portal

berniemiller do-not-reply at jboss.com
Fri Feb 2 09:40:58 EST 2007


I am trying to create a portlet that contains alot of javascript files.  When I use the  tag with the src attribute set to the path and filename of my javascript file it does not work.  JBoss seems to be converting the js files to HTML files.  If I put the javascript directly into the .jsp page then it works fine.  However, I do not want to do this because I have about 50 javascript files for my portlet.  

I looked at using Portal Themes but this seems cumbersome becasue I have so many js files.  Plus the javascript is not for presentation but contains most of our business logic.

Has anyone else run into this problem?  Using the  tags seem to work in JBoss regular web apps but NOT in the portal.

Thanks in advance!


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010050#4010050

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010050



More information about the jboss-dev-forums mailing list