• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to implement Jqery in my jsf page??

 
Matt Hardy
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
.
 
Tim Holloway
Bartender
Posts: 18417
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The same general way that you would with non-JSF, except that in order to avoid confusion with the EL processor, you can't use the "$" convention. You have to use "jQuery." as the introducing term on a jQuery expression.

If you're using RichFaces, there's a (old) version of jQuery that come automatically with RichFaces, which uses it internally. In that case, you don't even have to explicitly request jQuery, since RichFaces does it in the background.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!