Re: [WebDNA] passing a variable in an include - precedence

This WebDNA talk-list message is from

2017


It keeps the original formatting.
numero = 113409
interpreted = N
texte = 1002 --001a114db55eaf259c0548f733be Content-Type: text/plain; charset=UTF-8 Hi all, Ok I have just hit an issue with variables using WebDNA 8.5.1 on CentOS 7. Prior to the upgrade calling this include: [include file=/common/includes/smUtility-navlist-bootstrap.inc&smNAVCLASS=primary-nav] and having this in the include file: [text secure=F]smNAVCLASS=[/text] would result in the variable 'smNAVCLASS' being set to 'primary-nav'. After the upgrade the variable 'smNAVCLASS' being set to '' - i.e. blank. So the line "[text secure=F]smNAVCLASS=[/text]" is overwriting the passed in include variable. Is this the intended behaviour? If so then I have a lot of code to rewrite. - Tom --001a114db55eaf259c0548f733be Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all,

Ok I have just hit an issue wit= h variables using WebDNA 8.5.1 on CentOS 7.

Prior = to the upgrade calling this include:

[include fil= e=3D/common/includes/smUtility-navlist-bootstrap.inc&smNAVCLASS=3Dprima= ry-nav]

and having this in the = include file:

[text secure=3DF]smNAVCLASS=3D[/text= ]

would result in the variable = 'smNAVCLASS' being set to 'primary-nav'.

After the upgrade the variable 'smNAVCLASS' being set to = 9;' - i.e. blank.

So the line "[text secu= re=3DF]smNAVCLASS=3D[/text]" is overwriting the passed in include vari= able.

Is this the intended behaviour?=C2=A0 If so = then I have a lot of code to rewrite.

- Tom
<= div>




<= /div> --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --001a114db55eaf259c0548f733be-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] passing a variable in an include - precedence (christophe.billiottet@webdna.us 2017)
  2. Re: [WebDNA] passing a variable in an include - precedence (christophe.billiottet@webdna.us 2017)
  3. Re: [WebDNA] passing a variable in an include - precedence (Tom Duke 2017)
  4. Re: [WebDNA] passing a variable in an include - precedence (Stuart Tremain 2017)
  5. Re: [WebDNA] passing a variable in an include - precedence (Donovan Brooke 2017)
  6. Re: [WebDNA] passing a variable in an include - precedence (Tom Duke 2017)
  7. Re: [WebDNA] passing a variable in an include - precedence (christophe.billiottet@webdna.us 2017)
  8. Re: [WebDNA] passing a variable in an include - precedence (Tom Duke 2017)
  9. Re: [WebDNA] passing a variable in an include - precedence ("Matthew A Perosi, Psi Prime" 2015)
  10. Re: [WebDNA] passing a variable in an include - precedence (Donovan Brooke 2015)
  11. Re: [WebDNA] passing a variable in an include - precedence ("Matthew A Perosi, Psi Prime" 2015)
  12. Re: [WebDNA] passing a variable in an include - precedence (Donovan Brooke 2015)
  13. Re: [WebDNA] passing a variable in an include - precedence (Matthew Perosi 2015)
  14. Re: [WebDNA] passing a variable in an include - precedence (Kenneth Grome 2015)
  15. [WebDNA] passing a variable in an include - precedence (christophe.billiottet@webdna.us 2015)
1002 --001a114db55eaf259c0548f733be Content-Type: text/plain; charset=UTF-8 Hi all, Ok I have just hit an issue with variables using WebDNA 8.5.1 on CentOS 7. Prior to the upgrade calling this include: [include file=/common/includes/smUtility-navlist-bootstrap.inc&smNAVCLASS=primary-nav] and having this in the include file: [text secure=F]smNAVCLASS=[/text] would result in the variable 'smNAVCLASS' being set to 'primary-nav'. After the upgrade the variable 'smNAVCLASS' being set to '' - i.e. blank. So the line "[text secure=F]smNAVCLASS=[/text]" is overwriting the passed in include variable. Is this the intended behaviour? If so then I have a lot of code to rewrite. - Tom --001a114db55eaf259c0548f733be Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all,

Ok I have just hit an issue wit= h variables using WebDNA 8.5.1 on CentOS 7.

Prior = to the upgrade calling this include:

[include fil= e=3D/common/includes/smUtility-navlist-bootstrap.inc&smNAVCLASS=3Dprima= ry-nav]

and having this in the = include file:

[text secure=3DF]smNAVCLASS=3D[/text= ]

would result in the variable = 'smNAVCLASS' being set to 'primary-nav'.

After the upgrade the variable 'smNAVCLASS' being set to = 9;' - i.e. blank.

So the line "[text secu= re=3DF]smNAVCLASS=3D[/text]" is overwriting the passed in include vari= able.

Is this the intended behaviour?=C2=A0 If so = then I have a lot of code to rewrite.

- Tom
<= div>




<= /div> --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --001a114db55eaf259c0548f733be-- . Tom Duke

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:

[WebDNA] writefile (2009) WebCat hosting providers? (1997) problem serving foreign languages text (1997) [WebDNA] when you need to crop a string to n chars in length, but make sure to NOT cut off in the middle of a word (2011) Help name our technology! (1997) Cart Number sequence (1997) upgrading (1997) Looking for WebCat hosting (2000) PhotoMill -> PhotoMaster (1997) Just Testing (1997) hidden databases (2000) WebTen and WebCat (1997) SEARCH Peram (2003) security (1997) Forms Search Questions (1997) Is the list server working? (1998) Extended [ConvertChars] (1997) Google MAP URLs (2006) alternate location for cookies (2001) WC on Mac OS X or Mac OS X Server 2.x (2001)