On Thu, 07 Jul 2011 13:35:47 -0300, Mark <mark-li...@xeric.net> wrote:

Ah ok.  So something along the lines of this?

    Object onShowDialogFromMoreInfo(final Person person) {
        return new RenderCommand()
        {
            public void render(MarkupWriter writer, RenderQueue queue)
            {
                writer.writeRaw("<b>" + person.getName() + "</b>");
            }
        };
    }

Yep!

I was thinking that there should be a way to do it with just a string,
but I guess that won't work because a string will try to send the
browser to a new page instead of just updating the part that needs to
be updated.

Just implement a StringRenderCommand. :)

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