Re: html:errors for indexed properties

2004-08-31 Thread Lynn Stevens
instead of the scriptlet, I think you could use html-el and do the following: The el notation forces the ndx to evaluate From: Bill Siggelkow <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: html:errors for indexed properties Date:

indexed properties

2004-08-27 Thread Lynn Stevens
OK, I am new to struts...so if someone could help it would be great! I was trying out the indexed properties that struts talks about on their home page and I just copied their example. I can get the bean:write tag to work and properly display the element with index 1. However when I try to ge

Re: setting a collection in my form bean using iterate or forEach

2004-08-23 Thread Lynn Stevens
Hi Rick and thanks for all the help! I found that both of the methods work below. I assume its better to use the one that you helped me with as we are supposed to favor JSTL tags over Struts tags from what I read. I looked up the struts-el stuff (thanks!) but I still have found no reference to

Re: setting a collection in my form bean using iterate or forEach

2004-08-23 Thread Lynn Stevens
s.length; i++) { log.debug("lot " + i + ":"+ mySlideLots[i]); } From: Rick Reumann <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: setting a coll

Re: setting a collection in my form bean using iterate or forEach

2004-08-22 Thread Lynn Stevens
hing out until the end if they like... Lynn From: Rick Reumann <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: setting a collection in my form bean using iterate or forEach Da

Re: setting a collection in my form bean using iterate or forEach

2004-08-22 Thread Lynn Stevens
ct: Re: setting a collection in my form bean usin iterate or forEach Date: Sun, 22 Aug 2004 21:49:16 -0400 Lynn Stevens wrote: If I put a String[] or ArrayList in my DynaActionForm, this does not seem to work. Does anyone know if this is possible? Its driving me mad! Sure it'll work. Be mor

setting a collection in my form bean usin iterate or forEach

2004-08-22 Thread Lynn Stevens
I was wondering if someone could help me out with this question: I know that I can use the logic:iterate tag to loop over an existing collection in my form bean. However, I want to do the opposite. I want to make n number of html:textfields and then when the user hits submit, I want to have the