wkbutler wrote:
Thanks Eric for posting your solution, this helped me remember that unusual OGNL syntax on the value attribute.
Once again I'll post my suggestion that the %{} notation be used EVERYWHERE you expect the framework to evaluate your expression with OGNL so that these are less confusing during subsequent development or maintenance.
The "unusual" syntax you describe is an example of the power of OGNL. caseFile.sentences is a collection of objects, but what you want is a collection of just one field from each of those objects. The OGNL documentation calls this "projection": http://www.opensymphony.com/ognl/html/LanguageGuide/projection.html .
I don't have much experience with other EL's...is this type of construct possible with the others that people have been suggesting (JUEL, MVEL, etc.)?
-Dale --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org