General Properties and User Methods
Last edit by:
Softpress Support
22 Oct, 2010
Pages in this section:
- A Hello World tutorial
- Action Elements
- Class FWAction
- Class FWActionList
- Class FWAttribute
- Class FWColor
- Class FWLinkParameter
- Class FWListData
- Class FWOSAInterpreter
- Class FWOutput
- Class FWPage
- Class FWParameter
- Class FWParameterList
- Class FWTag
- Files and Freeway Actions
- General Properties and User Methods
- Organisation of Classes
- Specific Properties and User Methods
- Weaver
General properties and functions that can be used in many places.
Properties
fwLength
Returns the number of items in a FWItemList
Example:
fwItemList.fwLength;
returns the number of items in the fwItemList.
Methods
toString()
A general JavaScript function that returns the String value of the object it is called on.
Example:
anObject.toString();
returns the String value of anObject. This is necessary when trying to compare a String with the value returned from some Freeway specific functions.
fwTitle()
Get the title of Freeway items, pages or folders.
Example:
fwItem.fwTitle();
returns the title of a fwItem.
