[Zope] Problems with GET method
Fri, 21 Jun 2002 14:38:12 +0200
Nico de Boer wrote:
Hmmm ... the weird and wonderfull workings of other peoples minds.... ;-)
I don't understand why you use this overly complicated approach but I
can see at least one problem:
>The following thing to do is split the PATH_INFO variable and join it
>Then I want to get the attributes of the training with the
><table cellpadding="3" cellspacing="0" border="0" width="100%">
><tr><td>Title training:</td><td><dtml-var title></td></tr>
><tr><td>Start date:</td><td><dtml-var date_start></td></tr>
><tr><td>Stop date:</td><td><dtml-var date_stop></td></tr>
>Institute, location etc are attributes of the ZClass Training.
>The 'with' tag doesn't work; I get KeyErrors.
You have just turned "training" into a list of path elelements like:
training = ['path', 'to', 'somewhere']
and trying to do:
training.institute on a list will do you no good.
regards Max M
"Sorry I would Really Like To Help More On This Project,
But Am To Busy Doing Paid Work On A Tight Deadline"