You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Kent Tong <ke...@cpttm.org.mo> on 2006/03/20 11:41:40 UTC
Re: 4.0: Insert dislikes service-properties in format attribute
Giampaolo Tomassoni <g.tomassoni <at> libero.it> writes:
> I did a tiny hivemind service to retrieve that yields a Format object to output
> currency values.
>
> Now, I tried to do this in my html source:
>
> <span
> jwcid=" <at> Insert"
> value="ognl:valueAsABigDecimal"
> format="service-property:application.NumberFormat:euro"
> >...</span>
>
> The problem is that I get a "No type converter for type java.text.Format is
> available" when the span is rendered. The service's constructor is not even
> invoked.
Try:
<span
jwcid="@Insert"
value="ognl:valueAsABigDecimal"
format="hivemind:service-property:application.NumberFormat:euro">
...
</span>
--
Author of a book for learning Tapestry (www.agileskills2.org/EWDT)
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org