I'm having trouble populating a Form bean that has an indexed (variable
size) nested bean. I'm using an ArrayList inside the Form bean to collect
the nested properties and it's partially working. The problem is that
because the index is variable, I don't know how to correctly size the
ArrayList.
a couple of times..
Still if u cant get it to work or have doubt, repost the question :-))
HTH.
regards,
Shirish
-Original Message-
From: Marc Dugger [mailto:[EMAIL PROTECTED]
Sent: Monday, November 10, 2003 4:56 PM
To: [EMAIL PROTECTED]
Subject: dynamic indexed properties in Form bean
Users Mailing List
Subject: Re: Indexed properties and form
Actually i is just another variable I am using to
display to the user the number of the row. It is
declared in another scriplet as
% int i = ; %
--- Evan Schnell [EMAIL PROTECTED] wrote:
Samir Shah wrote:
Hi,
I have a JSP page
: Indexed properties and form
Actually i is just another variable I am using to
display to the user the number of the row. It is
declared in another scriplet as
% int i = ; %
--- Evan Schnell [EMAIL PROTECTED] wrote:
Samir Shah wrote:
Hi,
I have a JSP page that outputs data using
Hi,
I have a JSP page that outputs data using a Collection
using the following section
logic:iterate id=lifeBenefit name=lifeBenefits
type=com.quote.dao.BenefitLineItem
indexId=classNum
tr valign=middle class=bg2
td height=28 bgcolor=#FF
table border=0 cellspacing=0
Samir Shah wrote:
Hi,
I have a JSP page that outputs data using a Collection
using the following section
logic:iterate id=lifeBenefit name=lifeBenefits
type=com.quote.dao.BenefitLineItem
indexId=classNum
Where do you declare i? I think you need to use
td class=formtext %=classNum %/td
Actually i is just another variable I am using to
display to the user the number of the row. It is
declared in another scriplet as
% int i = ; %
--- Evan Schnell [EMAIL PROTECTED] wrote:
Samir Shah wrote:
Hi,
I have a JSP page that outputs data using a
Collection
using the following
Hi,
I have successfully created a JSP to output a collection that looks like
this:
logic:iterate id=permissionLanguage name=permissionForm
property=permissionLanguageData
tr
td
bean:write name=permissionLanguage
property=languageName/
(PermissionLanguageData) records.get(index);
}
regards,
Shirish
-Original Message-
From: jot [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 10, 2003 12:29 PM
To: struts-user
Cc: jot
Subject: Help:: Indexed properties and form
Hi,
I have successfully created a JSP to output a collection that looks like
At end.
-Original Message-
From: Andy Kriger [mailto:akriger;greaterthanone.com]
I have a DynaActionForm collecting credit card info. A user
can enter up to
3 credit cards on the form. I want to collect this info in
the text fields
and create new CreditCard objects
Mailing List
Subject: RE: indexed properties and form help needed
At end.
-Original Message-
From: Andy Kriger [mailto:akriger;greaterthanone.com]
I have a DynaActionForm collecting credit card info. A user
can enter up to
3 credit cards on the form. I want to collect this info
11 matches
Mail list logo