His idea is very good, it's only a partial solution, though. Thing is that a component might be rendered different due to an AJAX request then in the normal case (think InputSuggestAjax). This is why we implemented something like an encodeBeginAjax method with our components. Of course, he might be trying to pass in the processing context to the encode methods via the facesContext.
Additionally, the question reminds how to tell the client side components when to start an AJAX request - is it time based, or based on some user interaction? I think that this will need the most standardization efforts. Finally - there are issues with just rendering out the HTML as is - many AJAXers say it would be better to render javascript that changes the DOM Tree instead of rendering out HTML directly. regards, Martin On 9/21/05, b0nyb0y <[EMAIL PROTECTED]> wrote: > Those are nice.. > > However, what made me almost jumped off my seat was this: > http://weblogs.java.net/blog/jhook/archive/2005/09/jsf_avatar_vs_m_1.html > > Another great thing coming from the talented Mr Hookom. Standardized > these things could definitely help JSF AJAX components perform more > efficiently. The idea of using AJAX partial update without a need to > create new AJAX-ized components is just awesome. > > Can't wait for the JSF 1.2a!! > > > > On 9/19/05, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > > :-) > > > > On 9/19/05, Enrique Medina <[EMAIL PROTECTED]> wrote: > > > Nice stuff. At least it seems less intrusive than the Ajax framework... > > > > > > 2005/9/18, Matthias Wessendorf <[EMAIL PROTECTED]>: > > > > yet another ajax lib. > > > > > > > > "AjaxAnywhere" released on sourceforge via LGPL. > > > > > > > > http://ajaxanywhere.sourceforge.net/ > > > > > > > > There is also a MyFaces sample, which shows some tomahawk components > > > > with and without ajax. > > > > > > > > -Matthias > > > > > > > > On 8/15/05, Werner Punz <[EMAIL PROTECTED]> wrote: > > > > > Just checked the wiki again, some russian guy posted > > > > > links to his project > > > > > that stuff looks really interesting > > > > > > > > > > http://wiki.apache.org/myfaces/AJAX_Framework > > > > > > > > > > > > > > > > > > > > > > -- > > > > Matthias Wessendorf > > > > Zülpicher Wall 12, 239 > > > > 50674 Köln > > > > > > > > > > > > > > > > -- > > Matthias Wessendorf > > Zülpicher Wall 12, 239 > > 50674 Köln > > > -- http://www.irian.at Your JSF powerhouse - JSF Trainings in English and German

