Re: WOSwitchComponent problem...
Re: WOSwitchComponent problem...
- Subject: Re: WOSwitchComponent problem...
- From: Andrew Lindesay <email@hidden>
- Date: Fri, 16 Jul 2004 17:49:29 +1200
Since I must use the value-bindning for WOStrings I wonder if there is
any way out of this. Can I dynamically set the attributes for the
WOSwitchComponent? Or is there a better way to being able to switch
WOElements dynamically?
Hello;
I tend to encapsulate the information into another object and pass that
into a binding on the switch. I would then create my own custom
components that would contain the "WOImage" etc... and bind information
from my custom component set to the WebObjects-supplied elements such
as WOImage.
This way, I know that all my "switch-replacer components" are able to
accept the binding and there are no issues like you have stated.
Hope this helps.
cheers.
___
Andrew Lindesay
http://www.lindesay.co.nz/
021 47 0929
_______________________________________________
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.