I've been trying this segment of code, but it seems to be failing and
no errors are being reported in the log file for me to use to help
debug, any ideas?

commcenter is the attribute defined in struts-config.xml in the action
listing. callto is the name of the Vector / getter / setter methods.

I'm assuming 'id' is the reassignment of the variable that the iterate
tags are moving through.
If I were using a String[] array. callto[0], callto[1], etc.. no i
need to explicitly define an index variable? Or is it ok to leave it
out and assuming the framework does the iteration for me?

<logic:iterate id="cc" name="commcenter" property="callto">
<bean:write name="cc"/>
</logic:iterate>

Andrew

Thanks again in advance!

On 4/25/05, Fogleson, Allen <[EMAIL PROTECTED]> wrote:
> You could use logic:iterate to iterate through the collection.
> 
> Al
> 
>

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

Reply via email to