On Wed, 20 Feb 2013 09:54:15 -0300, mvchris <ch...@mrvoip.com.au> wrote:

Whether I use a grid or a loop, my EJB findAll() method which returns all
records - it displays the records without a problem.
If I use my getDistinct() method, I get the no coercion error.

This may be related to the JPA implementation returning runtime-created subclasses of entity classes (in this case, LibraryEvent). I've seen Hibernate do that.

org.apache.tapestry5.ioc.internal.util.TapestryException: Failure writing
parameter 'value' of component AgentStatusList:loop: Could not find a
coercion from type java.lang.String to type
au.com.mrvoip.libt5.model.LibraryEvent. [at classpath:
au/com/mrvoip/libt5/pages/AgentStatusList.tml, line 15]

You had posted a Grid, but in fact your exception is happening in a Loop. Could you post the part of the template that declares this Loop instance?

--
Thiago H. de Paula Figueiredo

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

Reply via email to