On Thu, 2006-05-04 at 16:12 +0200, Alessandro Vincelli wrote:
> Thanks, but I have already tried with this solution
> <fd:pattern locale="it_IT">#,00</fd:pattern>
> but don't work.
> 
> :(
> 
> Cocoon output:
> 
> 1,000.90
> 
> but I want:
> 
> 1.000,90

Did you actually change the locale to be used when processing and
rendering the form to it_IT?

See towards the end of this page:
http://cocoon.zones.apache.org/daisy/documentation/864/forms/basics/752.html

You need to set a locale property on the form object in flow, and also
pass a locale parameter to the form template in the sitemap (supposing
you're not using the forms-transformer).

At least that's how it worked in 2.1.8, I haven't checked yet if this
changed in 2.1.9.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]                          [EMAIL PROTECTED]


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

Reply via email to