Re: Don'y know if this is a sily question...
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 50738
interpreted = N
texte = Alan White wrote:> And there are no problems executing code in an include from inside another> include?Not as such, but you should be aware that the [include] file constitutes a context (or closure). As such, all WebDNA context's must be wholely contained within the include file. In other words, if you have the [if] start in the [include] file then the [/if] must be contained in the [include] file as well.It is really very easy to extract code out of a working page and encapsulate it within an [include] file; we [include] at least 3-4 layers deep all the time.This limitation does not extend to HTML context's however; our main polymorphic site includes all of the gross page layout HTML (like the overall enclosing
code) in the header.inc, but the
is located in the footer.inc instead.HTHJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Alan White wrote:> And there are no problems executing code in an include from inside another> include?Not as such, but you should be aware that the [include] file constitutes a context (or closure). As such, all WebDNA context's must be wholely contained within the include file. In other words, if you have the [if] start in the [include] file then the [/if] must be contained in the [include] file as well.It is really very easy to extract code out of a working page and encapsulate it within an [include] file; we [include] at least 3-4 layers deep all the time.This limitation does not extend to HTML context's however; our main polymorphic site includes all of the gross page layout HTML (like the overall enclosing code) in the header.inc, but the
is located in the footer.inc instead.HTHJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------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://webdna.smithmicro.com/
John Peacock
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:
So .. How fast (2003)
More than one db with the same namn (was: WC2f3) (1997)
[WebDNA] Databases not staying open (2010)
A little syntax help (1997)
OFF TOPIC: help wanted (1997)
WebCatalog can't find database (1997)
RE: OK, here goes... (1997)
Database changes (1998)
Missing something simple?? (1998)
Nav. 4 probs with cart - Serious problem (1997)
form validator issue (2005)
Bug or syntax error on my part? (1997)
Newbie Tax Question (1997)
Email notification to one of multiple vendors ? (1997)
Newbie: ASIP vs WebTen? (2000)
The IBC root beer has arrived! (1997)
unable to run webcatalog locally (1998)
File commands and Wild Cards ?? (1998)
Searchable list archive (1997)
WebCat2b15MacPlugin - showing [math] (1997)