Thiago H. de Paula Figueiredo wrote: > > On Tue, 12 Jul 2011 23:04:55 -0300, dick_hu <dickan...@gmail.com> > wrote: > >> Zone onActionFromDelete() { >> return testZone; >> } > > Return testZone.getBody() instead. > > I according to your issue, public class Test {
@InjectComponent private Zone testZone; Block onActionFromDelete() { return testZone.getBody(); } } but occur the exception like this A component event handler method returned the value Block[Body of test/Test:testzone, at classpath:com/lai2/pages/test/Test.tml, line 21]. Return type org.apache.tapestry5.internal.structure.BlockImpl can not be handled. -- View this message in context: http://tapestry.1045711.n5.nabble.com/A-problem-occur-at-loop-of-zone-tp4577377p4581320.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org