Hi,
I am trying to make something like this:
I want to be able to switch dynamically components (base on some
variables) in few places (on single site) and i don't want to use
conditionals.
My idea:
I want to have component which extends for example WOString and take one
binding which is dictionary with specific for sub-class bindings.
For example for WOString it will be dictionary with key = value and
valueForKey = "SomeText" but I don't know how to replace associations in
super constructor.
I want use WOSwitchComponent and i need components with the same api -
MyWOString and MyWOText will have same binding (dictionary) and due to
this I will be able to inject different kinds of components.
Any advice would be great.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]