This object can only be used in WEPAPP development.
Do not create this object. The naming of the object is shtml
html (?, out) |
sends the html-script to the body of full html-script. See htmlprint |
|
php, phpscript |
sends a php-script to the connector (runs only if the connector is php). See phpscript |
|
js, java, javascript |
sends the command to the java-area See javascrpt |
|
setuser |
sets the current user in the actual session |
|
setlanguage |
sets the current language shtml=setlanguage=E |
|
insertmenu |
loads the menu-script in the actual session. See insertmenu |
|
message |
message=typ$messageid$message inserts in the [messagearea] the message typ=error, ok or info. See "message"
|
|
sqltable |
object to work with tables. See sqltable |
|
login |
login shtml=login=<user>=<pwd>=<stationid>=<location> |
|
logout |
logout from the current session after the current page if you send a full logout, use requesttype=logout |
|
print-object. See print. shmtl=print=command |
||
debug |
sends current variable-List |
|
sessionvariable, setglobal |
sets a global Session-Variable shtml=sessionvariable=myvariable=myvalue in script ? Current Variable @session.myvariable@ |
|
localvariable, setlocal |
sets a local window-variable this variable is only visible in the current window shtml=windowvariable=myvariable=myvalue ? Current Variable @local.myvariable@ |
|
shtml=continue=true/false |
|
shtml=callrequest=<requestname>
|
|
|
shtml=callrequest=<text>=<request>=<columns> |
|
|
page=dscription= page=parameter |
|
|
go2page=page |
|
|
go2request=<requestname> |
calls a request directly shtml=go2request=myupdaterequest [=page/app] if you don't set the page/app then you call the current page/app. Urgent: in the login-sequence you must set "login" as page. |
|
windowname=page |
Executes the Script of this window but don't leave the current window |
|
ajax=replaceid=ajaxcommand=ajaxparameter |
|
|
ajax2=function=ajaxcommand,ajaxparameter |
Creates the Call-Function [functionname]_start, the Receipt from Ajax call the function [functionname_receipt]. The second command you must create self. See ajax2 |
|
shtml=var2hiddeninput=mask |
creates hidden-input fields for all local variables with this mask. See var2hiddeninput
|
|
shtml=htmlareastart |
Pushes the actual area in variable "htmlareapush" and clears the actual html-script. Restores with htmlareaend. htmlareastart |
|
shtml=htmlareaend=<var> |
copy the current html-script in varialbe "var" and restore the html-area from "htmlareapush". see htmlareaend |
|
shtml=area=<areaname>=<shtmlscript> |
|
|
shtml=expand |
Create a Icon for hidden/unidden-Areas See expand |
|
shtml=send2common=<var>[=<priority>] |
|
shtml=del_htmlattrib=<var> |
Deletes all html-Attribs in the Variable Example: setvar=col_text=<b>Hello</b> shtml=del_htmlattrib=col_text ? @col_text@ => output normal "Hello" without <b> and </b> |
shtml=window=<name> |
sets the new app as current app and execute this main-script |
shtml=design |
sets the design. see design |
shtml=setlanguage=<language> |
sets the language for the current session |
shtml=form=<propertie> |
Generates Simple Forms. See form |
|
shtml=inputinfo=<text> |
Sets variable <shtml.inputinfo> with translated text and calls the Beas-Script-Function "inputinfo". Uses this for inserting a Help-Text for the input-fields. |
|
shtml=formstart |
Creates Script <form name="f1" action="@home@"> |
|
shtml=formend |
|
|
search=<requesttype>=<var> |
|
|
shmtl=setfocus=fieldname |
|
|
shtml=var2hiddeninput=mask |
create hidden-input fields for all local variables with this mask. see var2hiddeninput |
|
shtml=doublecheck=set/check |
|
reloadscript |
reloads all scripts from database to the server (call this after changing source) |
reload |
reloads or replaces parts of the memory reload=userrights -> Reload the user rights reload=language=<new language> -> change Language for current Session |
<currentpage> |
current page |
<requesttype> |
requesttype ajax - ajax-request update - update-request |
<PHPSESSID> |
Session-Id |
<clientname> |
Name of Client |
<shtml.session_id> |
Current Session_id (PHPSESSID) |
|
<shtml.station_id> |
Station-Id, Reference to beas_sys_station.station_id |
|
<shtml.user_id> |
Current User-Id |
|
<shtml.pers_id> |
Current Personnel (beas_pers.pers_id) |
|
<shtml.username> |
Current Name of User |
|
<shtml.shift> |
Current Shift of the User (you can set this shift only in the login-function with Variable "col_shift") |
|
<shtml.requesttype> |
Current request-Type - see Session-Variable requesttype |
|
<shtml.isajax> |
if request-Type is ajax, this variable is true |
|
<shtml.islogin> |
if user is loged in, this variable is true |
|
<shtml.program.description> |
Name of current program (description in program-declaration) |
|
<shtml.program.id> |
ID of the current program (beas_webprogram.programid) |
|
<shtml.program. |
return the Property from "stationcheckname" 0=No Check, 1=Check and 2=Check allways. If allways disable, if no web-Station-Clients in the Station-List is defined |
|
<shtml.program. |
return locationcheck-Property. 0=No Check, 1=Check, 2=Check mandatory is always 0, if no location is defined |
|
<shtml.connecttype> |
|
|
<shtml.windowmenutext> |
Menu text of the current window |
|
<shtml.currentpage> |
Name of the current window other name: <shtml.is_page> |
|
<shtml.pictureurl> |
the URL or path of pictures. default "static/gfx/" |
|
<var2url=col..,page> |
generates a full URL-Parameter list vor all Variables with this Mask. In this example for all Variable beginning with "col" and "page" |
|
<shtml.continue> |
Information to continue or not continue the window-Master-Script you can set this with "shtml=continue=true/false" and can check this with <shtml.continue> |
|
<shtml.access=[accessid]> |
|
|
<shtml.asynchron> |
if asynchronous working is active: 1=Yes, 0=No (0=Standard) |
Location
<shtml.location_id> |
Location. Reference to table beas_sys_location |
<shmtl.location_udf?> |
UDF1 to UDF4 from current location Example: <shtml.location_udf1> |
Global Variables
<shtml.path> |
local path of php-file on the php-server |
<shtml.indexname> |
name of the php-file without path, e.c. index.php shortform: <home> |
<shtml.url> |
url-adress |
<shtml.comm> |
connector-path for interface php <-> beas-html-server |
Setup Variable
(User-Setup for an App)
<shtml.setup1> |
value from first setup-Variable |
<shtml.setup2> |
value from 2. setup-Variable |
<shtml.setup3> |
value from 3. setup-Variable |
<shtml.setup4> |
value from 4. setup-Variable |
Standard-Post-Variables
is_user |
User to Login |
is_pws |
Pwd from User |
ib_logout |
if true, Beas will log out the session |
col_shift |
Current Shift |