On Thu, 26 Jan 2012 08:03:17 -0200, Christian Grobmeier <grobme...@gmail.com> wrote:

Hey guys,

Hi!

love. On Struts side I enjoy the easiness: make up an action and return json.

I can't imagine how doing this in Tapestry wouldn't be easier than Struts, any version:

package a.b.c.pages;

public class JsonResponse {

        JSONObject void onActivate() {
                JSONObject object = new JSONObject();
                ...
                return object;
        }

}

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to