Re: Nesting WebDNA in JavaScript

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 48641
interpreted = N
texte = Can you post a code snippet at all? If you could I would be very grateful...Alan n 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 find that > 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 working again... > > 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/ ------------------------------------------------------------- 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: Nesting WebDNA in JavaScript (Tim Robinson 2003)
  2. Re: Nesting WebDNA in JavaScript (Gary Krockover 2003)
  3. Re: Nesting WebDNA in JavaScript (Alan White 2003)
  4. Re: Nesting WebDNA in JavaScript (Gary Krockover 2003)
  5. Re: Nesting WebDNA in JavaScript (Pedro Rivera 2003)
  6. Re: Nesting WebDNA in JavaScript (Alan White 2003)
  7. Re: Nesting WebDNA in JavaScript (Donovan 2003)
  8. Re: Nesting WebDNA in JavaScript (Alan White 2003)
  9. Re: Nesting WebDNA in JavaScript (Alan White 2003)
  10. Re: Nesting WebDNA in JavaScript (Alan White 2003)
  11. Re: Nesting WebDNA in JavaScript (Gary Krockover 2003)
  12. Re: Nesting WebDNA in JavaScript (Alan White 2003)
  13. Re: Nesting WebDNA in JavaScript (Donovan 2003)
  14. Re: Nesting WebDNA in JavaScript (Gary Krockover 2003)
  15. Re: Nesting WebDNA in JavaScript (Alan White 2003)
  16. Re: Nesting WebDNA in JavaScript (Donovan 2003)
  17. Re: Nesting WebDNA in JavaScript (Clint Davis 2003)
  18. Nesting WebDNA in JavaScript (Alan White 2003)
Can you post a code snippet at all? If you could I would be very grateful...Alan n 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 find that > 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 working again... > > 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/ ------------------------------------------------------------- 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/ Alan White

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:

Sorry, WebCatalog Server Not Running (2002) MySQL blob question, Netscape slow question (2002) Updating a database once per day - An example (1998) webdna preferences (2005) exclusive db lock with webcat-3 ? (2000) docs for WebCatalog2 (1997) OSX Install error (2000) WebCatalog can't find database (1997) weiered lookup (2004) Fwd: Showif dates... (2002) Upload (1998) multiple search commands (1997) shipping costs (1997) displaying New products (using [date]) (1997) I'm new be kind (1997) restart needed???? (1997) BUG in [showif] using ^ (contains) (1997) Re[3]: Problem with new formvariables (2000) Error Log.db --however (1997) creator code (1997)