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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to