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:
>>=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:
WebSTAR 2.1 freezes my Mac (1997)
WebCat B13 Mac CGI -- Frames question (1997)
Questions about searching (1999)
AutoCommit Preference? (1998)
Multiple prices (1997)
Help Please WebDNA 6 Secure Forms Problem (2004)
300% usage - Clint (2007)
Email Formatting and Encryption (1998)
Decimal point in search.... (2004)
WebCatalog [FoundItems] Problem - AGAIN - (1997)
Submitting ampersands in forms... (1998)
Separate SSL Server (1997)
Running 2 two WebCatalog.acgi's (1996)
[WebDNA] [OT] WebDNA Wiki - need grammar check / suggestions (2009)
OFF-TOPIC: Check www.godaddy.com for me ... (2003)
Speed Admin? (Was FlushDatabases) (1997)
Limitations on fields? Server is crashing (1997)
SetCookie / GetCookie Problem.... (2004)
website pro trouble (1998)
Help! WebCat2 bug (1997)