[Seaside] Dynamic bindings...howto?

Avi Bryant avi at beta4.com
Sun Jun 13 23:18:07 CEST 2004


On Jun 13, 2004, at 2:01 PM, C. David Shaffer wrote:

> C. David Shaffer wrote:
>
>> No, I clicked around and made a real mess of things before giving up. 
>>  I don't understand the concept (maybe you could give me a one or two 
>> sentence leg up here).  I'd be happy to write up whatever I figure 
>> out.
>>
> In WASystemConfiguration you have the following code:
>
> configurations
>    ^ configurations copy
>        addAll: (WASystemConfiguration allSubclasses
>                collect: [:ea | ea localConfiguration])
>
> addAll: returns the argument, not the newer collection.  The effect is 
> that I don't see my "user configurations" in my browser.  Is this a 
> bug?  Should the method read:
>
> configurations
>    ^ configurations copy
>        addAll: (WASystemConfiguration allSubclasses
>                collect: [:ea | ea localConfiguration]); yourself


You mean WASystemConfigurationPool.  Yes, that's a bug.  Thanks.

I was just sitting down to write some quick notes on the configuration 
stuff, by the way.  They're forthcoming.

Avi



More information about the Seaside mailing list