It appears that when I use the portal_factory tool to instantiate the type, it ignores the view that I specified to override base_edit .
Here I have a setting:
- An alias from
edit to base_edit in the type tool. - View the class displaying the view.
- ZCML, which binds the view class to the corresponding interface.
- A content class that implements the corresponding interface.
I know that my overridden view of base_edit works because it displays:
- Once an object has been created, it displays.
- When I turn off the portal_factory tool for the type.
When I use a different name, such as custom_edit , it also displays an overridden view, even though the type is included in the portal_factory tool.
source share