Hello, I am getting a strange error with livepage In a rend.Page class I have the following def render_body(self, ctx, data): realm, mind = data def unload(client): print "unload" return ctx.tag(onunload=livepage.handler(unload)) This worked before, but now I get the following Exception : twisted.python.components.CannotAdapt: WovenContext(tag=None, isAttrib=True) to <MetaInterface nevow.livepage.IClientHandle> If more detail is needed please let me know.
On Apr 18, 2005, at 10:49 AM, Christopher Zorn wrote:
Hello, I am getting a strange error with livepage
In a rend.Page class I have the following
def render_body(self, ctx, data): realm, mind = data
def unload(client): print "unload"
return ctx.tag(onunload=livepage.handler(unload))
This worked before, but now I get the following Exception :
twisted.python.components.CannotAdapt: WovenContext(tag=None, isAttrib=True) to <MetaInterface nevow.livepage.IClientHandle>
If more detail is needed please let me know.
You are now required to subclass nevow.livepage.LivePage in order to use it. dp
participants (2)
-
Christopher Zorn
-
Donovan Preston