Originally posted by pamg:
Hi all,
I need to develop a view page, which will be having Treeview control. I a trying this using struts. So u have any thing special (writing XML file) to build Treeview in struts. Or how it differs from normal design
Thanks in advace
Pam
There is no easy way to write a TreeView in Struts -- it ultimately generates HTML, which does not include a native tree view. You can write a huge pile of code (which has nothing to do with Struts) to simulate a tree with HTML. Or, you can use a JavaScript implementation. Or, you can embed an
applet. None of these has any particular relevance to Struts.
Neal Ford<br />Author, <i>Art of Java Web Development: Struts, Tapestry, Commons, Velocity, JUnit, Axis, Cocoon, InternetBeans, WebWork</i><br /><a href="http://www.nealford.com" target="_blank" rel="nofollow">www.nealford.com</a>