Re: HTML::Template and __ODD__
- From: James Taylor <spam-block-@xxxxxxxxxxxxxxx>
- Date: Fri, 22 Jul 2005 12:56:41 +0100
In article <dbq4sd$7hj$1$8302bc10@xxxxxxxxxxxxxxxx>,
Colin Walls <colin@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> The loop works, all the variables insert properly. The only thing that
> doesn't happen is the alternate row class style being applied to odd
> rows in the table. All I get is the tag "<tr >" appearing on each row.
>
> Could anyone clue me up as to where I am going wrong?
Your code looks fine to me so my deduction would be that the __ODD__
is not present and that's why you're getting a blank in the "<tr >".
The most obvious cause of this would be that you've forgotten to set
the loop_context_vars parameter to a true value when calling
HTML::Template->new() or one of its sisters.
By the way, there's a mailing list for HTML::Template here:
http://lists.sourceforge.net/lists/listinfo/html-template-users
--
James Taylor, London, UK PGP key: 3FBE1BF9
To protect against spam, the address in the "From:" header is not valid.
In any case, you should reply to the group so that everyone can benefit.
If you must send me a private email, use james at oakseed demon co uk.
.
- Follow-Ups:
- Re: HTML::Template and __ODD__
- From: Colin Walls
- Re: HTML::Template and __ODD__
- References:
- HTML::Template and __ODD__
- From: Colin Walls
- HTML::Template and __ODD__
- Prev by Date: Re: Calling External DLL functions in Perl using Inline
- Next by Date: Re: Calling External DLL functions in Perl using Inline
- Previous by thread: HTML::Template and __ODD__
- Next by thread: Re: HTML::Template and __ODD__
- Index(es):
Relevant Pages
|