1:<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
2:<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
3:<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
4:
5:<html:html>
6: <body>
7: <div style="background-color:Gainsboro;height:30px;font-weight:bold;">
8: <h2><bean:message key="defect.heading"/></h2>
9: </div>
10: <br/>
11:
12: <table border="0" width="90%">
13: <tbody>
14: <tr>
15: <td align="right" colspan="10">
16: <html:link action="action.do?method=add">
17: <img src="images/add.gif" border="0"/>
18: </html:link>
19: </td>
20: </tr>
21: <tr style="background-color:Gainsboro;font-weight:bold;">
22: <td> </td>
23: <td> </td>
24: <td><bean:message key="defect.description"/></td>
25: <td><bean:message key="defect.priority"/></td>
26: <td><bean:message key="defect.submittedby"/></td>
27: <td><bean:message key="defect.submittedon"/></td>
28: <td><bean:message key="defect.isresolved"/></td>
29: <td><bean:message key="defect.resolution"/></td>
30: <td><bean:message key="defect.resolvedby"/></td>
31: <td><bean:message key="defect.resolvedon"/></td>
32: </tr>
33: <logic:iterate name="listForm" id="defect" property="defects">
34: <tr>
35: <td><html:link action="action.do?method=edit" paramName="defect"
36: paramProperty="id" paramId="id"><img src="images/edit.gif" border="0"/></html:link></td>
37: <td><html:link action="action.do?method=delete" paramName="defect"
38: paramProperty="id" paramId="id"><img src="images/delete.gif" border="0"/></html:link></td>
39: <td><bean:write name="defect" property="shortDescription" /></td>
40: <td><bean:write name="defect" property="priority" /></td>
41: <td><bean:write name="defect" property="submittedBy" /></td>
42: <td><bean:write name="defect" property="submittedOn" format="MM/dd/yyyy hh:mm"/></td>
43: <td><html:checkbox name="defect" property="isResolved" disabled="true"/></td>
44: <td><bean:write name="defect" property="shortResolution" /></td>
45: <td><bean:write name="defect" property="resolvedBy" /></td>
46: <td><bean:write name="defect" property="resolvedOn" format="MM/dd/yyyy hh:mm" /></td>
47: </tr>
48: </logic:iterate>
49: </tbody>
50: </table>
51:
52:
53: </body>
54:</html:html>