Implemented Code
Creating Date: 2005 / August / 03
Lastest Update: 2005 / August / 09
This section has the goal to show what was implemented in JTasks. Although the code already implemented, it can contains bugs and updates. If you find out a bug, please contact me.
Version 0.1
Date: 2005 / August / 03
- Hibernate configuration and Initialization seems OK
- The DAO class has been implemented and contains two methods, start() and getALL(). (More methods will be implemented).
- jtasks.models.Users has been implemented together with Users.hbm.xml file.
- Webwork base has been implemented inside jtasks.system.ActionBase class. All other configuration (xwork.xml, components.xml, validation.xml) it's well.
- ActionBase action was implemented and a setUp() method has been created to start some variables.
- Welcome.action has been implemented correctly (I think).
- Login and Logout it's complete.
- CreateMenuTaglib is almost ready. I need to implement the user permission. Up to now, the system takes the menu.properties files and shows these values in JSP.
Date: 2005 / August / 09
- Welcome.action has been changed. Now the action test if there is a user admin (with level = 9), if there is not the user the action call WIZARD page.
- Wizard Page and wizard.action it's OK. This page is responsible to get the information from the first admin of the system. This information is saving in the database.
- jtasks.models.UserAccess class has been created and your correspondent database too. This class storage the properties that the user has access in the menu.
- jtasks.dao.UsersDAO has been created. Inside this class a method called insert(Users, ArrayList). This method is used inside wizard action.
- CreateMenuTag taglib was finished. When the user is logged, it get the user access and show only the options that the user has access, else all menu are shown but the link doesn't work. This class use removeLink method from StringMethods class.
- jtasks.system.StringMethod class has been created with goal to implement all method that use String. There is only one method called removeLink. Take a look at the document to more detail.
- jtasks.junit.TestStringMethod has been created. To test removeLink method has been created a JUnit test.