85 <select name="component"> |
85 <select name="component"> |
86 <option value="-1"><fmt:message key="placeholder.null-component"/></option> |
86 <option value="-1"><fmt:message key="placeholder.null-component"/></option> |
87 <c:forEach var="component" items="${viewmodel.components}"> |
87 <c:forEach var="component" items="${viewmodel.components}"> |
88 <option |
88 <option |
89 <c:if test="${not empty issue.component and component eq issue.component}">selected</c:if> |
89 <c:if test="${not empty issue.component and component eq issue.component}">selected</c:if> |
|
90 <c:if test="${empty issue.component and component.id eq cid}">selected</c:if> |
90 value="${component.id}"><c:out value="${component.name}"/></option> |
91 value="${component.id}"><c:out value="${component.name}"/></option> |
91 </c:forEach> |
92 </c:forEach> |
92 </select> |
93 </select> |
93 </td> |
94 </td> |
94 </tr> |
95 </tr> |