Hi guys - small question I haven't had much success at solving: How
would you do something like:
<c:set var="foo" value="${requestScope['someBean'].singleItem['foo']"/>
I have a bean which has a Collection attribute. Some of it's methods
include:
- getCollection()
- setCollection(Collection c)
- addSingle(SingleBean sb)
- getSingle(String id)
What I want to do is invoke getSingle. The only way I'm able to get
getSingle recognized is to use bean patterns
(getSingle()/setSingle(SingleBean)). What I am trying to do is effect a
lookup in the Collection - but I have to manually do it (iterate over
the collection doing comparisons).
Suggestions? Am I missing something simple here?
Thanks!
--
Eddie Bush
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>