[albatross-users] Overriding load_badurl_template in RandomPage modules

Sheila King sheila at thinkspot.net
Mon May 26 09:32:35 EST 2003


OK, I wanted to override the load_badurl_template function.

Actually, I did.

However, it wasn't working quite the way I wanted, as it was losing session 
variables for some reason.

In trying to work around that, I thought I might write my own load_page 
function.

However, I get into problems with the private self.__page_found attribute, 
as I cannot access it from my main program. Essentially I have to either 
override all the functions that use that variable, or write my own Mixin 
class, or muck with the Albatross RandomPageModule Mixin class.

Just a bit annoying, to be unable to override only one of those functions. 
:/

-- 
Sheila King
http://www.thinkspot.net/sheila/
http://www.k12groups.org




More information about the Albatross-users mailing list