struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Yang <kenshin...@gmail.com>
Subject Re: Nested Iterator tag...
Date Thu, 24 Nov 2011 00:58:54 GMT
try:
<s:iterator id="outerList" value="outerList">
      <s:iterator id="innerList" value="top">
           <s:property />
       </s:iterator>
</s:iterator>

or

<s:iterator id="outerList" value="outerList" var="il">
      <s:iterator id="innerList" value="#il">
           <s:property />
       </s:iterator>
</s:iterator>

or since you used "id", by the way i believe "id" is depricated
<s:iterator id="outerList" value="outerList">
      <s:iterator id="innerList" value="#outerList">
           <s:property />
       </s:iterator>
</s:iterator>

On Thu, Nov 24, 2011 at 5:44 AM, SATHYA <itsprakash84@gmail.com> wrote:

> Hi,
>
> I am facing a problem in Iterating the below collection using struts
> taglib.
>
> List<List&lt;String>> outerList;
>
> <s:iterator id="outerList" value="outerList">
>       <s:iterator id="innerList" value="??????">
>            <s:property />
>        </s:iterator>
> </s:iterator>
>
>
> please let me know what i need to mention in place of ?????
>
> Many thanks in advance.
>
> --
> View this message in context:
> http://struts.1045723.n5.nabble.com/Nested-Iterator-tag-tp5018197p5018197.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

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