You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mark Conlin <me...@yahoo.com> on 2002/12/09 20:03:02 UTC
Design Question regarding navigation menu
Design question regarding navigation menu. (I am using tiles)
Suppose I have a navigation menu with several choices/sections, I would
like to highlight the choice/section the user is currently in.
Example: choice A, choice B, choice C
Which is the proper approach?
Create a separate menu with each choice highlighted and then have each
of my tile-definitions override to the correct one.
OR
Create one menu header and have it make the decision as to which menu
choice to highlight based on some value
(value would be set/altered by an Action)
OR
Create one menu header that makes a decision as to which menu choice to
highlight based on the URL.
I am leaning towards choice two. but I am not sure what the "proper" way
is.
Any suggestions/Examples would be great.
Thank you
Mark
Re: Design Question regarding navigation menu
Posted by "V. Cekvenich" <vi...@users.sourceforge.net>.
I could not follow your question.
A good practices that I use is to have centralized navigation in XML,
using Struts menu from sf.net.
.V
Mark Conlin wrote:
>
> Design question regarding navigation menu. (I am using tiles)
>
> Suppose I have a navigation menu with several choices/sections, I would
> like to highlight the choice/section the user is currently in.
> Example: choice A, choice B, choice C
>
> Which is the proper approach?
>
> Create a separate menu with each choice highlighted and then have each
> of my tile-definitions override to the correct one.
> OR
> Create one menu header and have it make the decision as to which menu
> choice to highlight based on some value
> (value would be set/altered by an Action)
> OR
> Create one menu header that makes a decision as to which menu choice to
> highlight based on the URL.
>
> I am leaning towards choice two. but I am not sure what the "proper" way
> is.
> Any suggestions/Examples would be great.
>
> Thank you
> Mark
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
[ANNOUNCE] Easy Struts 0.6.2 for Eclipse is out
Posted by Emmanuel Boudrant <b7...@yahoo.fr>.
Easy Strut 0.6.2 for Eclipse just released, changes :
Check project nature before launching wizards (only javanature)
Detect web project on WSAD (root is '/Web Content')
Generate XDoclet comment for action and form bean classes (work on progress)
Fix bue in form creation under Struts 1.0.2
Possibility to set a tiles definition in forward path.
Remove Web Descriptor and Document root items in struts view (for the moment).
Work with Eclipse 2.0 M3 release !
Fix NullPointerException when open struts-config.xml with modules..
KNOWS PROBLEMS : Modules in Easy Struts view not reconized with Eclipse M3 / WSAD 5
http://easystruts.sourceforge.net
http://easystruts.sourceforge.net/update.html (recommended)
Thanx,
-emmanuel
---------------------------------
Soyez solidaire soutenez laction du Téléthon avec Yahoo! France.
Cliquez ici pour faire un don !