You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jonathan <jp...@aber.ac.uk> on 2003/03/13 00:48:59 UTC

Mutually Exclusive Radio Buttons

I wonder whether somebody could help me out here.
 
I'm trying to create a number of radio buttons that have to be mutually
exclusive.
 
I know that its possible just by setting the property to be the same
value for all
but what if I'm using a nested:iterate tag?  Surely this will result in
the property
being different for each of them because of the nested index, e.g. like
 
property="Banana[0].ripe"
 
Rather than just:
 
property="ripe"
 
which would allow mutual exclusion.  Is there any way around this,
 
Many thanks,
Jon.
 
 
*---------------------------------------------*
 Jonathan Holloway,               
 Dept. Of Computer Science,       
 Aberystwyth University, 
 Ceredigion,                      
 West Wales,                      
 SY23 3DV.                        
                                  
 07968 902140                     
 http://users.aber.ac.uk/jph8     
*---------------------------------------------*