[ 
http://jira.magnolia.info/browse/MAGNOLIA-1538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17856#action_17856
 ] 

Gregory Joseph commented on MAGNOLIA-1538:
------------------------------------------

See MGNLDMS-99 for a working example and some more explanations as to why this 
might fail.

> Tree does not work if setPath() is used in custom tree configuration
> --------------------------------------------------------------------
>
>                 Key: MAGNOLIA-1538
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-1538
>             Project: Magnolia
>          Issue Type: Bug
>          Components: admininterface
>         Environment: Firefox 2
> Internet Explorer 6
>            Reporter: Amir Mistric
>            Assignee: Philipp Bracher
>
> 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.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to