Hi,
Embperl 2 does not support tables haeders (this
might come in the future). Workaround is
> <TABLE
border=1>
[$if $row == 0 $]
> <TR><TH>HEADER</TH></TR>
[$endif$]
> <TR><TD>[+ $arr[$row] +]</TD></TR> > </TABLE> Gerald
---- Original Message ----
From: Andreas Rieke To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, July 18, 2004 8:51 AM Subject: Headers for dynamic tables > Hi there, > > in version 1.3.6, HTML::Embperl was able to build dynamic tables with > headers, for example, have a look at the following code: > > [* @arr=(1,2,3); *] > [- $tabmode=17; -] > [- $maxrow=1000; -] > > <html> > <head> > </head> > <body> > > <TABLE border=1> > <TR><TH>HEADER</TH></TR> > <TR><TD>[+ $arr[$row] +]</TD></TR> > </TABLE> > > </body> > </html> > > In the latest version 2.0b11, the same code leads to a table where we > have the header row for each line, that means, we get a header, then > the first line, the next header, then the second line, and so on. > Tables with this structure do not look too good, but I have attached > both of them, just have a look. > > Is this a bug or is it a feature? Is there any workaround to get the > old tables with the new Embperl? Or is it possible to run the 1.3.6 > Embperl with apache and mod_perl in version 2? > > Thanks for any ideas, > > cheers, > > Andreas > > > > > HEADER > 1 > HEADER > 2 > HEADER > 3 > > > > > HEADER > 1 > 2 > 3 > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------------- Gerald Richter ecos electronic communication services gmbh IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 939-122 WWW: http://www.ecos.de/ Fax: +49 6133 939-333 --------------------------------------------------------------------------- ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info --------------------------------------------------------------------------- |
- Headers for dynamic tables Andreas Rieke
- Re: Headers for dynamic tables Gerald Richter