Hi All
Any ajax component I think should both work in normal response(page refresh) and ajax response(partial refresh)
we may also need to execute script in ajax response to build widget or do some other thing.
the current situation is we need to add scripts string to includeWriter/preprocessWriter/etc.
this can not take the advantage of script processing of Tapestry.
So does something like the following looks good?
if (ajaxRequest) {
//may render somthing.
getScript().execute(cycle, getAjaxEngine().getAjaxRequest().getResponseBuilder(), scriptParms);
return;
}
Just some thoughts and maybe it is wrong. so please let me know if you have good idea about ajax response script processing.
- Felix
- [Tacos-devel] [discuss]How about let ResponseBuilder extends... Felix Sun
- Re: [Tacos-devel] [discuss]How about let ResponseBuilde... Jesse Kuhnert
- Re: [Tacos-devel] [discuss]How about let ResponseBu... Jesse Kuhnert
- Re: [Tacos-devel] [discuss]How about let Respon... Jesse Kuhnert
