[Zope] <dtml-in " " size=1> error
Grant Murphy
Grant.Murphy@eskom.co.za
Thu, 12 Apr 2001 07:23:46 +0200
Hi there
Thanks for the quick response.
I tried both suggestions and first gave the same error whereas the second =
causes some other
error. I delved deeper and found my dtml-in tag that gives you the ability =
to navigate to the
next record was missing a next.
<dtml-in sqlSelectAllCustomers next size=3D1 orphan=3D1 start=3Dquery_start=
>
<dtml-if next-sequence>
<a href=3D"<dtml-var URL><dtml-var sequence-query
>query_start=3D<dtml-var
next-sequence-start-number>">
(Next)
</center></a>
Thanks for you help
Grant
>>> Casey Duncan <cduncan@kaivo.com> 10/04/2001 16:15:18 >>>
Grant Murphy wrote:
>=20
> Hi
>=20
> When I use the following tag, the result only contains the first and =
second records
> in the postgres table. When setting size to "2" it gives me all the =
records but two at
> a time. Is this a known problem or am I doing something wrong?
>=20
> <dtml-in sqlSelectAllCustomers size=3D1 start=3Dquery_start>
>=20
> Thanks
> Grant
>=20
You might try:
<dtml-in name=3D"sqlSelectAllCustomers" size=3D1 orphan=3D0 start=3Dquery_s=
tart>
or perhaps:
<dtml-with expr=3D"sqlSelectAllCustomers(REQUEST)[query_start]">
--=20
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com=20
`------------------>
_______________________________________________
Zope maillist - Zope@zope.org=20
http://lists.zope.org/mailman/listinfo/zope=20
** No cross posts or HTML encoding! **
(Related lists -=20
http://lists.zope.org/mailman/listinfo/zope-announce=20
http://lists.zope.org/mailman/listinfo/zope-dev )