Topic
No replies
gifor
gifor
22 Posts
ACCEPTED ANSWER

Pinned topic CSS and Javascript declaration in JSF Portlet

‏2013-03-27T13:57:02Z |
Hi,
(sorry for the x-post but I posted this question on the wrong forum)
I have a doubt: how to declare css and javascript within a JSF portlet? Is it possibile at portlet level css and js or I have to embed them into the theme?

The problem is: I have 2 portlet on the same page with h:outputStylesheet and h:outputScript but if I put the same reference to jquery and other JS libraries, the page doesn't work anymore.

Any suggestions on how is the best way to declare JS and CSS in that case?
Thank you