Take a look at jakarta BeanUtils.describe()
-ed
On 5/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello,
The DynaActionForm class has a method called getMap which "Returns the Map
containing the property values"
We've found this quite useful for some of the things we need to do. I am
l
id
PS - I somehow posted this originally as a response to someone else's
thread. Sorry for the mixup.
--
View this message in context:
http://www.nabble.com/Getting+a+list+of+fields+in+a+form-t1675847.html#a4543759
Sent from th
Map map = new HashMap();
BeanUtils.copyProperties( map , actionForm );
Emmanouil Batsis wrote:
pantichd wrote:
Can someone tell me if there is an easy way to get all the property
keys along with their values from those two classes?
Maybe there is a better way but using BeanUtils to construct
pantichd wrote:
Can someone tell me if there is an easy way to get all the property keys
along with their values from those two classes?
Maybe there is a better way but using BeanUtils to construct a map out
of the formbean should be pretty easy.
hth,
Manos
-
his message in context:
http://www.nabble.com/Getting+a+list+of+fields+in+a+form-t1675847.html#a4543759
Sent from the Struts - User forum at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
cc
Subject
Getting a list of fields in a form
along with their values(Document
Hello,
The DynaActionForm class has a method called getMap which "Returns the Map
containing the property values"
We've found this quite useful for some of the things we need to do. I am
looking for a similar method in the ActionForm & ValidatorForm but I can't
find anything.
Can someone tell me
7 matches
Mail list logo