Your advice works! I used a javascript workaround in the meantime, however
your answer will spare me a lot of time next time.
--
View this message in context:
http://www.nabble.com/Problem-with-collection-in-select-tp25256112p25259300.html
Sent from the Struts - User mailing list archive at
Mrakomor wrote:
Hello folks,
I wanted to use a Struts 2 select in the form. I wanted to populate the list
using filtered collection. If I use it without the filter, like this:
name="depzad.dzRequest.contractList[%{#status.index}].selectedContract"
listKey="contractNr" listValue="contractNr
27;, field 'list', name
> 'depzad.dzRequest.contractList[1].selectedContract': The requested list key
> 'depzad.dzRequest.contractList.{?#this.stringProperty=='B'}' could not be
> resolved as a collection/array/map/enumeration/iterator type. Example
p/enumeration/iterator type. Example:
people or people.{name} - [unknown location]
The public String getStringProperty() function exists in the Class, but it
is not called. What may be wrong?
--
View this message in context:
http://www.nabble.com/Problem-with-collection-in-select-tp25256112p25256
4 matches
Mail list logo