[Zope] Problems with QUERY_STRING

Dieter Maurer dieter@handshake.de
Mon, 24 Jun 2002 22:12:19 +0200


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