RE: Obtaining multilpe values from dynamically generate textboxes
I was suggesting a possible solution :) just wasnt sure it was the best/only way -Original Message- From: Web Programmer [mailto:[EMAIL PROTECTED]] Sent: Friday, April 27, 2001 10:30 AM To: [EMAIL PROTECTED] Subject: RE: Obtaining multilpe values from dynamically generate textboxes See Scott Walker's response to my question earlier today which worked. If you can't get it, post again. --- "Gogineni, Pratima" <[EMAIL PROTECTED]> wrote: > Hi - I am doing something similar. Dont know if its > the best way to do it. > > My form bean has an indexed property over a vector > of values (so that its > size can change dynamically ..) > The form bean also has a size property which tells > me how many values exist > in the indexed property. > > in the JSP page > I loop based on the size property and have > elements that display > the indexed property in a text field. > > Pratima > > -Original Message- > From: Walker, John H. > [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 27, 2001 9:56 AM > To: '[EMAIL PROTECTED]' > Subject: Obtaining multilpe values from dynamically > generate textboxes > > > We have the senereo where we are dynamically > generating a number of > textfields. The number of textfields are not a known > entity so we cannot > have multiple setTextField1(), setTextField2().. > . methods on the Action Form. How does struts handle > this case where you > basically want all the values of the textFields > concatenated and passed into > one Action Form method as an Array. > > Any ideas. > Thanks > John Walker __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
RE: Obtaining multilpe values from dynamically generate textboxes
See Scott Walker's response to my question earlier today which worked. If you can't get it, post again. --- "Gogineni, Pratima" <[EMAIL PROTECTED]> wrote: > Hi - I am doing something similar. Dont know if its > the best way to do it. > > My form bean has an indexed property over a vector > of values (so that its > size can change dynamically ..) > The form bean also has a size property which tells > me how many values exist > in the indexed property. > > in the JSP page > I loop based on the size property and have > elements that display > the indexed property in a text field. > > Pratima > > -Original Message- > From: Walker, John H. > [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 27, 2001 9:56 AM > To: '[EMAIL PROTECTED]' > Subject: Obtaining multilpe values from dynamically > generate textboxes > > > We have the senereo where we are dynamically > generating a number of > textfields. The number of textfields are not a known > entity so we cannot > have multiple setTextField1(), setTextField2().. > . methods on the Action Form. How does struts handle > this case where you > basically want all the values of the textFields > concatenated and passed into > one Action Form method as an Array. > > Any ideas. > Thanks > John Walker __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
Re: Obtaining multilpe values from dynamically generate textboxes
I ahd the same question earlier today and Scott Walker's response helped me. Check earlier mail. --- "Walker, John H." <[EMAIL PROTECTED]> wrote: > We have the senereo where we are dynamically > generating a number of > textfields. The number of textfields are not a known > entity so we cannot > have multiple setTextField1(), setTextField2().. > . methods on the Action Form. How does struts handle > this case where you > basically want all the values of the textFields > concatenated and passed into > one Action Form method as an Array. > > Any ideas. > Thanks > John Walker __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
RE: Obtaining multilpe values from dynamically generate textboxes
Hi - I am doing something similar. Dont know if its the best way to do it. My form bean has an indexed property over a vector of values (so that its size can change dynamically ..) The form bean also has a size property which tells me how many values exist in the indexed property. in the JSP page I loop based on the size property and have elements that display the indexed property in a text field. Pratima -Original Message- From: Walker, John H. [mailto:[EMAIL PROTECTED]] Sent: Friday, April 27, 2001 9:56 AM To: '[EMAIL PROTECTED]' Subject: Obtaining multilpe values from dynamically generate textboxes We have the senereo where we are dynamically generating a number of textfields. The number of textfields are not a known entity so we cannot have multiple setTextField1(), setTextField2().. . methods on the Action Form. How does struts handle this case where you basically want all the values of the textFields concatenated and passed into one Action Form method as an Array. Any ideas. Thanks John Walker