I wonder whether someboyd knows how to do the following:

If I have:

<html:radio value="2" property="answer"/>

How do i change this so the value tag takes the id from a bean instead of "2"

Is it like this:

<html:radio value=" <bean:write id="AnswerBean" property="answerId"/> " 
property="answer"/>

Or is there another way of doing it?

Thanks,
Jon.

*---------------------------------------------*
 Jonathan Holloway,               
 Dept. Of Computer Science,       
 Aberystwyth University, 
 Ceredigion,                      
 West Wales,                      
 SY23 3DV.                        
                                  
 07968 902140                     
 http://users.aber.ac.uk/jph8     
*---------------------------------------------*

Reply via email to