Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ajaxifying the Existing JSF Components using ajax4jsf.

 
venkatreddy gangireddy
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To ajxfying the existing JSF components by using the ajax4jsf frame work, i placed the ajax4jsf.jar in the lib folder. But the ajax4jsf.jar contains a faces-config.xml for defining th a4j components. Bcoz of this faces-config.xml my existing faces-config.xml is not getting invoked. Is there any way to incorporate both the functionalities in one file?
 
Andres Quinones
Ranch Hand
Posts: 57
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by venkatreddy gangireddy:
To ajxfying the existing JSF components by using the ajax4jsf frame work, i placed the ajax4jsf.jar in the lib folder. But the ajax4jsf.jar contains a faces-config.xml for defining th a4j components. Bcoz of this faces-config.xml my existing faces-config.xml is not getting invoked. Is there any way to incorporate both the functionalities in one file?


Hi Venkatreddy,

I think yo can solve this by addin g this to your web.xml file
<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config.xml</param-value>
</context-param>

I hope this helps
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic