Hi!! .. In my opinion i think the response part could be done in more natural way, something like the listener methods activate the response page with its return type.
http://jakarta.apache.org/tapestry/UsersGuide/listenermethods.html
Using the return type of the listeners and creating a new base AjaxComponent type that can be contributed later with json,xml or html implementations we could response not only ajax but whatever content type we need, for example:
@meta("ajaxType:json")
public AjaxComponent myListenerMethod(){
return myJsonComponent;
}
- [Tacos-devel] IMPORTANT(usability/core logic for ajax)... Jesse Kuhnert
- [Tacos-devel] Re: IMPORTANT(usability/core logic ... Danny Angus
- Re: [Tacos-devel] Re: IMPORTANT(usability/cor... Jesse Kuhnert
- Re: [Tacos-devel] IMPORTANT(usability/core logic ... Edgar Chan Carrillo
- Re: [Tacos-devel] IMPORTANT(usability/core lo... Jesse Kuhnert
