17 Apr 21:10
Passing data to TT2 after FB instantiation but before render
Travis Spencer <travislspencer <at> gmail.com>
2006-04-17 19:10:07 GMT
2006-04-17 19:10:07 GMT
Hey All,
I am constructing FB objects more or less like this:
my %vars = ( ... );
my $form = CGI::FormBuilder->new(
template => {
type => 'TT2',
template => $template,
variable => 'form',
data => \%vars,
},
);
Before calling render, I would like to pass some other variables to
the template. How can I do this? How can I access the data hash ref
that will be passed to the Template's constructor or the Template
object itself?
TIA!
--
Regards,
Travis Spencer
RSS Feed