CreateActions |
|
| Your trail: |
Difference between
version 63
and
version 62:
| At line 76 changed 1 line. |
| ;:''Just above, we added "personForm.*" keys to this file, so why do I use personForm ''and'' personDetail? The best reason is because it gives a nice separation between form labels and text on the page. Another reason is because all the *Form.* give you a nice representation of all the fields in your database. I recently had a client who wanted all fields in the database searchable. This was fairly easy to do. I just looked up all the keys in ApplicationResources.properties which contained "Form." and then put them into a drop-down. On the UI, the user was able to enter a search term and select the column they wanted to search. I was glad I followed this Form vs. Detail distinction on that project!'' |
| ;:''Just above, we added "personForm.*" keys to this file, so why do I use personForm ''and'' personDetail? The best reason is because it gives a nice separation between form labels and text on the page. Another reason is because all the *Form.* give you a nice representation of all the fields in your database. |
| At line 78 added 1 line. |
| I recently had a client who wanted all fields in the database searchable. This was fairly easy to do. I just looked up all the keys in ApplicationResources.properties which contained "Form." and then put them into a drop-down. On the UI, the user was able to enter a search term and select the column they wanted to search. I was glad I followed this Form vs. Detail distinction on that project!'' |
| At line 80 added 1 line. |
|
| At line 84 changed 1 line. |
| If you do copy UserActionTest, make sure and change {{UserFormEx}} to {{PersonForm}}. The reason for {{UserFormEx}} is to support a String[[] setter for Roles. Since the UserForm is generated, it's not very feasible to do it in the User.java object.''%% |
| 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.
|