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:

<<inline: 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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to