home *** CD-ROM | disk | FTP | other *** search
- // Copyright 2001 Macromedia, Inc. All rights reserved.
- var DEBUG = false
- var node_filename = "SES_D.gif"
- var datasourceleaf_filename = "DSL_D.gif"
-
-
- function addDynamicSource()
- {
- SaveSiteWideValue("Client Variable")
- }
-
-
- function findDynamicSources()
- {
- return GetSiteWideSourceDisplayNode("Client Variable", MM.LABEL_Client, node_filename, "CLIENT.htm","")
- }
-
-
- function generateDynamicSourceBindings()
- {
- return GetBindingsOfSiteWideSource("Client Variable", "CLIENT")
- }
-
-
- function generateDynamicDataRef(elementName,bindingName)
- {
- //For localized object name
- if (elementName != "Client")
- elementName = "Client"
-
- var retVal = "<cfoutput>#" + elementName + "." + bindingName + "#</cfoutput>"
- retVal = stripCfoutputIfNested(retVal);
- return retVal;
- }
-
- ////////////////////////////////////////////////////////////////////////////////
- //
- // Function: inspectDynamicDataRef
- //
- // Inspects a dynamic binding string and returns a pair of source and binding.
- ////////////////////////////////////////////////////////////////////////////////
- function inspectDynamicDataRef(expression)
- {
- return CFInspectDynamicDataRef(expression);
- }
-
-
- function deleteDynamicSource(sourceName,bindingName)
- {
- DeleteBindingOfSiteWideSource("Client Variable", bindingName)
- }
-
-