Skip to Main Content

Java Development Tools

Oracle Fusion Trees - Conditional display / formatting of nodes levels base

690077Sep 1 2009 — edited Sep 2 2009
Hi looking for answer to the following please:

I want to use Oracle Fusion Trees - with Conditional display / formatting of nodes levels based on (rendered or display attribute / EL expressions )
eg;
<af:outputText rendered="#{node.name ne null and cartBean.displayNode(node.name)}" where I can pass node values as parameter/s to a backing bean
for conditional logic.
otherwise;
how to use basic IF ELSE logic using fusion ADF tags or something compatible with the ADF TREE TAG & its child elements???

<af:tree value="#{bindings.myView1.treeModel}"
var="node"
binding="#{backingBeanScope.backing_jsp.tree1}"
id="Tree1">

<f:facet name="nodeStamp">
<h:panelGroup id="tree1PG1">
<af:outputText rendered="#{node.name ne null and cartBean.displayNode(node.name)}"
inlineStyle="color:#FF8000;font-weight:bold;width:400px;"
value="#{node.name}" id="tree1OT1"/>
<af:outputText rendered="#{node.grpName ne null}"
value="#{node.grpName}"
inlineStyle="color:#000000;font-weight:bold;width:400px;"
id="tree1OT2"/>
<af:outputText rendered="#{node.title ne null}"
value="#{node.title}" inlineStyle="width:400px;"
id="tree1OT3"/>
</h:panelGroup>
</f:facet>

Edited by: meet.mrnrg on Sep 1, 2009 9:00 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 30 2009
Added on Sep 1 2009
2 comments
614 views