[Zope] Problem using SQL Example from the Zope Book

Robert Rottermann robert@rocad.ch
Mon, 21 May 2001 06:55:01 +0200


This is a multi-part message in MIME format.

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

Hi there,

I try to build the examples given in chapter 10

When I try to access a ZSql method passing it a parameter like this

http://localhost:8080/employee_by_id/emp_id/42

where the parameter name is emp_id and the value 42 I get a "not found" =
traceback

I have to use

http://localhost:8080/employee_by_id/manage_test?ClientID=3D12

why does it not work like the Book sugests?

thanks for your time

Robert


------=_NextPart_000_0029_01C0E1C2.F4B96670
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#c8e0d8>
<DIV><FONT face=3DArial size=3D2>Hi there,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I try to build the examples given in =
chapter=20
10</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>When I try to access a&nbsp;ZSql method =
passing it=20
a parameter like this</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"http://localhost">http://localhost</A>:8080/employee_by_id/emp_id=
/42</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>where the parameter name is emp_id and =
the value 42=20
I get a "not found" traceback</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have to use</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"http://localhost">http://localhost</A>:8080/employee_by_id/manage=
_test?ClientID=3D12</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>why does it not work like the Book sugests?</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks for your time</DIV>
<DIV>&nbsp;</DIV>
<DIV>Robert</DIV>
<DIV>&nbsp;</DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_0029_01C0E1C2.F4B96670--