Re: To Err or Not Custom Error

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22825
interpreted = N
texte = I have used it in the errormessages.db, and it worked perfectly.Here's what I did: RequiredField [redirect http://www.domain.com/errorpage.tmpl?command=showpage¶m1=[param1]]
With errorpage.tmpl simply a page with a series of [showif]s for each field (name, address, etc.).It has worked just fine with no problems.JohnKenneth Grome wrote: > > >>[redirect] won't work in the errormessages.db. > > > >That's weird, I expected it would work. > > I thought it would too, but it didn't. > > >Have you tried it and it failed? > > Yes, exactly. > > I had decided to re-write some of my errormessages by using a bunch of [redirect]'s to send specific pages that I would maintain as plain old HTML files. But for some reason it didn't work the way I had expected, so instead I took the full HTML text from the pages I had hoped to redirect to, and I placed that HTML directly into the errormessages.db. That worked just fine. > > Maybe I screwed up in my implementation or something, because I actually thought it would work with the [redirect] tags in the errormessages.db, but it didn't work, so I figured that either the [redirect] tag was not getting interpreted (because it's sitting in a database and not in the web page itself?) ... or maybe something else was going on that I didn't understand. > > Sincerely, > Ken Grome > 808-737-6499 > WebDNA Solutions > mailto:ken@webdna.net > http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Re: To Err or Not Custom Error (John Winningham 1999)
  2. Re: To Err or Not Custom Error (Kenneth Grome 1999)
  3. Re: To Err or Not Custom Error (Christer Olsson 1999)
  4. Re: To Err or Not Custom Error (Christer Olsson 1999)
  5. Re: To Err or Not Custom Error (Bob Minor 1999)
  6. Re: To Err or Not Custom Error (Bob Minor 1999)
  7. Re: To Err or Not Custom Error (Bob Minor 1999)
  8. Re: To Err or Not Custom Error (The Mooseman 1999)
  9. Re: To Err or Not Custom Error (Grant Hulbert 1999)
  10. Re: To Err or Not Custom Error (Kenneth Grome 1999)
  11. Re: To Err or Not Custom Error (Kenneth Grome 1999)
  12. To Err or Not Custom Error (The Mooseman 1999)
I have used it in the errormessages.db, and it worked perfectly.Here's what I did: RequiredField [redirect http://www.domain.com/errorpage.tmpl?command=showpage¶m1=[param1]]
With errorpage.tmpl simply a page with a series of [showif]s for each field (name, address, etc.).It has worked just fine with no problems.JohnKenneth Grome wrote: > > >>[redirect] won't work in the errormessages.db. > > > >That's weird, I expected it would work. > > I thought it would too, but it didn't. > > >Have you tried it and it failed? > > Yes, exactly. > > I had decided to re-write some of my errormessages by using a bunch of [redirect]'s to send specific pages that I would maintain as plain old HTML files. But for some reason it didn't work the way I had expected, so instead I took the full HTML text from the pages I had hoped to redirect to, and I placed that HTML directly into the errormessages.db. That worked just fine. > > Maybe I screwed up in my implementation or something, because I actually thought it would work with the [redirect] tags in the errormessages.db, but it didn't work, so I figured that either the [redirect] tag was not getting interpreted (because it's sitting in a database and not in the web page itself?) ... or maybe something else was going on that I didn't understand. > > Sincerely, > Ken Grome > 808-737-6499 > WebDNA Solutions > mailto:ken@webdna.net > http://www.webdna.net John Winningham

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:

Question About XML Style Syntax (2000) syntax question, not in online refernce (1997) WebCat templates for TyphoonPro admin (1999) No spaces allowed in text variable names ... ? (2002) webcat feature request (1997) no [search] with NT (1997) [WebDNA] Privat IP website behind a public IP website (2014) OT Weird Messenger Service message (2002) WebCat2 - many [carts] on one template page? (1997) WebCatalog for guestbook ? (1997) 4.5.1 download link (2003) [addlineitems] (1997) Introduction/Tutorial/QuickStart (1997) Download URL & access on the fly ? (1997) Final invoice problems (1998) WebDNA Engine Won't Start (2003) [WebDNA] File permissions on Windows? (2010) Showif = stumped? (2001) Making WebCatalog run as www (2006) Bug? (1997)