Yes but in an Ajax point of view I think you can't use this approach in my
humble point of view.

In an Ajax way for me the good approach is to have a component call like
ComponentSubstitution who encapsulate
and permit to generate an Ajax return whit html node substitution.

With T5 it's very easy to make some simple Ajax response, I play with T5
coupled with Ext and the possibility are amazing ;)
But if I want to use the full potential of T5 I need to be able to do
something like that :

AjaxCall -> T5 event like display MyComplexeComponent -> Instantiate
MyComplexeComponent -> encapsulate the response in something like :
{execute: function() {Ext.DomHelper.createTemplate('" + ComponentRendering+
"').overwrite(Ext.get('" + idOfMyComponentOrPreviousComponent + "'));}}";

and it'll be magic ;)

Actually it's a pain but Tapestry is definitively on the right way ;)

Regards

Reply via email to