CreateActions |
|
Your trail: |
Difference between
version 66
and
version 65:
At line 84 changed 2 lines. |
;:%%(color: blue)''As usual, copy → save as an existing ActionTest (i.e. UserActionTest). Replace [[Uu]ser with [[P]erson. You might want to make sure [Cactus|http://jakarta.apache.org/cactus] (StrutsTestCase is an extension of Cactus] tests are running before you copy an existing one. Run __ant test-cactus -Dtestcase=UserAction__ to verify the UserAction works. Stop Tomcat before you do this.\\ \\ |
If you do copy UserActionTest, make sure and change {{UserFormEx}} to {{PersonForm}}. [UserFormEx|http://raibledesigns.com/downloads/appfuse/api/org/appfuse/webapp/form/UserFormEx.java.html] is an extension of UserForm that has a String[[] setter for Roles. Since the UserForm is generated, it's not very feasible to do it in the User.java object.''%% |
;:%%(color: blue)''As usual, copy → save as an existing ActionTest (i.e. UserActionTest). Replace [[Uu]ser with [[P]erson. You might want to make sure [Cactus|http://jakarta.apache.org/cactus] (StrutsTestCase is an extension of Cactus] tests are running before you copy an existing one. Run __ant test-cactus -Dtestcase=UserAction__ to verify the UserAction works. Stop Tomcat before you do this.%% |
At line 86 added 2 lines. |
;:%%(color: blue)''If you do copy UserActionTest, make sure and change {{UserFormEx}} to {{PersonForm}}. [UserFormEx|http://raibledesigns.com/downloads/appfuse/api/org/appfuse/webapp/form/UserFormEx.java.html] is an extension of UserForm that has a String[[] setter for Roles. Since the UserForm is generated, it's not very feasible to do it in the User.java object.''%% |
|
Back to CreateActions,
or to the Page History.
|