Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

List Field

Attribute

Description

Default Value

ftList

Comma separated list of values or variable:value pairs to appear in the drop down.

apple,orange,kiwi or APP:apple,ORA:orange,KIW:kiwi

ftRenderType

The display format to render the list.

dropdown or checkbox or radio

ftSelectMultiple

Boolean toggle for single or multiple select options.

false

ftListData

Method call that must return a string in the same variable value pair format as the ftlist attribute. Method gets past the objectid of the currently edited object as an argument.

apple,orange,kiwi or APP:apple,ORA:orange,KIW:kiwi

ftListDataTypename

Specific typename to call ftlistdata method on.

By default it looks at the current content type.

Sample Code

Sample Code Implementation
<cfproperty 
 ftSeq="15" 
 ftFieldset="Colors" 
 name="podHeaderColor" 
 type="string" 
 hint="Pod Header Color" 
 required="false" 
 default="" 
 ftLabel="Pod Header Color" 
 ftType="list" 
 ftListData="podColors" 
 ftListDataTypename="ruleProfile" />
  • No labels