You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Howard Miller <h....@admin.gla.ac.uk> on 2002/09/17 11:18:24 UTC

inside 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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>