Hi Friends...

I will reply my question, because I get the correct way to solve it:

Is very simple:

<logic:iterate id="customer" name="customers">
    <logic:iterate id="sale" name="customer" property="sales">
    do something with beans
</logic:iterate>
</logic:iterate>

Anyway Thanks and any other idea will be appreciated.


regards

Edgar Silva

----- Original Message -----
From: "Edgar Silva" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, February 05, 2004 11:08 AM
Subject: Printing nested properties


folder structureHi Folks...

I have a situation where I have this model:

Customer

- name : String
- phone : String
- addr1 : String:
- addr2 : String
- sales: Vector (of following classe)


Sales
- date: Date
- paymentMethod: String
- value: Double


How can I present the properties from sales objects from Vector inside the
property sales from bean Customer?

I would like to present: customer.getSales().getPaymentMethod() , but I
wanna show with bean:write tag...

some idea?

since now...

Thanks

Edgar


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

Reply via email to