perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Rayner" <dray...@savicom.net>
Subject Change in behavior of <TH> in 2.0?
Date Thu, 05 Feb 2004 01:22:32 GMT
I had some templates working in Embperl::Object V1.3.6 which don't work the
same way with V2.0.

Here is a code snippet:

        <table align="center" border="1" cellspacing="2" cellpadding="2">
          <tr>
            <th class="titletext">[+ $header[$col] +]</th>
          </tr>
          <tr>
            <td class="contenttext">[+ $table[$row][$col] +]</td>
          </tr>
        </table>

I 1.3.6, I get a table with one header (column titles from $header[]), and
several other rows (column values from $table[][]).  In 2.0 I get the
headers repeated for each table row.  Is there any way to change this code
to get the old behavior?

Eample:

V1.3.6:

   Section     Count    Time
    1               10         10:00
    2               20         11:00
    3               30         12:00

V 2.0:

   Section     Count    Time
    1               10         10:00
   Section     Count    Time
    2               20         11:00
   Section     Count    Time
    3               30         12:00



Thanks and regards,

Doug Rayner
Senior System Architect
Savicom: Next Generation eMail Marketing
http://www.savicom.net
(415) 617-9006


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message