instead of the scriptlet, I think you could use html-el and do the
following:
html-el:messages id=error property=orders[${ndx}].partNumber
The el notation forces the ndx to evaluate
From: Bill Siggelkow [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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
:48:58 -0400
Lynn Stevens wrote:
I think I see what you are saying, but in my case I am collecting
information from the user that I have never seen before. Don't know what
they will enter into the field. I mean, I could put default information
in there like Enter lot number here, but I have
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
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
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.
snip
Does anyone know if this is possible? Its driving me mad!
Sure it'll work. Be more specific of how you are setting stuff
...
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
Date: Sun, 22 Aug 2004 23:55:57 -0400
Lynn Stevens wrote:
No I am not getting any
7 matches
Mail list logo