Athena的LivePage对象很好用,但是在刷新的时候,会有一个异常:
exceptions.AssertionError: Cannot render a LivePage more than once
官方说法是:
LivePage instances maintain server-side state that corresponds to the connection to the browser. Because of this, each LivePage instance can only be used to serve a single client. When you serve LivePages?, make sure that you create a new instance for each render pass.
LivePage对象维护着服务端的状态,这个状态对应着从浏览器过来的连接。因此,每个LivePage对象只能用来为一个客户端服务。当你使用LivePage阅读全文>
发表于 @ 2009年05月07日 14:05:00|评论(loading...)|举报|收藏