DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27688>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27688

Error on html:text tag with indexed=true

           Summary: Error on html:text tag with indexed=true
           Product: Struts
           Version: Nightly Build
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


<html:form action="/sortIndex">
<c:forEach var="row" items="${tb}">
<table><tr><td>

<html:text property="title" size="20" name="row" indexed="true"/>

</td></tr></table>
</c:forEach>
</html:form>

This generates the following error stack below.  Note that I fully tested and 
verified that ${row.title} prints the correct data.  It seems odd that I need 
to have a closing iterate tag when I am not using logic:iterate.

[17:54] ERROR InsertTag () - ServletException in '/WEB-
INF/pgsUsr/sIndexTable.jsp': indexed="true" is only valid within an enclosing 
iterate
 tag
javax.servlet.jsp.JspException: indexed="true" is only valid within an 
enclosing iterate tag
        at com.caucho.jsp.PageContextImpl.handlePageException
(Ljava.lang.Throwable;)V(PageContextImpl.java:924)
        at _web_22dinf._pgsusr._sindextable__jsp._jspService
(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;
)V(_sindextable__jsp.java:238)
        at com.caucho.jsp.JavaPage.service
(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V
(JavaPage.java:75)
        at com.caucho.jsp.Page.pageservice
(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;
)V(Page.java:555)
        at com.caucho.server.dispatch.PageFilterChain.doFilter
(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(PageFilterCha
in.java:155)
        at com.caucho.server.webapp.DispatchFilterChain.doFilter
(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(DispatchFil
terChain.java:129)
        at com.caucho.server.cache.CacheFilterChain.doFilter
(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(CacheFilterChai
n.java:177)

...etc

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to