Good day,

I seem to have an issue with my select tag .

The error I get:

org.apache.jasper.JasperException: tag 'select', field 'list', name 'displaytext': The requested list key 'managerList' could not be resolved as a collection/array/map/enumeration/iterator type. Example: people or people.{name} - unknown location
-----

My select tag within my jsp looks like:

HTML Code:
		<s:select 
			label="Manager position"
			headerKey="-1"
			headerValue="Select"
			list="managerList"
			name="managerList"
			listKey="managerposition_id"
			listValue="displaytext"
			/>
Note that despite some searching through the web, I'm not quite certain what I'm supposed to put under "name", or "value".. or if a defaultValue field is required.


In my action I have the following (along with getters and setters):

	private ArrayList<ManagerObj> managerList;
 
	public othLeviesSubmitAction() {
		managerList = ManagerPositions.gatherPositions();
	}

The ManagerObj object is very simple:

public class ManagerObj {
 
	public int managerposition_id;
	public String displaytext;
 
	public ManagerObj(int pos, String txt) {
		managerposition_id = pos;
		displaytext = txt;
	}
//Getters & setters

My struts.xml looks like:

HTML Code:
   	<action name="leviesInitiate" class="actions.othLeviesSubmitAction" method="display">
    		<result name="none">/index/othLeviesRequestForm.jsp</result>
    	</action>
    	<action name="leviesRequest" class="actions.othLeviesSubmitAction">
    		<result name="success">/WEB-INF/pages/requestFormPartTwo.jsp</result>
</action>
-----


Any help - even a point in the right direction would be much appreciated!

Thanks!