Ajax response renderer may also be a viable solution for returning multiple
things. I tend to prefer that over returning getBody() for exactly that
reason.

-- 
Chris


On Wed, Oct 28, 2015 at 2:05 PM, Thiago H de Paula Figueiredo <
thiag...@gmail.com> wrote:

> On Wed, 28 Oct 2015 08:16:21 -0200, Poggenpohl, Daniel <
> daniel.poggenp...@isst.fraunhofer.de> wrote:
>
> Hello everyone,
>>
>
> Hi!
>
> we have a problem where we update some page with an ajax request, but need
>> additional data to be sent with the ajax response. This additional data
>> should then be consumed on the client side by an ajaxComplete event. Does
>> anyone know how a Tapestry event method can return more than just getBody()
>> in the response?
>>
>
> Why don't you use data attributes in the returned HTML instead?
>
> --
> Thiago H. de Paula Figueiredo
> Tapestry, Java and Hibernate consultant and developer
> http://machina.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