- AppML - Discussion
- AppML - Useful Resources
- AppML - Quick Guide
- AppML - API
- AppML - Models
- AppML - Controller
- AppML - Including HTML
- AppML - Messages
- AppML - Data
- AppML - First Application
- AppML - Architecture
- AppML - Environment Setup
- AppML - Overview
- AppML - Home
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
AppML - Messages
Whenever AppML performs any action, it sends a signal via $apppcation object to the controller. $apppcation.message property describes the apppcation state and we can act accordingly. For example:
function studentController($appml) { if ($appml.message == "ready") {alert ("Apppcation loaded.");} }
Messages
Following are the kind of messages that AppML sends to controller.
Sr.No. | Message & Description |
---|---|
1 | When AppML is initiapzed and is ready to load data, then ready message is sent. |
2 | When AppML is fully loaded and is ready to display data, then loaded message is sent. |
3 | display message is sent before AppML is to display a data. |
4 | When AppML displayed data, then done message is sent. |
AppML properties
Following is the pst of important AppML properties.
Sr.No. | Property & Description |
---|---|
1 | $appml.message − Represents the current state of AppML Apppcation. |
2 | $appml.display.name − Represents the name of the data item about to be displayed. |
3 | $appml.display.value − Represents the value of the data item about to be displayed. |
4 | $appml.error.number − Error number |
5 | $appml.error.description − Error description |