On Wed, 9 Oct 2002, Doc wrote:
> HTML::Template::param() : attempt to set parameter 'rows' with a scalar
> - parameter is not a TMPL_VAR! at dbview.pl line 22
This means that HTML::Template didn't see:
in your template file. If you'd rather HTML::Template was quiet about
this situation the
What is this;
HTML::Template::param() : attempt to set parameter 'rows' with a scalar - parameter is
not a TMPL_VAR! at dbview.pl line 22
Code is this:
push @{$rows}, $_ while $_ = $sth->fetchrow_hashref();
# instantiate the template and substitute the values
my $template = HTML::Template-
While this doesn't really answer your question, you could also just use
the __first__, __last__,__inner__ and __odd__ loop_context_var to
alternate table row colors in a . Sumpin' like:
blah!
It's (pretty much) in the docs. I guess I don't really "get" what
you're looking for and how it
HTML.Template.java - A java implementation of HTML::Template.
http://html-tmpl-java.sourceforge.net/
Version 0.1.2 of HTML.Template.java has just been released. It fixes a
bug that caused TMPL_VARs inside TMPL_LOOPs to be case sensitive even if
case_sensitive was false.
Philip
-
Cool - my copy of Sam's book 'Writing Perl Modules for CPAN' just
arrived.
I figured with all the work he saved me with HT, the *least* I could do
was buy his book...geeesh! I'm just scanning it now and it's pretty much
what I expected; well written, good 'voice', lot's of practical
examples. My
Hi all,
I like the clean design of HTML::Template very much.. That it is
possible to install it on a webhost easily is also an advantage over,
for example, Template Toolkit. Nevertheless I would be interested in the
ability to put functions or classes as content in a variable, like it's
possi
Dear folks!
Sorry for untested code in prev. post!
Special Thanks to Stefan Seifert <[EMAIL PROTECTED]>!
Here it is corrected one:
I've got a lot of job with refactoring of old procedural script to new
OO ones. The end is near, and job not fear, but I'm trying to implement
a so called "Composite
Hi, folks,
I've got a lot of job with refactoring of old procedural script to new
OO ones. The end is near, and job not fear, but I'm tryin to implement
a so called "Composite view" pattern in Perl. Here it is a "Facade" influence too:
our $templ_path = 'foo/bar/etc'
sub composite_view
{
my (