Interesting (if not helpfull)... I tried it just to check with value="2", and it works. BUT the java code generated from the JSP looks totally different - much simpler. Does STRUTS attempt some form of optimisation when it sees a structure it recognises? If so, is this some sort of bug perhaps?
Howard -----Original Message----- From: Howard Miller [mailto:[EMAIL PROTECTED]] Sent: 17 September 2002 10:18 To: 'Struts Users Mailing List' Subject: <html:radio> inside <logic:iterate> disaster Hi, Having lots of problems with <html:radio> inside <logic:iterate>. Have moved it along but now have another problem. Here is my code <html:form action="/survey"> <logic:iterate id="surv" name="usersession" property="validsurvey" type="com.marketingms.dynamic.ValidSurvey" > <html:radio name="surv" value="<%= surv.getSurveyid() %>" property="validSurvey" /> <bean:write name="surv" property="surveydescription" /><br> </logic:iterate> </html:form> This doesn't compile, error is... Generated servlet error: [javac] Compiling 1 source file /usr/local/jakarta-tomcat-4.1.9/work/Standalone/localhost/DynamicReporting/s electsurvey_jsp.java:163: cannot resolve symbol symbol : method setValue (int) location: class org.apache.struts.taglib.html.RadioTag _jspx_th_html_radio_0.setValue( surv.getSurveyid() ); ^ 1 error (the arrow points to the dot to the left of setValue if mail mangles this) Any thoughts.... this question was asked before (in the archives) but no answer to be found. Howard Miller -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

