A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
how to create input fields dynamically in struts
Joined: Mar 04, 2009
Mar 10, 2010 02:07:26
I have a requirement in which i have to create input fields like text,radio button etc.. dynamically in
Normally we define input fields using form-bean and configure in struts-config.xml file. But what i required is that the form-bean should be created dynamically.
For this which one is better whether DYNAACTIONFORM or LAZYDYNAACTIONFORM ? can anyone explain briefly with example or link me the examples site where i can found the difference?
Also one more query? How to populate the dynamically created form-bean with the values from the database.
waiting for the suggestions...
Thanx in advance,
I agree. Here's the link:
subject: how to create input fields dynamically in struts
Query in Action Form
How does struts handle dynamic forms that grow and its retrieval?
Dynamic select fields need to add in jsp page
Struts : Dynamic HTML form parameters
how form bean can be mapped in struts for dynamic html generation?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015