struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kalaiselvan" <kalaisel...@HotPOP.com>
Subject Re: Struts Nested Iteration
Date Tue, 17 Sep 2002 05:51:11 GMT
Hi Sri,

Thanx for your reply..

Mean time i tried various methods,
lastly i got an easy way to solve this problem
(ie)

        <logic:iterate id="table" type="com.mousetech.strutsdemo.Table"
              name="<%=Constants.TABLE%>" scope="request">
            <tr>
                <logic:iterate id="list" name="table" property="vector">
                <td>
                    <bean:write name="list"/>
                </td>
                </logic:iterate>
            </tr>
        </logic:iterate>

Now it works fine for me..
Thanx for all to help me to sortout my problem

Kalaiselvan.S
----- Original Message -----
From: "Sri Sankaran" <Sri.Sankaran@sas.com>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Monday, September 16, 2002 6:18 PM
Subject: RE: Struts Nested Iteration


The nested extension contributed by Arron Bates at
http://www.keyboardmonkey.com/next/index.jsp is what you need.

Sri

> -----Original Message-----
> From: Kalaiselvan [mailto:kalaiselvan@HotPOP.com]
> Sent: Monday, September 16, 2002 5:39 AM
> To: Struts Users Mailing List
> Subject: Struts Nested Iteration
>
>
> Hi all,
>
> I'm new for Struts. Now I'm using Struts 1.0.2b for my
> testing Where i'm using Struts fetch the data from Database.
> where i'm using two Vector.One Vector has many Vector inside.
>
> Now in my JSP I'm using like,
>
>         <logic:iterate id="table"
> type="com.mousetech.strutsdemo.Table"
>               name="<%=Constants.TABLE%>" scope="request">
>             <tr>
>                 <td>
>                     <bean:write name="table" property="vector"/>
>                 </td>
>             </tr>
>         </logic:iterate>
>
> It return's a Vector. I want to Iterate this vector again.
> But i dont have an idea how it is. If some one has plz help me..
>
> Thanx in Advance
>
> Kalaiselvan.S
>

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>




--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message