Re: [Templates] Table formatting with out EVAL_PERL
[prev]
[thread]
[next]
[Date index for 2004/05/07]
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 06 May 2004 4:13 pm, Perrin Harkins wrote:
> On Thu, 2004-05-06 at 17:29, James Lance wrote:
> > I actually did look at the Table plugin. Unless I missed something, th=
at
> > plugin doesn't actually create HTML table layout. It creates virtual
> > tables.
>
> Right, it formats the data into a structure which you then wrap your
> HTML around, all without any EVAL_PERL:
>
> <table>
> [% FOREACH row =3D table.rows %]
> <tr>
> [% FOREACH item =3D row %]
> <td>[% item %]</td>
> [% END %]
> </tr>
> [% END %]
> </table>
>
> - Perrin
Yeah, after I shot that last email off, I was heading home when it hit me. =
=20
Don't know why I didn't see that the first time... :)
=2D -James
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAmvyUxwWH9N2FUHoRAlV4AKCZD0rEDBd/D573Nt6c1ykUkCCZKgCgmaUP
GbrskYeHJD7RX225YxgUPeU=3D
=3Doxk5
=2D----END PGP SIGNATURE-----
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates