Re: iterate on properties of a DynaActionForm

2005-06-28 Thread Dewitte Rémi
Indeed, I need help. I wrote it : - /> Which gives me an error telling there is no getter for property map while in the struts javadoc for org.apache.struts.action.DynaActionForm : java.util.Map getMap() Returns the Map containing the property values. Thanks for your help, wha

Re: iterate on properties of a DynaActionForm

2005-06-27 Thread Khan
Hi, If ur using HashMap there is no guarantee that they pop out in the same order in which u have pushed(placed/inserted). So better go for a LinkedHashMap. LinkedHashMap preserves the order that u have placed. Khan On 6/28/05, Dave Newton <[EMAIL PROTECTED]> wrote: > > Goswami, Raj wrote

RE: iterate on properties of a DynaActionForm

2005-06-27 Thread Goswami, Raj
! Regards, -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 5:30 PM To: Struts Users Mailing List Subject: Re: iterate on properties of a DynaActionForm Goswami, Raj wrote: >I had the same problem. Thanks for your answer. How do I provide a

Re: iterate on properties of a DynaActionForm

2005-06-27 Thread Wendy Smoak
From: "Goswami, Raj" <[EMAIL PROTECTED]> > I had the same problem. Thanks for your answer. How do I provide a the key > name though? For e.g. suppose I have a map with key names as employeeId, > employeeLastName, employeeFirstName etc. and I want to print it by calling the > individual key names

Re: iterate on properties of a DynaActionForm

2005-06-27 Thread Dave Newton
Goswami, Raj wrote: I had the same problem. Thanks for your answer. How do I provide a the key name though? For e.g. suppose I have a map with key names as employeeId, employeeLastName, employeeFirstName etc. and I want to print it by calling the individual key names, not just arbitrarily

RE: iterate on properties of a DynaActionForm

2005-06-27 Thread Goswami, Raj
lose the order in that case. Thanks again, -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 4:24 PM To: Struts Users Mailing List Subject: Re: iterate on properties of a DynaActionForm From: "Dewitte Rémi" <[EMAIL PROTECTED]> &g

Re: iterate on properties of a DynaActionForm

2005-06-27 Thread Wendy Smoak
From: "Dewitte Rémi" <[EMAIL PROTECTED]> > I'm quite new in struts and i'd like to print all properties of my form with > their corresponding value. I don't manage to do this with iterate. Could you > please suggest me a solution ? > my bean name is QuestionnaireForm defined in struts-config: > t

iterate on properties of a DynaActionForm

2005-06-27 Thread Dewitte Rémi
Hi ! I'm quite new in struts and i'd like to print all properties of my form with their corresponding value. I don't manage to do this with iterate. Could you please suggest me a solution ? my bean name is QuestionnaireForm defined in struts-config: