[ 
http://jira.nuxeo.org/browse/NXP-2784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45201#action_45201
 ] 

Florent Guillaume commented on NXP-2784:
----------------------------------------

Committed for 5.1:
You can now have a "leafFilterClass" filter in your treeManagerPlugin extension 
point:

  <extension target="treeManagerComponentBase" point="display">
    <treeManagerPlugin>
      <showFiles>false</showFiles>
      <showSection>true</showSection>
      
<leafFilterClass>org.nuxeo.ecm.webapp.navigation.FolderLeafFilter</leafFilterClass>
    </treeManagerPlugin>
  </extension>

Note that for 5.2 the extension point will be in another place because the Tree 
implementation has been completely refactored there.



> Add filter for the navigation tree to avoid getting the children of some big 
> folders
> ------------------------------------------------------------------------------------
>
>                 Key: NXP-2784
>                 URL: http://jira.nuxeo.org/browse/NXP-2784
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Improvement
>          Components: Web UI
>            Reporter: Florent Guillaume
>            Assignee: Florent Guillaume
>             Fix For: 5.1.7
>
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> The JSF navigation tree (on the left) displays a + in front of nodes that are 
> folderish, to allow opening them to see their sub-folders. To do that it 
> needs to call getChildren().
> On big folders that contain only documents, this is extremely costly.
> Therefore, a way to mark some folder as "don't get its children for the tree" 
> is needed.
> This can be added as a new "leaf filter" for the tree manager.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to