Thursday, February 3, 2011

TagInputField.js tags xtype

CQ includes this:


So you can configure it like this:

new CQ.tagging.TagInputField({
    namespaces: ["foo", "default", "bar] //search only these namespaces
    , tagsBasePath: "/content/mytags" //do NOT do this. TagManager always searches from /etc/tags anyways
    , suggestMinChars: 1 //auto complete starts from one character input (default 3)

cq:ClientLibraryFolder debug

To have individual javascript to be included instead of one javascript:


Check Debug