* LoginAction.java - Use UserDAOImpl type for better source lookup * TermAction.ava - Use obvious serialization version - Implemented add() * UserAction.java - Use more obvious serialization version * TermDAO.java - Renamed listTermById() to getTermById() - Added Javadoc * TermDAOImpl.java - Fixed "FROM term" bug (no SQL, case-sensitive) - saveOrUpdate() now returns boolean (for TermAction) * Term.java - Now imports java.io.Serializable - Added serialization version ID - Use TermDAOImpl type for better source lookup * struts.xml - /doTermAdd now triggers add() - Added basic Term actions * user/nav.jsp - Added /listTerm link to trigger user/termList.jsp * user/termAddForm.jsp - Now functional and reusable for Rename Term * General: - Clean-up: + Renamed Object to ObjectEntity + Source formatting - Added javax.persistence and org.hibernate sources (for Javadoc) - Added PDF documentation generated from OpenDocument Text
/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ü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ügen</s:else></title> |
</head> |
<body> |
<h1> |
Begriff hinzufü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> |