Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to use javascript code in a JSF page of a portlet?  RSS feed

 
suresh dasari
Ranch Hand
Posts: 121
Chrome Eclipse IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I am using JSF richfaces for liferay portlets, When I am trying to include some basic javascript code inside a jsf page it is throwing Null pointer exception. It is again working fine when I remove script code.
Is there any specific way to include javascript code inside a jsf page which converted to a portlet.

Thanks.
Suresh.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!