aspose file tools*
The moose likes JSF and the fly likes JSF with jQuery Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF with jQuery" Watch "JSF with jQuery" New topic
Author

JSF with jQuery

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9351
    
    2

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!


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Himanshu Gupta
Ranch Hand

Joined: Aug 18, 2008
Posts: 598

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


My Blog SCJP 5 SCWCD 5
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9351
    
    2

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

Joined: Aug 18, 2008
Posts: 598

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

Joined: Jun 09, 2009
Posts: 327
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.


SCJP6
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9351
    
    2

I wanted to go for ICEFaces but now decided to do it with RichFaces. Thanks for all the support!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF with jQuery