How to add "Control" view?

Created by Ilshad Khabibullin
Keywords:
Last updated by:
Ilshad Khabibullin

Examples of "Control" views are: "Tree" (++control++/tree.html), "Generations" (++control++/generations.html).

1. Create pagelet (based on z3c.pagelet).
2. Your pagelet must provide interface "ice.control.browser.interfaces.IControl". For this, add attribute provides="ice.control.browser.interfaces.IControl" into z3c:pagelet zcml directive.
3. Add "title" and "weight" attributes into z3c:pagelet zcml directive, for example [title="My Control View" weight="40"]. This is for generating menu items.