• 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: Class.this.. ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Class.this.. ?


  • Subject: Re: Class.this.. ?
  • From: Chuck Hill <email@hidden>
  • Date: Sat, 20 Sep 2008 13:53:19 -0700

It is just wrong.  Take off MyListPage.this.

Chuck

On Sep 20, 2008, at 1:36 PM, Ash Mishra wrote:

Hi all,

Was wondering if someone could help me understand what this line means:
MyListPage.this.myDisplayGroup.insertObjectAtIndex(eo,0);


This is taken from the example source code here in the section Setting up a Next-Page Delegate:
http://developer.apple.com/documentation/WebObjects/Developing_With_D2W/Customizing/chapter_4_section_3.html



I understand what it's doing (i.e. accessing the woDisplayGroup and setting a value in it) but I've not seen the MyListPage.this. reference before, where the class name is followed by 'this' and than a variable of the class.


Is this some special Java reference?

thanks
Ash

_______________________________________________
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
References: 
 >Class.this.. ? (From: Ash Mishra <email@hidden>)

  • Prev by Date: Class.this.. ?
  • Next by Date: Re: Class.this.. ?
  • Previous by thread: Class.this.. ?
  • Next by thread: Re: Class.this.. ?
  • Index(es):
    • Date
    • Thread