I would like to replace the sectoin "Existing code" with the "New Code" But <dms:list items="contents"></dms:list> causes an error (see below) - contents is an ArrayList I've looked at JSTL but can't seem to solve this
Any help would be greatly appreciated <attribute> <name>items</name> <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute> New Code =================================================================== ... <%@ taglib uri="/tags/dmsjsp" prefix="dms" %> ... <logic:notEmpty name="listForm" property="contents"> <dms:list items="contents"></dms:list> </logic:notEmpty> Existing code =================================================================== <logic:notEmpty name="listForm" property="contents"> <logic:iterate name="listForm" property="contents" id="content"> <tr> <%-- print out the content information --%> <td> <logic:equal name="content" property="dir" value="true"> <html:img alt="DIR" page="/zz_folder.gif" /> </logic:equal> </td> <td><bean:write name="content" property="name" /></td> <%-- print out link for each content --%> <td><html:link action="edit.do?do=renameContent" paramName="content" paramProperty="qualifiedName" paramId="qualifiedName">Rename</html:link></td> <td><html:link action="edit.do?do=deleteContent" paramName="content" paramProperty="qualifiedName" paramId="qualifiedName">Delete</html:link></td> <td><html:link action="download.do?do=downloadContent" paramName="content" paramProperty="qualifiedName" paramId="filePath">Download</html:link></td> </tr> </logic:iterate> </logic:notEmpty> ============================================================================ type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: jsp.error.beans.property.conversion org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWra pper.java:510) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3 75) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10 85) org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProces sor.java:398) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause org.apache.jasper.JasperException: jsp.error.beans.property.conversion org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManage r(JspRuntimeLibrary.java:885) org.apache.jsp.list.list_jsp._jspx_meth_dms_list_0(list_jsp.java:204) org.apache.jsp.list.list_jsp._jspx_meth_logic_notEmpty_0(list_jsp.java:179) org.apache.jsp.list.list_jsp._jspService(list_jsp.java:100) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3 32) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10 85) org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProces sor.java:398) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]