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:30] tjotov [Basic usage] |
integration-api:start [2019/08/01 09:50] tjotov [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 [[components: |
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 with AAA ===== | ===== Basic usage with AAA ===== | ||
Create instance of ADUCID object: | Create instance of ADUCID object: | ||
+ | <sxh java> | ||
var aducid = new ADUCID(); | var aducid = new ADUCID(); | ||
+ | </ | ||
Set addresses of start, check and proxy operation of aducid-binder: | Set addresses of start, check and proxy operation of aducid-binder: | ||
- | | + | <sxh java> |
- | aducid.setResultOperationUrl("/ | + | aducid.setStartOperationUrl("/ |
- | aducid.setProxyUrl("/ | + | |
+ | | ||
+ | </ | ||
+ | |||
+ | Override default methods to customize you page: | ||
+ | <sxh java> | ||
+ | | ||
+ | if (result.status == " | ||
+ | // | ||
+ | | ||
+ | } | ||
+ | else { | ||
+ | // | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | Text displayed before operation | ||
+ | <sxh java> | ||
+ | | ||
+ | $('# | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | Text displayed duringoperation | ||
+ | <sxh java> | ||
+ | | ||
+ | $('# | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ===== Detailed description ===== | ||
+ | [[integration-api: | ||
+ | |||
+ | [[integration-api: |