blob: 52af53ce11f7a4c9c17cb0c7814f9d53d955a005 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
from paste.wareweb import Servlet, Notify
from ZPTKit.zptwareweb import ZPTComponent
class SitePage(Servlet):
zpt = ZPTComponent()
message = Notify()
def awake(self):
self.app_static_url = self.app_url + '/static'
super(SitePage, self).awake()
def title__get(self):
return self.options.get('title', super(SitePage, self).title)
|