[prev in list] [next in list] [prev in thread] [next in thread] 

List:       taglibs-user
Subject:    RE: Constructing key to an object in session scope
From:       Kris Schneider <kris () dotech ! com>
Date:       2003-12-11 19:41:15
[Download RAW message or body]

;-) I hate to make it more readable, but you should be able to do:

<c:forEach items="${accountMap[accountForm.map.year]}" var="account">

Quoting Wendy Smoak <Wendy.Smoak@asu.edu>:

> > From: Kris Schneider [mailto:kris@dotech.com] 
> > Another approach would be to maintain a map of maps (keyed by 
> > year) instead of multiple "free standing" maps. Something like:
> 
> Clever!  Job security in a single line:
> 
> <c:forEach items="${accountMap[accountForm.map['year']]}" var="account"
> >
> 
> -- 
> Wendy 

-- 
Kris Schneider <mailto:kris@dotech.com>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic