Thanks Thilo and Gabor for you suyggestions
Dan
Quoting Gabor Szabo <[EMAIL PROTECTED]>:
> On Tue, 17 Aug 2004, Thilo Planz wrote:
>
> > You could even give it the same name "load_tmpl" to avoid having to
> > change
> > existing code but I find this confusing.
> >
>
> here is an example for overriding the load_tmpl method and ensuring in
> this case to have associate and a version paramter in every call.
>
> sub load_tmpl {
> my $self = shift;
> my $q = $self->query;
> my $t = $self->SUPER::load_tmpl(@_, associate => $q);
> $t->param(version => $VERSION);
> return $t;
> }
>
>
>
> Gabor
>
>
> ---------------------------------------------------------------------
> Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/
> http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]