Re: logic:iterate tag!

2007-03-10 Thread Laurie Harper
* - Original Message From: Laurie Harper <[EMAIL PROTECTED]> To: user@struts.apache.org Sent: Thursday, March 8, 2007 5:11:20 PM Subject: Re: logic:iterate tag! Swaminathan Subramanian wrote: All, I am working on application using Struts 1.0. I am trying to d

Re: logic:iterate tag!

2007-03-09 Thread Swaminathan Subramanian
I am sorry! It is a typo. - Original Message From: Dave Newton <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Friday, March 9, 2007 2:34:26 PM Subject: Re: logic:iterate tag! --- Swaminathan Subramanian wrote: > ArrayList alAFFFile = new ArrayList(); > alFile.add

Re: logic:iterate tag!

2007-03-09 Thread Dave Newton
--- Swaminathan Subramanian wrote: > ArrayList alAFFFile = new ArrayList(); > alFile.add(objAFFFiles[i]); > session.setAttribute("AFFFiles", alAFFFile); Is the alFile.add a typo? d. Finding fabulous fares i

Re: logic:iterate tag!

2007-03-09 Thread Swaminathan Subramanian
* - Original Message From: Laurie Harper <[EMAIL PROTECTED]> To: user@struts.apache.org Sent: Thursday, March 8, 2007 5:11:20 PM Subject: Re: logic:iterate tag! Swaminathan Subramanian wrote: > All, > I am working on application using Struts 1.0. I am trying

Re: logic:iterate tag!

2007-03-08 Thread Laurie Harper
Swaminathan Subramanian wrote: All, I am working on application using Struts 1.0. I am trying to display an ArrayList of complex objects using the logic:iterate tag. Here's some more details - FileObj fileName fileSize fileType fileM

Re: logic:iterate tag and form beans

2005-08-02 Thread Laurie Harper
Brian Kremmin wrote: I want to get some table data from a database and output it in table form on a webpage. I'm planning to use an ArrayList to store the data and use the logic:iterate tag to expose the elements of the list... however, I'm unsure of the proper structure of all these data object

Re: logic:iterate tag and form beans

2005-08-02 Thread Dave Newton
Brian Kremmin wrote: I'm planning to use an ArrayList to store the data and use the logic:iterate tag to expose the elements of the list... however, I'm unsure of the proper structure of all these data objects. I think I'm using struts 1.1 if that makes a difference. 1) I'd tend towards usin

RE: logic:iterate tag and form beans

2005-08-02 Thread BHansard
Example: DataBean: public class EmployeeBean(){ private String name = null; Private String dept = null; ... Getters and setters } FormBean: public class EmployeeForm extends ActionForm{ private Collection employees = new ArrayList(); ... Getters and Setter

RE: logic:iterate tag and form beans

2005-08-02 Thread Brian Kremmin
a naming scheme within the data structure of struts or can I call it whatever? Thanks much for your help, btw. -Original Message- From: Johnson, Kaerstin [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 02, 2005 10:07 AM To: Struts Users Mailing List Subject: RE: logic:iterate tag and form b

RE: logic:iterate tag and form beans

2005-08-02 Thread Johnson, Kaerstin
Ok, If I am understanding the question correctly, you should be populating your array list in your bean with a objects of whatever represents a table row (such as an employee object), this object should have the attributes (name, id, address) you would like to render in the columns. Each object