Run the sample
Tooling part
(Please first make you have installed the plugin and start your RAD/Eclipse with –clean before you try the following functions)
For every time you save a condition in editor, the version manager will:
1 Remove the previous last version of JS of this project.
2 generate the new JS file.
3 Update the version information to conditions_version.conf.
4 Re-generate conditions_version.js.
Sample part
1 Deploy all the 3 projects to WAS or Tomcat;
3 The first Page:
As design, the condition file will only be loaded at the first time you start the application. And you can watch the version of the condition file at the console of browser:
4 The second Page:
In this page we will use the common condition via ECA.
You can find the condition definitions at
10_GlbDefs\src\glb\definitions\condition.transaction
and
30_LocalWeb\src\definitions\condition.transaction
Please note that project 30_LocalWeb will import the conditons defined in 10_GlbDefs
And you can change the field in this page to try it.
5 The last page:
Just before this page, we will use same condition in conditional mapping at server side, you can find the definition at:
30_LocalWeb\src\definitions\processors\sampleFlow.transaction
See also
This site works best with JavaScript enabled