90 <select name="component"> |
90 <select name="component"> |
91 <option value="-1"><fmt:message key="placeholder.null-component"/></option> |
91 <option value="-1"><fmt:message key="placeholder.null-component"/></option> |
92 <c:forEach var="comp" items="${viewmodel.components}"> |
92 <c:forEach var="comp" items="${viewmodel.components}"> |
93 <option |
93 <option |
94 <c:if test="${not empty issue.component and comp eq issue.component}">selected</c:if> |
94 <c:if test="${not empty issue.component and comp eq issue.component}">selected</c:if> |
95 <c:if test="${empty issue.component and comp eq comp}">selected</c:if> |
|
96 value="${comp.id}"><c:out value="${comp.name}"/></option> |
95 value="${comp.id}"><c:out value="${comp.name}"/></option> |
97 </c:forEach> |
96 </c:forEach> |
98 </select> |
97 </select> |
99 </td> |
98 </td> |
100 </tr> |
99 </tr> |