The call below results in:

    [javac]                                        <-------------
    [javac]     85.                 DynaActionForm requestForm =
    [javac]     86.                    
DynaActionFormClass.getDynaActionFormClass("requestForm").newInstance();
    [javac]        
------------------------------------------------------------------------------------------>
    [javac] *** Error: The type of the left-hand side in this assignment,
"org/apache/struts/action/DynaActionForm", is
not compatible with the type of the right-hand side expression,
"org/apache/commons/beanutils/DynaBean".

BUILD FAILED

However, this seems to work:

DynaActionForm requestForm = (DynaActionForm)
    DynaActionFormClass.getDynaActionFormClass("requestForm").newInstance();

--- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote:
> The required changes to implement this has been checked in, and will be
> available in nightly build 20020723 of Struts.  The only difference is
> that you need to call:
> 
>   DynaActionForm requestForm =
>     DynaActionFormClass.getDynaActionFormClass("requestForm").newInstance();
> 
> instead of the previously quoted method name, for consistency with
> previous method signatures.
> 
> Craig
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to