One of the new JSF components introduced in Oracle JDeveloper 11g 11.1.1.1 is the Hierarchy Viewer (or HV for short).
Visually this is definitely one of the more impressive components in the ADF Faces set of components. It uses flash to render hierarchical relationships in a nice layout.
I played around with it for various demos I developed (including the 11g launch demo). While it is very easy to get started with it there are some tips to get exactly the look you want. I gathered a few tips on how to quickly build and customize your HV in this the following video tutorial
The basic thing to understand is that the component itself is a container component and you can play with the data you show in it by using the normal layout and common components available with ADF Faces. Also note that the default layout uses a lot of inline styles for fonts and fields - and you might want to change those as well.
Here is a basic 10 minute video tutorial on using the HV :
More information on this component is in the OTN demo, the DVT hosted demo, the source code of the demo and the doc.
Comments (5)
Good day. Thanks for your blog - many necessary info. Your video presentation - the best.
In your previous post you wrote about Tomcat integration in JDeveloper. So i suppose that may be you know how to deploy web service (generated in JDev) to tomcat 6.x??? may be it easy for you to tell me the steps i should to do?
I've read a lot - your blog, Dana's blog, tomcat documentation but still i'm sad :(
I try to use WAR file for deploying, but can't start service in
tomcat/manager.
Thanks beforehand.
Posted by August | July 11, 2009 2:57 AM
Posted on July 11, 2009 02:57
August,
This would better be served by posting on the OTN discussion forum. Did you install a specific Web service implementation on Tomcat?
AFAIK it doesn't come with built in support for JAX-WS.
Posted by shay | July 13, 2009 10:15 AM
Posted on July 13, 2009 10:15
Looks really nice!
Does this mean that ADF components will be based on flash going forward??
Posted by Akhil | July 19, 2009 10:17 PM
Posted on July 19, 2009 22:17
Akhil,
One nice aspect about JSF is that you can implement the rendering of a component with various technologies. We choose the technology that renders a component based on the needs. In this case, and also in dynamic graphs Flash provided the capability we needed - but I don't think we are going to use Flash for everything. Flash has a cost in terms of memory and performance compared to Ajax - so most of our components right now are using Ajax. That said JSF architecture gives us the flexibility to adopt other technologies as they emerge for the rendering part.
Posted by shay | July 20, 2009 7:52 AM
Posted on July 20, 2009 07:52
Is there a way to print ADF Hierarchy Viewer rendered flash? When I use the print meny from the context, it doesn't pull the entire hierarchy. It just displays only part of the tree and prints in only one page
Posted by sk | January 7, 2010 9:04 AM
Posted on January 7, 2010 09:04