Re: The [shownext] limitations

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45773
interpreted = N
texte = Brian Burton wrote: > HTML limitation, Some browsers truncate URLS longer then 256 characters.So use forms and POST, instead of URL's. No 256 character limitation; this is, technically speaking, part of the original RFC's for HTTP transactions. The fact that some browsers don't enforce that limit is their problem, not yours.> > Shownext is a terrible tag.Says you. I can quickly create all of the complicated logic to have both a Next and Previous button with very little coding in my template. For example this code:[ShowNext position=end&method=post&max=1]
[searchstring]
[/ShowNext]becomes this HTML:
where all of those search terms were part of the original search submission. The important parameters that must be set in the orignal search: are what makes this work. The max parameter to the shownext tag is how many shownext items to display, not how many records to display in each set of found records.The real genius of this scheme is there is a matching [shownext] in my code for the previous_page, which is _automatically_ supressed when there are no previous pages! I don't have to code anything at all. And when the user browses to the end of the found set of records, the next_page option is automatically supressed.I think [shownext] is one of the most powerful, and least understood, tag in the WebDNA arsenal.My 2 centsJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: The [shownext] limitations (John Peacock 2002)
  2. Re: The [shownext] limitations (Frank Nordberg 2002)
  3. Re: The [shownext] limitations (Dan Strong 2002)
  4. Re: The [shownext] limitations (Donovan 2002)
  5. Re: The [shownext] limitations (Dan Strong 2002)
  6. Re: The [shownext] limitations (Donovan 2002)
  7. Re: The [shownext] limitations (Brian Burton 2002)
  8. Re: The [shownext] limitations (Brian Fries 2002)
  9. Re: The [shownext] limitations (Claude Gelinas 2002)
  10. Re: The [shownext] limitations (Brian Fries 2002)
  11. Re: The [shownext] limitations (John Peacock 2002)
  12. Re: The [shownext] limitations (Claude Gelinas 2002)
  13. Re: The [shownext] limitations (Brian Burton 2002)
  14. Re: The [shownext] limitations (Glenn Busbin 2002)
  15. Re: The [shownext] limitations (Frank Nordberg 2002)
  16. The [shownext] limitations (Claude Gelinas 2002)
Brian Burton wrote: > HTML limitation, Some browsers truncate URLS longer then 256 characters.So use forms and POST, instead of URL's. No 256 character limitation; this is, technically speaking, part of the original RFC's for HTTP transactions. The fact that some browsers don't enforce that limit is their problem, not yours.> > Shownext is a terrible tag.Says you. I can quickly create all of the complicated logic to have both a Next and Previous button with very little coding in my template. For example this code:[ShowNext position=end&method=post&max=1]
[searchstring]
[/ShowNext]becomes this HTML:
where all of those search terms were part of the original search submission. The important parameters that must be set in the orignal search: are what makes this work. The max parameter to the shownext tag is how many shownext items to display, not how many records to display in each set of found records.The real genius of this scheme is there is a matching [shownext] in my code for the previous_page, which is _automatically_ supressed when there are no previous pages! I don't have to code anything at all. And when the user browses to the end of the found set of records, the next_page option is automatically supressed.I think [shownext] is one of the most powerful, and least understood, tag in the WebDNA arsenal.My 2 centsJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ John Peacock

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:

5.0 feature request: Sort for ListWords (2001) Showif Question (2001) Problems with [Search] param - Mac Plugin b15 (1997) PIXO Support (1997) OSX 10.1.1 (2001) suffix mapping for NT? (1997) Currency Conversion (2003) PIXO support (1997) Latin Characters (1998) sort (2000) order in the search? (2003) no template caching (1997) Re:Upload (1998) WebCat and image maps (1997) Need example sites for seminar; will plug you too (1998) WebCat2b15MacPlugin - showing [math] (1997) For those of you not on the WebCatalog Beta... (1997) Which GUI HTML editors work with WC ? (1997) RE: WebCatalog2 for NT Beta Request (1997) unsubscribe (1997)