Re: [sourcefile]

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38385
interpreted = N
texte = This is a new feature for the ErrorTemplate only, it is not a new global WebDNA tag. It is meant to assist debugging efforts in the following way. When placed into the ErrorTemplate file, [Sourcefile] will resolve to the filename of the template that contained the WebDNA code that generated the error. This is especially helpful when you are tracking errors with templates that use several [include]s. I do not think that it is necessary to make this a global WebDNA tag in that you can accomplish the same thing by simply 'hard coding' the filename into you code (unless you plan on changing the filename frequently). > -----Original Message----- > From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On > Behalf Of dale > Sent: Wednesday, September 05, 2001 4:32 AM > To: WebCatalog Talk > Subject: [sourcefile] > > > Hello, > > I have installed on our Solaris box the latest beta (402rc2) > yet when I > include the [sourcefile] tag in a page, it displays on the > screen as just > that - [sourcefile]. > > Does this tag only work when there is an error? It is not yet > listed in the > docs (either the docs included with the beta or online at > betadoc.smithmicro.com). > > What am I missing? > > Thanks > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [sourcefile] (Scott Anderson 2001)
  2. [sourcefile] (dale 2001)
This is a new feature for the ErrorTemplate only, it is not a new global WebDNA tag. It is meant to assist debugging efforts in the following way. When placed into the ErrorTemplate file, [Sourcefile] will resolve to the filename of the template that contained the WebDNA code that generated the error. This is especially helpful when you are tracking errors with templates that use several [include]s. I do not think that it is necessary to make this a global WebDNA tag in that you can accomplish the same thing by simply 'hard coding' the filename into you code (unless you plan on changing the filename frequently). > -----Original Message----- > From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On > Behalf Of dale > Sent: Wednesday, September 05, 2001 4:32 AM > To: WebCatalog Talk > Subject: [sourcefile] > > > Hello, > > I have installed on our Solaris box the latest beta (402rc2) > yet when I > include the [sourcefile] tag in a page, it displays on the > screen as just > that - [sourcefile]. > > Does this tag only work when there is an error? It is not yet > listed in the > docs (either the docs included with the beta or online at > betadoc.smithmicro.com). > > What am I missing? > > Thanks > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Scott Anderson

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Problem (1997) More news on 5.0 (2003) Public beta 5 of WebCatalog 4.0 is now available (2000) SpiderBotLock! (2003) login via cookies (2006) TcpConnect get files on ver. 5.x (2004) webcatalog developers in W. Pa. (1998) BGcolor (1997) [WriteFile] problems (1997) can WC render sites out? (1997) Requiring that certain fields be completed (1997) RE: [WebDNA] REPLACE INCLUDE FILE (2019) Follow-Up to: Removing [showif] makes a big difference in speed (1997) Not really WebCat (1997) WebCat2b15MacPlugin - showing [math] (1997) Here's how to kill a Butler Database. (1997) Many $WebCat.exe processes (1998) FM PRO Compatibility Issue - Single Database w/oConversions (1997) Searchable archives gone again??? (2000) When to use [convertchars] ?!?!? (2000)