279
279
class="lp.services.webapp.error.SystemErrorView"
282
<!-- Protocol errors (eg. HTTP 405 or 415 errors) should be published
283
with a minimalist template. -->
285
for="lp.services.webapp.interfaces.ILaunchpadProtocolError"
286
class="lp.services.webapp.error.ProtocolErrorView"
287
template="../templates/protocol-error.pt"
289
permission="zope.Public"
282
292
<!-- Unauthorized -->
284
294
for="zope.exceptions.IUnauthorized"
1060
1070
factory="lp.app.browser.webservice.text_xhtml_representation"/>
1072
<!-- The following directives set up root front pages for the different
1073
virtual host layers. The directives come in pairs.
1074
The separate registration for the resources namespace (@@) is needed
1075
because otherwise the lookup for /@@/ will fail because the
1076
layer-specific defaultView directive also registers the
1077
default view name as an unnamed adapter.
1080
<!-- virtual host: blueprints -->
1081
<browser:defaultView
1082
for="lp.services.webapp.interfaces.ILaunchpadRoot"
1084
layer="lp.blueprints.publisher.BlueprintsLayer"
1088
for="lp.services.webapp.interfaces.ILaunchpadRoot"
1089
class="lp.app.browser.launchpad.LaunchpadImageFolder"
1090
permission="zope.Public"
1091
layer="lp.blueprints.publisher.BlueprintsLayer"
1094
<!-- virtual host: code -->
1095
<browser:defaultView
1096
for="lp.services.webapp.interfaces.ILaunchpadRoot"
1098
layer="lp.code.publisher.CodeLayer"
1102
for="lp.services.webapp.interfaces.ILaunchpadRoot"
1103
class="lp.app.browser.launchpad.LaunchpadImageFolder"
1104
permission="zope.Public"
1105
layer="lp.code.publisher.CodeLayer"
1108
<!-- virtual host: translations -->
1109
<browser:defaultView
1110
for="lp.services.webapp.interfaces.ILaunchpadRoot"
1112
layer="lp.translations.publisher.TranslationsLayer"
1116
for="lp.services.webapp.interfaces.ILaunchpadRoot"
1117
class="lp.app.browser.launchpad.LaunchpadImageFolder"
1118
permission="zope.Public"
1119
layer="lp.translations.publisher.TranslationsLayer"
1122
<!-- virtual host: bugs -->
1123
<browser:defaultView
1124
for="lp.services.webapp.interfaces.ILaunchpadRoot"
1126
layer="lp.bugs.publisher.BugsLayer"
1130
for="lp.services.webapp.interfaces.ILaunchpadRoot"
1131
class="lp.app.browser.launchpad.LaunchpadImageFolder"
1132
permission="zope.Public"
1133
layer="lp.bugs.publisher.BugsLayer"
1136
<!-- virtual host: answers -->
1137
<browser:defaultView
1138
for="lp.services.webapp.interfaces.ILaunchpadRoot"
1140
layer="lp.answers.publisher.AnswersLayer"
1144
for="lp.services.webapp.interfaces.ILaunchpadRoot"
1145
class="lp.app.browser.launchpad.LaunchpadImageFolder"
1146
permission="zope.Public"
1147
layer="lp.answers.publisher.AnswersLayer"