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 get a textfield to work, nothing happens. I print out the contents of the bean and the array never changes. I would expect that if I typed into the textfield and hit submit that bean's value at index one would now be set to what I typed in....

Futhermore, if I use el notation and use value="${stringIndexed[1]}" the field is blank.


tr><td><bean:write name="bean" property="stringIndexed[1]"/></td></tr>
<tr><td><html-el:text name="bean" property="stringIndexed[1]" value=""/></td></tr>
<tr><td><bean:write name="bean" property="stringIndexed[1]"/></td></tr>


Any suggestions would be very much appreciated!

Thanks,

Lynn



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



Reply via email to