11 Mar
2005
11 Mar
'05
5:51 a.m.
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@homemaster.cn