OK that was I had to submit the form not only link with the action, thanks.
________________________________ De: Dave Newton <[EMAIL PROTECTED]> Para: Struts Users Mailing List <user@struts.apache.org> Enviado: miƩrcoles, 12 de noviembre, 2008 23:06:30 Asunto: Re: Problem with select --- On Wed, 11/12/08, J J <[EMAIL PROTECTED]> wrote: > in my jsp I receive correctly value and key, but I want to > get the selected Item in the action who follows the jsp > (myAction). I think that the value should be stored in the > attribute name (which has to be the same type as listkey), > but I get null in the action, I don't understand what's wrong. What are you trying to accomplish with the "???" line: > <s:select label="myLabel" name="returnValue" > list="myList" listKey="key" > listValue="value" required="true" ???> onchange="document.location='myAction.action'"/> To me that looks like if you change the select box the document will run the action--that is quite different from submitting a form. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]