How can I use global forwards for menu-generation?
What is the main task if global forwards?
For what is the input-property in the action-tag under action-mappings in
the struts-config.xml?

-----Ursprungliche Nachricht-----
Von: Jonathan M Crater [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 19. Oktober 2001 13:07
An: [EMAIL PROTECTED]
Betreff: global forwards for menu generation


i have found that my global forwards almost always contain my menu items,
and
thus it would be convenient to have an extra attribute on the forward
element
like "text" or "menu", the value of which could be presented in a jsp and
would
allow direct iteration through the forwards collection to generate a menu
based
on which forwards supplied a menu or text attribute.  right now i have to
hook
into the forwards collection externally, using text supplied from another
configuration file in order to avoid having the paths in two different
places in
my app.  has anyone else run into this?  is there a standard way that this
is
being handled?  if there is a reason why this is being avoided, i'd be
interested in hearing that as well.

tia,

jc

Reply via email to