Re: [WebDNA] [listfiles] error, but why? How to turn off
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 104900
interpreted = N
texte = On Feb 27, 2010, at 11:39 AM, Donovan Brooke wrote:> Govinda wrote:>> If I use this: (as doc'ed)>> [listfiles path=../&name=file1&exact=f]>> ...>> [/listfiles]>> and there is *no* file matching the 'name' criteria, then instead >> of simply not iterating, the [listfiles] context spits out an error:>> "An unknown error occurred:>> FileNotFound>> file1">>> I agree that result is not inline with the rest of our looping> contexts. I would suggest WSC to look at changing that behavior.>> For now, you could do something like:>>> [listfiles path=../]> [showif [url][filename][/url]^file1]> ...> [/showif]> [/listfiles]>>> DonovanOK, thanks D.!It is nice to at least get confirmation.-G
Associated Messages, from the most recent to the oldest:
On Feb 27, 2010, at 11:39 AM, Donovan Brooke wrote:> Govinda wrote:>> If I use this: (as doc'ed)>> [listfiles path=../&name=file1&exact=f]>> ...>> [/listfiles]>> and there is *no* file matching the 'name' criteria, then instead >> of simply not iterating, the
[listfiles] context spits out an error:>> "An unknown error occurred:>> FileNotFound>> file1">>> I agree that result is not inline with the rest of our looping> contexts. I would suggest WSC to look at changing that behavior.>> For now, you could do something like:>>> [listfiles path=../]> [showif
[url][filename][/url]^file1]> ...> [/showif]> [/listfiles]>>> DonovanOK, thanks D.!It is nice to at least get confirmation.-G
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:
WebDelivery: One step closer !! (1997)
[shownext] and descending order (1997)
& in Lookups (1997)
[HIDEIF] inside [FOUNDITEM] (1997)
Requiring that certain fields be completed (1997)
Help! WebCat2 bug (1997)
Multiple prices (1997)
BUG: Random sort is not random at all..... (2000)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
webcat page crashes MSIE 5 on mac (2000)
Exclamation (2002)
Loop code problem (2000)
off topic - dna snipets (1997)
[WAY OFF TOPIC] anybody live in Kansas? (2003)
Follow-Up to: Removing [showif] makes a big difference in speed (1997)
CommandSecurity? (1997)
2nd WebCatalog2 Feature Request (1996)
Graphical display of sales volume (2003)
Removing username from browser (2000)
[WebDNA] webdna.us site down? (2018)