I want to apply some css styles to the dynamic tree. Here is short example of what I'm trying to do:
Code: Select all
<p:tree value="#{treeBean.root}" var="node" dynamic="true">
<p:treeNode>
<h:outputText value="#{node}" style="padding-left: 20px;"/>
</p:treeNode>
</p:tree>
Any help will be appreciate!
Thank you!