03-22-2013 10:20 AM
03-24-2013 11:50 AM
03-26-2013 09:58 AM
10-31-2013 04:18 AM
this.configDialog.widgets.filterCategory = new Alfresco.module.ControlWrapper(Alfresco.util.generateDomId()).setOptions({
type: "category",
field: Dom.get(this.configDialog.id + "-filterCategories"),
container: Dom.get(this.configDialog.id + "-filterCategoriesSelector"),
value: "",
controlParams:{
displayMode: "list",
multipleSelectMode: true
},
fnValueChanged:
{
fn: function(obj)
{
alert('change');
},
scope: this
}
});
this.configDialog.widgets.filterCategory.render({
fn: function()
{
alert('rendered');
},
scope: this
});
POST http://localhost:8080/share/service/components/form/control-wrapper
200
controlParams {"displayMode":"list","multipleSelectMode":true}
field "page_x002e_component-2-1_x002e_user_x007e_admin_x007e_dashboard_x0023_default-configDialog-filterCategories"
htmlid alf-id8
label
name wrapper-category
type category
value
<div id="alf-id8-control-wrapper" class="form-container inlineable">
<script type="text/javascript">//<![CDATA[
(function(){
var picker = new Alfresco.ObjectFinder("alf-id8_wrapper-category-cntrl", "alf-id8_wrapper-category").setOptions({
field: "wrapper-category",
compactMode: true,
mandatory: false,
currentValue: "",
selectActionLabel: "Select",
minSearchTermLength: 1,
maxSearchResults: 1000
}).setMessages(
{… omitted i18n …
);
picker.setOptions(
{
itemType: "cm:category",
multipleSelectMode: true,
parentNodeRef: "alfresco://category/root", [^]
itemFamily: "category",
maintainAddedRemovedItems: false,
params: "",
createNewItemUri: "",
createNewItemIcon: ""
});
})();
//]]></script>
<div class="form-field inlineable">
<div id="alf-id8_wrapper-category-cntrl" class="object-finder inlineable">
…. omitted …
</div>
11-04-2013 10:50 AM
<@script type="text/javascript" src="${page.url.context}/res/components/object-finder/object-finder.js"></@script>
<@link rel="stylesheet" type="text/css" href="${page.url.context}/res/components/object-finder/object-finder.css" group="dashlets" />
<#include "../component.head.inc">
<@link rel="stylesheet" type="text/css" href="${page.url.context}/res/modules/documentlibrary/global-folder.css" group="dashlets" />
<@link rel="stylesheet" type="text/css" href="${page.url.context}/res/components/object-finder/object-finder.css" group="dashlets" />
<@script type="text/javascript" src="${page.url.context}/res/modules/form/control-wrapper.js"></@script>
<@script type="text/javascript" src="${page.url.context}/res/components/object-finder/object-finder.js"></@script>
<@script type="text/javascript" src="${page.url.context}/res/modules/simple-dialog.js"></@script>
<@script type="text/javascript" src="${page.url.context}/res/modules/documentlibrary/global-folder.js"></@script>
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.