24 Jun
2002
24 Jun
'02
8:12 p.m.
Nico de Boer writes:
... <dtml-let splitpath="_.string.split(QUERY_STRING,'/')" training="_.string.join(splitpath[1:],'.')">
So I get the following:
training = path.to.training "training" now contains a string.
Then I want to get the attributes of the training with the dtml-with tag:
<dtml-with "training"> but "dtml-with" wants an object.
See <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html> for "Computed variable access" (looking up an object given its id as an expression). Dieter