ValidationAndListTapestry |
|
Your trail: |
Difference between
version 8
and
version 7:
At line 187 changed 1 line. |
To begin, create test/web/**/action/PersonListTest.java (extends BasePage implements PageRenderListener) and add two methods. The first, {{pageBeginRender()}} is executed when the page first loads. The second, {{edit()}} is a listener method that's invoked when you click to edit a row. This is pretty much the same as the {{edit()}} method on PersonForm. The one on PersonForm was mainly added for demonstration purposes. AppGen will won't generate an "edit" listener on the form class if you use it to generate your page classes. |
To begin, create test/web/**/action/PersonListTest.java and add test methods for editing and searching. The {{edit()}} method is a listener method that's invoked when you click to edit a row. This is pretty much the same as the {{edit()}} method on PersonForm. The one on PersonForm was mainly added for demonstration purposes. AppGen will won't generate an "edit" listener on the form class if you use it to generate your page classes. |
At line 232 changed 1 line. |
!!Create PersonController [#6] |
!!Create PersonList [#6] |
Back to ValidationAndListTapestry,
or to the Page History.
|