Re: Inheritance block/def problem

"R. Tyler Ballance" <[email protected]> Thu, 10 Sep 2009 16:25:01 -0700
Newsgroups gmane.comp.python.cheetah
Message-ID <[email protected]>
On Thu, 10 Sep 2009, [email protected] wrote:

> I have a method fotofooter in the base html that is not needed in a
> particular subclass.html

Without actual code, I don't expect we'll be able to offer much insight
here


> 
> 
> *base html*
> 
> #block fotolist
> $fotofooter
> #end block fotolist
> 
> 
> *inherited html** subclass.html*
> 
> #def fotolist
> 
> #end def fotolist
> 
> 
> But the contents of fotofooter still appear in the subclass.html
> 
> How do I remove the fotofooter method from subclass.html
> 
> #block fotolist does not get over-ridden
> 
> -- 
> Bidegg worlds best auction site
> http://bidegg.com

> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Cheetahtemplate-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss

-R. Tyler Ballance
Slide, Inc.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

_______________________________________________
Cheetahtemplate-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkqpiswACgkQFCbH3D9R4W9LFQCdFcH4ftGJXUEoNY5LSmT/3ueV
s5gAoLHhqZYFBgwQu62Ofpc5WsNxZwVo
=phX+
-----END PGP SIGNATURE-----