Hello All,

When i first heard about struts, i was developing all in jsps. I read
about struts and at the same time MVC, and thought, "Well obviously
thats the way to go". So before i allowed my self to use struts i first
created my own "strutsLite" based on my very small understanding of
struts. I built out a couple of applications on this framework, and then
started using struts. So unfortunatly one of the applications i built
using my strutsLite has taken on a life of its own. Also unfortunatly
when i built strutsLite i misunderstood how actionForm population worked
and i built a populate method in the ActionForm.  I now would like to
migrate this application to Struts, but my application needs the
populate method in the ActionForm to work correctly. The application is
a dynamic form builder, that creates forms on the fly based on a form
definition in a database. Each component on the form is represented by a
class that implements an interface. The interface has validate, populate
and generateHTML methods. Because each component class writes the HTML
and also uses its populate method to parse the submission, complex multi
element components can be coded. So in the ActionForm, a lookup is
performed for each component in a form submission, to see what type of
component it is. The proper class is then instanciated, and its populate
method is called. 

I assume the struts way of working this out would be to extend the
RequestProccessor and override the processPopulate method. Any advice
about the transition of this situation to struts or to another framework
would be greatly appreciated.  

Thanks 

Dave


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

Reply via email to