One solution:

Include your JavaScript in a file and place in the web root of your project.  
Lets assume the project has a context root of /MyProject.  Then in your JSP, 
send back the following along with your other output:


  | <script type="text/javascript" src="/MyProject/myjavascript.js"></script>
  | 

Now you should be able to reference your JavaScript code in your portlet.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131923
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to