Ah, older version of S2--yeah.

Dave

On Fri, Apr 29, 2011 at 1:57 PM, Chris Pratt <thechrispr...@gmail.com> wrote:
> Oh, duh, I'm not sure why I didn't see it before.  You can either just use
> %{id} and then you don't need the id="bean" on the s:iterate tag.  Or, you
> can use %{#bean.id}.
>  (*Chris*)
> On Apr 29, 2011 10:18 AM, "Joe" <fullmit...@lycos.com> wrote:
>> Chris Pratt wrote:
>>
>> Shouldn't that be:
>> <s:textfield theme="simple" name="beanList[%{bean.id}].name"/>
>>
>>
>> I changed my JSP as indicated and still didn't get values in the text
> boxes. The source of the page looks like this:
>>
>> <input type="text" name="beanList[].name" value=""
> id="prepTest_beanList___name"/><br>
>>
>> which to me indicates that it is having a problem with the "bean.id" part
> of the equation.
>> Wouldn't square brackets indicate an index into the list, rather than
> obtaining an element by the id property?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to