• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

JSF with jQuery

 
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 San
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 San
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I wanted to go for ICEFaces but now decided to do it with RichFaces. Thanks for all the support!
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic