You don't have to do anything in the jsp page, but you might need to use the
type parameter in the tag to tell the taglib what type each
element in payments is.
Example :
Hope this helps,
John
>From: "Doug Dates" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Subject: logic:iterate related issue
>Date: Tue, 17 Sep 2002 19:54:19 -0400
>
>Hello:
>
>I am developing payment history page(paymentHistory.jsp), The related
>formBean is called HistoryForm.java, action class is HistoryAction.java
>
>In HistoryAction.java, I got all payments(type of Vector) for a user from
>Database, I use historyForm.setPayments(PAYMENTS, payments) to set payments
>into historyForm(it is a instance of HistoryForm.java).
>
>The following is part of my paymentHistory.jsp,
>
>
>..
>
>
>
>
>My question is: do I need to get payments( in the paymentHistory.jsp)
>first before using it in the line "name="historyform" property="payments">. If I do not need to do anything
>before using "payments" in iterate tag, that means the form knows what
>"payments" is by itself. Is my understanding correct?
>
>Thank you for your help.
>
>Doug
_
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>