Information
Space banner This version of the product has reached end of support. The documentation is available for your convenience. However, you must be logged in to access it. You will not be able to leave comments.

language


The language parameter defines the program with which the script is to be executed. The default value is chilli. If the language parameter is missing, the parser automatically interprets the language parameter as being Chilli.

Example 1

The following script is written in JavaScript and after execution shows the language choices for the the agent interface.



<!-- Start location -->

<IMG src="/common/images/bulletsubsection.png" width="13" height="11">
<SPAN class="LOCATION">
    <SCRIPT language='Javascript'>document.write (FindTranslation ("_MENU_KIOSK_"));&lt;/SCRIPT>
</SPAN>

<IMG src="../../../common/images/bulletsubsection.png" width="13" height="11">
<SPAN class="LOCATION">
    <SCRIPT language='Javascript'>document.write (FindTranslation ("_MENU_LIST_"));&lt;/SCRIPT>
</SPAN>

<!-- End location -->
                    

Example 2

An HTML file contains the following SCRIPT tag:



<SCRIPT language= bourneshell>
                

When the parser encounters this tag it will check the ScriptInterpreters section of the webconsole.ini file for an entry called bourneshell. This section contains the following entry:



[ScriptInterpreters]
BourneShell=/bin/sh
            

This entry tells the parser that the executable with which to execute the script is a Unix shell script called "sh", which is located in the local bin directory. Note, that the language name and the entry in the .ini file are not case sensitive, so 'bourneshell' and 'BourneShell' are equivalent.

The parser now places the text between the <SCRIPT> and </SCRIPT> tags into a newly created temporary file and executes this file with the unix shell "sh".

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Client Management 12.1