Re: [WebDNA] why this error when using [shownext] with a [table]?

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102547
interpreted = N
texte = yes, this is: WebDNA - Commerce Edition is running asunix-Linux Intel RedHat Apache Module version 6.0a (sorry I wasn't clear about that) the [table] has been working fine for many days. I only just today added the [shownext] and now getting this odd result. I am wondering if anyone besides me has even tried to use [shownext] with a [table]. ??? Meanwhile I got Gary Krockover's [ShowNext] replacement (see the User Contributed Notes for [shownext]) running fine but I miss the automagically placed shownext links appearing above and below the [founditems] loop.. . And anyway if this is a bug, or a feature, or my lame code.. ? I want to know what. Thanks for your input! -Govinda On May 11, 2009, at 7:45 PM, Stuart Tremain wrote: > Do you have v5? > > [Table] was released in v5. > > > From the docs : > [table name=products&fields=SKU,NAME,DESC] > 1001 Red Widget A small red widget > 1002 Blue Widget A small blue widget > 1003 Green Widget A small green widget > [/table] > > [search table=products&neSKUdata=[blank]] > Found [numfound] items in the products table. > > [founditems] > [SKU] - [DESC] > > [/founditems] > [/search] > > > > > > > > > Regards > > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au > > On 12/05/2009, at 10:35 AM, Govinda wrote: > >> I am using [shownext] in what I believe to be the correct fashion >> (haven't used it for years, but I used it many times totally >> successfully back in WebDNA version 3 days.) >> >> BUT >> >> now I am trying to use it with a [table..] and I am getting this >> error. (NONE of my results page's code is being returned.. just >> this one single line): >> >> "Error: the 'search' command requires that you specify a db" >> >> I tried renaming the table's name to something shorter, or with the >> extension ".db", but it makes no difference. >> >> I inspect the URL (by-product of my [shownext method=get] links... >> and see it looks right but is more than 256 chars. Don't know if >> that is the issue. I kinda doubt it. Anyway then I realize I have >> never constructed shownext *forms*. How do I get what used to pass >> automagically in "&[SearchString]" into hidden form inputs? Or do >> I have to just construct each search param from scratch in hidden >> inputs? (I liked the convenience of [SearchString]. >> >> Is there some odd reason the [shownext] get method should fail when >> the search and results page are secure (https://...)? >> >> Or does anyone have any other insight why this might be failing? >> >> -Govinda > Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] why this error when using [shownext] with a [table]? (Govinda 2009)
  2. Re: [WebDNA] why this error when using [shownext] with a [table]? (Govinda 2009)
  3. Re: [WebDNA] why this error when using [shownext] with a [table]? (Donovan Brooke 2009)
  4. Re: [WebDNA] why this error when using [shownext] with a [table]? (Govinda 2009)
  5. Re: [WebDNA] why this error when using [shownext] with a [table]? (Donovan Brooke 2009)
  6. Re: [WebDNA] why this error when using [shownext] with a [table]? (Govinda 2009)
  7. Re: [WebDNA] why this error when using [shownext] with a [table]? (Stuart Tremain 2009)
  8. [WebDNA] why this error when using [shownext] with a [table]? (Govinda 2009)
yes, this is: WebDNA - Commerce Edition is running asunix-Linux Intel RedHat Apache Module version 6.0a (sorry I wasn't clear about that) the [table] has been working fine for many days. I only just today added the [shownext] and now getting this odd result. I am wondering if anyone besides me has even tried to use [shownext] with a [table]. ??? Meanwhile I got Gary Krockover's [shownext] replacement (see the User Contributed Notes for [shownext]) running fine but I miss the automagically placed shownext links appearing above and below the [founditems] loop.. . And anyway if this is a bug, or a feature, or my lame code.. ? I want to know what. Thanks for your input! -Govinda On May 11, 2009, at 7:45 PM, Stuart Tremain wrote: > Do you have v5? > > [table] was released in v5. > > > From the docs : > [table name=products&fields=SKU,NAME,DESC] > 1001 Red Widget A small red widget > 1002 Blue Widget A small blue widget > 1003 Green Widget A small green widget > [/table] > > [search table=products&neSKUdata=[blank]] > Found [numfound] items in the products table. > > [founditems] > [SKU] - [DESC] > > [/founditems] > [/search] > > > > > > > > > Regards > > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au > > On 12/05/2009, at 10:35 AM, Govinda wrote: > >> I am using [shownext] in what I believe to be the correct fashion >> (haven't used it for years, but I used it many times totally >> successfully back in WebDNA version 3 days.) >> >> BUT >> >> now I am trying to use it with a [table..] and I am getting this >> error. (NONE of my results page's code is being returned.. just >> this one single line): >> >> "Error: the 'search' command requires that you specify a db" >> >> I tried renaming the table's name to something shorter, or with the >> extension ".db", but it makes no difference. >> >> I inspect the URL (by-product of my [shownext method=get] links... >> and see it looks right but is more than 256 chars. Don't know if >> that is the issue. I kinda doubt it. Anyway then I realize I have >> never constructed shownext *forms*. How do I get what used to pass >> automagically in "&[SearchString]" into hidden form inputs? Or do >> I have to just construct each search param from scratch in hidden >> inputs? (I liked the convenience of [SearchString]. >> >> Is there some odd reason the [shownext] get method should fail when >> the search and results page are secure (https://...)? >> >> Or does anyone have any other insight why this might be failing? >> >> -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:

Authentication (1998) WebCatalog2 Feature Feedback (1996) Ken Grome (2006) delayed email response (2005) Problem with 2.1b3 (1997) RE: [WebDNA] DB help (2011) how to use WebCat w. SSL & CyberCash (1998) shrink-wrapped version out yet? (1997) [thisurl] (2004) REPOST... Incompatibility with WebCat 3 templates ... (2000) getchars broken? (1997) More on the email templates (1997) dos performance (1998) The Depths of Credit Card Payment (2003) POST (1997) Re:quit command on NT (1997) [OT] MacWorld Expo (2004) Undeliverable Mail (1997) WebCat2_Mac RETURNs in .db (1997) Relevancy Rating (1998)