[Zope] The let Tag.

Andreas Kostyrka andreas@mtg.co.at
Wed, 15 Sep 1999 16:50:03 +0200 (CEST)


On Wed, 15 Sep 1999 picasso@videotron.ca wrote:

> I tried to follow the example of a let tag in "DTML User's Guide". I tried
> made a DTML Method with the following code:
> 
> <dtml-in "1,2,3,4">
Well, try this:
<dtml-in "[1,2,3,4]">
> <dtml-let num=sequence-item
>           index=sequence-index
>           result="num*index"
                              ^---- >

> <dtml-var num> * <dtml-var index> = <dtml-var result>
> </dtml-let>
> </dtml-in>
> 
> When I click on Change, I have the message:
> invalid parameter: " 
> 
> Similarly, I tried the example in the HOW-TO: let Tag:
> 
> <dtml-let name="bob">
>           relation="uncle"
Again: You forgot the closing >.
>    <dtml-var name> is your <dtml-var relation>
> </dtml-let>
Andreas
-- 
Andreas Kostyrka                     | andreas@mtg.co.at
phone: +43/1/7070750                 | phone: +43/676/4091256   
MTG Handelsges.m.b.H.                | fax:   +43/1/7065299
Raiffeisenstr. 16/9                  | 2320 Zwoelfaxing AUSTRIA