AJAX-ifying some individual components - such as a autocomplete drop-down menu - is actually not that difficult to achieve in JSF. Based on code from the Blueprints catalog, I've played with it a little bit and it seems to work pretty well. What seems to be much more difficult to achieve is, rather than simply having one-or two components AJAX-ified but still using the same postback mechanism (and preserving the JSF lifestyle), is to output the entire page as something which is AJAX-ified. In other words making all components render client-side and partial page refresh is a much taller order.

You might try AJAX Anywhere, which is a standard JSP taglib that can AJAX-ify portions of a page, even if its using JSF components.

Demo here: http://www.ideologiciels.com:8080/ajaxAnywhereDemo/facesFrame.jsp
Page here: http://ajaxanywhere.sourceforge.net/

On 10/13/05, Werner Punz < [EMAIL PROTECTED]> wrote:
Dave wrote:
> Has anyone made Ajax work with JSF?  how is the integration? is it a
> good idea?
> Thanks.
> Dave
>
> ------------------------------------------------------------------------
> Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
> < http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/>
>
there are the sun blueprints, ajax anywhere
http://ajaxanywhere.sourceforge.net/, some ajax stuff has made it
already into the sandbox, the ajax lib by this russian guy
http://smirnov.org.ru/en/ajax-jsf.html, more to come soon.

The problem is that ajax is hard to combine with jsf because both
methotologies are not too compatible, there always is the issue once you
start to alter the dom on the client side you have to alter the backend
tree in some way, and also you should not trigger the jsf phases during
an ajax call because this is somewhat a different entity.



Reply via email to