[ZPT] Lower case

Colin Fox cfox@cfconsulting.ca
25 Jun 2002 13:16:54 -0700


--=-LjZBL/GBNATIDR3XOm3Q
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Thanks, Jeffrey. This did the trick.

On Tue, 2002-06-25 at 12:08, Jeffrey P Shell wrote:
> On 6/25/02 12:37 PM, "Colin Fox" <cfox@cfconsulting.ca> wrote:
<...>
> >=20
> > Any suggestions?
>=20
> If you're using a Zope running Python 2.0 or later (ie, Zope 2.4 or later=
),
> you can use string methods directly:
>=20
> <span tal:define=3D"b python:request.somevalue.lower()">
> <p tal:content=3D"b">testing</p>
> </span>
>=20

--=20
Colin Fox                                         cfox@cfconsulting.ca
CF Consulting Inc.                                    GPG Fingerprint:
                    D8F0 84E7 E7CC 5C6C 9982  F1A7 A3EB 6EA3 BC97 572F

--=-LjZBL/GBNATIDR3XOm3Q
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA9GM+2o+tuo7yXVy8RAvzTAKCLeWpdIgCSNHVHPSWwKrre82UX3QCgvGxr
eWohqOyH1s6cNjImZJ8Ov5U=
=iWHZ
-----END PGP SIGNATURE-----

--=-LjZBL/GBNATIDR3XOm3Q--