struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: Indexed Tags?
Date Mon, 01 Jul 2013 13:53:33 GMT
I didn't say there *were* any, I said that's the solution to an
incorrectly-perceived problem with OGNL. S2 doesn't currently have strong
support for automatic list inputs or validation.

Dave
 On Jul 1, 2013 8:18 AM, "Eric Lentz" <ericlentz@outfastsource.com> wrote:

> I recently posted a question here regarding using tags that refer to a List
> or an array structure in the action class, such as is depicted below.
>
> I was told that I should be using "indexed tags." Googling for that
> specific phrase is not providing me with what that is and no joy in finding
> it in the Struts book I own either.
>
> Can someone please explain to me what an "indexed tag" is?
>
> --- Example of original question context ---
> <s:iterator value="foos" status="stat" >
>     <s:textfield name="foos[%{#stat.index}].aString"
> value="%{foos[#stat.index].aString}" />
> </s:iterator>
>
> - Eric
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message