ValidationAndListJSF |
|
Your trail: |
Difference between
version 8
and
version 7:
At line 202 changed 1 line. |
Now if you run __ant test-web -Dtestcase=PersonList__, the test should pass. |
Now you need to add the managed-bean definition for the PersonList class. Open web/WEB-INF/faces-config.xml and add the following managed-bean definition: |
At line 204 added 15 lines. |
[{Java2HtmlPlugin |
|
<managed-bean> |
<managed-bean-name>personList</managed-bean-name> |
<managed-bean-class>org.appfuse.webapp.action.PersonList</managed-bean-class> |
<managed-bean-scope>request</managed-bean-scope> |
<managed-property> |
<property-name>personManager</property-name> |
<value>#{personManager}</value> |
</managed-property> |
</managed-bean> |
}] |
|
If you run __ant test-web -Dtestcase=PersonList__, the test should pass. |
|
At line 225 changed 1 line. |
Now you need to add the managed-bean definition for the PersonList class. Open web/WEB-INF/faces-config.xml and add the following managed-bean definition: |
Now you need to add the navigation-rules for this page (near the top of web/WEB-INF/faces-config.xml): |
At line 229 removed 15 lines. |
<managed-bean> |
<managed-bean-name>personList</managed-bean-name> |
<managed-bean-class>org.appfuse.webapp.action.PersonList</managed-bean-class> |
<managed-bean-scope>request</managed-bean-scope> |
<managed-property> |
<property-name>personManager</property-name> |
<value>#{personManager}</value> |
</managed-property> |
</managed-bean> |
}] |
|
Also, add the navigation-rules for this page (near the top of faces-config.xml): |
|
[{Java2HtmlPlugin |
|
Back to ValidationAndListJSF,
or to the Page History.
|