Hi,

I started using Webware CVS and my PyDiddy-Wiki stopped working :(
There are two problems. First extraURLPath seems to have changed and
uses a new algorithm. So my old code:
 
 path_info = self.request().extraURLPath()

gives an empty path_info. I think I might find a solution by digging
into the source and the devel-mailing list archive, but if someone has a 
simple answer, this could save me some time...

Also all my old Page.actions stopped working. The error is like this:
  File "./WebKit/Page.py", line 263, in handleAction
TypeError: Edit() takes exactly 2 arguments (1 given)

This happens, when I try to edit a Wiki Page by pressing the "Edit"
submit button. In 0.7 this called the action:

def Edit(self, trans):
        req=trans.request()
        ...

If I change this to be:

def Edit(self):
        req=self.request()
        ...

it works again. Is this a change in CVS, that Page.actions now don't
get (or need to get) the transaction object anymore?

Thanks for your help.

Ciao
-- 
 Frank Barknecht                               _ ______footils.org__
 
 Yes, I'm the same guy, that subscribed as
 [EMAIL PROTECTED] earlier...


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to