DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13530>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13530 submit tag doesn't work with "indexed" attribute Summary: submit tag doesn't work with "indexed" attribute Product: Struts Version: 0.5 Final Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: Other Component: Custom Tags AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] In the class SubmitTag.java I found following code : // Generate an HTML element StringBuffer results = new StringBuffer(); results.append("<input type=\"submit\""); if (property != null) { results.append(" name=\""); results.append(property); results.append("\""); } // * @since Struts 1.1 aaa if( indexed ) bbb prepareIndex( results, null ); The lines marked with aaa and bbb should be moved, because now the quotes close too soon eg : name="cmd"[0] it should be name="cmd[0]" Solution : put lines aaa and bbb earlier // Generate an HTML element StringBuffer results = new StringBuffer(); results.append("<input type=\"submit\""); if (property != null) { results.append(" name=\""); results.append(property); // * @since Struts 1.1 aaa if( indexed ) bbb prepareIndex( results, null ); results.append("\""); } -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>