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 invaluableassistance. I'm new at this.Okay then. I have a search context on a page using values passed from aform on the preceding page. Inside the search context is a shownextcontext. It displays the correct text for the links to the next founditems, but the links don't find anything (the right page comes up, butthere are no found items anymore, and I don't get any kind of errormessage).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 theURLs tidy and hide implementation details as much as possible) and I reallydon't think the above is the way it's supposed to be done in my case--thecode simply doesn't make any sense to me. But that's the only example thedocs gave, and it's shown within a search context. Obviously not meant forvalues passed in from a form?The last paragraph, on p. 154 of the printed docs, talks about using thePOST method and how you have to wrap everything between tags.Frankly, the docs really leave you hanging at that point. No examples, nonothing. Explain how the required submit button relates to the nice numbersthat [start]-[end] create. (I can see me creating a series of custom gifsto avoid littering the page with big fat default submit buttons... oyvey...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 Wilsonterryw@rainbowcreek.com
Associated Messages, from the most recent to the oldest:
First of all, thanks much to Ken Grome and Bob Minor for their invaluableassistance. I'm new at this.Okay then. I have a search context on a page using values passed from aform on the preceding page. Inside the search context is a shownextcontext. It displays the correct text for the links to the next founditems, but the links don't find anything (the right page comes up, butthere are no found items anymore, and I don't get any kind of errormessage).Here's basically what I have:[search db=mydatabase.db&otherparameters&max=15]
[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 theURLs tidy and hide implementation details as much as possible) and I reallydon't think the above is the way it's supposed to be done in my case--thecode simply doesn't make any sense to me. But that's the only example thedocs gave, and it's shown within a search context. Obviously not meant forvalues passed in from a form?The last paragraph, on p. 154 of the printed docs, talks about using thePOST method and how you have to wrap everything between tags.Frankly, the docs really leave you hanging at that point. No examples, nonothing. Explain how the required submit button relates to the nice numbersthat [start]-[end] create. (I can see me creating a series of custom gifsto avoid littering the page with big fat default submit buttons... oyvey...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 Wilsonterryw@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:
Exclude by date - multiple (1997)
Different Email recipients? (1998)
Can't Update records (1997)
Redirect (2003)
Almost a there but..bye bye NetCloak (1997)
two of the same named db's open at once (1998)
Showif vs. IF/then/else (2001)
authorizenet and netscape (2002)
Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997)
Secure server question (1997)
[WebDNA] COMMITDATABASE in linux unix 64bits FastCGI version 8.6 (2020)
Image upload *CODE SAMPLE* (2000)
PCS Frames (1997)
Upgrading old WebCat Database Files (1997)
Javascript Stored in a Database (2003)
RequiredFields template (1997)
development check... (2004)
Wanted: WebCatalog Programmer (2000)
Search logic? (1998)
[WebDNA] Need to convert unix date? (2009)