Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Display all rows in a adf tree table onload

kiransaraviMay 16 2013 — edited May 17 2013
Hi

Hope you are doing fine
I have a hierarchial data structure which I've dragged and dropped as an ADF Tree.
By default, when the page displays, I wanted all the rows to be expanded, as i was using this jspx as the body of an Email in HumanTasks.

So, this should be a static list with all the tree rows expanded.

Here is the code that got formed when I dragged and dropped, and did all possible customizations, but still not showing up all the rows expanded

<af:tree value="#{bindings.Project1.treeModel}" var="node"
selectionListener="#{bindings.Project1.treeModel.makeCurrent}"
rowSelection="single" id="t2" initiallyExpanded="true"
expandAllEnabled="true" contentDelivery="immediate"
immediate="true"
inlineStyle="border-width:medium; outline-width:2px;">
<f:facet name="nodeStamp">
<af:outputText value="#{node}" id="ot1"/>
</f:facet>
</af:tree>

Is there a straight way of doing this, without using managed bean, just using prop inspector?
If not ,would you please tell me a solution using managed bean.
Please help me in this regard.

Regards
RaviKiran
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 14 2013
Added on May 16 2013
2 comments
883 views