Hi,
I've seen Struts:Layout recommended in a couple of places, and it looks like a very useful library, but I'm having a Bad First Experience with using the Treeview tag to replace an aging nav-bar element. I'd love some help as I'm out of prototyping time, and about to have to throw Layout away in favour of Something Else.


(1) When I install Layout I've to copy in an /images and /config directory, then some <context-param> elements to web.xml; these include 'struts-layout-image' for the image directory. As I already have an images directory, I'm not using the defaults. However, at runtime the generated source keeps looking for images in /config which is a) not where I specified b) not where they'd be by default anyway! Anyone familiar with this issue?

(2) I'm using the Treeview to replace a bad nav-bar implementation; therefore I'll want to have entries in the list which refer to a forward or an action. However, the menuItem tag only offers a simple link attribute? Am I missing something, or how do I use a Treeview for navigation without the ability to connect it to Struts Forwards/Actions?

(3) If I do get the basics working, the styling looks sensible-but-basic. Does anyone know a good way or satisfying the requirement that the current menu item (ie, current page) and menu category are highlighted in the tree?

Cheers,
--
David Kennedy
Swan Labs
http://www.swanlabs.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to