This content has been marked as final.
Show 4 replies
-
1. Re: including javascript, CSS in portlets
ozguy Dec 19, 2008 1:08 AM (in response to aspdeepak)Hi
Use jboss-portlet.xml and i think the portlet-name value needs to be same as what its in portlet.xml
put jboss-portlet.xml in the WEB-INF folder. -
2. Re: including javascript, CSS in portlets
ozguy Dec 19, 2008 1:11 AM (in response to aspdeepak)Check the path for the src and href value. Check if you can access the js and css directly EG: http://server_address/js/xx.js
-
3. Re: including javascript, CSS in portlets
aspdeepak Dec 23, 2008 8:53 AM (in response to aspdeepak)hi ozguy.. Your second option is very correct
we tried to use the absolute url instead of relative. It works fine. Thanks -
4. Re: including javascript, CSS in portlets
aspdeepak Dec 23, 2008 8:58 AM (in response to aspdeepak)Please also include the portlet context name
Eg: http://:/<portlet-ctx-name>/js/xyz.js
Incase if u need a file form your portlet web apps /js directory.
'portlet-ctx-name' is nothing but the actual portlet web application context