Do u have setter methods in the Product class like - setQuantity(int qty)
???
Also U need to have indexed iterate tag written by Dave Hey . So u can use
html:text name=product property=quantity size=3 index= true/
Here is the ActionForm
public Product [ ] getProductList( ) {
return
When I give the index=true attribute, it gives me following error
Attribute index invalid according to the specified TLD
-Original Message-
From: suhas [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 10:13 PM
To: [EMAIL PROTECTED]
Subject: Re: Iterate tag update
Do u have
The problem is, the generated names of the HTML form elements do not
correspond to the names of properties of your ActionForm.
Here a sample, how this can be done:
logic:iterate name=myForm property=elements id=element indexId=i
type=de.grayman.test.struts.MyElement
tr
td
Where can i get indexed iterate tag written by Dave Hey???
thanks,
Vaibhav
-Original Message-
From: suhas [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 10:13 PM
To: [EMAIL PROTECTED]
Subject: Re: Iterate tag update
Do u have setter methods in the Product class like
take it from http://www.husted.com/about/struts
Check for the extensions - Iterate tag
- Original Message -
From: Vaibhav Patil [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 09, 2001 1:44 PM
Subject: RE: Iterate tag update
Where can i get indexed iterate tag written
Hi, i am currently reading up on delegating as much processing as possible to
javabeans components hence i have come across various beans regarding html forms
ie html:select,html:option, logic:iterate etc etc . Pls could anyone explain or
advise were one can get an understanding on selection to
* Martin Cooper [EMAIL PROTECTED] 2001-06-13 (21:42:47):
I just checked in a change to the iterate tag which allows you to access the
current index as a scripting variable. If you specify the 'indexId'
attribute, a scripting variable with the specified name will contain the
current index
, June 13, 2001 11:43 PM
To: [EMAIL PROTECTED]
Subject: Re: Iterate tag update?
I just checked in a change to the iterate tag which allows you to access the
current index as a scripting variable. If you specify the 'indexId'
attribute, a scripting variable with the specified name will contain
I just checked in a change to the iterate tag which allows you to access the
current index as a scripting variable. If you specify the 'indexId'
attribute, a scripting variable with the specified name will contain the
current index (as an Integer) on each iteration. This will be available in
the
Yee!
: ^ }
- Original Message -
From: Martin Cooper [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 14, 2001 12:42 AM
Subject: Re: Iterate tag update?
I just checked in a change to the iterate tag which allows you to access
the
current index as a scripting variable
10 matches
Mail list logo