Hi.  I have inherited some Struts code, and the value of the checkbox is not
getting updated on submit.  Does anyone have any idea why?  The code:

         <logic:iterate id="category" name="LoggingForm"
property="categoryList">
         <TR>
            <TD WIDTH="30%"><FONT SIZE="2" FACE="Helvetica,Verdana,Arial"
COLOR="BLACK">
               <FONT SIZE="2" FACE="Helvetica,Verdana,Arial" COLOR="BLACK">
               <B><bean:write name="category" property="key"/></B>
               <BR>
               <bean:write name="category" property="desc"/>
               </FONT>
            </TD>

            <TD WIDTH="70%"><FONT SIZE="2" FACE="Helvetica,Verdana,Arial"
COLOR="BLACK">

               <html:select name="category" property="value" size="1">
                  <html:option value="on">
                     <bean:message key="logging.state.on"/>
                  </html:option>
                  <html:option value="off">
                     <bean:message key="logging.state.off"/>
                  </html:option>
                  <html:option value="deferred">
                     <bean:message key="logging.state.deferred"/>
                  </html:option>
               </html:select>

            </TD>
         </TR>
         </logic:iterate>

My form bean has an ArrayList of categories (categoryList) which contains an
object representing a category.  This object has a key, value, and description.

Would really appreciate any help!

thanks,

Dave



Reply via email to