• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Component with bindings in dictionary.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Component with bindings in dictionary.
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: JDBC URL on a per session basis
  • Next by Date: where to put the css and JS
  • Previous by thread: Re: Current status of WO Adaptors
  • Next by thread: Re: Component with bindings in dictionary.
  • Index(es):
    • Date
    • Thread