• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Current wod definition name?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Current wod definition name?
      • From: Kieran Kelleher <email@hidden>
References: 
 >Current wod definition name? (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Passing D2W Listing Component Datasource to another component
  • Next by Date: Re: Current wod definition name?
  • Previous by thread: Current wod definition name?
  • Next by thread: Re: Current wod definition name?
  • Index(es):
    • Date
    • Thread