Content MetaData is not exposed in templates
--------------------------------------------

                 Key: MAGNOLIA-4371
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-4371
             Project: Magnolia
          Issue Type: Bug
      Security Level: Public
          Components: templating components
    Affects Versions: 4.5.2, 4.5.1, 4.5
            Reporter: Matt Dertinger


Hi,

Currently, it appears that content metadata is not exposed in templates.  In 
previous versions one good do something like the following:

{code}
${content.metaData.creationDate}
{code}

However, in 4.5, it looks like the following change in the Content API (as 
listed at: [Changelog - Content 
API|http://wiki.magnolia-cms.com/display/DEV/Changelog+-+Content+API]) doesn't 
allow this to work:

|| Magnolia {{Content}} class method || Equivalent JCR {{Node}} method || 
Remarks ||
| {{getMetaData()}} | {{MetaDataUtil.getMetaData(Node)}} | |

Let me know if you have any questions.

Cheers,
Matt

-- 
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
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to