Creating AJAX Enabled JSF Components
Including AJAX Functionality in a Custom JavaServer Faces Component shows the Phase Listener approach of JSF component development.
This is the approach taken with the Java BluePrints AJAX Components/ whih run in Creator and are also used in the Java Pet Store 2.0. Shale Remoting provides a framework for developing JSF components using this approach.
issues occur because the phase listener jumps you out of the normal
JSF lifecycle processing for processing AJAX requests.
There are other approaches that are being developed on top of JSF 1.2 and for the future JSF 2.0 that will allow for more granular updates to client/server representation of the view transparently using AJAX. This approach allows existing JSF components to use the standard validators and rendering logic and does not require a developer to have extensive knowledge of
AJAX. This approach is being developed as part of the JSF Extensions.
Check out the tutorial and let us know aht you think.