Re: [WebDNA] MIDDLE problems

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 109270
interpreted = N
texte = >>=20 >> I don't know why ..... but this works: >>=20 >> [Middle StartAfter=3D[URL]+61[/URL]]+61 (02) 8971 >> 4431[/Middle] > This is the way it should work. In general you need to=20 > [url] values inside tags, not inside contexts. right.=20 ...because inside the context is the data which we do not want to change = (and if we do change it there, e.g. by [url]'ing it, then we have not = added any magic or useful effect, but simply changed the data). BUT = *inside the tag* we have to escape content coming from variables, in = case of special characters, in order to prevent the tag from possibly = breaking... and in tag parameters Webdna DOES do auto-magic to [unUrl], = under the hood, so that our/any [url]'ing will work to escape the data = AND also not corrupt our data. I don't know how thoroughly consistent is Webdna's auto-magicical = [unUrl]'ing around tag parameters.. but it is consistent enough that I = always try the solution you discovered Stuart, whenever I get stuck with = something breaking. -Govinda= Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] MIDDLE problems (Govinda 2012)
  2. Re: [WebDNA] MIDDLE problems (WebDNA Solutions 2012)
  3. Re: [WebDNA] MIDDLE problems (Stuart Tremain 2012)
  4. [WebDNA] MIDDLE problems (Stuart Tremain 2012)
>>=20 >> I don't know why ..... but this works: >>=20 >> [Middle StartAfter=3D[url]+61[/URL]]+61 (02) 8971 >> 4431[/Middle] > This is the way it should work. In general you need to=20 > [url] values inside tags, not inside contexts. right.=20 ...because inside the context is the data which we do not want to change = (and if we do change it there, e.g. by [url]'ing it, then we have not = added any magic or useful effect, but simply changed the data). BUT = *inside the tag* we have to escape content coming from variables, in = case of special characters, in order to prevent the tag from possibly = breaking... and in tag parameters Webdna DOES do auto-magic to [unurl], = under the hood, so that our/any [url]'ing will work to escape the data = AND also not corrupt our data. I don't know how thoroughly consistent is Webdna's auto-magicical = [unurl]'ing around tag parameters.. but it is consistent enough that I = always try the solution you discovered Stuart, whenever I get stuck with = something breaking. -Govinda= Govinda

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:

PCS Customer submissions ? (1997) Search with Special Chars (1997) Friday Morning Funnies (2003) Search Command, multiple dbs, etc. --further elucidation needed (2000) Can a database get stomped by simultaneous access? (1997) [ot] Dreamweaver & Mac OSX (2002) setting taxable to true (1997) RE: ANother SHOWIF problem (1997) OK, here goes... (1997) [hideif] (1998) automating txt downloads for conversion to webcat db (2006) updating with ProductEditor (1998) WebMerchant 1.6 and SHTML (1997) [OT] Puget Sound Meteorites? (2004) affiliate marketing program (1998) Pithy questions on webcommerce & siteedit (1997) Shopping Cart Problem (1998) bug in [SendMail] (1997) Variable prices and Formulas.db (1997) WC 2.0 frames feature (1997)