< documentation
Plugins
Extension Points
$ 1.0.x
usage
Retrieves or sets an object saved in application context A concise method of loading application managed components, or saving them. If the application managed instance has not been created, the managing container will create it for you.
options
id | String | |
---|---|---|
The unique application scope id of the object to retrieve or set. | ||
obj (Optional) | Object | |
The object that will be saved in application scope with the given id. |
examples
Retrieves object with id #appId from the application context.
$.$("#myWidget");
Set object with id #appId from the application context.
$.$("#myWidget", myWidget);
releases
Project
- app
- app/boot
- app/boot/client.js
- app/boot/server.js
- app/configs
- app/configs/config.js
- app/configs/environments.js
- app/configs/filters.js
- app/configs/logging.js
- app/configs/routes.js
- app/controllers
- app/controllers/example.js
- app/models
- app/models/example.js
- app/services
- app/services/example.js
- app/templates
- app/templates/example.js
- app/views
- app/views/example.js
- index.html
Guides
This guide is applicable to both the jquery-claypool client and server application frameworks. Where the two differ functionally the documentation will provide notes and examples of usage in each environment.