Re: Nesting WebDNA in JavaScript
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 48642
interpreted = N
texte = Yeah, sorry.... it's just the same code that I suggested earlier (watch forlinebreaks):[search db=brand.db&neIDdatarq=find_all&THE_BRANDsort=1][founditems][/founditems][/search]GKCan you post a code snippet at all? If you could I would be verygrateful...Alann 13/3/03 4:53 pm, Gary Krockover at gary@garykrockover.com wrote:> Alan,>> I just plugged your code into a new page and created a simple 'brand.db'and> I'm seeing the WebDNA parsed ok. I'll upload what I've got shortly to my> webserver, but briefly, if I view source I'm seeing:>> >> That repeated over again each time for each record in the db.>> GK>>>> Hi Gary>> Thanks for the suggestion :)>> My initial thoughts were that this would process the same JavaScript over> and over for each of the brands in my db but unfortunately it doesn't do> that either. After trying a variety of variations on placement of the> webdna tags I have come to the conclusion that the webdna will not parse> (well at least for me...) in the JavaScript.>> To test further I user [!] [/!] to comment out the webdna only to findthat> it was displayed as though in the [raw] tags. When I tried to do the same> using // as a JavaScript comment instead, the page started workingagain...>> Any further suggestions anyone?>> Thanks>> Alan>> on 13/3/03 2:32 pm, Gary Krockover at gary@garykrockover.com wrote:>>> Did you try moving the search outside of the beginning of the javascript?>> Oh, and just noticed that your /founditems is missing the [, so that is>> probably the problem, but here's my suggestion anyways:>>>>>> [search db=admin/brand.db&neIDdatarq=find_all&THE_BRANDsort=1]>> [founditems]>> >>>> [/founditems]>> [/search]>>>> GK-------------------------------------------------------------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:
Yeah, sorry.... it's just the same code that I suggested earlier (watch forlinebreaks):[search db=brand.db&neIDdatarq=find_all&THE_BRANDsort=1][founditems][/founditems][/search]GKCan you post a code snippet at all? If you could I would be verygrateful...Alann 13/3/03 4:53 pm, Gary Krockover at gary@garykrockover.com wrote:> Alan,>> I just plugged your code into a new page and created a simple 'brand.db'and> I'm seeing the WebDNA parsed ok. I'll upload what I've got shortly to my> webserver, but briefly, if I view source I'm seeing:>> >> That repeated over again each time for each record in the db.>> GK>>>> Hi Gary>> Thanks for the suggestion :)>> My initial thoughts were that this would process the same JavaScript over> and over for each of the brands in my db but unfortunately it doesn't do> that either. After trying a variety of variations on placement of the> webdna tags I have come to the conclusion that the webdna will not parse> (well at least for me...) in the JavaScript.>> To test further I user [!] [/!] to comment out the webdna only to findthat> it was displayed as though in the [raw] tags. When I tried to do the same> using // as a JavaScript comment instead, the page started workingagain...>> Any further suggestions anyone?>> Thanks>> Alan>> on 13/3/03 2:32 pm, Gary Krockover at gary@garykrockover.com wrote:>>> Did you try moving the search outside of the beginning of the javascript?>> Oh, and just noticed that your /founditems is missing the [, so that is>> probably the problem, but here's my suggestion anyways:>>>>>> [search db=admin/brand.db&neIDdatarq=find_all&THE_BRANDsort=1]>> [founditems]>> >>>> [/founditems]>> [/search]>>>> GK-------------------------------------------------------------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/
Gary Krockover
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:
Separate SSL Server (1997)
using WebCat for Associate Programs? (1998)
WebCat2b13MacPlugIn - more [date] problems (1997)
WebCat NT v. Mac (1997)
Re:slowness (1998)
WebCatalog [FoundItems] Problem - AGAIN - (1997)
WCS Newbie question (1997)
Extended [ConvertChars] (1997)
Re:mac hack (1997)
Special delete ... (1997)
Permission Denied Error (2001)
WebCat, The Trend, & Consolidating... (1997)
[OT] Interesting speed comparison .. (2003)
Bad creator codes which cause access denied errormessage (1997)
Emailer (1997)
looping through the headers of an orderfile (2000)
Caching pages...again (2001)
Linux [listfiles] (2007)
Db design question (relational vs. flat?) (1998)
WebMerchant 1.6 and SHTML (1997)