Re: Don't know if this is a silly question...

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50791
interpreted = N
texte = It's [raw] when saved as the text variable but then executed when called in a page as [mylink].GK > I know the title of this thread is to do with silly questions and I hope > that this doesn't fall into that particular category. > > Can I ask why in this particular case you have used the [raw] tag? I was > under the impression that using it causes the contents to be displayed > exactly how they are and not parsed? > > Thanks > Alan > > on 29/5/03 5:18 pm, Kenneth Grome at kengrome@webdna.net wrote: > > > I've been doing something similar for years, without v5's function context: > > > > [text]myLink=[raw] > db=....&value=[thevalue]&returnfield=ID]>[lookup > > db=....&value=[thevalue]&returnfield=title]
[/raw][/text] > > > > [search ...] > > [founditems] > > [myLink] > > [/founditems] > > [/search] > > > > This has always been an easy way to create a variable once at the top > > of the page, and then use it any number of times further down on the > > same page -- while preventing the webdna code inside the text > > variable from being interpreted until the variable tag is used > > further down on the page -- such as inside the founditems context in > > this example. ------------------------------------------------------------- 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:

    
  1. Re: Don't know if this is a silly question... (Gary Krockover 2003)
  2. Re: Don't know if this is a silly question... (Alan White 2003)
It's [raw] when saved as the text variable but then executed when called in a page as [mylink].GK > I know the title of this thread is to do with silly questions and I hope > that this doesn't fall into that particular category. > > Can I ask why in this particular case you have used the [raw] tag? I was > under the impression that using it causes the contents to be displayed > exactly how they are and not parsed? > > Thanks > Alan > > on 29/5/03 5:18 pm, Kenneth Grome at kengrome@webdna.net wrote: > > > I've been doing something similar for years, without v5's function context: > > > > [text]myLink=[raw] > db=....&value=[thevalue]&returnfield=ID]>[lookup > > db=....&value=[thevalue]&returnfield=title]
[/raw][/text] > > > > [search ...] > > [founditems] > > [myLink] > > [/founditems] > > [/search] > > > > This has always been an easy way to create a variable once at the top > > of the page, and then use it any number of times further down on the > > same page -- while preventing the webdna code inside the text > > variable from being interpreted until the variable tag is used > > further down on the page -- such as inside the founditems context in > > this example. ------------------------------------------------------------- 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/ Gary Krockover

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:

[GROUPS] followup (1997) One more try (1997) db not being written to disk (2003) Running _every_ page through WebCat ? (1997) 2.0 Info (1997) Webstar 1.3.1 PPC (1997) [protect admin] (1997) [WebDNA] SEARCH question - SHOWIF - HIDEIF question (2011) Draft Manual, Tutorial, and more (1997) Merging databases (1997) Bug or syntax error on my part? (1997) Shareware Listserver (1998) convert date and time (2005) addlineitems within formvariable loop (1998) Error Msg (1998) Adding more than one item and QTY to cart (2000) Live Webcasts (1999) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) Format question WC Mac f3 (1997) [cart] (1998)