New util method: ContentUtil.getAncestorOfType
----------------------------------------------
Key: MAGNOLIA-3791
URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3791
Project: Magnolia
Issue Type: New Feature
Security Level: Public
Components: core
Reporter: Grégory Joseph
Assignee: Philipp Bärfuss
Fix For: 4.4.x
Attachments: ContentUtil.java, ContentUtilTest.java
Here's a little patch that adds a simple, yet useful and often rewritten method
to retrieve a node's first ancestor of a given type.
Meant to be added to the existing {{info.magnolia.cms.util.ContentUtil}}, not
added a separate class.
--
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]>
----------------------------------------------------------------