I haven't checked out all of the callback types, but we often use the
javascript callback to do extra stuff on the calling page.

Something like:

ajaxResponseRenderer.addCallback( new JavaScriptCallback()
{
    @Override
    public void run( JavaScriptSupport javascriptSupport )
    {
        javascriptSupport.require( "<module-name>" ).invoke(
"<method-name>).with(
<data-to-return-must-match-invoked-module-method-signature);
    }
} );

This does not plug into the ajax complete event, but will be executed as
part of the call returning. There is a json callback as well, but I have
not looked into what is supposed to receive its return data.

-- 
Chris

On Thu, Oct 29, 2015 at 12:40 PM, Thiago H de Paula Figueiredo <
thiag...@gmail.com> wrote:

> On Thu, 29 Oct 2015 05:59:30 -0200, Poggenpohl, Daniel <
> daniel.poggenp...@isst.fraunhofer.de> wrote:
>
> Hello,
>>
>> do you have example code returning not only the body, but also additional
>> data, for me?
>>
>
> Have you even considered my suggestion of using data tags inside the
> rendered HTML to provide the data?
>
>
> --
> 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