Hi,

I'm using the stripes layout manager. included in my 'header.jsp' is a nav
bar. I'm looking for an elegant way to highlight the currently selected page
in the nav bar. The best I 've come up with so far is to pass a
'pageSelected' parameter in my pages, like so: 

<stripes:layout-render name="/layout/default.jsp" pageSelected="AboutUs">

and then have lots of <c:if></c:if> to check the value in my header.jsp and
apply styles where appropriate. However, it seems so clunky and is not easy
to maintain - is there a more elegant solution that i've missed?

TIA.
-- 
View this message in context: 
http://old.nabble.com/stripes-layout-tp29296412p29296412.html
Sent from the stripes-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to