Re: For you expert WebDNA coders (was Re: Interesting speed
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 54438
interpreted = N
texte = Kenneth,Thanks for this example as well!-lucasOn Monday, November 24, 2003, at 05:29 PM, Kenneth Grome wrote:>> on 11/21/2003 6:56 pm, Kenneth Grome at kengrome@webdna.net so >> noted...>>>>> Here's another approach in only 4 lines:>>>>>> [text]defaultPage=[include file=includes/info_home.inc][/text]>>> [text]includePage=[include file=includes/[page].inc][/text]>>>>> > [showif >> [url][includePage][/url]~[url]error[/url]][defaultPage][/showif]>>> [hideif >>> [url][includePage][/url]~[url]error[/url]][includePage][/hideif]>>>> Ken, url'ing static text? Shocked, I am! ; D>>> Yeah, I programmed my text editor to pre-url both sides of my showif > and hideif comparison automatically, then I just enter the values > myself manually. I could have stripped out the extraneous url > contexts in this example, but I didn't bother. Sometimes 'static > text' values (such as those with spaces in them) actually need to be > urled, and instead of typing %20 where the spaces are located, I > usually just let webdna do it for me ...>> :)> -- >> Sincerely,> Kenneth Grome> -------------------------------------------------------------> Outsource your WebDNA programming for $18 an hour or less!> ------------------------------------------------------------->> -------------------------------------------------------------> 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/>-------------------------------------------------------------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:
Kenneth,Thanks for this example as well!-lucasOn Monday, November 24, 2003, at 05:29 PM, Kenneth Grome wrote:>> on 11/21/2003 6:56 pm, Kenneth Grome at kengrome@webdna.net so >> noted...>>>>> Here's another approach in only 4 lines:>>>>>> [text]defaultPage=[include file=includes/info_home.inc][/text]>>> [text]includePage=[include file=includes/[page].inc][/text]>>>>> > [showif >> [url][includePage][/url]~[url]error[/url]][defaultPage][/showif]>>> [hideif >>> [url][includePage][/url]~[url]error[/url]][includePage][/hideif]>>>> Ken, url'ing static text? Shocked, I am! ; D>>> Yeah, I programmed my text editor to pre-url both sides of my showif > and hideif comparison automatically, then I just enter the values > myself manually. I could have stripped out the extraneous url > contexts in this example, but I didn't bother. Sometimes 'static > text' values (such as those with spaces in them) actually need to be > urled, and instead of typing %20 where the spaces are located, I > usually just let webdna do it for me ...>> :)> -- >> Sincerely,> Kenneth Grome> -------------------------------------------------------------> Outsource your WebDNA programming for $18 an hour or less!> ------------------------------------------------------------->> -------------------------------------------------------------> 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/>-------------------------------------------------------------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/
Lucas Rockwell
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:
Conditional searching & displaying (1997)
fuzzy searching (1999)
[WebDNA] Sorry WebDNA server not running (2014)
WebCat2: Items xx to xx shown, etc. (1997)
Logging purchases (1997)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
[MATH SHOW=F]. show=f does what? (1999)
Interface to Quickbooks (2005)
Credit Card Verification.... (1998)
WebCatalog under Linux (2002)
select multiple (1997)
redirect with frames (1997)
Quickie question on the email templates (1997)
Error handling for accountNum (1997)
Problems with [Applescript] (1997)
Re:2nd WebCatalog2 Feature Request (1996)
WebCatalog for Postcards ? (1997)
Forms (1998)
unique ID (1997)
WebCatalog Prefs.ref file ? (1998)