Miscellaneous
set()
Signature
Section titled “Signature”set() — returns any
Description
Section titled “Description”Use to configure a global setting or set a default for a function.
Examples
Section titled “Examples”<!--- Example 1: Set the `URLRewriting` setting to `Partial` ---> <cfset set(URLRewriting="Partial")> <!--- Example 2: Set default values for the arguments in the `buttonTo` view helper. This works for the majority of Wheels functions/arguments. ---> <cfset set(functionName="buttonTo", onlyPath=true, host="", protocol="", port=0, text="", confirm="", image="", disable="")> <!--- Example 3: Set the default values for a form helper to get the form marked up to your preferences ---> <cfset set(functionName="textField", labelPlacement="before", prependToLabel="<div>", append="</div>", appendToLabel="<br />")>