"Craig R. McClanahan" wrote:

>
>     <form-bean name="SearchForm"
>      type="com.mycompany.mypackage.SearchFormBean">
>         <set-property property="resource" value="...path to resource..."/>
>     </form-bean>
>

Oops, this really needs to include a reference to the custom ActionFormBean subclass
to use.  You can do this (again, as of tonight's nightly build) in one of two ways:

*   Set an initialization parameter named "formBean" on the
    controller servlet that names the class to be used for
    all <form-bean> elements.

*   On each individual <formBean>, include a "className"
    attribute that identifies the ActionFormBean subclass to
    use for this particular entry (so you can have different ones).

Craig


Reply via email to