Websites
Use this function set up the available websites.
Before creating your website, please refer to the documentation Before starting XTEND.
Prerequisites
Refer to documentation Implementation
Screen management
Header
Site (field FCYCOD) |
Description (field INTIT) |
field ICOWRK |
Publish site (field FCYPUB) |
Tab General
Languages
The grid '"Language information" is used to define the available language for the site.
Each language is associated to a set of HTML pages called "HTML Project". This grid is used to enter the default parameter that will be applied for each language. The user language code is specified in the URL via the LANG (&LANG=ENG) parameter. Indicates the HTML project language.
If this parameter is not displayed, XTEND will chose the configuration consolextend.server.gensetup.deflangparameter.
The action ASESSSWITCHLANG is used to switch the language.
Web services pool
List of web services pools used by the site. Each pool contains:
- the address of the web service server,
- and the alias of the 'connection pool' to use for the call to a web service.
Characteristics
Activity code (field CODACT) |
Session timeout (mn.) (field USRTIMOUT) |
Site under maintenance (field MCEFLG) |
HTML folder by language (field DIRLAN) |
Manage profiles (field PRFENA) |
Grid Language-related informations
Web language (field LANCOD) |
An HTML project is always associated with a language. The user language code is specified in the URL via the LANG (&LANG=ENG) parameter. If this parameter is not displayed, XTEND will chose the configurationxtend.server.gensetup.deflang. parameter. The action ASESSSWITCHLANG is used to switch the language. |
Default (field LANDEF) |
Folder language (field LANADS) |
Currency format (field LANFMTCUR) |
Whole nbr format (field LANFMTINT) |
Decimal format (field LANFMTDEC) |
Date format (field LANFMTDAT) |
Grid Web services pools (*)
Pool (field LNKADS) |
Pool by default (field LNKADSDEF) |
The Pool by default can be used to call web services of the site. It is mandatory to enter a pool by default and strongly advised to check that:
|
Internal bus (field LNKBUSINT) |
This field enables the user to optimize the communication between Xtend servers and the web service server when both applications are hosted on the same X3WEB server.
|
Webmaster email (*)
Email (field MAICOD) |
Tab Advanced
Default page
Home page (field PAGSTR) |
Identification page (field PAGLOG) |
Error page (field PAGERR) |
Reconnection page (field PAGRECNX) |
Maintenance page (field PAGMCE) |
Default image (field IMGDEF) |
Protocol
Protocols (*) (field PRODEF) |
The Protocol parameter is used to define the default protocol (HTTP or HTTPS) used to display the site pages. The HTTP and HTTPS port number are given by the configuration parameter: xtend.server.gensetup.http.defhttpport et xtend.server.gensetup.http.defhttpsport. |
Tools
Display report (*) (field BRWDEG) |
Tracking of activity (*) (field LOGMOD) |
Display tools (*) (field TOOLMOD) |
Grid Free parameters (*)
Parameter (field PAR) |
Parameter value (field PARVAL) |
Tab Technical
Location
The 'root' directories are used to store XTEND files. Resources (files, images) in these directories can be accessed from the browser via images or attachments tokens.
- HTML design: Directory of the HTML project taking the user language into account
- X_FILES: Directory specific to the X3 folder located under X3_PUB/X3FOLDER/X_TEND/X_FILES
- X_FILEAPP: Directory specific to the X3 folder located under X3_PUB/X3FOLDER/X_TEND/X_FILAPP
It is used to store the files from batch processes as reports generated by the print server.
- X_TEND: Director used to store files associated to all folders
For example product images, commercial documents....
It is located to X3_PUB/X_TEND/
Design HTML and X_FILES can be placed under the X3 server (by default) or the X3Web server.
X_FILEAPP and X_TEND are always placed under the X3 server.
HTTP cache expires
The HTTP protocol suggests instructions (HTTP Headers) that can be used to manage resource storage (images, PDF...) in the cache memory (caching) of the browser.
The server application decides, through theses instructions, the expiry date (not validated) of the resource.
This date defines the time period during which these resources must be considered as valid by the browser. Once the expiry date is reached, the resource will be asked to the server again (refreshed).
An efficient control of the cache management can be used to optimize the display time of pages.
The parameters Design HTML, X_FILEAPP, X_FILES, X_TEND, Flash are used to define the expiry date of these directories' resources:
- Never
Means that the resource never expires and that it will be kept by the browser as long as the user does not erase the cache. - Always
Means that the resource is not stored in the browser cache and that it will be transferred at each page display. - 1 min, 15 min up to 7 days
indicates the validity time of the resource on the browser.
URL to access resources
The validity time is generated by XTEND in the resource's URL:
/xtend/data/exp(86400,65799)/remote/SOLPAIE/PAIE/X_TEND/X_HTML/FDBTEST/FRA/IMG/img1.jpg
- 86400 is the validity period,
- 65799 is an index used to force the refreshment of the resource via an admin URL.
To overload the validity period of the resource compared to the one defined by default, the user should use the ?exp=seconds parameter in the URL:
<img src="xtend/data/exp(86400,65799)/remote/SOLPAIE/PAIE/X_TEND/X_HTML/FDBTEST/FRA/IMG/img1.jpg?exp=30/">
- The validity period is changed to 30 seconds instead of 86400
When the directory that contains the resource is located in local X3WEB server, the management of the cache is delegated to the page's MEGA tags and to the Apache server (httpd.conf).
Determine the 'freshness" period of a resource
It is important to ask this question for each type of resource used by the site.
For instance, all resources that constitute the static HTML page and that can have an important size (images, CSS, JavaScript) are never modified (on the production site) and have a limited freshness period.
If XTEND is parameterized so that the Design HTML folder resources have a one-week validity period, the browser will load them only once a week.
Only the dynamic data transit through the network during the display of a page.
Force the refresh of resources
XTEND is used by the webmaster to force the refresh (erase cache) on all browsers, of all site resources that have a validity date via the following URL.
http://host:port/xtend/svc/X3SOL/X3FLDR/XTDSITE/admin/browser/clear
This function is useful:
- in development mode
- when the webmaster does an update of the site.
Check the update
These parameters indicate to the XTEND server whether it should check the files updates (timestamp) of the XML dictionary and the HTML page before the display so that it can take account of the modifications.
By default, the 'HTML page' parameters and the 'Web dictionary' are checked, it means that the engine is checking each request.
This process can take 5 to 100 ms depending on the network configuration.
It is compulsory to check updates in development mode because the HTML page and the dictionary are ceaselessly modified.
In production mode, the HTML site and the dictionary are never modified and it is advised to uncheck the parameters.
The checkbox 'Default value' updates the 'HTML page' parameters and the 'Web dictionary' with their default values.
The following URL enables the user to force the reload of the dictionary whatever the parameter value may be.
http://hostname:port/xtend/svc/SolutionX3/DossierX3/SiteXtend/admin/reposit/reload.
Miscellaneous
Image extension (field EXTDEFIMG) |
Attachment extension (field EXTDEFPJ) |
Server scripts
Root directory (field SCTROO) |
Relative path (field SCTSUBREP) |
Localization (*)
HTML design (*) (field LOCHTM) |
Specify the location of the directory that contains the HTML project on:
Location on the X3 serverThe access to the resources located on the X3 server is made possible via the XTEND server (a specialized servlet) behaving like a proxy. The browser:
Local location of the X3WEB serverIn local mode of the X3WEB server, the root of the X3_PUB directory is located under: \WebData\LOCAL\X3SOLUTION\X3_PUB\. The 'Design HTML' and X_FILES directories must be copied to this root while complying with the tree structure when in 'X3WEB server' mode. The xtend.server.data.localpath=/data/local configuration parameter is used to define the server processing type that will be prompted to access the resources in local mode. If you wish to delegate the access to the resources to the the Apache server (optimization):
|
X_FILES (*) (field LOCFIL) |
Specify the location of the X_FILES (X3_PUB/X3FOLDER/X_TEND/X_FILES) directory on:
Location on the X3 serverThe access to the resources located on the X3 server is made possible via the XTEND server (a specialized servlet) behaving like a proxy. The browser:
Local location of the X3WEB serverIn local mode of the X3WEB server, the root of the X3_PUB directory is located under: \WebData\LOCAL\X3SOLUTION\X3_PUB\. The 'Design HTML' and X_FILES directories must be copied to this root while complying with the tree structure when in 'X3WEB server' mode. The xtend.server.data.localpath=/data/local configuration parameter is used to define the server processing type that will be prompted to access the resources in local mode. If you wish to delegate the access to the resources to the the Apache server (optimization):
|
Flash (*) (field LOCFLA) |
Specify the location of directories that contains the FLASH(/X3_PUB/X3_ROOT/X3CLI/XBLOCK/FLASH) component on:
Location on the X3 serverThe access to the resources located on the X3 server is made possible via the XTEND server (a specialized servlet) behaving like a proxy. The browser:
Local location of the X3WEB serverIn local mode of the X3WEB server, the root of the X3_PUB directory is located under: \WebData\LOCAL\X3SOLUTION\X3_PUB\. The 'Design HTML' and X_FILES directories must be copied to this root while complying with the tree structure when in 'X3WEB server' mode. The xtend.server.data.localpath=/data/local configuration parameter is used to define the server processing type that will be prompted to access the resources in local mode. If you wish to delegate the access to the resources to the the Apache server (optimization):
|
HTTP cache expires (*)
Default values (*) (field HCEDEF) |
HTML design (*) (field HCEHTM) |
X_FILES (*) (field HCEFIL) |
X_TEND (*) (field HCEXTD) |
X_FILEAPP (*) (field HCEAPP) |
Flash (*) (field HCEFLA) |
Check update (*)
Default values (*) (field CTSDEF) |
HTML pages (*) (field CTSHTM) |
Web dictionary (*) (field CTSDIC) |
Reports
By default, the following reports are associated with this function :
PRTSCR : Screen print
This can be changed using a different setup.
Specific Buttons
Copy |
This button is used to copy the site record. |
Menu Bar
Used to define the selected site as the current site. |
Used to access the XTEND pool setup. Header
DescriptionConfiguration
User
Grid X3 WAS alias
|
This tool is used to regenerate the directories where files linked to sites are stored (HTML pages, resources, images...). |
This tool is used to check that the directories where files linked to sites are stored (HTML pages, resources, images...) are generated. |