--- Kevin Wade <[EMAIL PROTECTED]> wrote:
> <s:generator val="%{'wizards,dwarves,elves'}"
>              separator=","  
>              id="myAttr">
>   <s:iterator>
>     <s:set name="groupname"
value="#attr.myAttr.next"/>
>     < want to test groupname here, etc... >
>    </s:iterator>
> </s:generator>

I'm not sure why you're using <s:generator.../> at all
since you could <s:iterator.../> over an immediate
list.

<s:property/> will return the current iteration
object. You should be able to use <s:iterator id="..."
.../> to create a named object for the current
iteration for use in comparisons, just like a
non-generated iterator, but that's just theory at this
point.

d.


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

Reply via email to