[Zope] Problem in constructing parameter for ZSQL Method

Jason Wong jwong@digitalview.com.hk
Thu, 27 Apr 2000 15:43:12 +0800


I need to pass this string as a parameter to a ZSQL Method:

'<a href="details?Controller=' & Model & '">' & Model & '</a>' as ModelLink


Thus I have:

<dtml-let recordset=qry(column='\'<a href="details?Controller=\' & Model &
\'">\' & Model & \'</a>\' as ModelLink')>

But this gives an invalid parameter error:

invalid parameter: "& Model & \'">\' & Model & \'\' as ModelLink')"", for
tag
<dtml-let XXrecordset="qry_General(column='\'<a
href="details?Controller=\' & Model & \'">\' & Model & \'</a>\' as
ModelLink')">, on line 19 of index_html


Can anyone tell me where my mistake is?

thanks
-
Jason Wong
Digital View Ltd
2201 Nanyang Plaza
57 Hung To Road
Kwun Tong
HONG KONG
Tel: +852-2861-3615
Fax: +852-2520-2987
www.digitalview.com