@cfgparam() Function |
![]() ![]() ![]() |
@cfgparam() function returns the value of the given configuration parameter. Syntax: @sysparam(config-parameter-name, default-value)
config-parameter-name The name of the configuration parameter in config-type:config-name:sub-element-name format. Note that if config-name is defined relatively, then the parameter is taken from the page configuration. default-value The value to be returned in case of the given parameter does not exist in the configuration.
Examples: @cfgparam('dataSource : products : itemsPerPage','20')
@cfgparam('globalDefinition : /applParams : enableFileManager ','false')
|