~ivle-dev/ivle/ui-the-third

« back to all changes in this revision

Viewing changes to ivle/webapp/base/xhtml.py

  • Committer: William Grant
  • Date: 2009-08-02 08:44:13 UTC
  • mfrom: (1366.1.3 object-publishing)
  • Revision ID: grantw@unimelb.edu.au-20090802084413-0kag7i87puof9qyq
Merge from object-publishing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
        self.overlay_blacklist = []
55
55
 
56
56
    def get_context_ancestry(self, req):
57
 
        return req.router.get_ancestors(self.context)
 
57
        return req.publisher.get_ancestors(self.context)
58
58
 
59
59
    def filter(self, stream, ctx):
60
60
        return stream
214
214
        self.lastobj = lastobj
215
215
 
216
216
    def get_context_ancestry(self, req):
217
 
        return req.router.get_ancestors(self.lastobj)
 
217
        return req.publisher.get_ancestors(self.lastobj)
218
218
 
219
219
    def populate(self, req, ctx):
220
220
        ctx['req'] = req