shownext problems

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18499
interpreted = N
texte = First of all, thanks much to Ken Grome and Bob Minor for their invaluable assistance. I'm new at this.Okay then. I have a search context on a page using values passed from a form on the preceding page. Inside the search context is a shownext context. It displays the correct text for the links to the next found items, but the links don't find anything (the right page comes up, but there are no found items anymore, and I don't get any kind of error message).Here's basically what I have:[search db=mydatabase.db&otherparameters&max=15]
[founditems] details [/founditems]
[shownext position=begin] [start]-[end][/shownext] [shownext position=middle] [start]-[end][/shownext] [shownext position=end] [start]-[end][/shownext][/search]Frankly, I don't like the idea of using a command here, (I like to keep the URLs tidy and hide implementation details as much as possible) and I really don't think the above is the way it's supposed to be done in my case--the code simply doesn't make any sense to me. But that's the only example the docs gave, and it's shown within a search context. Obviously not meant for values passed in from a form?The last paragraph, on p. 154 of the printed docs, talks about using the POST method and how you have to wrap everything between
tags. Frankly, the docs really leave you hanging at that point. No examples, no nothing. Explain how the required submit button relates to the nice numbers that [start]-[end] create. (I can see me creating a series of custom gifs to avoid littering the page with big fat default submit buttons... oy vey...50 more 2K files to gobble up 65K each on my big HD... time for HFS+)Surely passing values from a form to a search context is not unusual.Thanks, Terry Wilson terryw@rainbowcreek.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Shownext problems (PCS Technical Support 1999)
  2. Re: Shownext problems (Kenneth Grome 1999)
  3. Re: Shownext problems (PCS Technical Support 1999)
  4. Re: Shownext problems (Jeffrey L. Jones 1999)
  5. Re: Shownext problems (PCS Technical Support 1999)
  6. Shownext problems (Jeffrey L. Jones 1999)
  7. Re: ShowNext problems (Kenneth Grome 1998)
  8. Re: ShowNext problems (Johann Weber 1998)
  9. Re: shownext problems (Rob Marquardt 1998)
  10. Re: shownext problems (Kenneth Grome 1998)
  11. Re: shownext problems (Kenneth Grome 1998)
  12. Re: shownext problems & formvariables (Terry Wilson 1998)
  13. Re: shownext problems (Terry Wilson 1998)
  14. Re: shownext problems (Terry Wilson 1998)
  15. Re: shownext problems (Jay Van Vark 1998)
  16. Re: shownext problems (Kenneth Grome 1998)
  17. Re: shownext problems (Terry Wilson 1998)
  18. Re: shownext problems (Kenneth Grome 1998)
  19. shownext problems (Terry Wilson 1998)
First of all, thanks much to Ken Grome and Bob Minor for their invaluable assistance. I'm new at this.Okay then. I have a search context on a page using values passed from a form on the preceding page. Inside the search context is a shownext context. It displays the correct text for the links to the next found items, but the links don't find anything (the right page comes up, but there are no found items anymore, and I don't get any kind of error message).Here's basically what I have:[search db=mydatabase.db&otherparameters&max=15]
[founditems] details [/founditems]
[shownext position=begin] [start]-[end][/shownext] [shownext position=middle] [start]-[end][/shownext] [shownext position=end] [start]-[end][/shownext][/search]Frankly, I don't like the idea of using a command here, (I like to keep the URLs tidy and hide implementation details as much as possible) and I really don't think the above is the way it's supposed to be done in my case--the code simply doesn't make any sense to me. But that's the only example the docs gave, and it's shown within a search context. Obviously not meant for values passed in from a form?The last paragraph, on p. 154 of the printed docs, talks about using the POST method and how you have to wrap everything between
tags. Frankly, the docs really leave you hanging at that point. No examples, no nothing. Explain how the required submit button relates to the nice numbers that [start]-[end] create. (I can see me creating a series of custom gifs to avoid littering the page with big fat default submit buttons... oy vey...50 more 2K files to gobble up 65K each on my big HD... time for HFS+)Surely passing values from a form to a search context is not unusual.Thanks, Terry Wilson terryw@rainbowcreek.com Terry Wilson

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:

Forbidden CGI Error (1997) WebCat2: multiple currency support (1997) WebCat2b12 - nesting [tags] (1997) [HIDEIF] inside [FOUNDITEM] (1997) [HIDEIF] inside [FOUNDITEM] (1997) Protecting webdelivery (1997) WCS Newbie question (1997) WebCat2b13MacPlugin - nested [xxx] contexts (1997) Runnaway Trigger (2007) [WebDNA] Reserved Cart Headers (2008) [isfile] ? (1997) Web Developer Product Awards (1997) Multiple Ad databases? (1997) Netscape v. IE (1997) webcat- multiple selection in input field (1997) WebCat and image maps (1997) WebCat2: Master Counter snippet (1997) WC hosting services required (1998) Need some assistance. (1999) Problems getting parameters passed into email. (1997)