From: Edmund L. <el...@in...> - 2002-09-13 23:56:33
|
On 09/13/2002 05:03:35 PM Daniel Newby wrote: >But won't that give the pathname for the machine-generated code for PSP >servelets, instead of the pathname of your original source file? (I'm away >from my Webware stuff so I can't check.) Could be. I haven't checked to see if it works property in PSP because I don't use it. It does with with the servlet/Cheetah combination. What I did is really a hack. It's really preferable to just have Webware make serverSidePath available during servlet construction too. The hack I have is clearly sensitive to call order, etc. since it is peering directly into the frame stack. Don't use it unless you test it first with PSP. >BTW, I'm using the check-flag-and-cache approach for my navigation sidebar, >and it works fine for both Python and PSP servelets. It works, but I'd rather use __init__ the way it is meant to be used... ...Edmund. |