Opening the viewer of the PmaWeb object and its subobjects PmaWebDir, PmaWebFolder, PmaWebLang or PmaWebInfo
The viewer of this object is opened by by the Pm.CreateView
method, where in the sViewPath
parameter the path to this object is entered.
|file||(String) The file with the extension (e.g. file:MyPage.htm), to be displayed. |
This parameter is entered only for the PmaWebDir object.
The file entered here must be placed in a folder that is offered to Web by the PmaWebDir object (see "Folder with files" configurator).
The viewer parameters are in the form of the PmMap
object that is filled from value of the sView
parameter (of the KeyVal
type) in the Pm.CreateView
By filling from the KeyVal value all the parameters are initially stored as string. The content of the PmMap object can be then modified as needed - the items can be modified, added and deleted.
The PmMap object can also contain other embedded PmMap objects (Submap). The PmMap.mapSetSubmapAt method can be used in order to create a new PmMap or make one accessible.