[Seaside] SUForm>>inputs - Enumerator & Optional Arguments

Lukas Renggli renggli at gmail.com
Wed Sep 12 05:41:15 UTC 2007

> I was a little surprised to see that SUForm>>inputs doesn't return an
> enumerator, like SUElement>>childElements does. SUForm>>elements
> doesn't either. Do I need to specify the enumerable explicitly?
>         (SUForm new
>                 id: domId;
>                 enumerator) do: ...
> Is there a convention as to whether an enumerator is returned or not?

This is certainly a bug. I simply forgot to refactor its subclasses
after having introduced the enumerables in SUElement.

Fixed and tested in:

Name: Scriptaculous-lr.217
Author: lr
Time: 12 September 2007, 7:40:45 am
UUID: d316f3e9-ee58-4ffc-a07e-e0f9b41444c6
Ancestors: Scriptaculous-lr.216

- SUForm>>#inputs and SUForm>>#elements return an enumerator object
(thanks to Ken Treis)


Lukas Renggli

More information about the seaside mailing list