Re: Iterate tag update

2001-07-09 Thread suhas
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

RE: Iterate tag update

2001-07-09 Thread Vaibhav Patil
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

Re: Iterate tag update

2001-07-09 Thread Gregor Rayman
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

RE: Iterate tag update

2001-07-09 Thread Vaibhav Patil
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

Re: Iterate tag update

2001-07-09 Thread suhas
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

Re: Iterate tag update / expalin/why what form bean!!

2001-07-09 Thread Chuck Amadi
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

Re: Iterate tag update?

2001-06-14 Thread frank waldheim
* 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

RE: Iterate tag update?

2001-06-14 Thread Shamdasani Nimmi-ANS004
, 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

Re: Iterate tag update?

2001-06-13 Thread Martin Cooper
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

Re: Iterate tag update?

2001-06-13 Thread Jonathan Asbell
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