25 May
2004
25 May
'04
6:11 p.m.
Maciej Lopacinski wrote at 2004-5-25 12:55 +0200:
... <dtml-call "REQUEST.set('img_url', images.absolute_url())"> <dtml-call "REQUEST.set('image_db_url', image_db.absolute_url())"> <dtml-call session_init> ... Questions: 1. How should it look in ZPT?
In ZPT, you do not have a large implicit namespace but only a small one with a few predefined variables and whatever variables you defined. Often you use "here.images" or "request/file" where in DTML you just used "images" and "file".
2. In folowing scripts I use <dtml-call "REQUEST.get('img_url')"> or something like this, how should I use it now in ZPT?
"request.get(...)" -- Dieter