On Tue, 22 Jun 2010 03:09:56 -0300, SakshiAgarwal <sakshi.a...@gmail.com> wrote:

Hi

Hi!

Did u get the solution to ur problem.
I am facing the same problem
"component event handler method returned the value Block[Body of
Photos:photozone, at context:Photos.tml, line 28]. Return type
org.apache.tapestry5.internal.structure.BlockImpl can not be handled"

This happens when you return a Block in a non-AJAX request. @Inject Request and use its isXHR() method to check if the current request is an AJAX one or not.

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