Hi there,

I'm new to struts but have to maintain an existing application which heavenly 
uses jsp with stuts tags.  Now I want to add a group of 3 radio buttons and 
each of the single radio button have an associated select box. Of course no 
problem.  When I submit the form I excpected that the value of the selected 
radio button and the values of the select boxes are transfered in my form 
class. But nothing happens. the values are null. What I'm doing wrong ?

Here's the jsp-code:

<html:form action="/efbDiagramm"> 
...


<TD>
  <html:radio property="dateSelection" value="DAY_BASED" 
onclick="showArgumentList('visible', 'visible', 'visible')"/>
 </TD>
 <TD colSpan=3  id ="day">
   <html:select property="day" size="1" style="WIDTH: 65px; HEIGHT: 22px; 
align=right">
             <html:options collection="daysAvailable" property="value" 
labelProperty="display"/>  
   </html:select>
  </TD>

...
<INPUT class=formButton onclick="updateDiagramm()" type=button value="submit" 
name="btnUpdateDiagramm"></TD>
</html:form>

In the updateDiagramm a string variable with a URL with some parameters in it 
is created and executed. Do I have to pass all values in the URL ?

struts-config.xml :

<form-bean name="diagramGenForm" type="struts.forms.portal.DiagramGenForm"/>

      <action path="/efbDiagramm"
              name="diagramGenForm"
              input="/jsp/efb_diagramm.jsp"
              type="struts.actions.portal.OutputGenAction"
              scope="request"
              validate="false">
         <forward name="success" path="/jsp/efb_diagramm.jsp"/>
      </action>


The DiagramGenForm class have an attribute for 'day' and for 'dateSelection'.

Thanks for your help.
Lothar
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193


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

Reply via email to