- Added termAddForm - Added Struts2-Hibernate plugin sources (ZIP)
/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 |
Property changes: |
Added: svn:mime-type |
## -0,0 +1 ## |
+application/octet-stream |
\ No newline at end of property |
Index: WebContent/user/nav.jsp |
=================================================================== |
--- WebContent/user/nav.jsp (revision 28) |
+++ WebContent/user/nav.jsp (revision 29) |
@@ -13,7 +13,7 @@ |
Begriffe |
<ul> |
<li> |
- <a href="">Hinzufügen</a> |
+ <a href="termAddForm">Hinzufügen</a> |
</li> |
<li> |
<a href="">Ändern, Löschen</a> |
Index: WebContent/user/termAddForm.jsp |
=================================================================== |
--- WebContent/user/termAddForm.jsp (nonexistent) |
+++ 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ü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> |
/WebContent/user/termAddForm.jsp |
---|
Property changes: |
Added: svn:mime-type |
## -0,0 +1 ## |
+text/plain |
\ No newline at end of property |