Hi,

I'm having some difficulty with the iteration tag in the logic tag lib.
It's very straight-forward when you are using your own concrete classes(w/
getters and setters for each property), but I can't seem to figure out a way
to get it working with utility classes.

What I'm trying to do is iterate over a Vector filled with Hashtable
objects.  It seem pretty simple, but I can't seem to get the nested
iteration working working with the hashtable.

        <bean:define id="foo" name="funds" type="java.util.Vector"
scope="request"/>
        <logic:iterate id="aFund" name="funds">
                // this is where I'm lost.....
        </logic:iterate> 

I'm not sure what's suppose to happen within the parent iteration tag.  In
the docs, they use the following example to iterate over a hashtable:

<logic:iterate id="element" name="myhashtable">
        Next element is <bean:write name="element" property="value"/>
</logic:iterate> 

Do I need to define a new hashtable bean for every iteration of the Vector?
If so, how do I set the bean to be the object in the current iteration of
the vector?

Does anyone have an example?

Thanks in advance.
Eric.


**********************************************************************
This message, including any attachments, contains confidential information intended 
for a specific individual and purpose, and is protected by law.  If you are not the 
intended recipient, please contact sender immediately by reply e-mail and destroy all 
copies.  You are hereby notified that any disclosure, copying, or distribution of this 
message, or the taking of any action based on it, is strictly prohibited.
TIAA-CREF
**********************************************************************

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

Reply via email to