ADF Release Notes v1.5.2
  • Overview

  • Application Development Framework (ADF) version 1.5.2 updates the recent 1.5.1 release with:
     • Enhancements
     • Notable Bug Fixes

    For detailed instructions for installing the ADF, see the ADF v1.5.1 Installation Guide.

    For detailed instructions for upgrading from a previous version of the ADF, see the ADF v1.5.2 Upgrade Guide.

    Before installing or upgrading to this release of the ADF, please review these Important Notes.

     

  • Important Notes

    Review the following important notes before installing or upgrading to the ADF 1.5.2.

    If you are upgrading from a release earlier than 1.5, we strongly recommend that you also read the following:

     • 1.5.0 Release Notes
     • 1.5.1 Release Notes   

  • Supported CommonSpot Versions:

     • Winter 2012
     • 6.2.1
     • 6.2
     • 6.1
     • 6.0
      
  • Supported ColdFusion Versions:

     • 9.0.1
     • 8.0.1
     • Railo 3.3.2

     

  • Notable Enhancements:
     • Support for CommonSpot Winter 2012 and release 6.2.1.
     • Error handling within the Ajax and Lightbox proxies calls to return the ColdFusion error message within the return string.
     • General Chooser performance enhancement to set if the available items are populated when the form loads.  Controlled a the field level through a property option to load the available items.
     • Updated the lightbox overrides CSS file to fix common style issues/conflicts with site styles/designs.
     • Error handling for the ADF CCAPI wrapper.  Added TRY-CATCH around processing to logout the CCAPI if any errors occur.
     • Updated Jquery to the latest version 1.7.2.

  •  

Enhancement Details:
Core
 • Updated the ADF reset message text and added span tag with ID around the reset message for custom ADF reset message styling.
 • Added "variables.buildRev" to be manually updated before releases.
 • Added "server.ADF.buildRev" to have available in the ADF space.
 • Updated the core to store the version build codename into the variable 'server.ADF.buildName'.
Extensions/customcf
 • genericElementManagement
  ○ Call Forms buildAddEditLink for the Add New button.
 • site_configuration_element
  ○ Updated to call Forms_1_1.
Extensions/datasheet-modules
 • Edit-delete
  ○ Updated the styles for the buttons to align left and be a fixed width.
Extensions/customfields
 • General Chooser
  ○ Added the title attribute to the DIV wrapper around Item info since the display is truncated.
  ○ Added a DISPLAY_TEXT variable to allow different Item Display Text from what is used for the ORDER_FIELD.
  ○ Added "loadAvailable" option to set if the available selections load when the form loads.
  ○ Added the new records will load into the "selected" area when saved.
 • Custom Script Selector
  ○ Renamed file and renamed folder. Will deprecate The camelCase version of the file and folder.
 • Sample
  ○ Added the fieldPermission parameter to the wrapFieldHTML function call.
 • Custom Section Label
  ○ Added a Custom Section Label field type.
Extensions/lightbox
 • Updated the lightbox style overrides for potential site CSS styles.
 • Updated "loadCallback" function to set the commonspot.lightbox variable from the "commonspot" or "top.commonspot" variables.
Lib/Ajax
 • Ajax_1_0
  ○ Added the cfcatch error message to the default error message display in ajax proxies.
Lib/CCAPI
 • Updated the config error message.
 • Updated all CCAPI components for error handling.  Added TRY-CATCH around processing to logout the CCAPI if any errors.
Lib/CSData
 • CSData_1_1.getCustomMetadataFieldsByCSPageID
  ○ Added an option to add the field params struct to the value Custom MetaData form/field structure.
 • CSData_1_1.getCustomMetadataFieldParamValue
  ○ Added new function to return parameter value of a specific custom metadata form field.
 • CSData_1_1.getCustomMetadatawithFieldLabelsKeys
  ○ Added new function to build a custom metadata stucture using the Field Label as the sturcture keys instead of the field names.
Lib/Data
 • Data_1_1.activateURL
  ○ Added a linkClass parameter.
Lib/Lightbox
 • Lightbox_1_0
  ○ Added the cfcatch error message to the default error message display in lightbox proxies.
Lib/Scripts
 • Scripts_1_1
  ○ Ordered the cffunctions by name. This makes it easier to see if a function exists already.
  ○ Added the function loadJQueryFileUploader.
Lib/Utils
 • Utils_1_0.buildPagination
  ○ Added a parameter for the listLimit to allow defined quantity of links to be built.
  ○ Added a parameter for the linkSeparator to allow the character(s) between consecutive links to be defined.
  ○ Added a parameter for the gapSeparator to allow the character(s) for the gap of skipped links to be defined.
  ○ Moved the Results Count string into the rtn Struct
  ○ Added the hints to the parameters.
 • Utils_1_1.numberAsString
  ○ Converted the Utils version of the is function to a forwarding function to the version in the Data_1_1 lib.
ThirdParty
 • Updated JQuery file to v1.7.2.
 • Updated Third Party JCrop plugin to v0.9.9.
 • Updated Date picker for jQuery v4.0.6.
 • Added the following Jquery plugins:
  ○ fileuploader.
  ○ Capty
  ○ Multiselect
  ○ Plupload
  ○ Swfupload
  ○ Templates
  ○ Form
  ○ Tipsy
 • Added math.uuid JavaScript plugin.


Notable Bug Fixes:
 • General Chooser updates to support backward compatibility.
 • CEData v1.1 getFormIDByCEName function updated to return values from simple forms.

 

Bug Fixes:
Extensions/customcf
 • CCAPI_dump
  ○ Updated to logout when complete and added ADF CCAPI login/logout test.
 • genericElementManagement
  ○ Updated the form.buildAddEditLink to use the buildAddEditLink in the UI lib (buildAddEditLink in form_1_0 is deprecated).
  ○ Added a trim to the ceName value generated from the items passed in via the elementName parameter.
Extensions/customfields
 • File Uploader
  ○ Moved the CFT hidden fields back inside of the <td> wrapper for the field.
  ○ Added jQuery the noConflict option.
 • General Chooser
  ○ Updating the Comments for the Backward Compatibility fixes.
 • Template Select
  ○ Updated scripts to load with the site ADF.
 • UI Theme Selector
  ○ Fixes for slashes.
  ○ Exported new zip archive.
Lib/CEData
 • CEData_1_0.getFormIDByCEName
  ○ Return values for simpleforms.
Lib/Scripts
 • Scripts_1_0.loadJQueryDatePick, Scripts_1_1.loadJQueryDatePick
  ○ Replaced "@import" with "link" tag to load the CSS.
Lib/Utils
 • Utilis_1_0.buildPagination
  ○ Added check if itemCount is GT 0, then do the work. If not, then return the default values.