permaculture playing cards*
The moose likes JSF and the fly likes Ajaxifying the Existing JSF Components using ajax4jsf. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Ajaxifying the Existing JSF Components using ajax4jsf." Watch "Ajaxifying the Existing JSF Components using ajax4jsf." New topic
Author

Ajaxifying the Existing JSF Components using ajax4jsf.

venkatreddy gangireddy
Greenhorn

Joined: Feb 26, 2007
Posts: 8
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

Joined: Oct 09, 2006
Posts: 57
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
 
wood burning stoves
 
subject: Ajaxifying the Existing JSF Components using ajax4jsf.
 
Similar Threads
Is needed faces-config?
RIA: Can Tapestry 5 used with Richfaces
Problem with view while using JSF with Tiles
local reference to dtd
Creating managed bean with different parametrs