• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF with jQuery

 
Joe Harry
Ranch Hand
Posts: 10080
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

For a project that I'm working, I would like to decide on the UI technology to be used. I'm considering to use jQuery for sure as a javascript framework, but would like to know if JSF would be the right choice to be used with jQuery. I have used jQuery with Struts 2.0 and did not face any problems, but I feel Struts 2.0 not so promising and would like to go with JSF. Please share your ideas here!
 
Himanshu Gupta
Ranch Hand
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We used JSF in our last project and did not find any major issues. Moreover in certain cases if you want to use both (JSF+jQuery) then you are free to do so as Richfaces has a component for jQuery.

Here you will find most of the components that supports Ajax functionality.
http://livedemo.exadel.com/richfaces-demo/richfaces/actionparam.jsf
 
Joe Harry
Ranch Hand
Posts: 10080
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you use jQuery with JSF. I did not quite get it from your post. I know Exadel studio's JSF support, but do they also provide jQuery support?
 
Himanshu Gupta
Ranch Hand
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes they support jQuery also. Here you can have a look.
http://livedemo.exadel.com/richfaces-demo/richfaces/jQuery.jsf

We were not able to use jQuery with JSFas the verion we were using did not have this plugin. There are a lot of problems if you try to use jQuery without the plugin.
 
Jason Irwin
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have recently done a small application with RichFaces. That comes with JQuery hooks and I had no toruble using it, nor integrating a JQuery plugin.

I cannot comment on other JSF frameworks.
 
Joe Harry
Ranch Hand
Posts: 10080
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wanted to go for ICEFaces but now decided to do it with RichFaces. Thanks for all the support!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic