[Zope] Newbie-Problem with ZTUtils

zope zope@stylusinc.net
Fri, 26 Jul 2002 14:29:16 +0530


This is a multi-part message in MIME format.

------=_NextPart_000_00DB_01C234B0.D207F320
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi ,
With ZTUtils i am having a problem .Could someone who is working on this =
area please help me out.
=20
batch python:modules['ZTUtils'].Batch(results,
                                                          size=3D12,
                                                         start=3Dstart)

If the result set is equal to12 then I get the resultset
IF the result set is lesser than 12 then i  am getting a message

container.REQUEST.form['n']

WHat does this mean?I figure that i have to give SIZE=3D(exact number of
records)
But how can i get it?IS there some function for this?
Could you pleasse help me out.

Regards
John Kunchandy


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.380 / Virus Database: 213 - Release Date: 7/24/2002

------=_NextPart_000_00DB_01C234B0.D207F320
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi ,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>With ZTUtils i am having a problem =
.Could someone=20
who is working&nbsp;on this area please help me out.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>batch=20
python:modules['ZTUtils'].Batch(results,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;=20
size=3D12,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
start=3Dstart)<BR><BR>If the result set is equal to12 then I get the=20
resultset<BR>IF the result set is lesser than 12 then i&nbsp; am getting =
a=20
message</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2><BR>container.REQUEST.form['n']<BR><BR>WHat does=20
this mean?I figure that i have to give SIZE=3D(exact number =
of<BR>records)<BR>But=20
how can i get it?IS there some function for this?<BR>Could you pleasse =
help me=20
out.<BR><BR>Regards<BR>John Kunchandy</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><BR>---<BR>Outgoing mail is certified =
Virus=20
Free.<BR>Checked by AVG anti-virus system (<A=20
href=3D"http://www.grisoft.com">http://www.grisoft.com</A>).<BR>Version: =
6.0.380 /=20
Virus Database: 213 - Release Date: 7/24/2002</FONT></DIV></BODY></HTML>

------=_NextPart_000_00DB_01C234B0.D207F320--