The Std Library contains basic functions, that will be used by nearly every page. You need to insert
< include name="std.hei" />
into the beginning of your page to use the following functions.
< stdinit > ... </stdinit>
The heitml code inside <stdinit> is executed at initialization time before any other code on the page is executed. This is useful to perform initializations before any other code is executed.
It is also useful to call the heitml header manipulation functions inside <stdinit>. Note that it is required to call up these functions at initialization time.
The code inside <stdinit> has an own set of local variables. All output produced by this code will be ignored. Usually session mode is not yet initialized when the code is executed, so se. and page. variables cannot be accessed.
< stdloc name />
Defines a location with a given name. Using the <stdins> environment it is possible to insert code at this location.
The <stdloc> tag will execute the code assigned to the location by previous calls of <stdins>. In case of multiple <stdins> calls the new code is appended.
< stdins name > ... </stdins>
The code inside the <stdins> is not executed but suspended until a <stdloc> with the same name is executed. The code inside <stdins> has an own set of local variables (this will probably change in future versions) but the value of this stays the same.
sa, sarea, sessionUrl, sessionHidden, sessionActive
are defined in the Std Library, although these tags belong to the session mode and are documented there. These tags can be used on pages that do not use session mode themselves but want to pass on the session information to other pages using session mode.
<let uniquename= stdmakeuniq (name) >
<let uri= stdabsuri (abspath=SrvLocalUrl) >
is a function that makes an absolute URI out of an absolute path by prepending
the schema (
<let ishttps= stdishttps () >
is a function that tells you whether heitml is serving a
© 1996-2022 H.E.I. All Rights Reserved.