This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
integration-api:start [2018/06/26 09:19] tjotov |
integration-api:start [2018/11/12 12:52] mpospisek [Web Integration API] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | Integration API is an essential part of ADUCID for all web browser scenarios. It connects PEIG, AIM and the browser. Integration API is an essential component of [[integration: | + | Web Integration API is an essential part of ADUCID for all web browser scenarios. It connects PEIG, AIM and the browser. Integration API is an essential component of [[integration: |
Integration API is located in aducid-resurces folder (on Tomcat). It requires jQuery and API js and css files: | Integration API is located in aducid-resurces folder (on Tomcat). It requires jQuery and API js and css files: | ||
+ | <sxh javascript> | ||
< | < | ||
< | < | ||
< | < | ||
- | + | </ | |
- | ===== Basic usage ===== | + | ===== Basic usage with AAA ===== |
Create instance of ADUCID object: | Create instance of ADUCID object: | ||
var aducid = new ADUCID(); | var aducid = new ADUCID(); | ||
+ | |||
+ | Set addresses of start, check and proxy operation of aducid-binder: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | Override default methods to customize you page: | ||
+ | | ||
+ | if (result.status == " | ||
+ | // | ||
+ | | ||
+ | } | ||
+ | else { | ||
+ | // | ||
+ | } | ||
+ | } | ||
+ | |||
+ | Text displayed before operation | ||
+ | | ||
+ | $('# | ||
+ | } | ||
+ | |||
+ | Text displayed duringoperation | ||
+ | | ||
+ | $('# | ||
+ | } | ||
+ | |||
+ | ===== Detailed description ===== | ||
+ | [[integration-api: | ||
+ | |||
+ | [[integration-api: |