Subversion Repositories WebE

Compare Revisions

Last modification

Ignore whitespace Rev 32 → Rev 33

/trunk/WebContent/user/nav.jsp
8,7 → 8,7
<li>Begriffe
<ul>
<li><a href="termAddForm">Hinzuf&uuml;gen</a></li>
<li><a href="">&Auml;ndern, L&ouml;schen</a></li>
<li><a href="termList">&Auml;ndern, L&ouml;schen</a></li>
</ul></li>
 
<li>Beziehungen
/trunk/WebContent/user/termAddForm.jsp
1,16 → 1,19
<%@taglib uri="/struts-tags" prefix="s"%>
<html>
<head>
<title>Begriff erstellen</title>
</head>
<body>
<h1>
Begriff hinzuf&uuml;gen
</h1>
<s:form action="doTermAdd">
<s:hidden name="term.id" />
<s:textfield name="term.username" label="Name" />
<s:submit value="Add" />
</s:form>
</body>
<head>
<title>Begriff <s:if test="term.name != ''">umbenennen</s:if><s:else>hinzuf&uuml;gen</s:else></title>
</head>
<body>
<h1>
Begriff hinzuf&uuml;gen
</h1>
<s:form action="doTermAdd">
<s:textfield name="term.name" label="Name" />
<s:if test="term.name != ''">
<s:submit value="Umbenennen" />
</s:if><s:else>
<s:submit value="Hinzuf├╝gen" />
</s:else>
</s:form>
</body>
</html>
/trunk/WebContent/user/termList.jsp
0,0 → 1,41
<%@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>Begriff bearbeiten/l&ouml;schen</title>
</head>
<body>
<h1>Liste der Begriffe</h1>
<s:if test="termList.size() == 0">
<p>Keine Begriffe eingegeben</p>
</s:if>
<s:else>
<table>
<tr>
<th>Begriff</th>
</tr>
<s:iterator value="termList" status="stat">
<tr>
<td><s:property value="name" /></td>
<td><s:url id="editURL" action="editTerm">
<s:param name="id" value="%{objectId}"></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="deleteTerm">
<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>
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property