05-14-2012 09:01 PM
05-19-2012 05:07 AM
05-22-2012 11:28 AM
<script type="text/javascript">//<![CDATA[
(function()
{
// Use an XHRDataSource
var oDS = new YAHOO.util.XHRDataSource("${ds}");
// Set the responseType
oDS.responseType = YAHOO.util.XHRDataSource.TYPE_JSON;
// Define the schema of the JSON results
oDS.responseSchema = {
resultsList : "result",
fields : ["value"]
};
// Instantiate the AutoComplete
var oAC = new YAHOO.widget.AutoComplete("${fieldHtmlId}", "${fieldHtmlId}-Container", oDS);
// Throttle requests sent
oAC.queryDelay = .5;
// The webservice needs additional parameters
oAC.generateRequest = function(sQuery) {
<#if ds?contains("?")>
return "&q=" + sQuery ;
<#else>
return "?q=" + sQuery ;
</#if>
};
return {
oDS: oDS,
oAC: oAC
};
})();
//]]></script>
absolutely exists in the page source when you use a static page and absolutely does not exist if you load the control into a pop up simple dialog (which, so far as I can see, programatically tags the contents of the template and hence the controls at the bottom of the page source to dynamically create the markup which is destroys when it gets hidden).alert("Im here");
10-17-2012 09:47 AM
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.