Subversion Repositories WebE

Compare Revisions

Last modification

Ignore whitespace Rev 28 → Rev 29

/trunk/src/struts.xml
6,12 → 6,13
<constant name="struts.devMode" value="true" /> <!-- activates debugging output -->
<!-- User environment -->
<package name="user" namespace="/user" extends="struts-default">
<package name="user" namespace="/user" extends="hibernate-default">
<!-- Term management -->
<action name="termAddForm">
<result>/user/termAddForm.jsp</result>
</action>
</package>
</package>
<!-- Admin environment -->
<package name="admin" namespace="/admin" extends="hibernate-default">
/trunk/WebContent/WEB-INF/lib/struts2-fullhibernatecore-plugin-1.4-GA-sources.zip
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/trunk/WebContent/WEB-INF/lib/struts2-fullhibernatecore-plugin-1.4-GA-sources.zip
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/WebContent/user/nav.jsp
===================================================================
--- trunk/WebContent/user/nav.jsp (revision 28)
+++ trunk/WebContent/user/nav.jsp (revision 29)
@@ -13,7 +13,7 @@
Begriffe
<ul>
<li>
- <a href="">Hinzuf&uuml;gen</a>
+ <a href="termAddForm">Hinzuf&uuml;gen</a>
</li>
<li>
<a href="">&Auml;ndern, L&ouml;schen</a>
Index: trunk/WebContent/user/termAddForm.jsp
===================================================================
--- trunk/WebContent/user/termAddForm.jsp (nonexistent)
+++ trunk/WebContent/user/termAddForm.jsp (revision 29)
@@ -0,0 +1,14 @@
+<%@taglib uri="/struts-tags" prefix="s"%>
+<html>
+ <head>
+ <title>Begriff erstellen</title>
+ </head>
+ <body>
+ <h1>Begriff hinzuf&uuml;gen</h1>
+ <s:form action="doUserAdd">
+ <s:hidden name="user.id" />
+ <s:textfield name="user.username" label="Name" />
+ <s:submit value="Add" />
+ </s:form>
+ </body>
+</html>
/trunk/WebContent/user/termAddForm.jsp
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property