How to extend StrutsMenu?

Ahmed Mohombe <amohombe-/[email protected]>
Newsgroups gmane.comp.java.struts-menu.user
Message-ID <[email protected]>
Hi,
I would like to extend the StrutsMenu a little, but I can't find where 
is the right place to start and do :(. It seems to me everything too 
nested (because I don't know the framework).

What I would like to change:
The generated menus (in the browser), look something like:
<li><a href="/help.html" title="Help">Help</a>
and this was generated from this config.xml:
<Item name="Help" title="Help" action="/help.html"/>

I would like StrutsMenu to generate me additional HTML tag attributes, 
especially an ID attribute:
<li id="myID"><a href="/help.html" title="Help">Help</a> OR
<li><a id="myID" href="/help.html" title="Help">Help</a>
from this config.xml:
<Item id="myID" name="Help" title="Help" action="/help.html"/> OR
<Item custom="myID" name="Help" title="Help" action="/help.html"/> (if 
"id" is already taken)

I would like to make this this for "velocity-nicetabs".
Has someone any hints or idea how/where to make the changes?

Thanks in advance,

Ahmed.
P.S. Is there a DTD for the menu config.xml (to allow xml editors to 
check for the right syntax, and autocomplete for smarter editors :) ) ?



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.