Menu framework
You 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
You can deliver a JSON feed of context content. You 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 .
Changing 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
You can vary the appearance of the items
in menus that
are delivered through the JSON menu framework.
Resource permissions example
You can add a link to the Resource Permissions portlet
from a theme menu to see or modify additional role types or inherited
access.