I do have the same Problem. But my map does not come from app-context.
The error is the same:
tag 'select', field 'list', name 'country': The requested list
key 'countryMap' could not be resolved as a
collection/array/map/enumeration/iterator type. Example: people or people.
{name} - [unknown location]
my action-code:
--- code ---
public Map getCountryMap() {
return Constants.getCountryMap();
}
--- code ---
my jspx code:
--- code ---
<s:select label="%{getText('profile.country')}"
name="country"
headerKey="-1"
headerValue="%{getText('profile.selectcountry')}"
list="countryMap"
value="countryCode"
required="true"/>
--- code ---
Am Donnerstag, 15. März 2007 schrieb David Harland:
> How do you provide a Map from the application scope for the list of a
> s:select.
>
> I keep getting the following error
>
> The requested list key 'referenceLookup.idQuestionOptions' could not be
> resolved as a collection/array/map/enumeration/iterator type. Example:
> people or people.{name} - [unknown location]
>
> ______________________________________________________________________
> Ufi Limited
> Registered in England No. 3980770
> Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
>
> learndirect Solutions Ltd
> Registered in England No. 5081669
> Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
>
> UFI Charitable Trust
> Registered in England No. 3658378
> Registered Charity No. 1081028
> Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
>
> This email has been scanned by the MessageLabs Email Security System.
>
> ______________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]