*
- 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
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
--- 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
*
- 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
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
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
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
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
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
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
10 matches
Mail list logo