[Zope] Passing parameters using DTML
Tino Wildenhain
tino at wildenhain.de
Fri Jun 17 04:57:45 EDT 2005
Am Freitag, den 17.06.2005, 09:44 +0100 schrieb John Poltorak:
> Can someone provide an example of passing parameters using DTML?
>
> I'm sure this must be doable, but don't see an example in the Zope Book.
>
> I assume it would go something like
>
> <dtml-var var1 parm1 parm2>
>
> but how would var1 pick up parm1 parm2?
Not at all. You could either have tried
it out ;) Or looked at the DTML documentation
in the Zope book *wink* ;)
<dtml-var expr="somemethod(parm1=value1,parm2=value2)">
If you are learning anyway, why not skip the DTML
part for now and go strait python-scripts and ZPT?
--
Tino Wildenhain <tino at wildenhain.de>
More information about the Zope
mailing list