This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
integration-api:start [2018/11/12 12:52] mpospisek [Web Integration API] |
integration-api:start [2019/08/01 09:56] tjotov removed |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Web Integration API ====== | ====== Web Integration API ====== | ||
- | 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: | + | 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: | ||
Line 10: | Line 10: | ||
===== 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 28: | Line 32: | ||
} | } | ||
} | } | ||
+ | </ | ||
Text displayed before operation | Text displayed before operation | ||
+ | <sxh java> | ||
| | ||
$('# | $('# | ||
} | } | ||
+ | </ | ||
Text displayed duringoperation | Text displayed duringoperation | ||
+ | <sxh java> | ||
| | ||
$('# | $('# | ||
} | } | ||
+ | </ | ||
===== Detailed description ===== | ===== Detailed description ===== |