[Zope3-Users] How to register multiple view for the same content class

Yuan HOng hongyuan1306 at gmail.com
Fri Sep 28 23:56:03 EDT 2007


T24gOS8yOC8wNywgRnJhbmsgQnVya2hhcmR0IDxmYm8yQGdteC5uZXQ+IHdyb3RlOgoKPgo+IFlv
dSBjb3VsZCB1c2UgYSB2aWV3IGFzIGRpc3BhdGNoZXIgd2hpY2ggdGhlbiB3b3VsZCBiZSB0cmF2
ZXJzZWQgbGlrZSBvYmplY3QvQEB2aWV3Ogo+Cj4gY2xhc3MgTXlEaXNwYXRjaGVyKG9iamVjdCk6
Cj4gICAgZGVmIF9fY2FsbF9fKHNlbGYpOgo+ICAgICAgIHJlYWx2aWV3PXphcGkuZ2V0TXVsdGlB
ZGFwdGVyKChzZWxmLmNvbnRleHQsc2VsZi5jb250ZXh0Ll9fcGFyZW50X18sc2VsZi5yZXF1ZXN0
KSkKPiAgICAgICByZXR1cm4gcmVhbHZpZXcoKQo+Cj4gY2xhc3MgTXlFeGFtcGxlVmlldyhvYmpl
Y3QpOgo+ICAgIGRlZiBfX2luaXRfXyhjb250ZXh0LHBhcmVudCxyZXF1ZXN0KToKPiAgICAgICBz
ZWxmLmNvbnRleHQ9Y29udGV4dAo+ICAgICAgIHNlbGYucGFyZW50PXBhcmVudAo+ICAgICAgIHNl
bGYucmVxdWVzdD1yZXF1ZXN0Cj4KPiAgICBkZWYgX19jYWxsX18oc2VsZik6Cj4gICAgICAgcmV0
dXJuICJCb29rL3NoZWxmLXNwZWNpZmljIGh0bWwiCj4KPiAqY29uZmlndXJlLnpjbWwqCj4gPGNv
bmZpZ3VyZT4KPiAgICA8YnJvd3NlcjpwYWdlIGZvcj0iLmludGVyZmFjZXMuSU15Qm9vayIgbmFt
ZT0idmlldyIgY2xhc3M9Ik15RGlzcGF0Y2hlciIgLi4uIC8+Cj4gICAgPHpvcGU6YWRhcHRlciBm
b3I9Ii5pbnRlcmZhY2VzLklNeUJvb2sgLmludGVyZmFjZXMuSU15U2hlbGYgSUJyb3dz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