First add the tcf file to your Objects in the Workspace panel (select
the "Objects" tab and then right click on the "Witango Class Files"
folder and choose 'Add').
  
Then drag the object into your TAF to create an object instance.  Open
the object in your Workspace panel and drag in methods from the Class
File.

There are also metatags to do this:  <@CREATEOBJECT> and <@CALLMETHOD>.

Make sure the path to your classfile is listed correctly (from the
webroot) in your configuration file (TCFsearchpath) or put the classfile
in the same directory as your application.  

I've attached a taf showing an object instance with a couple of method
calls.  I've not used the metatags for this, so I can't help much there.

Good luck!

jamileh
  

> -----Original Message-----
> From: Murugapiran [mailto:[EMAIL PROTECTED] 
> Sent: Monday, June 16, 2003 7:52 AM
> To: [EMAIL PROTECTED]
> Subject: Witango-Talk: Calling Tango class inside taf
> 
> 
> Hi,
> 
>       I find it difficult to call a class file inside taf 
> file. Can somebody send a code snippet to call tcf file 
> inside taf file.
> 
> Thanks,
> Murugapiran Natan.
> 
> 
> ______________________________________________________________
> __________
> TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
> 

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Attachment: callTCF.taf
Description: callTCF.taf

Reply via email to