Re: Current wod definition name?
Re: Current wod definition name?
- Subject: Re: Current wod definition name?
- From: Chuck Hill <email@hidden>
- Date: Fri, 8 Oct 2010 11:01:16 -0700
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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
--
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden