Steve,

I have had several looks at menu.jsp, and I have NOT been able to figure out how it is getting the menu bar to display!



It uses the embedded JavaScript in the page to take the nested Output(s) created by nav.navigate and writes out data-structures that is then used by another JavaScript function to actually draw out the menus. The Outputs each contain attributes that say what to display for the menu, and what model, parameters or even an URL to access when a particular menu item is clicked. Very slick thing Mike N. put together!

Yes, Tiles does appear to be loading with a Struts deployment (at least, that what it looks like on my console), but I am not at all familiar with Tiles, and I just started playing with Struts about 2 weeks ago.

So bottom line, I don't know how to do what you are talking about, and I have not yet been able to decipher the one page where this is working.



Content from different pages can be assembled on the browser side using HTML frames. Tiles is a Struts library that allows you to do the same, except that the assembly is done on the server-side, the browser sees a single HTML page. Look at the bottom of this page for several tutorials: http://jakarta.apache.org/struts/userGuide/dev_tiles.html

Shash

http://keelframework.org/documentation
Keelgroup mailing list
[EMAIL PROTECTED]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com

Reply via email to