You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Shea Kelly <Sh...@oopl.com.au> on 2001/09/24 07:15:33 UTC

can html:checkbox indexed??

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(JspPa
rseEventListener.java:759)
at
org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventL
istener.java:138)
at
org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEven
tListener.java:909)
at
org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListe
ner.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: s.kelly@oopl.com.au
Web: < http://www.oopl.com.au <http://www.oopl.com.au/> >