Re: what does [url] copy [/url] really do?
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 28546
interpreted = N
texte = the data is only [url]ed until the [append] or [replace] (or whatever) context is done'rendering' itself, then at the moment it actually modifies a db, it automagically[UnURL]s the data so the data in your db is what the user actually typed in, not thehexadecimal version. Webcat only keeps the data [URL]ed as long as necessary to keepthe context from breaking. But when you use [URL] in [showif]s and [hideif]s thecomparison will only do its job when both sides are in their hexadeciaml form (assumingat least 1 character gets translated into hexadecimal form), so-[showif [URL][var1][/URL]=hello world] do this code [/showif]will NOT evaluate to true even if var1='hello world'.You have to [URL] BOTH sides, like so-[showif [URL][var1][/URL]=[URL]hello world[/URL]] do this code [/showif]I didn't use very exact language, but hopefully you understand.-JohnEric Ridgley wrote:> I have noticed that there are a few things (if not more) in the syntax of> WebDNA that are used for more than they are intended. I am 'new' (less than> 1 year experience with WebCat) to this web solution and am trying to master> it, as we all are, I am sure. I recently had a run in with the [listfiles]> context and had been moving the files as I was listing them. This of course> (I know now) did not produce the results I expected because of the way that> WebCat dealt with it's own code, I won't get into that now, and it's cool> because now I understand what WebCat does first and how it deals with it's> 'WebDNA' as it parses that particular context. But what I really want to> know is that when I wrap data in:>> [url]data[/url]>> tags when I am appending to a database, what format is the data in?> HEXIDECIMAL?>> See I was trying to stay away from it because I 'thought' that all my spaces> in my code where going to be '%20' and I would have to [unurl]data[/unurl]> them but that is not the case. Can someone give me some insight into this?>> -------------------------------------------------------------> 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 -------------------------------------------------------------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
Associated Messages, from the most recent to the oldest:
the data is only [url]ed until the [append] or [replace] (or whatever) context is done'rendering' itself, then at the moment it actually modifies a db, it automagically[unurl]s the data so the data in your db is what the user actually typed in, not thehexadecimal version. Webcat only keeps the data [url]ed as long as necessary to keepthe context from breaking. But when you use [url] in [showif]s and [hideif]s thecomparison will only do its job when both sides are in their hexadeciaml form (assumingat least 1 character gets translated into hexadecimal form), so-[showif [url][var1][/URL]=hello world] do this code [/showif]will NOT evaluate to true even if var1='hello world'.You have to [url] BOTH sides, like so-[showif [url][var1][/URL]=[url]hello world[/URL]] do this code [/showif]I didn't use very exact language, but hopefully you understand.-JohnEric Ridgley wrote:> I have noticed that there are a few things (if not more) in the syntax of> WebDNA that are used for more than they are intended. I am 'new' (less than> 1 year experience with WebCat) to this web solution and am trying to master> it, as we all are, I am sure. I recently had a run in with the [listfiles]> context and had been moving the files as I was listing them. This of course> (I know now) did not produce the results I expected because of the way that> WebCat dealt with it's own code, I won't get into that now, and it's cool> because now I understand what WebCat does first and how it deals with it's> 'WebDNA' as it parses that particular context. But what I really want to> know is that when I wrap data in:>> [url]data[/url]>> tags when I am appending to a database, what format is the data in?> HEXIDECIMAL?>> See I was trying to stay away from it because I 'thought' that all my spaces> in my code where going to be '%20' and I would have to [unurl]data[/unurl]> them but that is not the case. Can someone give me some insight into this?>> -------------------------------------------------------------> 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 -------------------------------------------------------------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
John Butler
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:
Weird Problem (1997)
bulletin board (2002)
NetSplat and WebCat2 (1997)
[WebDNA] Problems with WebCatalogCtl command (2009)
I'm new be kind (1997)
[WebDNA] An unknown error occured // Deadlock avoided (2011)
Projects & Contractors (1997)
Location of Browser Info.txt file (1997)
WCS Newbie question (1997)
Help! WebCat2 bug (1997)
Generating Report Totals (1997)
[WebDNA] Authorize.net and [tcpconnect] (2016)
[WebDNA] OT: Indexing PDF on iTools / apache2 (2008)
Formating found categories (1997)
Associative lookup style? (1997)
WebSTAR and WebSTAR/SSL with WebCatalog plugins (1998)
Suddenly can't see files... (2000)
More on the email templates (1997)
WC1.6 to WC2 date formatting -FIXED! (1997)
Setting up shop (1997)