You geht directly the value from the Form-Bean with this code:
value="<%=banfForm.getLieferdatum()%>"

Maybe there exists a struts-tag to get the value too.

Mit freundlichen Gruessen

i.A. Manuel Lenz

e-mail: [EMAIL PROTECTED]
web: www.viessmann.com


|---------+--------------------------->
|         |                           |
|         |                           |
|         |                           |
|         |"JONATHAN PHILIP HOLLOWAY" |
|         |<[EMAIL PROTECTED]>          |
|         |01.04.2003 14:53           |
|         |Bitte antworten an "Struts |
|         |Users Mailing List"        |
|         |                           |
|---------+--------------------------->
  
>-----------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                         |
  |     An:       "Struts Users Mailing List" <[EMAIL PROTECTED]>                      
                            |
  |     Kopie:                                                                         
                                         |
  |     Thema:    Getting the id of an object in the value tag                         
                                         |
  
>-----------------------------------------------------------------------------------------------------------------------------|




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
*---------------------------------------------*






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to