Compare Revisions
Last modification
- Rev 26 2010-12-21 00:23:40
- Author: moos
- Log message:
implemented administration of relationship type (edit and delete are not yet working)
| /trunk/WebContent/admin/nav.jsp |
| 13,13 → 13,13 |
| </li> |
| |
| <li> |
| Beziehungen |
| Beziehungstypen |
| <ul> |
| <li> |
| <a href="">Hinzufügen</a> |
| <a href="relTypeAddForm">Hinzufügen</a> |
| </li> |
| <li> |
| <a href="">Ändern, Löschen</a> |
| <a href="relTypeList">Ändern, Löschen</a> |
| </li> |
| </ul> |
| </li> |
| /trunk/WebContent/admin/relTypeAdd.jsp |
| 0,0 → 1,13 |
| <?xml version="1.0" encoding="ISO-8859-1" ?> |
| <%@ page language="java" contentType="text/html; charset=ISO-8859-1" |
| pageEncoding="ISO-8859-1"%> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> |
| <title>Insert title here</title> |
| </head> |
| <body> |
| |
| </body> |
| </html> |
| Property changes: |
| Added: svn:mime-type |
| ## -0,0 +1 ## |
| +text/plain |
| \ No newline at end of property |
| Index: relTypeList.jsp |
| =================================================================== |
| --- relTypeList.jsp (nonexistent) |
| +++ relTypeList.jsp (revision 26) |
| @@ -0,0 +1,35 @@ |
| +<%@taglib uri="/struts-tags" prefix="s"%> |
| +<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 Benutzer gefunden</p> |
| +</s:if> |
| +<table> |
| + <tr> |
| + <th>Bezeichnung nach A</th> |
| + <th>Bezeichnung nach B</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}">Ändern</s:a></td> |
| + <td><s:url id="deleteURL" action="deleteRelType"> |
| + <s:param name="id" value="%{id}"></s:param> |
| + </s:url> <s:a href="%{deleteURL}">Löschen</s:a></td> |
| + </tr> |
| +</s:iterator> |
| +</table> |
| + |
| +</body> |
| +</html> |
| \ No newline at end of file |
| /relTypeList.jsp |
| Property changes: |
| Added: svn:mime-type |
| ## -0,0 +1 ## |
| +text/plain |
| \ No newline at end of property |
| Index: relTypeAddForm.jsp |
| =================================================================== |
| --- relTypeAddForm.jsp (nonexistent) |
| +++ relTypeAddForm.jsp (revision 26) |
| @@ -0,0 +1,16 @@ |
| +<%@taglib uri="/struts-tags" prefix="s"%> |
| +<html> |
| +<head> |
| +<title>Beziehungstyp erstellen</title> |
| +</head> |
| +<body> |
| + |
| +<h1>Beziehungstyp hinzufügen</h1> |
| +<p>Bitte geben Sie die Daten für den Beziehungstypen ein</p> |
| +<s:form action="doRelTypeAdd"> |
| + <s:textfield name="nameFrom" label="Name vom Ausgangspunkt (z.B. ist Vater von)" /> |
| + <s:textfield name="nameTo" label="Name vom Zielpunkt (z.B. ist Sohn von)" /> |
| + <s:submit value="Add" /> |
| +</s:form> |
| +</body> |
| +</html> |
| /relTypeAddForm.jsp |
| Property changes: |
| Added: svn:mime-type |
| ## -0,0 +1 ## |
| +text/plain |
| \ No newline at end of property |