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;
 }

Reply via email to