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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...