[Seaside] SUForm>>inputs - Enumerator & Optional Arguments
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:
Time: 12 September 2007, 7:40:45 am
- SUForm>>#inputs and SUForm>>#elements return an enumerator object
(thanks to Ken Treis)
More information about the seaside