Hi all,
I'm trying out the Tapestry Grid component for the first time in one of
my projects. During rendering I'm presented with the below exception.
"Render queue error in BeginRender[vessel/Read:grid.rows]: Failure
writing parameter 'row' of component vessel/Read:grid.rows: Failure
writing parameter 'row' of component vessel/Read:grid: Could not find a
coercion from type [Ljava.lang.Object; to type
com.optomus.harbour.entities.Crewman."
Not a problem, I thought, just need to add an encoder to the page's Java
class file. Same as I've done several times before with the Tapestry
Palette component.
<t:grid source="crewmen" row="crewman" model="crewModel"
encoder="crewEncoder" rowsPerPage="30" pagerPosition="both">
Unfortunately, with Grid, it's not had the same desired effect—whilst
the model parameter successfully gets from "public BeanModel
getCrewModel(){...}" the encoder parameter isn't getting from "public
ValueEncoder<Crewman> getCrewEncoder(){...}".
What am I missing?
Thanks & regards,
Chris.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org