Reputation: 275
How can I populate Struts 2 UI select tag?
I keep getting the error:
tag select
, field list
: The requested list key roles
could not be resolved as a collection/array/map/enumeration/iterator
type.
Upvotes: 0
Views: 617
Reputation: 21
Most likely that would be if your list roles is not initialized ( null ) . Or another reason can be if you have not declared an appropriate getter .
Upvotes: 2