Re: [WebDNA] Variable truncating when using javascript openwindow

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 107476
interpreted = N
texte = --Apple-Mail-3-1003012127 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii But in that example he is [url]'ing the var's value *twice* just to get = it to work (to not break the URL)... rather than the need for just once, = as we would expect it to work. (?) I popup javascript windows all the time and just wrap the var's vals. = once... (without looking again to be sure I tried with an amp char in = there ;-) >=20 > I'm not sure that your test3 example *is* a hack: that's how it's = supposed to work. When you put text into a URL, it needs to be = URL-encoded for exactly this reason. >=20 > test3 is what I would consider "best practice" rather than "hack" >=20 > On Oct 14, 2011, at 9:31 AM, Steve Raslevich wrote: >=20 >> Thanks for your reply. No, I haven't solved it. For now, I am using = the 'test3' example/hack I listed below. Let me know if you test and = what results you get. I don't think it is anything in the landing page = as using the text link and the hack both display correctly on the = landing page. --Apple-Mail-3-1003012127 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii But = in that example he is [url]'ing the var's value *twice* just to get it = to work (to not break the URL)... rather than the need for just once, as = we would expect it to work.
(?)

I popup = javascript windows all the time and just wrap the var's vals. once... = (without looking again to be sure I tried with an amp char in there = ;-)


I'm not sure that your test3 example *is* a = hack: that's how it's supposed to work. When you put text into a URL, it = needs to be URL-encoded for exactly this = reason.

test3 is what I would consider "best = practice" rather than "hack"

On Oct 14, 2011, at = 9:31 AM, Steve Raslevich wrote:

Thanks for = your reply. No, I haven't solved it. For now, I am using the 'test3' = example/hack I listed below. Let me know if you test and what results = you get. I don't think it is anything in the landing page as using the = text link and the hack both display correctly on the landing = page.
<= /div>
= --Apple-Mail-3-1003012127-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Variable truncating when using javascript openwindow (Steve Raslevich 2011)
  2. Re: [WebDNA] Variable truncating when using javascript openwindow (Govinda 2011)
  3. Re: [WebDNA] Variable truncating when using javascript openwindow (aaronmichaelmusic@gmail.com 2011)
  4. Re: [WebDNA] Variable truncating when using javascript openwindow (Grant Hulbert 2011)
  5. Re: [WebDNA] Variable truncating when using javascript openwindow (Govinda 2011)
  6. Re: [WebDNA] Variable truncating when using javascript openwindow (Grant Hulbert 2011)
  7. Re: [WebDNA] Variable truncating when using javascript openwindow (Steve Raslevich 2011)
  8. Re: [WebDNA] Variable truncating when using javascript openwindow (Govinda 2011)
  9. [WebDNA] Variable truncating when using javascript openwindow (Steve Raslevich -Northern Sound 2011)
--Apple-Mail-3-1003012127 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii But in that example he is [url]'ing the var's value *twice* just to get = it to work (to not break the URL)... rather than the need for just once, = as we would expect it to work. (?) I popup javascript windows all the time and just wrap the var's vals. = once... (without looking again to be sure I tried with an amp char in = there ;-) >=20 > I'm not sure that your test3 example *is* a hack: that's how it's = supposed to work. When you put text into a URL, it needs to be = URL-encoded for exactly this reason. >=20 > test3 is what I would consider "best practice" rather than "hack" >=20 > On Oct 14, 2011, at 9:31 AM, Steve Raslevich wrote: >=20 >> Thanks for your reply. No, I haven't solved it. For now, I am using = the 'test3' example/hack I listed below. Let me know if you test and = what results you get. I don't think it is anything in the landing page = as using the text link and the hack both display correctly on the = landing page. --Apple-Mail-3-1003012127 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii But = in that example he is [url]'ing the var's value *twice* just to get it = to work (to not break the URL)... rather than the need for just once, as = we would expect it to work.
(?)

I popup = javascript windows all the time and just wrap the var's vals. once... = (without looking again to be sure I tried with an amp char in there = ;-)


I'm not sure that your test3 example *is* a = hack: that's how it's supposed to work. When you put text into a URL, it = needs to be URL-encoded for exactly this = reason.

test3 is what I would consider "best = practice" rather than "hack"

On Oct 14, 2011, at = 9:31 AM, Steve Raslevich wrote:

Thanks for = your reply. No, I haven't solved it. For now, I am using the 'test3' = example/hack I listed below. Let me know if you test and what results = you get. I don't think it is anything in the landing page as using the = text link and the hack both display correctly on the landing = page.
<= /div>
= --Apple-Mail-3-1003012127-- Govinda

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:

Quit revisited (1997) shipCost (1998) REPOST: Large founditems loops (2000) Problems. (2000) A little help on e-mail (HELP!!! :-) ) (1998) quitting (1997) Internet Explorer and caching (2000) Further on formula.db failure to calculate shipCost (1997) can you see what is wrong here? (2002) Migrating to NT -Reply (1997) Out of the woodwork (2007) carriage returns in data (1997) Validating a date (2000) shipcost (1997) Why don't my carts expire (1998) Setting up shop (1997) WebCat & WebTen (1997) locking variables? (2000) Sendmail doesn't (was Queertrons?) (1997) Word search (1997)