• 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
Re: <td background=resource-reference ...>
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: <td background=resource-reference ...>


  • Subject: Re: <td background=resource-reference ...>
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 21 Oct 2003 20:55:49 -0700

At 11:28 PM 21/10/2003 -0400, Gavin Eadie wrote:
>This is, alas, when I really want a binding that looks like:
>
>       TD: WOGenericContainer { elementName = "TD"; background =
>image("A.gif"); }
>
>             so the getImage method would be given the String and I
>could delay binding on the image name.
>
You should be able to wire in some KVC magic into your page/component so
that image.A.gif will work.  The valueForKeyPath method on the page /
component will have to know to look for paths starting with image and
handle the specially (pass the rest of the path to getImage and return the
result).


HTH
Chuck


--

Chuck Hill                                 email@hidden
Global Village Consulting Inc.             http://www.global-village.net
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: <td background=resource-reference ...> (From: Gavin Eadie <email@hidden>)

  • Prev by Date: Re: <td background=resource-reference ...>
  • Next by Date: Spellchecking queries to a database
  • Previous by thread: Re: <td background=resource-reference ...>
  • Next by thread: Re: <td background=resource-reference ...>
  • Index(es):
    • Date
    • Thread