NodeDescendants

Document created by resplin Employee on Jun 6, 2015Last modified by alfresco-archivist on Aug 31, 2016
Version 2Show Document
  • View in full screen mode

Obsolete Pages{{Obsolete}}

The official documentation is at: http://docs.alfresco.com



JSF Component
Back to Component Library


NodeDescendants


General Description


The Node Descendants component is responsible for rendering the first few child nodes for the specified node. Each child node is displayed as a link and the number of node links to display is configurable.


Tag Details


<string>'
rendered='<boolean>'
styleClass='<string>'
style='<string>'
maxChildren='<int>'
separator='<string>'
showEllipses='<boolean>'
action='<string>'
actionListener='<method-binding>'
value='<property-binding>' MANDATORY
/>

Custom tag attributes


style - CSS style applied to the node child links.

styleClass - CSS style class applied to the  node child links.

maxChildren - maximum number of child node links to display.

separator - separator string to render between each link. Default is the '|' character.

showEllipses - whether to show a set of ellipses '...' if the max number of child node links to render is reached. The ellipses represents the parent node.

action - command outcome action value to execute when a node link is clicked.

actionListener - command listener method binding to execute when a node link is clicked.

value - the parent node to render the child links for. This should be value-bound to a NodeRef object.


Example


Example showing the component bound to a NodeRef instance with an actionListener to execute when one is clicked:

<r:nodeDescendants value='#{Bean.nodeRef}' styleClass='child' actionListener='#{Bean.clickChildNode}' />

Screenshots


Shows the NodeDescendants component in the lower area of the image, it is rendering the child node links for the TimeBox 27 node. The ellipses are shown as the number of child nodes has exceeded the maxChildren attribute.

NodeDescendants_1.png

Attachments

Outcomes