[
http://jira.magnolia-cms.com/browse/MAGNOLIA-1538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Haderka reopened MAGNOLIA-1538:
-----------------------------------
> Tree does not work if setPath() is used in custom tree configuration
> --------------------------------------------------------------------
>
> Key: MAGNOLIA-1538
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-1538
> Project: Magnolia
> Issue Type: Bug
> Security Level: Public
> Components: admininterface
> Environment: Firefox 2
> Internet Explorer 6
> Reporter: zam6ak
> Assignee: Philipp Bärfuss
> Priority: Major
>
> If specifyiing a custom tree config with a setPath(), the tree does not
> function properly. Trying to expand subitems causes weird behaviour...
> Steps to reproduce (thanks to Gregory):
> 1) Create a new tree configuration class:
> public class MyTreeConfiguration extends WebsiteTreeConfiguration {
> public void prepareTree(Tree tree, boolean browseMode,
> HttpServletRequest request) {
> super.prepareTree(tree, browseMode, request);
> tree.setPath("/foobar");
> }
> }
> Deploy that class in magnolia.
> 2) Reference the configuration in a new tree definition:
> .../my-new-tree/configurationClass : info.magnolia.test.
> MyTreeConfiguration
> 3) Finally, setup my dialog's link control with a "tree" property set to the
> newly created Tree ("my-new-tree")
--
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]>
----------------------------------------------------------------