Re: <td background=resource-reference ...>
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.