* 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/src/struts.xml |
---|
12,10 → 12,26 |
<result>/user/termAddForm.jsp</result> |
</action> |
<action name="doTermAdd" method="addOrUpdate" |
<action name="doTermAdd" method="add" |
class="ch.ffhs.webE.action.TermAction"> |
<result name="success">/user/termAdd.jsp</result> |
<result name="error">/user/termAddForm.jsp</result> |
</action> |
<action name="termList" method="list" |
class="ch.ffhs.webE.action.TermAction"> |
<result name="success">/user/termList.jsp</result> |
</action> |
<action name="deleteTerm" method="delete" |
class="ch.ffhs.webE.action.TermAction"> |
<result name="success" type="redirect">/user/termList</result> |
</action> |
<action name="editTerm" method="edit" |
class="ch.ffhs.webE.action.TermAction"> |
<result name="success">/user/termAddForm.jsp</result> |
</action> |
</package> |
<!-- Admin environment --> |