Index

Add XDoclet Tags

  1. To add enable the Validator using XDoclet, open up UserForm.java, which is located in src/web/org/appfuse/webapp/form.
  2. Make sure it has the following line in its JavaDocs to generate the form-bean entry in struts-config.xml.
    * @struts.form name="userForm"
    ... will generate this ...
    <form-bean
        name="userForm"
        type="org.appfuse.webapp.form.UserForm"/>
    
Slide No: 2