[ http://issues.apache.org/jira/browse/TAPESTRY-887?page=all ]
Paul Ferraro updated TAPESTRY-887:
----------------------------------
Priority: Minor (was: Major)
To clarify, this is a limitation of the TranslatorBinding, not the
NumberTranslator itself.
You can always specify the NumberTranslator as a bean and reference it as such.
e.g.
<bean name="number"
class="org.apache.tapestry.form.translator.NumberTranslator">
<set name="pattern" value="literal:#,###.00"></set>
</bean>
<input jwcid="@TextField" ... translator="bean:number"/>
I'm downgrading the priority since this issue has a clear workaround.
> NumberTranslator doesn't allow digit grouping separators to be specified
> ------------------------------------------------------------------------
>
> Key: TAPESTRY-887
> URL: http://issues.apache.org/jira/browse/TAPESTRY-887
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 4.0
> Reporter: Leonardo Quijano Vincenzi
> Priority: Minor
>
> Currently, NumberTranslator doesn't allow the use of the digit separator (","
> in USA, the digit separator in other countries) in the pattern area. For
> example:
> translator="number,pattern=##,##.00"
> would throw an error. There's no way to escape it, either. This causes a
> problem when translating formatted numbers (specially after Javascript
> formatting).
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]