Hi,
 
I'm using the html:checkbox tag in an iterate tag. I am trying to set the indexed property but I get the following exception and the value doesnt seem to exist:
 
org.apache.jasper.compiler.CompileException: D:\project\dod\codeBase\dodJBProject\src\pages\survey.jsp(132,10) Attribute indexed invalid according to the specified TLD
at org.apache.jasper.compiler.TagBeginGenerator.validate(TagBeginGenerator.java:170)
at org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:119)
at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java:759)
at org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java:138)
at org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java:909)
at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:194)
Here is my code snippet:
 
<logic:iterate id="facility" name="surveyForm" property="generalFacilityList">
 
        <td height="15" colspan="4">
          <bean:write name="facility" property="code"/>
          <bean:write name="facility" property="description"/>
        </td>
        <td width="5%" height="15">
          <font size="1" face="Arial">
          <html:checkbox name="facility" property="state" value="true" indexed="true"/>
          <!--<bean:write name="facility" property="state"/>-->
          </font>
        </td>
 
        <% if(i % numOfColumns == 0){ %>
          </tr>
          <tr>
        <% } %>
 
        <% i++; %>
 
      </logic:iterate>
 
regards

Shea Kelly

Consultant Software Engineer
Object Oriented Pty Ltd
PO Box 528, North Sydney NSW 2059
Phone: +61 2 9957-1092
Direct: +61 2 9459-3335
Fax: +61 2 9956-5089
Mobile: 0416 110 499
Email: [EMAIL PROTECTED]
Web: <http://www.oopl.com.au>

 

Reply via email to