category
category
Field component to liase with all category field types
Basic<cfproperty name="catBasic" type="longchar" required="no" default="" fttype="category" />Start tree from branch where alias is "news"
<cfproperty name="catNews" type="longchar" required="no" default="" fttype="category" ftAlias="news" />Render tree as select field
<cfproperty name="catSelect" type="longchar" required="no" default="" fttype="category" ftRenderType="dropDown" />Render tree as select field with 10 rows displayed and first option as "Please Select..."
<cfproperty name="catSelect" type="longchar" required="no" default="" fttype="category" ftRenderType="dropDown" ftSelectSize="10" ftDropdownFirstItem="Please Select..." />
Attributes
Name | Required | Default | Options | Description |
---|---|---|---|---|
ftAlias | No | Used to render only a particular branch of the category tree. | ||
ftRenderType | No | jquery | This formtool offers a number of ways to render the input. (dropdown, prototype, extjs, jquery) | |
ftSelectMultiple | No | true | Allow selection of multiple items in category tree. (true, false) | |
ftSelectSize | No | 5 | Used when ftRenderType is set to dropDown, specifies the size of the select field. | |
ftDropdownFirstItem | No | Used when ftRenderType is set to dropDown, prepends an option to select list with null value. | ||
ftJQueryAllowEdit | No | true | ||
ftJQueryAllowAdd | No | true | ||
ftJQueryAllowRemove | No | true | ||
ftJQueryAllowMove | No | true | ||
ftJQueryAllowSelect | No | true | ||
ftJQueryQuickEdit | No | false | If ftJQueryAllowSelect is false and this is true, then clicking a node shows the edit icons (default behaviour is to only show them on a long click) | |
ftJQueryOnEdit | No | Overrides the default Javascript which performs this task (should expect 'node' variable) | ||
ftJQueryOnAdd | No | Overrides the default Javascript which performs thistask (should expect 'node' and 'newid' variables) | ||
ftJQueryOnRemove | No | Overrides the default Javascript which performs thistask (should expect 'node' variable) | ||
ftJQueryOnMove | No | Overrides the default Javascript which performs thistask (should expect 'node', 'parent', 'position', and 'finishMove' variables) | ||
ftJQueryOnSelect | No | Overrides the default Javascript which performs thistask (should expect 'node' and 'selected' variables) | ||
ftJQueryOnUpdateStart | No | Overrides the default Javascript which runs when an ajax update operation starts | ||
ftJQueryOnUpdateFinish | No | Overrides the default Javascript which runs when an ajax update operation finishes | ||
ftJQueryOnUpdateError | No | Overrides the default Javascript which runs when an ajax update operation errors (should expect 'error' and 'code' variables) | ||
ftJQueryVisibleInputs | No | true | Controls whether the checkbox / radio buttons are shown to the user | |
ftEditableProperties | No | categoryLabel | List of the properties that the user can edit in the case of ftJQueryAllowEdit and ftJQueryAllowAdd | |
ftJQueryURL | No | true | Overrides the AJAX URL |