You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ganesh g <ga...@yahoo.com> on 2004/04/21 12:38:18 UTC

How to pre-populate values to buttons from Database

Hi friends 

I'm always thankful to u 4ur non-stop help towards me. 

Here is a problem with <nested:readio>buttons. 
Pls observer the sample code. 

<nested:iterate property="mtList" id="mtlist"> 

<tr valign="middle" class="trcolor2"> 

<td><nested:radio property="shiftnumber" value='0'></nested:radio></td> 
<td><nested:radio property="shiftnumber" value='1'></nested:radio></td> 
<td><nested:radio property="shiftnumber" value='2'></nested:radio></td> 
<td><nested:radio property="shiftnumber" value='3'></nested:radio></td> 

</tr> 

</nested:iterate> 

Now what my intension is to pre-populate values from database to 'radio' buttons whatever value was selected among 4radio buttons which r in a single row as a group. 

i keep waiting 4u reply . 

Thanks & Regards 
Ganesh 


		
---------------------------------
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25�