On Wed, 2004-02-25 at 04:22, Max Ischenko wrote:
Aaron Held wrote:
in context/__init__.py
from MiscUtils.MixIn import MixIn
from WebKit.Session import Session
from MaxUtils import NotifyCode
class SessionMixIn:
def expiring(self):
NotifyCode('Session is ending')
--- Nick Trout [EMAIL PROTECTED] wrote:
Anyone looking at getting Moin 1.2 working under Webware?
Roger Haase
What would be the benefits of that?
Nick
The benefits are likely restricted to a few. In my case, I use
MoinMoin as an easy extension to my Webware application for
Jason Hildebrand wrote:
storytime
Several years ago I wrote a framework in PHP which provided a lot of
callbacks for customization. On problem I ran into is that depending on
how you need to customize, you might want to execute some code before,
instead of, or after an event:
preCommit()
Geoffrey Talvola wrote:
I think I agree with you, Jason -- Webware should provide an easy hook to
swap in a subclass for a key class like Session and it shouldn't feel like a
hack. The Mixin stuff feels like too much of a hack, and adding a bunch of
hooks at specific places in the code just adds
This will sound a little vague. That's because I have very little to go
on.
I've got a medium-complex webware app running, and on one of the boxes
I'm deploying it on (and only one) webware does not descend into
contexts.
As an Example, I can view /MenuPage fine, with Main set at the default
Is the 404 from Apache or Webware?
Check the webware/apache logs and try to see if there is any redirection
happening
try using the wkcgi adapter as a test
look for Apache rewrite rules
-Aaron
Scott Russell wrote:
This will sound a little vague. That's because I have very little to go
on.
From Webware, not Apache (Webware Webkit Application Server on 404
page)
Apache reports no errors (beyond the 404 in the access log)
IP_ADDR - - [26/Feb/2004:16:53:21 -0500] \
GET /Main/MenuPage HTTP/1.1 404 229 - Mozilla/5.0 \
(X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 \
Firefox/0.8
Ian Bicking wrote:
Geoffrey Talvola wrote:
I think I agree with you, Jason -- Webware should provide an easy
hook to swap in a subclass for a key class like Session and it
shouldn't feel like a hack. The Mixin stuff feels like too much of
a hack, and adding a bunch of hooks at specific
On Wed, 2004-02-25 at 13:37, Aaron Held wrote:
Personally I would be against subclassing a 'core' class such as
sessions,
I would rather see some hooks for calling implementation specific
code.
Hi Aaron,
I'm curious as to your rationale for preferring hooks over using subclasses
to do