Re: [htmltmpl] Nested TMPL_LOOPs
Brought to you by:
samtregar
From: Jason D. <ja...@di...> - 2009-09-19 19:50:58
|
Disregard, I realized that it's choking when 'uri_loop' is undef. Thanks, Jason On Sat, Sep 19, 2009 at 03:04:42PM -0400, Jason Dixon wrote: > Wondering if there's a limit to the number of recursive TMPL_LOOPs it > can handle. I have a structure 3 levels deep and it works for the first > nest, but not to the last level. Here's a dump of the data: > > http://pastebin.com/m630138aa > > And here is the template structure: > > http://pastebin.com/m5d6383a2 > > It works fine for the first level of VARs as well as everything inside > 'month_loop', but it fails on 'uri_loop' with the following error: > > [Sat Sep 19 14:43:24 2009] [error] PerlRun: `HTML::Template->output() : > fatal error in loop output : HTML::Template->output() : fatal error in > loop output : HTML::Template::param() : attempt to set parameter > 'uri_loop' with a scalar - parameter is not a TMPL_VAR! at > /usr/local/libdata/perl5/site_perl/HTML/Template.pm line 3068\n at > /usr/local/libdata/perl5/site_perl/HTML/Template.pm line 3069\n at > /blogsum/index.cgi line 63\n' > > The structure looks clean to me, so I'm not sure what I might be > overlooking. Any suggestions? > > Thanks, > > -- > Jason Dixon > DixonGroup Consulting > http://www.dixongroup.net/ > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Html-template-users mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/html-template-users -- Jason Dixon DixonGroup Consulting http://www.dixongroup.net/ |