you can use this object only in WEP APP development
don't create this object. Name of object is shtml
html (?, out) |
send the html-script to the body of full html-script. See ? |
|
php, phpscript |
send a php-script to the connector (runs only, if the connector is php). See phpscript |
|
js, java, javascript |
send the command to the java-area see javascrpt |
|
setuser |
set the current user in the actual session |
|
setlanguage |
set the current language shtml=setlanguage=E |
|
insertmenu |
load the menu-script in the actual session. see insertmenu |
|
message |
message=typ$messageid$message insert in the [messagearea] the message typ=error, ok or info. See "message"
|
|
sqltable |
objekt 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 |
send current variable-List |
|
sessionvariable, setglobal |
set a global Session-Variable shtml=sessionvariable=myvariable=myvalue in script ? Current Variable @session.myvariable@ |
|
localvariable, setlocal |
set 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> |
call direct a request 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 |
Execute the Script of this window but don't leave the current window |
|
ajax=replaceid=ajaxcommand=ajaxparameter |
|
|
ajax2=function=ajaxcommand,ajaxparameter |
Create 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 |
create hidden-input fields for all local variables with this mask. see var2hiddeninput
|
|
shtml=htmlareastart |
Push the actualarea in variable "htmlareapush" and cleare the actual html-script. Restore with htmlareaend. See 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> |
Delete in the Variable all html-Attribs Example setvar=col_text=<b>Hello</b> shtml=del_htmlattrib=col_text ? @col_text@ => output normal "Hello" without <b> and </b> |
shtml=window=<name> |
set the new app as current app and execute this main-script |
shtml=design |
set the design. see design |
shtml=setlanguage=<language> |
set Language for current Session |
shtml=form=<propertie> |
Genarete Simple Forms. See form |
|
shtml=inputinfo=<text> |
Set Variable <shtml.inputinfo> with translated Text and call the beas-Script-Function "inputinfo". Use this for insert a Help-Text for the input-Fields. |
|
shtml=formstart |
Create 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 |
reload all scripts from database to the server (call this after changing source) |
reload |
reload or replace 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 Personell (beas_pers.pers_id) |
|
<shtml.username> |
Current Name of User |
|
<shtml.shift> |
Current Shift from 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 from 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 allways 0, if no location is defined |
|
<shtml.connecttype> |
|
|
<shtml.windowmenutext> |
Menutext from current window |
|
<shtml.currentpage> |
Name of current window other name: <shtml.is_page> |
|
<shtml.pictureurl> |
the url or path from pictures. default "static/gfx/" |
|
<var2url=col..,page> |
generate a full URL-Parameterlist 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 asynchron work is activ? 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 logout the session |
col_shift |
Current Shift |