[
https://issues.apache.org/jira/browse/WICKET-1319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Johan Compagner reassigned WICKET-1319:
---------------------------------------
Assignee: Gerolf Seitz
i guess you use it like this:
StringResourceModel("label", this, null, new Object[] { new Integer(10) }))
so by giving the param that uses the MessageFormat class. We also seem to have
PropertySubstitution ourslfs by giving a model with it
its a bit confusing to have 2 things that sort of do the same thing...
But i see gerolf did change the ' escaping it moved it from
PropertyVariableInterpolator to StringResourceModel (MessageFormat part) but
those are not really related to each other...
Gerolf can you take a look? (revision 596906: moved single-quote-escaping from
PropertyVariableInterpolator to StringResourceModel)
> StringResourceModel incorrectly escapes ' characters in choice formats
> ----------------------------------------------------------------------
>
> Key: WICKET-1319
> URL: https://issues.apache.org/jira/browse/WICKET-1319
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-final
> Reporter: Meetesh Karia
> Assignee: Gerolf Seitz
>
> Here is a sample format that breaks when migrating from 1.2.6 to 1.3. We've
> currently worked around it by locating the string and using MessageFormat
> ourselves:
> foo.label={0,choice,-1#n/a|-1<'{1}{0,number,#,##0.00}'}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.