Hi,
I have a problem with use of convertor in binding. My application retrieve
an xml with this tag

<ammount>60.20</ammount>

in my form definition I define this widget

<fd:field id="fromAmount" required="false">
  <fd:datatype base="decimal"/>
  <fd:label>
    <i18n:text>label.Da</i18n:text>
  </fd:label>
</fd:field>

and in binding

<fb:value id="fromAmount" path="ammount">
  <fd:convertor datatype="decimal" type="formatting" variant="currency">
    <fd:patterns>
      <fd:pattern locale="it_IT">###,##0.00</fd:pattern>
    </fd:patterns>
  </fd:convertor>
</fb:value>

This don't work fine, after load of form the associated input is empty; if
I remove "locale" attribue It work, but not in the format that I want.

How can I format currency value in other locale?


TIA,

-- 
Daniele Madama

Pro-netics s.r.l.
Via Elio Lampridio Cerva 127/c
Roma
Tel. 0651530849
http://www.pro-netics.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to