Hi there,
here:
http://struts.apache.org/2.x/docs/ognl.html
I found that:
To select a subset of a collection (called projection), use a wildcard
within the collection.
? - All elements matching the selection logic
^ - Only the first element matching the selection logic
$ - Only the last element matching the selection logic
To obtain a subset of just male relatives from the object person:
person.relatives.{? #this.gender == 'male'}
I can't find the correct syntax to pass a variable (picked from valueStack)
instead of the string 'male'
Someone can help or point me the docs?
P.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]