You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Hookom, Jacob" <Ja...@redline.mckhboc.com> on 2003/12/18 20:01:09 UTC

Runtime Generation of DynaValidatorActionForms

Runtime Generation of DynaValidatorActionForms, is it possible?  We have
forms defined in the DB and I want to generate a DynaActionForm that would
use Validator.

I checked the main struts books we have at the office and couldn't find any
reference to something like this, I'm sure others have done it, care to
share? :-)

Thanks!
--------
Jacob Hookom
Senior Programmer/Analyst
McKesson Medical-Surgical
Golden Valley, MN



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Runtime Generation of DynaValidatorActionForms

Posted by Ted Husted <hu...@apache.org>.
People often ask about this kind of use case, but, AFAIK, there's not a 
generic solution. (In fact, something similar came up on the DEV list 
yesterday.)

What would be helpful is some type of simple example application that 
demonstrated the use case. A lot of haven't had to this sort of thing 
ourselves, and you can only take a thought experiment so far.

I personally have a lot of trouble getting my head around the complete 
work flow, since you'd also have to generate the HTML form dynamically, 
as well as the query that eventually handled the database update.

-Ted.

Hookom, Jacob wrote:
> Runtime Generation of DynaValidatorActionForms, is it possible?  We have
> forms defined in the DB and I want to generate a DynaActionForm that would
> use Validator.
> 
> I checked the main struts books we have at the office and couldn't find any
> reference to something like this, I'm sure others have done it, care to
> share? :-)
> 
> Thanks!
> --------
> Jacob Hookom
> Senior Programmer/Analyst
> McKesson Medical-Surgical
> Golden Valley, MN
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org