Menu framework
We can provide menu feeds in JSON format instead of XML format. The operations can then parse the JSON feed without requiring the XML parsing support in the Dojo toolkit.
- Client side framework
We can deliver a JSON feed of context content. We can read the server JSON response, apply a few modifications on the content, and generate the DOM artifacts to display the final context menu in the browser. All files are packaged with the new theme and can be edited with any supported WebDAV client.- Server-side framework
A plug-in receives HTTP requests for specific menus from a client and responds with the menu feed in JSON format. The response is marked as content type application/JSON.- Change menu item visibility
Whether the menu items are visible is controlled in a layered way by client-side JavaScript and markup. The default value for visibility, if not specified, is Boolean true.- Menu styles
We can vary the appearance of the items in menus that are delivered through the JSON menu framework.- Resource permissions example
We can add a link to the Resource Permissions portlet from a theme menu to see or modify additional role types or inherited access.
Parent: Customize the theme