Saturday, February 27, 2010

JDev/ADF sample - How To Traverse ADF Tree

  • How To Traverse ADF Tree. If you are thinking how to delete nodes from ADF tree, there is Frank Nimphius blog post - ADF Faces RC: Single row / Multi row delete from a tree component. However, Frank says that his blog entry is still a raw diamond and needs some polishing. In his example, if you remove root node, all child nodes still will remain in database. This means tree hierarchy will be broken. I decided to polish raw diamond, to describe how you can traverse ADF tree and remove all selected nodes together with children.
    Download - TreeTraversal.zip

No comments: