If ansm is a member variable of your ActionForm, use <html:hidden property="ansm.entryType">
-----Original Message----- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Sent: May 30, 2003 10:53 AM To: '[EMAIL PROTECTED]' Subject: Nesting logic tags Hey, I'm using a table to display a form, but there's one row that I want to hide, depending on a previous user selection. Right now, my code is: <table> <tr> <td> <b> <bean:message key="app.label.numberType"/>: </b> </td> <td> <html:hidden name="ansm" property="numberType" write="true"/> </td> </tr> <logic:equal value="subformat" name="ansm" property="entryType"> <tr> <td> <b> <bean:message key="app.label.subType"/>: </b> </td> <td> <html:hidden name="ansm" property="subType" write="true"/> </td> </tr> </logic:equal> <tr> <td> <b> <bean:message key="app.label.typeDesc"/>: </b> </td> <td> <html:text name="ansm" property="typeDesc" size="50" maxlength="50"/> </td> </tr> <logic:notEqual value="group" name="ansm" property="entryType"> <tr> <td> <b> <bean:message key="app.label.typeFormat"/>: </b> </td> <td> <html:text name="ansm" property="typeFormat" size="60" maxlength="60"/> </td> </tr> <tr> <td> <b> <bean:message key="app.label.tabulatedFormat"/>: </b> </td> <td> <html:text name="ansm" property="tabulatedFormat" size="60" maxlength="60"/> </td> <tr> <td> <b> <bean:message key="app.label.lastUsed"/>: </b> </td> <td> <html:text name="ansm" property="lastUsed" size="30" maxlength="30"/> </td> </tr> </logic:notEqual> </table> Unfortunately, it doesn't like me nesting the logic tags in the table code. I've never used the struts nested taglib, would this be an appropriate place to use it? If not, does anyone know of a workaround I could use? Thanks in advance. ~ Keith http://www.buffalo.edu/~kkamholz --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]