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:38] tjotov |
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> | ||
| | ||
| | ||
| | ||
+ | </ | ||
| | ||
Override default methods to customize you page: | Override default methods to customize you page: | ||
+ | <sxh java> | ||
| | ||
if (result.status == " | if (result.status == " | ||
Line 27: | Line 32: | ||
} | } | ||
} | } | ||
+ | </ | ||
Text displayed before operation | Text displayed before operation | ||
+ | <sxh java> | ||
| | ||
$('# | $('# | ||
} | } | ||
+ | </ | ||
Text displayed duringoperation | Text displayed duringoperation | ||
+ | <sxh java> | ||
| | ||
$('# | $('# | ||
} | } | ||
+ | </ | ||
- | ===== Advanced | + | ===== Detailed |
+ | [[integration-api: | ||
+ | [[integration-api: |