LaunchPad
From PlcWiki
(Difference between revisions)
m (→Application Requirements (how to add an app)) |
m (→Application Requirements (how to add an app)) |
||
Line 19: | Line 19: | ||
} | } | ||
- | Notice: The file app.json must be excluded from authentication. | + | Notice: The file app.json must be excluded from authentication. Example: |
+ | |||
+ | <xml> | ||
+ | <security-constraint> | ||
+ | <web-resource-collection> | ||
+ | <web-resource-name>Public</web-resource-name> | ||
+ | <url-pattern>/app.json</url-pattern> | ||
+ | </web-resource-collection> | ||
+ | <!-- No auth-constraint means everybody has access! --> | ||
+ | </security-constraint> | ||
+ | <xml> |
Revision as of 11:39, 7 September 2012
WEB 3 Menu (LaunchPad)
svn+ssh://caslavam@oko.clever.cz/java/CleverMenu
Installation
Application Requirements (how to add an app)
Add a static file into the document root if you have only one application language (i18n) or dynamically generated file by locale query parameter. The file name must be app.json. Example:
{ "name": "Title", "description": "Lorem Ipsum", "iconURL": "http://www.smartclient.com/smartgwt/showcase/images/pieces/24/cube_green.png", "target": "_self", "project": Colorado, "tag": null }
Notice: The file app.json must be excluded from authentication. Example:
<security-constraint> <web-resource-collection> <web-resource-name>Public</web-resource-name> <url-pattern>/app.json</url-pattern> </web-resource-collection> <!-- No auth-constraint means everybody has access! --> </security-constraint> <xml>