Applying styles to dynamic tree is not working
Posted: 02 Nov 2010, 10:50
Hello guys,
I want to apply some css styles to the dynamic tree. Here is short example of what I'm trying to do:
When I load the page, the tree is shown but when I try to expand one of the root nodes it starts loading and nothing happens (just loading...). This also happens when I try to put h:outputLink (or whatever tag, different from h:outputText) in the p:treeNode tag.
Any help will be appreciate!
Thank you!
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!