| At line 1 changed 1 line. |
| __Parte IV:__ [Aggiungere Convalida e Schermata Elenco|ValidationAndList_it] - Adding validation logic to the PersonForm so that firstName and lastName are required fields and adding a list screen to display all person records in the database. |
| __Parte IV:__ [Aggiungere Convalida e Schermata Elenco|ValidationAndList_it] - Aggiungere un logica di convalida al PersonForm in modo che firstName e lastName siano campi obbligatori ed aggiungere una schermata di elenco per visualizzare tutti i record di tipo person nel database. |
| At line 3 removed 1 line. |
| ;:''This tutorial depends on __Part III:__ [Creating Actions and JSPs|CreateActions].'' |
| At line 5 changed 2 lines. |
| !!About this Tutorial |
| This tutorial will show you how to add Validation logic (client and server-side) to the PersonForm object using Struts' Validator. We'll also create a list screen using the [Display Tag Library|http://displaytag.sf.net] to display all the people in the database. |
| ;:''Questo tutorial dipende da __Parte III:__ [Creare Action e JSP|CreateActions_it].'' |
| At line 8 changed 1 line. |
| ;:%%(color: blue)''I will tell you how I do stuff in the __Real World__ in text like this.''%% |
| !!Informazioni su questo Tutorial |
| Questo tutorial ti mostrerĂ come aggiungere una logica di Convalida (sia lato client che server) all'oggetto PersonForm usando il Validator di Struts. Creeremo anche una schermata di elenco usando la [Display Tag Library|http://displaytag.sf.net] per visualizzare tutte le persone nel database. |
| At line 10 changed 9 lines. |
| !Table of Contents |
| * [1] Add XDoclet Validator tags to Person.java |
| * [2] View JSP with validation added and test |
| * [3] Add ''testGetPeople'' methods to DAO and Manager Tests |
| * [4] Add ''getPeople'' methods to PersonDao and Manager |
| * [5] Add ''testSearch'' methods to Action Test |
| * [6] Add ''search '' method to Action |
| * [7] Create personList.jsp and Canoo test |
| * [8] Add link to menu |
| ;:%%(color: blue)''Ti dirĂ² come fare le cose nel __Mondo Reale__ in un testo come questo.''%% |
| At line 20 changed 1 line. |
| !!Add XDoclet Validator tags to Person.java [#1] |
| !Indice |
| * [1] Aggiungi i tag Validator di XDoclet a Person.java |
| * [2] Visualizza la JSP con la convalida aggiunta ed effettua un test |
| * [3] Aggiungi i metodi ''testGetPeople'' ai Test di DAO e Manager |
| * [4] Aggiungi i metodi ''getPeople'' a PersonDao e Manager |
| * [5] Aggiungi il metodo ''testSearch'' al Test della Action |
| * [6] Aggiungi il metodo ''search'' alla Action |
| * [7] Crea personList.jsp ed il test Canoo |
| * [8] Aggiungi un collegamento al menu |
|
| !!Aggiungi i tag Validator di XDoclet a Person.java [#1] |
| At line 80 changed 1 line. |
| !!View JSP with validation added and test [#2] |
| !!Visualizza la JSP con la convalida aggiunta ed effettua un test [#2] |
| At line 121 changed 1 line. |
| !!Add testGetPeople methods to DAO and Manager Tests [#3] |
| !!Aggiungi i metodi ''testGetPeople'' ai Test di DAO e Manager [#3] |
| At line 158 changed 1 line. |
| !!Add getPeople() method to DAO and Manager [#4] |
| !!Aggiungi i metodi ''getPeople'' a PersonDao e Manager [#4] |
| At line 210 changed 1 line. |
| !!Add testSearch() method to Action Test [#5] |
| !!Aggiungi il metodo ''testSearch'' al Test della Action [#5] |
| At line 241 changed 1 line. |
| !!Add search method to Action [#6] |
| !!Aggiungi il metodo ''search'' alla Action [#6] |
| At line 278 changed 1 line. |
| !!Create personList.jsp and Canoo test [#7] |
| !!Crea personList.jsp ed il test Canoo [#7] |
| At line 368 changed 1 line. |
| !!Add link to menu [#8] |
| !!Aggiungi un collegamento al menu [#8] |