I have a collection (of ArrayLists) within a collection of (ArrayLists).
That is:

public class HistoryItemImpl implements HistoryItem {

    private String objectName;
    private List deltaList;     ...
}

public class DeltaItemImpl implements DeltaItem {

    private String columnName;
    private Object oldValue;
    private Object newValue; ...
}

In my action class I call a method that returns a collection of
historyItems.  I set that in request scope:

     request.setAttribute("historyItems", historyList);

And then iterate though it on me page:

  <logic:iterate id="historyItem" name="historyItems"
type="com.gosps.cbd.util.HistoryItem"> 

For each historyItem iteration, I want to iterate though the deltaItems:

        <logic:iterate id="deltaItem" name="deltaItems"
type="com.gosps.cbd.util.DeltaItem"> 

How can I do this?  How do I refer to the deltaItem collection within each
historyItem collection?

Thanks.


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

Reply via email to