Also, if you use frames, clicks on the parent nodes could cause only a reload of the tree menu frame (showing and hiding directory contents), while clicks on the child nodes (pages) could cause a reload of the content area frame. This would save bandwidth versus a design that causes the whole page to reload for every click. But, even an entire page refresh can be OK depending on bandwidth and page size. I will say though that if you ever go to HTTPS protocol, using frames becomes more appealing, as even smaller pages can take a while to load because of all the encryption overhead. I have noticed some bill-paying sites using this technique lately -- the request protocol is HTTPS but only the center content frame is ever reloaded. Clicking stuff causes much less torture for the dialup user.
Perhaps the JSTL "x" tags could be of service as well in rendering your menu -- they provide XSL functions, for example, and all kinds of cool stuff.
Erik
Vicky wrote:
I need to build tree menu from xml in struts. I want to avoid javascript as much as possible. Any pointers will be appreciated.
Thanks, Vicky
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]