| Author |
how to use dynaproperties in struts 1.2
|
kiran nyala
Greenhorn
Joined: Sep 21, 2009
Posts: 23
|
|
if form controls(like textbox,checkbox,select box...) added dynamically to a form, how can i get and set the values of those properties in action class.
For example we have a 'EmployeeAdd' form in which one textbox with propertyName "Empname" one selectbox with propertyName "Department" is exist.
I want to add multiple employess as i required for that i provide a ADDROW button so that the same above form fields will generated dynamically using javascript code.Like that i want to add multiple records in database.
So how can i set propertyName attribute for those fields(form properties) which generated dynamically and how can i perform get() and set() methods for them in action class??
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8265
|
|
|
Have a look at this discussion
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
kiran nyala
Greenhorn
Joined: Sep 21, 2009
Posts: 23
|
|
|
hey Ess thanks
|
 |
 |
|
|
subject: how to use dynaproperties in struts 1.2
|
|
|