hi, trying to pass a literal to a component hoping it can do a coercion, here is the code:
public class IfGroup { @Parameter(required = true) private Group context; Object beginRender() { } } this works as 'tesGroup' is a property in the page: <t:ifgroup context="testGroup"> <p>hello</p> </t:ifgroup> but this one will not: <t:ifgroup context="12"> <p>hello</p> </t:ifgroup> Could not find a coercion from type java.lang.String to type org.sample.entities.Group. How to make this work? Thanks, Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/component-parameter-coercion-tp5714988.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