On Fri, 06 Jun 2014 03:17:15 -0300, Net Dawg <net.d...@yahoo.com.invalid>
wrote:
<t:submit t:id="pdf" t:image="${context:layout/images/pdf_download.jpg}"
/>
which would be great if it worked! But gives error:
Failure reading parameter 'image' of component ...: Could not find a
coercion from type java.lang.String to type org.apache.tapestry5.Asset.
Never, never, never ever use ${} expansions when passing parameters. In
100% of the time, it's either useless (when the parameter is a String) or
wrong (when it's not). It should have been
t:image="context:layout/images/pdf_download.jpg".
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org