Hi there,

I'm currently writing an application, which uses Tapestry 5.1. So far, I have no problems, but now I try to add some AJAX support. I want to update a Zone on my page, if the user clicks an actionlink. For this, I use the following code:

<t:zone t:id="catsZone">
<t:actionlink t:id="myActionlink" zone="catsZone">text</t:actionlink>
</t:zone>

und in der Java Datei
@InjectComponent
private Zone _catsZone;
Object onActionFromMyActionlink(){
    return _catsZone.getBody();
}

The same problem occures, if I use a Beaneditform in a Zone:

<t:zone t:id="myZone">
<t:beaneditform object="myUser" zone="myZone"/>
</t:zone>

In both versions, I get the following error:

Return type org.apache.tapestry5.internal.structure.BlockImpl can not be handled. Configured return types are...

Could you please help me with this issue? I don't know, where my error is :(
A test with request.isXHR() always returns false...

Thanks a lot!

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

Reply via email to