On Mon, 18 Jul 2011 11:08:42 -0300, CHAUVEL <morgancha...@gmail.com> wrote:

Hi,

Hi!

I have a tapestry 5 app. I have an eventlink that updates a zone.
Works perfectly in explorer 8, firefox and chrome, but with explroer 9 I
get:

ioc.Registry A component event handler method returned the value Block[Body
of Busqueda:cargosgrillazone, at
classpath:com/tida/servir/pages/Busqueda.tml, line 244]. Return type
org.apache.tapestry5.internal.structure.BlockImpl can not be handled.

This means the request wasn't made through AJAX. @Inject Request and use its isXHR() method to know when a request is AJAX or not. If not, return null. This way, your page works with and without JavaScript enabled.

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