I have multiple text boxes that I display on my page. Basically, I must show n rows (2 text boxes per row). I have no problem displaying them, but I am unclear on how to get the data back in a concise manner. To display, I use logic:iterate (see below):


logic:iterate name="custAcctForm" id="multiple" property="multipleIds"


bean:write property="profileName" name="multipleIds"

html:text property="userName" name="multipleIds"

html:text property="password" name="multipleIds"



In my form I have a Vector defined, private Vector multipleIds; The Vector holds a collection of my class, MultipleIdData which has 3 member variables: profileName, userName, and password. When I use the code above, it displays correctly, but the entered data goes nowhere. I have tried to define the "id" property to the "multipleIds" value, but it gives me an error that no collection was found. I was thinking I could index the values, but am unclear if this is the road I should take. I have seen that if I initialize the Vector to some initial capacity, this will work, but I don't know how large this Vector will be. Does anyone have any suggestions. Thanks.

_________________________________________________________________
Check out the coupons and bargains on MSN Offers! http://shopping.msn.com/softcontent/softcontent.aspx?scmId=1418



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to