Re: Multiple queries to populate drop down list boxes.
Ronald J Kimball <rkimball-jkI2qz8QNLsmlAP/[email protected]> Thu, 27 Sep 2012 13:20:05 -0400
| Newsgroups | gmane.comp.lang.perl.modules.template-toolkit |
|---|---|
| Message-ID | <CAEnkCGRKfN8kUFttKmmo2+bzW+yN013Tcn+VyKnGsRBvzyR-5Q@mail.gmail.com> |
On Thu, Sep 27, 2012 at 1:10 PM, Mark Haney <MarkH-rOuQeLG7NUhWk0Htik3J/[email protected]> wrote: #The part where it gets passed to the HTML: > > > my $file = 'templates/shift_rpt.html'; > > my $vars = { > > 'cgi' =>CGI->new(), > > 'factories' => \@rows_factory, # This moves the data from the array > into a var that gets carried into the template > > 'shifts' => \@rows_shift # This moves the custom shifts names into > the dropdown box for the reports > > }; > > > > Can you show us the call to process the template? Ronald _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates