<table>
  <tr>
    <logic:iterate ...>
      <td>
        <bean:write name="aPayment" property="amount"/>
     </td>
    </logic:iterate>
  </tr>
</table>

or some variation of this, depending upon your data.

Mark

-----Original Message-----
From: Cathy Osekizoglu [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 3:20 PM
To: Struts Users Mailing List
Subject: RE: Get only first value using logic:iterate



 Thank you, Galbreath, for your help. Unfortunately, I can't use <br />
because I have many data on one row. Do you have any other solutions?
Thanks.
  "Galbreath, Mark" <[EMAIL PROTECTED]> wrote: try




-----Original Message-----
From: Cathy Osekizoglu [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 3:04 PM
To: Struts Users Mailing List
Subject: Get only first value using logic:iterate



Hi:

I am using the following to iterate over payments(Vector).
type="com.test.Payment">


In my action class, I have session.setAttribute("payments",payments);
When I run it, I can get only first item of payments. I am using Struts1.1.
What could be wrong? Please help me. Thanks.

Cathy





---------------------------------
Post your free ad now! Yahoo! Canada Personals

--
To unsubscribe, e-mail: 
For additional commands, e-mail: 



---------------------------------
Post your free ad now! Yahoo! Canada Personals

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

Reply via email to