I have not started on it yet.  Dave, how would you do it with OGNL? can we
write our own?

I have something like this in mind

<s:iteratorNext value = "myList">
    <s:property value="someMethodFirstItem"/>

    <s:property value="someMethodSecondItem" nextNum="1"/>

    <s:property value="someMethodThirdItem" nextNum="2"/>

</s:iteratorNext>

...how would you do it?

On Sat, May 30, 2009 at 8:34 PM, Dave Newton <newton.d...@yahoo.com> wrote:

> Bhaarat Sharma wrote:
>
>> This is not a 'break' tag...this would work same as in iterator tag BUT
>> would also have a functionality where the user can go to the next element
>> within the iteration.
>>
>
> IMO depending on ordering within a collection is an accident waiting to
> happen, but the functionality itself shouldn't be much more difficult.
>
> FWIW, this functionality could most likely be achieved via OGNL and a
> couple of collection operations or, less cleanly, via subset/decider.
>
> A break tag would be nice, though.
>
>
> Dave
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to