[
http://jira.magnolia-cms.com/browse/MAGNOLIA-2486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Algesten updated MAGNOLIA-2486:
--------------------------------------
Attachment: patch-trunk.txt
I reworked the solution to introduce an "IconProvider" interface that can be
set as a callback when providing icons. This generalises the behaviour of the
previous "icons" map.
The solution removes:
public String getIconPage()
public String getIconContentNode()
public String getIconNodeData()
which I couldn't see were being used. (The setters are however used by
module-dms, so they are kept).
The javascript has been altered to also trigger a reload of the current node
when changing the template.
> Make tree node icons configurable by template
> ---------------------------------------------
>
> Key: MAGNOLIA-2486
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2486
> Project: Magnolia
> Issue Type: Improvement
> Components: gui
> Reporter: Martin Algesten
> Assignee: Boris Kraft
> Priority: Minor
> Attachments: patch-3.6.txt, patch-trunk.txt
>
>
> I want a feature where I can specify in the template definition a node data
> called 'icon' which sets the icon used to represent the node in the website
> tree.
> Attached are two patches that makes it possible to set an 'icon' property in
> the template definition.
> One patch is against the current trunk (4.0-SNAPSHOT) and on against the 3.6
> branch. They should (hopefully) do the same.
--
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/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[EMAIL PROTECTED]>
----------------------------------------------------------------