[Zope] truncation
STACCINI PASCAL CHU Nice
staccini.p@chu-nice.fr
Tue, 13 Aug 2002 16:02:44 +0200
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C242D2.1900CE26
Content-Type: text/plain
hello
I would like to know if there is a way to truncate a string while displaying
it in a table using TAL, as the following code allows it in classic DTML
code : <dtml-var mystring size=10 etc=", etc.">.
actually the TAL code is : <td tal:content=mystring>dummy string</td>
thank you for your answer
------_=_NextPart_001_01C242D2.1900CE26
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>truncation</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2 FACE=3D"Arial">hello</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">I would like to know if there is a =
way to truncate a string while displaying it in a table using TAL, as =
the following code allows it in classic DTML code : <dtml-var =
mystring size=3D10 etc=3D", etc.">. </FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Arial">actually the TAL code is : <td =
tal:content=3Dmystring>dummy string</td></FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">thank you for your answer</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C242D2.1900CE26--