What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: [format] problem

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38427
interpreted = N
texte = Kalin -This sounds very much like a variable name conflict - similar to how the [date] tag doesn't work within an [orderfile] context because the order file defines a variable named [date]. Perhaps there is somehow a variable being created named format.Try putting just the tag [format] or [url][format][/url] inside your lineitems to see what WebCat spits out. Do the same thing outside of the [lineitems].Definitely something is preventing WebCat from recognizing [format] as the beginning of a context, therefore it thinks [/format] is out of place.- BrianAt 2:35 AM 9/6/2001, Kalin Mintchev wrote: >this is what i get: > >sku=18020X >quantity=1 >price=50.00 >discnt= >texte=OLIVIER CHRISTINAT >end of test. > > >note -> price is not formated, that's how it's entered in the db. the db >is maintained remotely from the customer. that should not affect the >[format] anyway... > >the [format] tag works fine on the same page but out of the >[lineitems] context.... i assume that the info from the shoppingcart file >is messing it up but so far i can not find any problems there.... > >sorry about the late reply. i was moved to another more urgent project >for a day... > >thanks > > > >On Wed, 5 Sep 2001, Kenneth Grome wrote: > >> >ok i checked my code dosens of times then i did a test shopcart with only >> >this in it: >> > >> > >> >[lineItems] >> > >> >[sku] >> >
>> >$[format .2f][math][quantity]*[price][/math][/format] >> >
>> >[showif [discnt]>0]$[format .2f][texte][/format][/showif] >> >[showif [discnt]=]no disc.[/showif] >> >
>> > >> >[/lineItems] >> >> >> >> Put this in a new *blank* .tpl file, then run your test again, then >> post your results: >> >> [lineItems] >> sku=[sku]
>> quantity=[quantity]
>> price=[price]
>> discnt=[discnt]
>> texte=[texte]
>> end of test. >> [/lineItems] > > >> ---------------------------------------------------- >> Kenneth Grome & Associates >> web: http://kengrome.com >> email: owner@kengrome.com >> mobile: +63 917 254-1494 >> office: +63 32 262-8164 > > ---------------------------------------------------- -- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [format] problem (Kalin Mintchev 2001)
  2. Re: [format] problem (Brian Fries 2001)
  3. Re: [format] problem (Patrick O'Brien 2001)
  4. Re: [format] problem (Kalin Mintchev 2001)
  5. Re: [format] problem (Gary J. Krockover 2001)
  6. Re: [format] problem (Kalin Mintchev 2001)
  7. Re: [format] problem (Shidan Bateni 2001)
  8. Re: [format] problem (Kalin Mintchev 2001)
  9. Re: [format] problem (Kalin Mintchev 2001)
  10. Re: [format] problem (Kalin Mintchev 2001)
  11. Re: [format] problem (Brian Fries 2001)
  12. Re: [format] problem (Will Starck 2001)
  13. Re: [format] problem (Kalin Mintchev 2001)
  14. Re: [format] problem (Grant Hulbert 2001)
  15. Re: [format] problem (Kalin Mintchev 2001)
  16. Re: [format] problem (Kenneth Grome 2001)
  17. Re: [format] problem (Kenneth Grome 2001)
  18. Re: [format] problem (Kalin Mintchev 2001)
  19. Re: [format] problem (Peter Werno 2001)
  20. Re: [format] problem (Kenneth Grome 2001)
  21. [format] problem (Kalin Mintchev 2001)
  22. Re: [format] problems (John Peacock 2000)
  23. Re[2]: Re[2]: [format] problems (jburgess@rowmanlittlefield.com 2000)
  24. Re: Re[2]: [format] problems (Peter Werno 2000)
  25. Re[2]: [format] problems (jburgess@rowmanlittlefield.com 2000)
  26. Re: [format] problems (jburgess@rowmanlittlefield.com 2000)
  27. Re: [format] problems (Peter Werno 2000)
  28. [format] problems (Rob Marquardt 1998)
Kalin -This sounds very much like a variable name conflict - similar to how the [date] tag doesn't work within an [orderfile] context because the order file defines a variable named [date]. Perhaps there is somehow a variable being created named format.Try putting just the tag [format] or [url][format][/url] inside your lineitems to see what WebCat spits out. Do the same thing outside of the [lineitems].Definitely something is preventing WebCat from recognizing [format] as the beginning of a context, therefore it thinks [/format] is out of place.- BrianAt 2:35 AM 9/6/2001, Kalin Mintchev wrote: >this is what i get: > >sku=18020X >quantity=1 >price=50.00 >discnt= >texte=OLIVIER CHRISTINAT >end of test. > > >note -> price is not formated, that's how it's entered in the db. the db >is maintained remotely from the customer. that should not affect the >[format] anyway... > >the [format] tag works fine on the same page but out of the >[lineitems] context.... i assume that the info from the shoppingcart file >is messing it up but so far i can not find any problems there.... > >sorry about the late reply. i was moved to another more urgent project >for a day... > >thanks > > > >On Wed, 5 Sep 2001, Kenneth Grome wrote: > >> >ok i checked my code dosens of times then i did a test shopcart with only >> >this in it: >> > >> > >> >[lineitems] >> > >> >[sku] >> >
>> >$[format .2f][math][quantity]*[price][/math][/format] >> >
>> >[showif [discnt]>0]$[format .2f][texte][/format][/showif] >> >[showif [discnt]=]no disc.[/showif] >> >
>> > >> >[/lineItems] >> >> >> >> Put this in a new *blank* .tpl file, then run your test again, then >> post your results: >> >> [lineitems] >> sku=[sku]
>> quantity=[quantity]
>> price=[price]
>> discnt=[discnt]
>> texte=[texte]
>> end of test. >> [/lineItems] > > >> ---------------------------------------------------- >> Kenneth Grome & Associates >> web: http://kengrome.com >> email: owner@kengrome.com >> mobile: +63 917 254-1494 >> office: +63 32 262-8164 > > ---------------------------------------------------- -- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.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://search.smithmicro.com/ Brian Fries

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:

Multiple Pulldowns (1997) Credit Card Number checking (1997) Satistics (1999) [WebDNA] XML Parsing Error Help (2010) redirect strangeness (2000) Logging purchases (1997) Add sizes from check boxes (2002) 2nd WebCatalog2 Feature Request (1996) Help- Linux Install Serial number not taling. (2000) RE: protect tag on NT (1997) WebCatalog NT (1996) Emailer port change (1997) frames & carts (1997) Date Sorting (1997) [SHOWIF]s and empty arguments (1997) Request for help on a new *automated* WebCatalog function ... (1998) migrating from MacOS to unix [drifting off-topic] (2000) Searching (second post) (1999) HELP WITH DATES (1997) Standalone Testing (1998)