Component with bindings in dictionary.
Component with bindings in dictionary.
- Subject: Component with bindings in dictionary.
- From: lgazda <email@hidden>
- Date: Mon, 16 Feb 2009 12:09:14 +0100
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden