I have a suggestion for Wonder. Could we take all the binding methods
that are in ERXNonSynchronizingComponent and move them to an
ERXComponent that is synchronizing?
Here's my reason: I have a GenericComponent that pretty much
everything component in my app inherits from. It gives me a whole
bunch of extra methods that I need in a lot of other components. And
this class also is the superclass for almost all my stateless /
non-synch components too.
I tried to just use ERXNonSynchronizingComponent as the superclass for
my component, and overrode synchronizesVariablesWithBindings to return
true. However, this had an interesting side effect that took me hours
to track down. Apparently, WOComponent's
synchronizesVariablesWithBindings() method just returns the negation
of isStateless. I wish I'd caught that little bit of info in the
docs. So all of a sudden some of my stateless, non-synching that I
had not specifically said were to be non-synching started synching.
Anyways, I was kinda thinking if there was an ERXComponent in Wonder
(I added one in the local version of Wonder we use) that would be a
good place to put other cool WOComponent extensions in the future too.
Get latest updates about Open Source Projects, Conferences and News.