[Zope] Question about <dtml-let ...>

George M. Ellenburg george@ellenburg.org
Wed, 8 May 2002 17:03:54 -0400


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 08 May 2002 04:54 pm, Kevin Carlson wrote:
> George,
>
> The line should read <dtml-let TD_WIDTH="400">.  But I see another problem
> and that is that the </dtml-let> tag is right after the <dtml-let> tag.
> <dtml-let> alters the namespace by pushing the named expressions on the
> namespace stack.  </dtml-let> pops them off the namespace stack.  Since you
> are doing both of these together, the namespace will not contain TD_WIDTH
> when you need to use it.
>
> Kevin

Gotcha.  So I take it there's no variable typing?  "400" is both a string and 
an integer?

Hmmm... would <!--#let TD_WIDTH="400"--> work better, or can I just put the 
</dtml-let> on the line right below it?

Thanks for the advice!
- -- 
George M. Ellenburg <george@ellenburg.org>
<http://www.ellenburg.org/>
3 Years and counting of being 100% Microsoft-free; and much more productive.
Proud user of ASK <http://www.paganini.net/ask/>, the Active Spam Killer!
- ---
Any philosophy that can be put in a nutshell belongs there.
		-- Sydney J. Harris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE82ZK6FItzMEWZZdgRAhKwAJ9XudARfkYdz0/hlrUVAtis5D1YZACdEY55
0BXY3LuGDvJjRVCiW7a4Ca0=
=OPYN
-----END PGP SIGNATURE-----