Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

ICS.LoadProperty

Loads a property file or set of property files.

Syntax

Parameters

name
Name of the property files to load. This is a semicolon-separated list of property files, all in the same folder.

Description

The LoadProperty method loads a property file or set of property files. The values loaded from the property files are valid only during the processing of the page containing LoadProperty.

Use this method to access a table in a different database, or to load string properties. For example, use it to load a property file to find application-specific values for the local system configuration.

To load property files, those files must be located in the same folder as the Content Server property file. The values loaded from the property file are valid only during the processing of the page containing LoadProperty.

If LoadProperty fails, the current property set remains intact.

Returns

Returns true on success, false on failure.

Example

If a new property file (other than "futuretense.ini"), say "newfile.ini", is to be loaded  then it is necessary to  also specify "futuretense.ini" along with it, separated using semicolon. Here is how it is to be specified:

                    success = ics.LoadProperty("futuretense.ini;newfile.ini");

See Also

GetProperty , RestoreProperty

 

  Home > Contents > Index >

FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.