Re: Unable to view next 101-200

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14333
interpreted = N
texte = Grant Hulbert wrote:> Judging by the length of the URL you posted, I'm guessing you've gone beyond the limits of a hyperlink (max 255 for most browsers, ~80 for NC 4.0), so you should convert to POST for the ShowNext links. > > Something like: > > [ShowNext method=POST] >
> > [SearchString] > >
> Thanks Ken and Grant for your quick replies. I was following the thread last night on all the shownext stuff that was being discussed; although that was only relating to formatting and not to the URL length problems I was having, it was helpful. The length of the hyperlink was indeed the problem and I don't know why I didn't pick up on it earlier. So for the benefit of anyone who might make use of this or is still as frustrated as they were last night, I'll post what I came up with. My search results pages now display XXX number of records found matching your search criteria (items X to X shown) at the top, and two buttons side by side at the bottom that say Show Previous Group (X-X) and Show Next Group (X-X). Sure beats a list of 26 hyperlinks. This displays the stuff at the top of the page:[showif [math]([startAt]+([max]-1))[/math]>[numFound]][numFound] item(s) matching your search criteria were found[showif [numFound]>[max]] (items [startAt] to [numFound] shown)[/showif]:[/showif][hideif [math]([startAt]+([max]-1))[/math]>[numFound]][numFound] item(s) matching your search criteria were found[showif [numFound]>[max]] (items [startAt] to [math][startAt]+[max]-1[/math] shown)[/showif]:[/hideif] And this gives me the buttons at the bottom:
[ShowNext method=POST&position=begin&max=1][SearchString][/ShowNext] [ShowNext method=POST&position=end&max=1][SearchString][/ShowNext]
-- Gil Poulsen, Webmaster************************************************************** * AltiM@c * Phone: (732) 469-2567 * * 429 St. Giles Court * FAX: (732) 469-5823 * * Somerset, NJ * e-mail: help@altimac.com * * 08873 * WWW: http://www.altimac.com * ************************************************************** Associated Messages, from the most recent to the oldest:

    
  1. Re: Unable to view next 101-200 (Gil Poulsen 1997)
  2. Re: Unable to view next 101-200 (Grant Hulbert 1997)
  3. Re: Unable to view next 101-200 (Kenneth Grome 1997)
  4. Unable to view next 101-200 (Gil Poulsen 1997)
Grant Hulbert wrote:> Judging by the length of the URL you posted, I'm guessing you've gone beyond the limits of a hyperlink (max 255 for most browsers, ~80 for NC 4.0), so you should convert to POST for the ShowNext links. > > Something like: > > [ShowNext method=POST] >
> > [SearchString] > >
> Thanks Ken and Grant for your quick replies. I was following the thread last night on all the shownext stuff that was being discussed; although that was only relating to formatting and not to the URL length problems I was having, it was helpful. The length of the hyperlink was indeed the problem and I don't know why I didn't pick up on it earlier. So for the benefit of anyone who might make use of this or is still as frustrated as they were last night, I'll post what I came up with. My search results pages now display XXX number of records found matching your search criteria (items X to X shown) at the top, and two buttons side by side at the bottom that say Show Previous Group (X-X) and Show Next Group (X-X). Sure beats a list of 26 hyperlinks. This displays the stuff at the top of the page:[showif [math]([startAt]+([max]-1))[/math]>[numFound]][numFound] item(s) matching your search criteria were found[showif [numFound]>[max]] (items [startAt] to [numFound] shown)[/showif]:[/showif][hideif [math]([startAt]+([max]-1))[/math]>[numFound]][numFound] item(s) matching your search criteria were found[showif [numFound]>[max]] (items [startAt] to [math][startAt]+[max]-1[/math] shown)[/showif]:[/hideif] And this gives me the buttons at the bottom:
[ShowNext method=POST&position=begin&max=1][SearchString][/ShowNext] [ShowNext method=POST&position=end&max=1][SearchString][/ShowNext]
-- Gil Poulsen, Webmaster************************************************************** * AltiM@c * Phone: (732) 469-2567 * * 429 St. Giles Court * FAX: (732) 469-5823 * * Somerset, NJ * e-mail: help@altimac.com * * 08873 * WWW: http://www.altimac.com * ************************************************************** Gil Poulsen

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:

Change in Host? (1999) webcat restarting script on Linux? (1999) Whats wrong with this code? (1998) creator code (1997) problems with WebCat-Plugin (1997) Summing a field full of numbers ... (1997) Initiating NewCart (1997) vars (2000) FYI: virus alert (1996) Separate SSL Server (1997) Problems getting parameters passed into email. (1997) [WebDNA] HTML/OS vs. WebDNA ? (2008) Another issue with [Date format] (1998) Where is f2? (1997) problems with WebCat-Plugin () [search][founditems][orderfile] (2003) multi-paragraph fields (1997) international time (1997) name of file (2002) Country & Ship-to address & other fields ? (1997)