WebClient UI

We hit the Test button in the WebClient UI development tool,

When we open a CRM WebClient UI Component in test mode, the component’s page is actually displayed in an iframe implemented in the bSPwd_cmp_test mentioned above:

Click the Test button to embed the actual WebClient UI Component page in the iframe shown below. When this iframe is loaded, the onLoad event bound JavaScript handler, startBSPApplication, is executed.

This function dynamically generates HTML source code for document:

Javascript immediately executed in session_single_frame.htm for initiator bspwd_cmp_test:

The runtime expansion is as follows:

Tomcat

At first, we used Maven to package the Web project into a WAR file, and then manually or script the war file to the corresponding directory of Tomcat. Now we can use the following plug-in in the project pom.xml file:

<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<path>/jerry</path>
<port>9090</port>
<uriEncoding>UTF-8</uriEncoding>
</configuration>
</plugin>
Copy the code

Then run the MVN tomcat7:run command from the command line

The tomcat7-Maven-plugin can be used as a launcher to start Tomcat and load war files.

For more of Jerry’s original technical articles, please follow the public account “Wang Zixi” or scan the following QR code: