> >
> >
> >
> >
> > Replace movie_rating with the variable that represents the movie rating.
>
> What about ?
>
Fine, except that he wants the tag repeated the appropriate
number of times. Try putting the tag into the dtml-var statement
and you get something along the lines of (untest
if number_of_stars is 5 then
will give you *
(Multiplication works on strings in python and thus Zope!)
Jim Sanford
- Original Message -
From: "Alex Mendez" <[EMAIL PROTECTED]>
To: "Lista Zope" <[EMAIL PROTECTED]>
Sent: Friday, June 02, 2000 5:28 AM
Subject: [Zope-dev] Repeatin
Steve Alexander wrote:
>
> Shane Hathaway wrote:
> >
> >
> >
> >
> >
> > Replace movie_rating with the variable that represents the movie rating.
>
> What about ?
Or rather:
' * movie_rating">
--
Steve Alexander
Software Engineer
Cat-Box limited
__
Shane Hathaway wrote:
>
> Alex Mendez wrote:
> >
> > Hello, it's the first time I write here and I'm a
> > newbie at Zope, so maybe I'm asking a stupid
> > question...
> >
> > Case is I retrieve from my movie database the value of
> > the movie from 1 to 5 stars. I would like to repeat
> > that n
Hi,
> -Original Message-
> From: Alex Mendez [mailto:[EMAIL PROTECTED]]
> Sent: 02 June 2000 12:28
> To: Lista Zope
> Subject: [Zope-dev] Repeating a piece of HTML code
>
> Hello, it's the first time I write here and I'm a
> newbie at Zope, so maybe I'm asking a stupid
> question...
The
Alex Mendez wrote:
>
> Hello, it's the first time I write here and I'm a
> newbie at Zope, so maybe I'm asking a stupid
> question...
>
> Case is I retrieve from my movie database the value of
> the movie from 1 to 5 stars. I would like to repeat
> that n times the code width=15> so the number