[Seaside] Dynamic bindings...howto?

C. David Shaffer cdshaffer at acm.org
Sun Jun 13 23:01:03 CEST 2004


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

David




More information about the Seaside mailing list