Compare Revisions
Last modification
- Rev 29 2010-12-28 23:37:08
- Author: PointedEars
- Log message:
- Added termAddForm
- Added Struts2-Hibernate plugin sources (ZIP)
/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: |
Deleted: svn:mime-type |
## -1 +0,0 ## |
-application/octet-stream |
\ No newline at end of property |
Index: WebContent/user/termAddForm.jsp |
=================================================================== |
--- WebContent/user/termAddForm.jsp (revision 29) |
+++ WebContent/user/termAddForm.jsp (nonexistent) |
@@ -1,14 +0,0 @@ |
-<%@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: |
Deleted: svn:mime-type |
## -1 +0,0 ## |
-text/plain |
\ No newline at end of property |
Index: WebContent/user/nav.jsp |
=================================================================== |
--- WebContent/user/nav.jsp (revision 29) |
+++ WebContent/user/nav.jsp (revision 28) |
@@ -13,7 +13,7 @@ |
Begriffe |
<ul> |
<li> |
- <a href="termAddForm">Hinzufügen</a> |
+ <a href="">Hinzufügen</a> |
</li> |
<li> |
<a href="">Ändern, Löschen</a> |
Index: src/struts.xml |
=================================================================== |
--- src/struts.xml (revision 29) |
+++ src/struts.xml (revision 28) |
@@ -6,13 +6,12 @@ |
<constant name="struts.devMode" value="true" /> <!-- activates debugging output --> |
<!-- User environment --> |
- <package name="user" namespace="/user" extends="hibernate-default"> |
- <!-- Term management --> |
- <action name="termAddForm"> |
- <result>/user/termAddForm.jsp</result> |
- </action> |
+ <package name="user" namespace="/user" extends="struts-default"> |
+ |
</package> |
|
+ |
+ |
<!-- Admin environment --> |
<package name="admin" namespace="/admin" extends="hibernate-default"> |
|