[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] Variable Number of Column in a Table


On Thu, May 15, 2008 at 9:03 AM, Stephen Carville
<suppressed> wrote:
> Is there any way to have a template where the number of columns is
> determined at run time?

I don't know if this is a good idea, but you can use HTML::Template's
"filter" option to modify the template's content when it's loaded. In
the template you could markup the row so it could be processed by the
filter (to repeat the <td></td> as many times as necessary).

Mark

#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.