Mike Cannon-Brookes wrote: 
> highlight one of a list of navigation items in your decorator?

Yep.  For example, if you're on a typical company web site,
you'd have a Contact Us web page and a link to it.  If the
browser is currently on the Contact Us web page, the link should
be disabled so the user can't click on it.  If the link is done
via a graphic, the graphic may also be changed.
You'd need parameters like this to the tag:
- link if you're not on the page
- text label
- CSS class for text label
- graphic for active link
- graphic for disabled link
- (boolean) hide link if you're on the page
and the tag would look at the URI and compare it to the first
parameter.


> It doesn't make sense to be in WW or a WW tag

If WW is expected to be able to target different "views", I'd
have to disagree with that.  E.g., if you're going to target a
mobile device, the mobile device will need forms (WW has tags
for this) but it will also need some sort of menuing system (phones
have only text menuing) which is what this navigation link hiding
thing I'm suggesting is for...


 ken


_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to