[
http://jira.magnolia-cms.com/browse/MAGNOLIA-3583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Grégory Joseph updated MAGNOLIA-3583:
-------------------------------------
Attachment: MAGNOLIA-3583-bis.patch
Here's a patch that also includes the functionality to transform {{Pattern}}s
automatically.
One thing that's still missing - but I don't see how to do this without magic -
is the ability to set flags on the converted {{Pattern}}.
> content2bean: support for java.util.MessageFormat and java.util.regex.Pattern
> -----------------------------------------------------------------------------
>
> Key: MAGNOLIA-3583
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3583
> Project: Magnolia
> Issue Type: New Feature
> Security Level: Public
> Components: content2bean, core
> Reporter: Grégory Joseph
> Fix For: 4.4.x
>
> Attachments: MAGNOLIA-3583-bis.patch, MAGNOLIA-3583.patch
>
>
> Often times, I have components which have MessageFormat configurable String.
> With the current c2b, it's a bit of a pita, as I have to have a
> setMyFormat(String s) and convert it manually every time. It's never clear
> if/how/when/where I should convert this string in a MessageFormat instance.
> C2B could simply convert it for me. See attached patch.
> A very similar patch could be applied to support {{java.util.regex.Pattern}}.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------