Shownext never shows next...still

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14753
interpreted = N
texte = Grant, Marc, Ken, John & whoever else might be interestedI have looked this over and I cannot find any clue as to what might be wrong. I have gone so far as to reinstall both Webstar and Webcatalog, and set it up with the cgi instead of the plugin to see if it made a difference, to no avail. The behaviour is identical in both circumstancesIs it possible that the server is merely putting up the *same page without reinterpreting it*? That seems to be what is happening, but I don't know how to verify that.Do you see any mistakes in this shownext context? Grant suggested using [Searchstring] as a parameter instead of listing them out, but when I looked into the webstar admin log, the data was being passed differently from what the search context on the results page required (resulting in 0 item(s) found), so I modified it to match what the search template sends to get the same data sent both times.[shownext position=begin&max=1&method=POST]
[/shownext] With verbose logging on in Webstar, the context is interpreted on the results template as
The following post data is what actually gets sent back to the results template when clicking the shownext button cart=296247083925&SearchField=Title&SearchAction=ws&SearchCriteria=arthritis&max=3&startat=4compared to what the results template received from the search template SearchField=Title&SearchAction=ws&searchCriteria=arthritis&Max=3&Startat=1The only difference being the addition of the cart variable and startat incrementing to 4, I would assume that I would get the next 3 titles starting at 4. But no, I get the same three titles over and over again, and the shownext button on the bottom of the page always says Show items 4-6The whole code for the results template as well as the search template are included for your reference.Search Template
Results Template Search Results [search db=aliveBooksv1.db&max=[max]&cart=[cart]&[SearchAction][SearchField]data=[SearchCriteria]&startat=[start]]

[numfound] record(s) matched your search.

[shownext position=begin&max=1&method=POST]
[/shownext] [founditems] [/founditems]
[showif [picture_file]^.gif][/showif] 

[boldwords [SearchCriteria]][convertchars][Title][/convertchars][/boldwords]

[Author]   ISBN [ISBN]   [Pages] Page [showif [Format]=sc]Softcover[/showif][showif [Format]=hc]Hardcover[/showif]   [Cdn_List] CDN

[boldwords [SearchCriteria]][convertchars][Writeup][/convertchars][/boldwords]


[shownext position=end&max=1&method=POST]
[/shownext] [/search]

Back to Search

Chris Gursche EC&T Electronic Colour & Type Corp Associated Messages, from the most recent to the oldest:

    
  1. Re: Shownext never shows next...still (Chris Gursche 1997)
  2. Re: Shownext never shows next...still (grichter@panavise.com (Gary Richter) 1997)
  3. Re: Shownext never shows next...still (Kenneth Grome 1997)
  4. Shownext never shows next...still (Chris Gursche 1997)
Grant, Marc, Ken, John & whoever else might be interestedI have looked this over and I cannot find any clue as to what might be wrong. I have gone so far as to reinstall both Webstar and Webcatalog, and set it up with the cgi instead of the plugin to see if it made a difference, to no avail. The behaviour is identical in both circumstancesIs it possible that the server is merely putting up the *same page without reinterpreting it*? That seems to be what is happening, but I don't know how to verify that.Do you see any mistakes in this shownext context? Grant suggested using [Searchstring] as a parameter instead of listing them out, but when I looked into the webstar admin log, the data was being passed differently from what the search context on the results page required (resulting in 0 item(s) found), so I modified it to match what the search template sends to get the same data sent both times.[shownext position=begin&max=1&method=POST]
[cart]>
[/shownext] With verbose logging on in Webstar, the context is interpreted on the results template as
The following post data is what actually gets sent back to the results template when clicking the shownext button cart=296247083925&SearchField=Title&SearchAction=ws&SearchCriteria=arthritis&max=3&startat=4compared to what the results template received from the search template SearchField=Title&SearchAction=ws&searchCriteria=arthritis&Max=3&Startat=1The only difference being the addition of the cart variable and startat incrementing to 4, I would assume that I would get the next 3 titles starting at 4. But no, I get the same three titles over and over again, and the shownext button on the bottom of the page always says Show items 4-6The whole code for the results template as well as the search template are included for your reference.Search Template
Results Template Search Results [search db=aliveBooksv1.db&max=[max]&cart=[cart]&[SearchAction][SearchField]data=[SearchCriteria]&startat=[start]]

[numfound] record(s) matched your search.

[shownext position=begin&max=1&method=POST]
[cart]>
[/shownext] [founditems] [/founditems]
[showif [picture_file]^.gif][/showif] 

[boldwords [SearchCriteria]][convertchars][Title][/convertchars][/boldwords]

[Author]   ISBN [ISBN]   [Pages] Page [showif [format]=sc]Softcover[/showif][showif [format]=hc]Hardcover[/showif]   [Cdn_List] CDN

[boldwords [SearchCriteria]][convertchars][Writeup][/convertchars][/boldwords]


[url][SKU][/url]&cart=[cart]&db=aliveBooksv1.db Target=UpperFrame>
[shownext position=end&max=1&method=POST]
[cart]>
[/shownext] [/search][cart] Target=Upperframe>

Back to Search

Chris Gursche EC&T Electronic Colour & Type Corp Chris Gursche

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:

Associative lookup style? (1997) Trouble with formula.db (1997) WebCatalog-beta@talk.smithmicro.com list Hello... (2000) File Upload, Browser Timeout (2003) Seeking Better Display of results... (1997) WebCatalog for guestbook ? (1997) Need help with form (1998) WebCat editing, SiteGuard & SiteEdit (1997) Summing fields (1997) WebCatalog2 Feature Feedback (1996) StoreBuilder UPS/XML code question ... (2003) Using [sendmail] for mass mailings (2001) HUGE DATABASES (1998) [thisurl] (2004) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) WebCat2 beta 11 - new prefs ... (1997) Ads.db (1997) Can't use old cart file (was One more try) (1997) emailer don't work (1998) re: emailer prob (1998)