Hello,

I have this select but it is not working and I don't know what is missing:

<s:select
label="myLabel" name="returnValue" list="myList" listKey="key"
listValue="value" required="true"
onchange="document.location='myAction.action'"/>

I have an myAction an attribute called MyList which contains Objects of the 
same type A.
I also have an Attribute of type String in myAction called returnValue.
Objects of A type have key and value as attributes (both String).
All classes have getters and setters for their attributes.

The
problem is that when I reach the action myAction in returnValue I get
null (I have a System.out.println line just to know what it its value).
I think that I have something wrong with what I have to set in
attribute name.
Thanks in advance



      

Reply via email to