[
http://jira.magnolia.info/browse/MAGNOLIA-2228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Philippe Marschall updated MAGNOLIA-2228:
-----------------------------------------
Attachment: DefaultContent.java
> Convenince methods in Content to deal with localized node data
> --------------------------------------------------------------
>
> Key: MAGNOLIA-2228
> URL: http://jira.magnolia.info/browse/MAGNOLIA-2228
> Project: Magnolia
> Issue Type: Improvement
> Components: core
> Reporter: Philippe Marschall
> Assignee: Philipp Bracher
> Priority: Minor
> Attachments: Content.java, Content.java.patch, DefaultContent.java,
> DefaultContent.java.patch
>
>
> The introduction of i18n content support made dealing with node data a lot
> more cumbersome. What once was:
> {code}
> node.getNodeData(name)
> {code}
> became:
> {code}
> I18nContentSupportFactory.getI18nSupport().getNodeData(node, name)
> {code}
> my proposal is to reduce this to:
> {code}
> node.getLocalizedNodeData(name)
> {code}
> patch attached
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------