Hi!

How can I retrieve the collection to put in "list" attribute if this collection is in the sessionScope??

I´m trying:

       <s:form id="selectProject" name="selectProject">
                   <s:select name="projectId"
                             list="${currentProject.projects}"
                             listKey="reference"
                             listValue="name"
                             required="true"
                       onchange="alert(form.projectId.value);"/>
       </s:form>

where "currentProject" has a List of projects.

I´m getting the following exception:

tag 'select', field 'list', name 'projectId': The requested list key '[reference: 22name: cambiado............] ' could not be resolved as a collection/array/map/enumeration/iterator type. Example: people or people.{name} - [unknown location]

Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to