Obsolete Pages{{Obsolete}}
The official documentation is at: http://docs.alfresco.com
JSF Component
Back to Component Library
The Node Path component displays the full path to the specified Node. The path can either be displayed as plain text, as a single link or as multiple links for each element of the path.
<string>'
rendered='<boolean>'
styleClass='<string>'
style='<string>'
disabled='<boolean>'
showLeaf='<boolean>'
action='<string>'
actionListener='<method-binding>'
breadcrumb='<boolean>'
value='<property-binding>' MANDATORY
/>
style - CSS style applied to the path output.
styleClass - CSS style class applied to the path output.
disabled - whether to show the path as as plain text or as clickable link(s). Default is false.
showLeaf - whether to show the leaf node of the path. Default is false.
breadcrumb - whether to show the the path as a set of breadcrumb style links or a single link. Default is false.
action - command outcome action value to execute when the path or a path element is clicked.
actionListener - command listener method binding to execute when the path or a path element is clicked.
value - value bound to either a NodeRef or Path instance to use to generate the path for the node.
Example showing the component bound to a Path instance displaying in 'breadcrumb' mode with an actionListener to execute when it is clicked:
<r:nodePath value='#{r.path}' actionListener='#{BrowseBean.clickSpacePath}' breadcrumb='true' />
Shows the NodePath component displaying a path as a single link:
Shows the NodePath component displaying a path as multiple breadcrumb style links: