Re: Multiple queries to populate drop down list boxes. Updated
Chad Wallace <[email protected]> Thu, 4 Oct 2012 11:36:36 -0700
| Newsgroups | gmane.comp.lang.perl.modules.template-toolkit |
|---|---|
| Organization | The Lodging Company |
| Message-ID | <[email protected]> |
On Thu, 4 Oct 2012 18:03:22 +0000 Mark Haney <MarkH-rOuQeLG7NUhWk0Htik3J/[email protected]> wrote: > I'm not even sure where to go with this now. I found the > Dumper::Dump template module and used it to see what was being sent > to the html template. I get all the 'factories' data but NONE of the > 'shifts' data. So, now I know where the problem is, but for the life > of me don't know where to begin looking? This doesn't seem to be a > TT issue, but maybe more perl related. Would it make sense to holler > to the perl list? > > At this point, what I know is the problem lies somwehere in HERE: > Any, even the most insane idea, I'll take now. I'm just lost here. > > > ########## Rendering code for the page ################ > > my $file = 'templates/shift_rpt.html'; > my $vars = { > #'cgi' =>CGI->new(), > 'factories' => \@rows_factory, # This moves the data from [...] > 'shifts' => \$row_shift # This moves the custom shifts [...] Try \@rows_shift -- C. Chad Wallace, B.Sc. The Lodging Company http://www.lodgingcompany.com/ OpenPGP Public Key ID: 0x262208A0