Pawel,
Thank you very much for responding.  
I tried the following and it worked.
Thanks again,
Joe


<logic:present name="summaryArchiveForm"
property="allAdditionalAuthors">
<logic:iterate id="allAdditionalAuthors" name="summaryArchiveForm"
property="allAdditionalAuthors">
<tr bgcolor="#E6E6E6">
<td align="center" id="cell">
<bean:write name="allAdditionalAuthors" roperty="addAuthorFirstName"/> 
</td>
<td align="center" id="cell">
<bean:write name="allAdditionalAuthors"
property="addAuthorMiddleInitial"/> 
</td>
<td align="center" id="cell">
<bean:write name="allAdditionalAuthors" property="addAuthorLastName"/> 
</td>
<td align="center" id="cell"></td>
</tr>
</logic:iterate>
<logic:present>

-----Original Message-----
From: Pawel Wielgus [mailto:poulw...@gmail.com] 
Sent: Wednesday, March 11, 2009 6:46 AM
To: Struts Users Mailing List
Subject: Re: logic:iterate issue

Hi Joe,
You can try to output authorId, without property set on, maybe these
objects are empty inside.
Also, did You imported logic tags into jsp?

Best greetings,
Pawel Wielgus.

2009/3/10, Russo, Joe <rus...@cadmus.com>:
> The following bean:write code outputs:
> [com.cadmus.rpm.domain.custom.authorsc...@d08faa]
> <bean:write name="summaryArchiveForm"
property="allAdditionalAuthors"/>
> I am using a (allAdditionalAuthors) ArrayList to store AuthorsCDTO.
> Should I be using another collection type?
> Not sure why this is not working and would really appreciate any help.
>
>
> -----Original Message-----
> From: Russo, Joe [mailto:rus...@cadmus.com]
> Sent: Tuesday, March 10, 2009 2:28 PM
> To: Struts Users Mailing List
> Subject: logic:iterate issue
>
>
> Sorry forgot to change subject.
>
> -----Original Message-----
> From: Russo, Joe [mailto:rus...@cadmus.com]
> Sent: Tuesday, March 10, 2009 2:25 PM
> To: Struts Users Mailing List
> Subject: RE: Convention Plugin and Action Chaining
>
> I defined the below code and would like to use the iterate
functionality
> witin the jsp.  This code does not cause any error, but does not
display
> any data.  Any ideas why?
>
> package com.cadmus.rpm.domain.custom;
>
> import java.io.Serializable;
> import java.util.Date;
> import java.util.ArrayList;
>
>
> public class AuthorsCDTO implements Serializable {
> private String addAuthorFirstName;
> private String addAuthorLastName;
> private String addAuthorMiddleInitial;
> public String getAddAuthorFirstName() {
>       return addAuthorFirstName;
> }
> public void setAddAuthorFirstName(String addAuthorFirstName) {
>       this.addAuthorFirstName = addAuthorFirstName;
> }
> public String getAddAuthorLastName() {
>       return addAuthorLastName;
> }
> public void setAddAuthorLastName(String addAuthorLastName) {
>       this.addAuthorLastName = addAuthorLastName;
> }
> public String getAddAuthorMiddleInitial() {
>       return addAuthorMiddleInitial;
> }
> public void setAddAuthorMiddleInitial(String addAuthorMiddleInitial) {
>       this.addAuthorMiddleInitial = addAuthorMiddleInitial;
> }
>
>
> }
>
> private ArrayList allAdditionalAuthors;
> public ArrayList getAllAdditionalAuthors() {
>       return allAdditionalAuthors;
> }
> public void setAllAdditionalAuthors(ArrayList allAdditionalAuthors) {
>       this.allAdditionalAuthors = allAdditionalAuthors;
> }
>
> <logic:present name="summaryArchiveForm"
property="allAdditionalAuthors"
> scope="session">
> <logic:iterate id="authorId" name="summaryArchiveForm"
>       property="allAdditionalAuthors"
>       type="com.cadmus.rpm.domain.custom.AuthorsCDTO" scope="session">
> <tr bgcolor="#E6E6E6">
>       <td align="center" id="cell">
>               <bean:write name="authorId"
> property="addAuthorFirstName"/>
>       </td>
>       <td align="center" id="cell"></td>
>               <bean:write name="authorId"
> property="addAuthorMiddleInitial"/>
>       <td align="center" id="cell"></td>
>               <bean:write name="authorId"
> property="addAuthorLastName"/>
>       <td align="center" id="cell"></td>
> </tr>
> </logic:iterate>
> </logic:present>
>
> ****
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
> ****
>
> ****
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
> ****
>
> ****
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


****

****

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to