You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2012/07/19 21:15:35 UTC
[jira] [Resolved] (WICKET-3753) PropertyVariableInterpolator add
support for IConverterLocator (patch included)
[ https://issues.apache.org/jira/browse/WICKET-3753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sven Meier resolved WICKET-3753.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.5.8
6.0.0
Assignee: Sven Meier (was: Igor Vaynberg)
> PropertyVariableInterpolator add support for IConverterLocator (patch included)
> -------------------------------------------------------------------------------
>
> Key: WICKET-3753
> URL: https://issues.apache.org/jira/browse/WICKET-3753
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5-RC4
> Reporter: manthos
> Assignee: Sven Meier
> Fix For: 6.0.0, 1.5.8, 1.5-RC5
>
> Attachments: converter.patch
>
>
> Add support for IConverterLocator to PropertyVariableInterpolator (see patch) to work with known IConverter for properties.
> Sample code:
> getString("created", Model.of(item));
> properties:
> created=Item created at ${createDate} by ${user}.
> Currently createDate (and any other property) is always converted by toString() instead of respecting IConverter to get properties localized.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira