[Zope] initialization prob

prabuddha ray buddha_2001 at rediffmail.com
Fri Mar 11 00:51:04 EST 2005


seems this worked.jus a matter of []. thanks yuan.
but I'm totally at loss.no compilation errors, but when i test 
the
districtname request parameter is missing.

error display:

  Error Type
KeyError Error Value
'districtname'

which is quite obvious. plz tip me how to set the districtname
requset var wen the page loads for the 1st time.
sud be an ifelse thing.plz tell i'm stuck.

On Thu, 10 Mar 2005 Hong Yuan wrote :
>Try this:
>
><div tal:repeat="district
>python:context.getDistrictUser(district_name=request.form['districtname'])">
>
>-- HONG Yuan
>Homemaster Trading Co., Ltd.
>No. 601, Bldg. 41, 288 Shuangyang Rd. (N)
>Shanghai 200433, P.R.C.
>Tel: +86 21 55056553
>Fax: +86 21 55067325
>E-mail: hongyuan at homemaster.cn
>
>


More information about the Zope mailing list