A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Saving Dynamic Form in Struts 2
Joined: Apr 23, 2009
Jul 26, 2012 05:00:33
I am working on a Struts 2 application. I have to save a dynamic questionnaire form (which has radio, combo, checkbox, text,...).
As the form is dynamic i cannot have the fields defined in the action class. I have used the below code in Struts 1.3 to capture all the request parameters in to map
LazyValidatorForm lazyForm = (LazyValidatorForm) form;
Map map = lazyForm.getMap();
What is the equivalent in Struts 2 ?
I agree. Here's the link:
subject: Saving Dynamic Form in Struts 2
LazyValidatorForm and Lazy DynaBean
Dynamic form submission
what is "dynamic" form bean ?
Advantages of JSF over struts..
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014