[ http://issues.apache.org/jira/browse/TAPESTRY-887?page=comments#action_12371005 ]
Leonardo Quijano Vincenzi commented on TAPESTRY-887: ---------------------------------------------------- AFAIK, TranslatorBinding uses a StringTokenizer to parse the text. An escape char is needed for this to work. As for the workaround, yes, there it is. But the main reason of the shortcut is to be able to specify the translator "inline", instead of having to declare a bean for every page that uses this translator. Imagine a 500+ page application. > 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]