> -----Original Message-----
> From: Michael McGrady [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 06, 2004 12:50 PM
> To: Struts Users Mailing List
> Subject: GOING GOING GONE DYNAMIC
> 
> 
> Is there a way to create or modify the mapping and the form 
> for an action 
> on the fly?  Couldn't we use, for example, a "nude" 
> DynaActionForm with a 
> name and then (re)instantiate it with
> 
> form = DynamicActionFormFactory.createBlankForm(String name, 
> String type, 
> String[] fields);

The problem would with Java in this case, since form is passed in.....

you could do something like
        BeanUtils.copyProperties( form, DynamicActionFormFactory.createBlankForm( blah 
blah);
and that might work better.

> 
> or something similar and do something like this by grabbing the 
> ActionMapping class and massaging it as needed as well?
> 
> Anyone have any things like this lying around in the sun?
> 
> Michael McGrady
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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

Reply via email to