Steve, "this" refers to the object of the calling method. If you want to make a method call from within a method of the same class, you can refer to the current instantiated object with "this".
Mike "Fogelson, Steve" wrote: > > Can you request a another method from within a method. Both from the same > class file. How about from different class files? > > It appears you can from looking at the common.tcf from the StoreFront. But I > am confused by the syntax. > > In StoreFront > tafs call methods via: > <@CALLMETHOD application$Common "PageHeader(Main > Lobby,<P> </P><P> </P>)" ENCODING=NONE> > > methods call methods via: > <@CALLMETHOD this "ShowDepartmentTree(<@COLUMN Department.ID>)" > ENCODING=NONE> > > I created a taf and called a method via (from the documentation): > <@CALLMETHOD OBJECT=catalog METHOD="NavigateProducts(<@ARG Cat>)" > ENCODING=NONE> > > I assume the StoreFront's syntax of calling a method from a method is a > "shortened" way of accomplishing the same thing. > > The StoreFront method calling a method confuses me. > What is "this" and how do you define it? > > Thanks > > Steve Fogelson > Internet Commerce Solutions > ________________________________________________________________________ > TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] > with unsubscribe witango-talk in the message body -- Mike Tyranski Lynch2 p: 847.608.6900 f: 847.608.9501 http://www.lynch2.com ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
