Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Web Server - page of object PmPanel

Description:
The link-up of the object to the WEB server
Configuration items:
Enable as WEB componentIt indicates if this object has to be registered as a WEB server component
PmWeb objectPath in the objects tree to the PmWeb, PmWebFolder or PmWebLang object where the registration is carried out.
Web component identifierIt specifies unique identifier of this WEB component. The full URL address to this component is then for example:

"http://ComputerName:Port/Identifier"

Macro expression can be used for input (it is evaluated while the application is launching).

View in HTML components listIf checked, the component will be visiblein the component list. Displaying such list is done through the WEB object registering this component (WEB object PmWeb, PmWebFolder or PmWebLang).

If not checked, the component will not be visible in the list. But it will be accessible through its WEB adress. It is useful for system components (e.g. the data offered to another applications), that are not intended to be choosen from WEB browsers.

When displaying the component list in the WEB browser this option can be supressed by pressing the Shift key and clicking the list title simultaneously. At this moment the list is reopened displaying all the components (including system components).

Refresh period of HTML pages [s]Specifies how often the page "panel.htm" (dynamic HTML page) reads the XML data and refreshes its content by them. The preset value is 3 sec.
Refresh error indication methodHere it is possible to define the visual indication method of panel refresh error (e.g. if connection is lost, if the server stops...). The visual indication is very important in order to inform the user (client) that the data is not refreshed correctly.

If the visual indication is enabled then on refresh error the system displays a red text on a yellow background in the upper portion of the window.

The visual indication will be in this panel (default)
The visual indication will be in the superior panel
The visual indication will not be displayed
Note:
By this page it is possible to register the object as a component into the WEB server (i.e. into the PmWeb, PmWebFolder or PmWebLang object).

The client that wants to browse pages of this component, must have the WebRead permission.

If the client wants to control back from the WEB panel, then he must also have the WebWrite permission.

If the client wants to call panel methods from the WEB panel (see the Methods page of the PmPanel object), than he must have the WebMethods permission.

The client requiring data from this WEB component is type of "PmWebClient" from the license point of view.

 
If the object is registered then it offers the WEB pages in the intranet on the following URL address:
http://ComputerName:Port/ComponentId/Page

Where:

ComputerName - network computer name on which this PROMOTIC application runs.
Port - port set in the PmWeb object (if the port equals to 80, it needn't be entered)
ComponentId - if the component is directly registered with the PmWeb object, then the text is stated here in the configurator "Web component identifier" on this page. If the component is registered with the PmWebFolder or PmWebLang object, then the identifier of this object is here even before, for example, "IdFolder/IdComponent", etc.
Page - page name that is offered by the object. If the page isn't entered then the default page will be displayed.
 
List of offered pages:
index.htm - Page with links on other offered pages for this object.
panel.htm - Offers the view as the dynamic HTML page. This is default page for this object.
data.xml - Gets the current data of the panel in XML format. It serves for refreshing the dynamic HTML page panel.htm.
png/panel.png - PNG file created from the panel in the time of the WEB client request.
png/panel.htm - HTML page displaying the panel.png.
bmp/panel.bmp - Bitmap created from the panel in the time of the WEB client request.
bmp/panel.htm - HTML page displaying the panel.bmp.
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice