Posts

Showing posts from March, 2017

Working With ADF tree-changing icon-expand when click and others

Image
in this post , I will answer some common questions about ADF tree. 1- how to Create a tree  from one self joined table Answer: Step 1 : Model layer  In this scenario , the tree is populated from a view object that query the database table. there are two VO. they are query the same table. The table has self join relation ship this is the Root nodes"SysObjetcsRootRo". retrieves all rows with parent key null. the second view query the same table but  it query all rows."SysObjectsRo" then you have to create two view links. the first one is between the  SysObjetcsRootRo and SysObjectsRo The second View link is between the SysObjectsRo and itself   Setp 2 : ViewController layer Drag and drop the  SysObjetcsRootRo from the data control pallet to the page as tree 2- How Can I change the node icons Answer: there are many ways.you can render the node stamp component as a link instead of output text and set an icon for it. or you can edit the Skin f