Re: HTML::Template and __ODD__



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.

.



Relevant Pages

  • Re: Status of the Collatz Conjecture?
    ... Also a and b are odd, cannot be divisible by 3, cannot be equal and let's ... Leave it open, whether such a loop with positive odd integers a,b>1 actually ... If a,b greater than some limit, then the rhs is ... these m-cycle researchers have no clue what ...
    (sci.math)
  • Re: Status of the Collatz Conjecture?
    ... Also a and b are odd, cannot be divisible by 3, cannot be equal and let's ... Leave it open, whether such a loop with positive odd integers a,b>1 actually ... If a,b greater than some limit, then the rhs is ... these m-cycle researchers have no clue what ...
    (sci.math)
  • Re: While statement
    ... > sum off all the odd numbers. ... > inputed value some of the eben integers and sum of odd integers. ... > start loop ... It sounds like your pseudocode will more or less actually do what the ...
    (comp.lang.java.programmer)
  • Re: Dont spam Zoara [OT]
    ... but then it started to loop and loop, like one of those delay units. ... Command + eject worked. ... I wonder if he also knew that VoiceOver would die as well? ... Very unusual and odd because VO is usually very reliable here. ...
    (uk.comp.sys.mac)
  • HTML::Template and __ODD__
    ... I have the following code in one of my template files ... <tbody id='interfaceData'> ... The loop works, ... doesn't happen is the alternate row class style being applied to odd rows ...
    (comp.lang.perl.modules)