You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by PEGASUS84 <pe...@hotmail.it> on 2009/04/28 10:45:04 UTC

radio with two values

good moorning.

I've this question:
Can I send to an action two vakues using radion button?
for example i want send the code and the name for each element of radio
buttons.
Is it possible? 
-- 
View this message in context: http://www.nabble.com/radio-with-two-values-tp23272838p23272838.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: radio with two values

Posted by dusty <du...@yahoo.com>.
That is just a brutal description dude.  I can't even venture a guess at what
you are describing but I would stick with the solution proposed before.


PEGASUS84 wrote:
> 
> 
> ok but i try to use an hidden tag but it set all values of name because it
> is into an iterator tag
> 

-- 
View this message in context: http://www.nabble.com/radio-with-two-values-tp23272838p23290532.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: radio with two values

Posted by PEGASUS84 <pe...@hotmail.it>.

ok but i try to use an hidden tag but it set all values of name because it
is into an iterator tag
-- 
View this message in context: http://www.nabble.com/radio-with-two-values-tp23272838p23274112.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: radio with two values

Posted by Stefano Tranquillini <st...@gmail.com>.
i think u can use a trick

u can set the value in this way: CODE_NAME. and map as a string
in your action u can simply extract where is the "_" char and split the
string.

NB: the code and name doesn't have _ inside



On Tue, Apr 28, 2009 at 10:45, PEGASUS84 <pe...@hotmail.it> wrote:

>
> good moorning.
>
> I've this question:
> Can I send to an action two vakues using radion button?
> for example i want send the code and the name for each element of radio
> buttons.
> Is it possible?
> --
> View this message in context:
> http://www.nabble.com/radio-with-two-values-tp23272838p23272838.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Stefano