Adam Czysciak wrote:

> I'm developing WebObjects for 2 years now, and there the functions operate
> on cursors (behaves like 'defer=false' by default, like it was in tap3).
So
> I'm used to this approach. But, you're right - the parameter looks nicer
> (plus we may add any other ognl expressions as more function parameters!
> it's really cute).
>
> Also, I think that passing parameters may be faster and more efficient, as
> theoretically there is no need to iterate the Foreach to get the cursor (I
> know it iterates it anyway, but it's just theory)


Also, if your listener changes the contents of the list (like deleting the
element that was clicked), then you'll need to use the deferred listener
with a parameter so that the iterator doesn't break in the middle of the
loop after the underlying list has been modified.

-Nathan


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

Reply via email to