Re: Getting a list of fields in a form along with their values

2006-05-24 Thread Ed Griebel
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

Re: Getting a list of fields in a form

2006-05-24 Thread No Body
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

Re: Getting a list of fields in a form

2006-05-24 Thread Gareth Evans
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

Re: Getting a list of fields in a form

2006-05-24 Thread Emmanouil Batsis
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 -

Getting a list of fields in a form

2006-05-24 Thread pantichd
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]

Re: Getting a list of fields in a form along with their values

2006-05-24 Thread pantichd
cc Subject Getting a list of fields in a form along with their values(Document

Getting a list of fields in a form along with their values

2006-05-24 Thread pantichd
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