Home > Contents > Index > 
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index 
property:get
Gets a property value from a property file.
Syntax
<property:get param="propertyname" [inifile="property file name"] [varname="variable name"] />Parameters
param (required)- Name of the property to retrieve.
 
inifile (optional)- A semicolon-separated list of property file names.
 
varname (optional)- Specifies an optional output variable. If this parameter is not specified, the output is streamed to the browser.
 
Description
Retrieves a property value from the currently loaded or optionally specified property file. If the property does not exist the value returned is an empty string.
errno
 Value Description -106 Bad parameters. The property file could not be loaded.Example
Display the version number property from futuretense.ini.
<%@ taglib prefix="property" uri="futuretense_cs/property.tld" %> <property:get param="ft.version" inifile="futuretense.ini" varname="version"/> <ics:getvar name="version"/>
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.