Re: [Webware-devel] Globals

2009-03-18 Thread Christoph Zwerschke
Hi Tobias, concerning the first problem, I think Steve is right, the best way is to pass "self" around. You can also make the functions methods of the class that gets "self" as a parameter when instantiated. But the proper way would be to use <%@ page extends="MyPage"%>, where MyPage is a subcl

Re: [Webware-devel] Globals

2009-03-18 Thread Steve Schwarz
On 3/18/09, Noragen wrote: > > Hi, > > i have two following problems: > > *1. problem:* > I make an import from a python module in a PSPPage. > In this python i want to have following globals like req and res (request > and response and perhaps other global stuff i dont remember yet) > > from a ps