I think that is only known at parsing time, not at runtime.
On Oct 8, 2010, at 10:55 AM, Kieran Kelleher wrote:
> Adding a debugging feature and I want to grab/log the name of the current wod
> label in the current stateless subcomponent context ....... as highlighted in
> this pic:
>
> <WOLips - MediaTemplateDetail WOComponent - Eclipse SDK -
> _Users_kieran_Developer_SmartleadsUSA_slusa_36_workspace.jpg>
>
>
> Cannot see any clues in here either when overriding _setParent ...... anyone
> know where this tidbit of info is stashed?:
>
> @Override
> public void _setParent(WOComponent parent, NSMutableDictionary
> bindings, WOElement template) {
> if (log.isDebugEnabled()) {
> log.debug("\n parent: " + parent.name()
> + "\n bindings: " + bindings
> + "\n template: " + template
> + "\n context: " +
> ERXWOContext.currentContext());
> }
>
> super._setParent(parent, bindings, template);
> } _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>
> This email sent to [email protected]
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their overall
knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]