• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

New to JSF (Need help for setting up the jsf application with AJAX functionality)

 
David samueal
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am new to JSF, and i developed a sample JSF application, but i am totally confused how to use JSF with AJAX.

Am not pretty sure what all the JAR's required to set up a JSF application to support AJAX (a4j tags).

So, can anyone who knows the JSF application, can help by explaining the initial setups to create a JSF application also to use the AJAX tags.

Especially the required JARS and Required configuration to start up with before using AJAX in JSF. ( Note: Currently my application is supporting the RICHFACES tags without any problem :wink

Quick reply is much appreciated! ( Note: Am using Tomcate server 6 and eclipse for the development

Thanks,
D@ve
 
Yogesh Gnanapraksam
Ranch Hand
Posts: 133
 
David samueal
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Hi .. Thank you so much for the reply!! I too got few examples of how AJAX integerated with JSF!!

But the real problem is the configuration for AJAX in my application.

Whenever i run the application am getting property not found exception(Manged bean) if i use a4j tag in my code.

If i put a fre a4j jars and rich-impl.jar's am getting some mismatched exception exception ( Especially : "Factory 'javax.faces.render.RenderKitFactory' was not configured properly" )

So kindly help me out the required jar's and setup i need to do for running the application using AJAX or requied JAR's for any JSF application using a4j tags.
 
Tim Holloway
Saloon Keeper
Posts: 18304
56
Android Eclipse IDE Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Richfaces supports AJAX out of the box.

Although originally the a4j tags were separate, they've been part of the RichFaces package for a long time now, so only very obsolete documentation will tell you to handle them differently. If you follow the instructions in the RichFaces documentation, they'll tell you exactly what to do and you'll have both the "a4j" and "rich" tagsets available to any View definition that includes them in their namespace declarations. And, no, DON'T include any "a4j.jar" files. Like I said, that's long obsolete!
 
David samueal
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Holloway wrote:Richfaces supports AJAX out of the box.

Although originally the a4j tags were separate, they've been part of the RichFaces package for a long time now, so only very obsolete documentation will tell you to handle them differently. If you follow the instructions in the RichFaces documentation, they'll tell you exactly what to do and you'll have both the "a4j" and "rich" tagsets available to any View definition that includes them in their namespace declarations. And, no, DON'T include any "a4j.jar" files. Like I said, that's long obsolete!


Thanks Tim! Got clarified with the explanation! Cheers!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic