Rev 30 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
<%@taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="contextPath" value="${pageContext.request.contextPath}" />
<html>
<head>
<title>Beziehungstypen bearbeiten</title>
</head>
<body>
<h1>Beziehungstypen</h1>
<p>Hier können Sie die Beziehungstypen anpassen.</p>
<s:if test="relTypeList.size() == 0">
<p>Keine Beziehungstypen gefunden</p>
</s:if><s:else>
<table>
<tr>
<th>Bezeichnung A =< B</th>
<th>Bezeichnung B =< A</th>
</tr>
<s:iterator value="relTypeList" status="stat">
<tr>
<td><s:property value="nameFrom" /></td>
<td><s:property value="nameTo" /></td>
<td><s:url id="editURL" action="editRelType">
<s:param name="id" value="%{id}"></s:param>
</s:url> <s:a href="%{editURL}">
<img src="${contextPath}/resources/icons/page_white_edit.png" alt="edit" />
</s:a></td>
<td><s:url id="deleteURL" action="deleteRelType">
<s:param name="id" value="%{id}"></s:param>
</s:url> <s:a href="%{deleteURL}">
<img src="${contextPath}/resources/icons/delete.png" alt="delete" />
</s:a></td>
</tr>
</s:iterator>
</table>
</s:else>
</body>
</html>