Re: Access bindings at runtime
Re: Access bindings at runtime
- Subject: Re: Access bindings at runtime
- From: "Jonathan 'Wolf' Rentzsch" <email@hidden>
- Date: Mon, 2 Feb 2004 11:39:22 -0600
David Griffith, email@hidden, wrote:
>I need to access the name of the element, but from other posts I have seen
>apparently that is not possible. So I was wondering if I could bind an
>internal name of my own to a custom binding for each element so that I could
>access it at runtime. I need to lookup some data in the db based on this
>name.
I don't fully understand what you're trying to accomplish, but I want to
ensure you know about this method:
<http://developer.apple.com/documentation/WebObjects/Reference/API/com/webo
bjects/appserver/WOComponent.html#bindingKeys()>
I think this will enable you to discover all of a component's bindings at
runtime.
.......................................................
Jonathan 'Wolf' Rentzsch http://rentzsch.com
Red Shed Software http://redshed.net (847) 584-7465
PGP: b2af 1a09 f881 ebde c9d6 c4d2 c04f a3c0 3ec5 d5f2
"better" necessarily means "different"
_______________________________________________
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.