Getting Started

Tag Reference

Object Reference
asHiddenFields
asURLString
asXML
collectFields
collectFieldsFrom..
copy
dump
empty
erase
loadFromCookie
storeToCookie

Case Study

Download

Mailing List

Other Links

Object::asHiddenFields

Summary:

This method will generate hidden form fields, one for each attribute of the object. Useful for passing object values from one HTML/CFM page to another.

Parameters:

Parameter Description Default Required
include Comma-separated list of attributes to include. If not list is provided, then all attributes are included.   No
exclude Comma-separated list of attributes to exclude. If not list is provided, then all attributes are included.   No

Returns:
Name Value
n/a

Example:
<!--- this example includes all fields --->
<cf_cfoInvokeMethod method="aPerson.asHiddenFields">

<!--- this example includes only firstName and LastName --->
<cf_cfoInvokeMethod method="aPerson.asHiddenFields" include="firstName,lastName">

<!--- this example includes all except dateOfBirth --->
<cf_cfoInvokeMethod method="aPerson.asHiddenFields" exclude="dateOfBirth">










SourceForge.net Logo