goa/appobjects/components.py
changeset 2058 7ef12c03447c
parent 1977 606923dff11b
child 2181 94ca417b9b07
--- a/goa/appobjects/components.py	Fri Jun 05 15:06:55 2009 +0200
+++ b/goa/appobjects/components.py	Fri Jun 05 15:09:20 2009 +0200
@@ -72,7 +72,7 @@
             continue
         etype = eschema.type
         label = display_name(req, etype, 'plural')
-        view = self.vreg.select_view('list', req, req.etype_rset(etype))
+        view = self.vreg.select('views', 'list', req, req.etype_rset(etype))
         url = view.url()
         etypelink = u'&nbsp;<a href="%s">%s</a>' % (html_escape(url), label)
         yield (label, etypelink, self.add_entity_link(eschema, req))