ColdBox JQueryUI Plugin
I work quite a lot with JQueryUI 1.8 lately, so time has come to create a new CB plugin. The JQueryUI Plugin handles (core)JS dependencies and CSS links for you, so no CFHTMLHEADs in your views anymore to include the proper files. You can just write:
jQueryUI = getPlugin("JQueryUI",true);
jQueryUI.setEnableWidget('tabs');
</cfscript>
jQueryUI.setEnableEffect('bounce');
// other code
jQueryUI.setEnableEffects('bounce,blind');
// other code
jQueryUI.setEnableEffect('explode');
</cfscript>
<cfdump var="#jQueryUI.getWidgetNames()#">
jQueryUI.setCustomJsLink('includes/js/myfile1.js');
jQueryUI.setCustomJsLink('includes/js/myfile2.js');
jQueryUI.setCustomJsLink(src='includes/js/myfile3.js',renderPosition=( arrayLen(jQueryUI.getCustomJsLinks() )-1 ));
jQueryUI.setCustomJsLink(src='includes/js/myfile4.js',renderPosition=2);
// first position
jQueryUI.setCustomJsLink(src='includes/js/myfile5.js',renderPosition=1);
</cfscript>
- Grab the JQueryUI plugin from RIAForge and place it into your plugin folder
- Download jqueryui 1.8.1, unzip it into your includes folder (See screenshot below)

- Add the following lines to your coldbox config file
<!-- Path to jQueryUI library, e.g. includes/jqueryui -->
<setting name="JQueryUIPlugin.baseRelativePath" value="includes/jQueryUI" />
<!--
<Setting name="JQueryUIPlugin.cssRelativePath" value="includes/jQueryUI/themes/ui-lightness" />
<Setting name="JQueryUIPlugin.jsRelativePath" value="includes/jQueryUI/ui/minified" />
<Setting name="JQueryUIPlugin.jsFileNameSuffix" value=".min" />
--> - Place this code somewhere in your layout file. This renders the output of the plugin.
<cfoutput>#getPlugin("JQueryUI",true).render()#</cfoutput>


You were right. Somehow version 1.1 did not make it to the download section.
Just uploaded version 1.1 again.
It looks to me that the folder structure expected by your cfc is quite different than what gets downloaded from the JQuery site. Could you confirm?
Thanks
I renamed the folder to JQueryUI (screenshot) for convenience.