// Variable for the version of the field - Display in Props UI. fieldVersion = "1.2.12"; // initialize some of the attributes variables typeid = attributes.typeid; prefix = attributes.prefix; formname = attributes.formname; currentValues = attributes.currentValues; //Setup the default values defaultValues = StructNew(); defaultValues.chooserCFCName = ""; defaultValues.chooserAppName = ""; defaultValues.forceScripts = "0"; defaultValues.minSelections = "0"; defaultValues.maxSelections = "0"; defaultValues.loadAvailable = "0"; //This will override the default values with the current values. currentValueArray = StructKeyArray(currentValues); for(i=1;i<=ArrayLen(currentValueArray);i++) { if(StructKeyExists(defaultValues,currentValueArray[i])) { defaultValues[currentValueArray[i]] = currentValues[currentValueArray[i]]; } } application.ADF.scripts.addFooterJS(cftGeneralChooserPropsJS,"TERTIARY");
Chooser Bean Name:
Name of the Object Factory Bean that will be used when rendering and
populating chooser data. (i.e. profileGC).
Note: Do NOT include ".cfc" in the name.
Chooser App Name:
The App Name that will be used to resolve the Chooser Bean Name
entered above. (i.e. ptProfile).
Note: This is optional. If left blank, it will use the first matching Bean Name found in the ADF object.
Force Loading Scripts:    
Force the JQuery, JQuery UI, and Thickbox scripts to load on the chooser loading.
Minimum Number of Selections:
Default: 0 (Use 0 to make a selection optional)
Maximum Number of Selections:
Default: 0 (Use 0 for unlimited selections)
Load All Available Selections:    
Select 'Yes' to load all the available selections on the form load.

ADF Custom Field v#fieldVersion#