uniGUI trial notes (2)

After the demo I made a few days ago was launched today, the browser did not display the form after opening the page. After searching for a long time, I found out that the 360 ​​browser has activated the compatibility mode, and it is normal after changing to the speed mode. A little dizzy....

Today I simply tested several properties of TUniGUIServerModule

Title Application name, displayed on the page tab

LoadingMessage The message displayed when loading the ExtJS library

UnavailableErrMsg Message displayed when the server is unavailable

 

MainFormDisplayMode The display mode of the main form, the options include:

              mfWindow form mode, with the title bar of the form, system buttons, etc.

              mfPage blank page form without title bar and system buttons

Port Web service port number

CharSet page encoding mode, the default UTF-8 can support Chinese very well, and there is no problem with GBK, but changing to GB2312 will not work, so it is best to use the default UTF-8

ServerRoot The server running path, which is empty by default, indicates the path where the execution file is located. According to the manual, it can also be set to other absolute paths. If it is not the path where the server execution file is located, the temp, cache, files and log paths must be copied. 

ExtRoot The root path of the ExtJS library, according to the manual, you can use the absolute path when deploying, but it took a long time to find out that if the uniGUI installation package is installed, the settings in the program will be automatically ignored. After deployment on the target machine, .\Ext must be followed by a version number, such as '.\ext-4.2.2.1144' in the same path as the execution file, '.\' indicates the current path of the execution file, of course, make sure the ServerRoot Is empty.

ExtLocale language version, Chinese Simplified choose zh_CN

UniRoot The root path of the uniGUI library, the problem is the same as ExtRoot, and the version number must be included.

For ServerRoot, ExtRoot and UniRoot, I don't know whether it is a deployment problem or a problem of understanding. A little adjustment may not open the form, so in the case of no source code, I still use the default values ​​​​and three attributes. Do not rewrite, and then copy ext-4.2.2.1144 and uni-0.97.0.1081 to the executable file path respectively.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325445606&siteId=291194637