• 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:14:01 -0700

It would be worth looking at the WOOGNL parser to see if this could be added somehow.  It is debugging information that I have often wished for.

Chuck


On Oct 8, 2010, at 11:09 AM, Kieran Kelleher wrote:

> Thanks Chuck - I had even checked your "Secret Life of Components" chapter in PWO for clues earlier.
>
> Regards, Kieran
>
> On Oct 8, 2010, at 2:01 PM, Chuck Hill wrote:
>
>> 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
>>
>>
>>
>>
>>
>>
>>
>

--
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

References: 
 >Current wod definition name? (From: Kieran Kelleher <email@hidden>)
 >Re: Current wod definition name? (From: Chuck Hill <email@hidden>)
 >Re: Current wod definition name? (From: Kieran Kelleher <email@hidden>)

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