Yes there is, in the Chenille Kit.

See http://www.chenillekit.org/chenillekit-tapestry/messageformatbinding.html

Olle


2009/8/17 Radek Terber <ter...@b2bcentrum.cz>:
> Hi all.
>
> Is there any way how to pass parameter to message directly in TML file ?
>
> For example:
> I have component Example1 (resides in "Example1.java") and in it's
> "Example1.tml" is something like this:
> ============================
> in Example1.tml is
> ------------------------------------------
> <div xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"; >
> ...
> ${message:any-message-text-requires-parameter}
> ...
>
> </div>
> ------------------------------------------
> ============================
> in "Example1.properties" is
> ------------------------------------------
> any-message-text-requires-parameter=Any text which "%s" here requires
> parameter
> ------------------------------------------
>
> And now, I would like pass the "%s" value directly in TML file (to avoid
> divide those text to two or more fragments).
> I know possibility to prepare entire message in JAVA class, but it is more
> coding, more getters ...
>
> Thanks.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Olle Hallin
Senior Java Developer and Architect
olle.hal...@crisp.se
www.crisp.se

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

Reply via email to