let's put javascript into : MYWARPROJECT/WEB-INF/js/myscript.js

on your jsp :

  | <[EMAIL PROTECTED] uri="http://java.sun.com/portlet"; prefix="portlet"%>
  | <portlet:defineObjects />
  | 
  | <script src="${renderRequest.contextPath}/js/myscript.js"></script>
  | 

note for your script, the project IS the war/ear, it cannot see the portal, 
theme, etc..
A+

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

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

Reply via email to