[Zope3-dev] here, context, etc
Chris Withers
chrisw@nipltd.com
Thu, 15 Aug 2002 13:57:18 +0100
I see someone just got bit by this again, I knwo there were talks of name
unification, has any progress been made on these?
cheers,
Chris
-------- Original Message --------
Subject: Re: [Zope] truncation
Date: Wed, 14 Aug 2002 07:15:56 -0700
From: Paul Winkler <pw_lists@slinkp.com>
To: zope@zope.org
References: <BE1F6C7E517CD611984E400000E2031465E727@s20314.chun>
<20020813072602.A31926@slinkp.com> <3D5A1C54.4090702@nipltd.com>
On Wed, Aug 14, 2002 at 10:01:08AM +0100, Chris Withers wrote:
> Paul Winkler wrote:
> > TAL doesn't provide this, but you can use a python string slice:
> > <td tal:content="python:context.mystring[:10]">dummy string</td>
> >
> > You might need to use something other than "context", depending
> > on where "mystring" comes from.
>
> you mean 'here', not 'context'.
aargh!
"here" in zpt, even within python expressions...
but "context" in python scripts.
AFAICT they mean exactly the same thing. Yuck. I hope
this will be unified in zope 3.
I'm gonna go write that on the board 100 times...
--
Paul Winkler
"Welcome to Muppet Labs, where the future is made - today!"
_______________________________________________
Zope maillist - Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )