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.

onceonly


The onceonly parameter is used to avoid the multiple loading of the same data, which can cause an error and stop the execution of a script. This is used to make sure a file is only loaded once, because files can be called several times through the INCLUDE tag of included files, for example.

Example

The index file calls the following files containing the components required to create the base page:



<INCLUDE htmlfile="../common/scripts/defs.hchl" onceonly>
<INCLUDE htmlfile="../common/scripts/header.hchl" onceonly>
<INCLUDE htmlfile="../common/scripts/footer.hchl" onceonly>
                

Due to the onceonly parameter, the scripts contained in these files are only executed once, as required for the creation of the pages.

 

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

BMC Client Management 12.1