Also, this notation should work. I think.

<logic:iterate id="myObject" name="myObject.myArray">
<bean:write name="myObject" property="myProperty"/>
</logic:iterate>

Brandon Goodin


-----Original Message-----
From: Brandon Goodin [mailto:[EMAIL PROTECTED]
Sent: Monday, June 02, 2003 8:32 AM
To: Struts Users Mailing List
Subject: RE: VIEW best pratice



... "in a java.util.Vector"
for starters. why are you using Vector? use an ArrayList.

>which i want to format and display. For that i have an "allTasks" bean
>whose "vector" property (temporary name) contains an array of populated
>beans, that I'm trying to <logic:iterate> in the JSP, with no success...

I would suggest using the nested or jstl taglib.

If you do a search on the archives you will find plenty of info.

Brandon Goodin

-----Original Message-----
From: Jos� Moreira [mailto:[EMAIL PROTECTED]
Sent: Monday, June 02, 2003 8:21 AM
To: [EMAIL PROTECTED]
Subject: VIEW best pratice


        Hello what's the best practice of transporting data from the MODEL to
the VIEW (in my case JSP) ?

        In my case, i to retrieve a list of beans (Task) in a java.util.Vector
which i want to format and display. For that i have an "allTasks" bean
whose "vector" property (temporary name) contains an array of populated
beans, that I'm trying to <logic:iterate> in the JSP, with no success...

Thanks...


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



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



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

Reply via email to