The reason I need to do this is that my table data comes as a List of Maps.  
Each Map in the list is actually a table row.  I would like to output the data 
according to the display order or the table headers.  

Actually, Wendy answered my question.  Thanks Wendy!

Appreciate all of your help!

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 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 any key as I might lose the order 
>in that case.
>  
>
I think the DynaActionForm/etc. uses HashMap so there's no guaranteed 
order anyway. I'm not sure why you want to do any of this anyway, bu if 
you're using it for anything other than debugging purposes you'll 
probably want to explore different options.

Dave



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-----------------------------------------
This email transmission and any accompanying attachments may contain CSX
privileged and confidential information intended only for the use of the
intended addressee.  Any dissemination, distribution, copying or action
taken in reliance on the contents of this email by anyone other than the
intended recipient is strictly prohibited.  If you have received this email
in error please immediately delete it and  notify sender at the above CSX
email address.  Sender and CSX accept no liability for any damage caused
directly or indirectly by receipt of this email.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to