diff --git a/ant/build-create-archive.xml b/ant/build-create-archive.xml
index 3cfcad2408..e3ea4f5610 100644
--- a/ant/build-create-archive.xml
+++ b/ant/build-create-archive.xml
@@ -70,7 +70,7 @@
file="#temp#/lucee-context.lar"
virtual="/context"
- addCFMLFiles="true"
+ addCFMLFiles="false"
addNonCFMLFiles="true"
ignoreScopes="false";
@@ -110,7 +110,7 @@
file="#temp#/lucee-admin.lar"
virtual="/admin"
- addCFMLFiles="true"
+ addCFMLFiles="false"
addNonCFMLFiles="true"
ignoreScopes="false";
@@ -141,7 +141,7 @@
file="#temp#/lucee-doc.lar"
virtual="/doc"
- addCFMLFiles="true"
+ addCFMLFiles="false"
addNonCFMLFiles="true"
ignoreScopes="false";
diff --git a/core/src/main/cfml/context/admin/Application.cfc b/core/src/main/cfml/context/admin/Application.cfc
index cda1826cb2..b57c84c052 100644
--- a/core/src/main/cfml/context/admin/Application.cfc
+++ b/core/src/main/cfml/context/admin/Application.cfc
@@ -55,11 +55,6 @@ public function onRequestStart() {
// if not logged in, we only allow access to admin|web|server[.cfm]
if(!structKeyExists(session, "passwordWeb") && !structKeyExists(session, "passwordServer")){
var fileName=listLast(cgi.script_name,"/");
- if ( GetDirectoryFromPath(ExpandPath(cgi.SCRIPT_NAME)) neq GetDirectoryFromPath(GetCurrentTemplatePath()) ){
- writeLog(text="The Lucee Admin bad path [#getCurrentTemplatePath()#]", type="error", log="application");
- fileName="";
- }
-
if(fileName!="admin.cfm" && fileName!="web.cfm" && fileName!="server.cfm" && fileName!="index.cfm" && fileName!="restart.cfm") {
writeLog(text="Lucee Admin request to restricted file [#filename#] before login", type="error", log="application");
cfsetting(showdebugoutput:false);
diff --git a/core/src/main/cfml/context/admin/resources.mappings.cfm b/core/src/main/cfml/context/admin/resources.mappings.cfm
index a1da4f43b2..1aaf29e331 100644
--- a/core/src/main/cfml/context/admin/resources.mappings.cfm
+++ b/core/src/main/cfml/context/admin/resources.mappings.cfm
@@ -150,10 +150,6 @@ Defaults --->
-
-
-
-
-
diff --git a/core/src/main/cfml/context/admin/web.cfm b/core/src/main/cfml/context/admin/web.cfm
index e8fb75c998..6eb8dc2764 100755
--- a/core/src/main/cfml/context/admin/web.cfm
+++ b/core/src/main/cfml/context/admin/web.cfm
@@ -512,9 +512,16 @@
-
-
-
+
+
+
+
+
+
+
+
+
+
diff --git a/core/src/main/java/lucee/commons/i18n/FormatUtil.java b/core/src/main/java/lucee/commons/i18n/FormatUtil.java
index 4ab63dd65f..5e4c28f8e9 100644
--- a/core/src/main/java/lucee/commons/i18n/FormatUtil.java
+++ b/core/src/main/java/lucee/commons/i18n/FormatUtil.java
@@ -98,6 +98,8 @@ public class FormatUtil {
"EEE, MMM dd, yyyy HH:mm:ssZ",
+ "EEE, dd MMM yyyy HH:mm:ss Z",
+
"EEEE, MMMM d, yyyy, h:mm:ss a z",
"EEEE, MMMM d, yyyy, h:mm:ss a zzzz",
diff --git a/core/src/main/java/lucee/runtime/ComponentPageImpl.java b/core/src/main/java/lucee/runtime/ComponentPageImpl.java
index b6114ba2f4..7322f95639 100755
--- a/core/src/main/java/lucee/runtime/ComponentPageImpl.java
+++ b/core/src/main/java/lucee/runtime/ComponentPageImpl.java
@@ -40,6 +40,7 @@
import lucee.commons.lang.HTMLEntities;
import lucee.commons.lang.StringUtil;
import lucee.commons.lang.mimetype.MimeType;
+import lucee.commons.net.HTTPUtil;
import lucee.runtime.component.StaticStruct;
import lucee.runtime.config.ConfigWebPro;
import lucee.runtime.converter.BinaryConverter;
@@ -89,6 +90,8 @@
import lucee.runtime.type.util.UDFUtil;
import lucee.runtime.util.PageContextUtil;
+
+
/**
* A Page that can produce Components
*/
@@ -696,6 +699,11 @@ private static void writeOut(PageContext pc, Object obj, MimeType mt, BinaryConv
public static boolean isSoap(PageContext pc) {
HttpServletRequest req = pc.getHttpServletRequest();
+
+ String strContentType = ReqRspUtil.getContentTypeAsString(pc, null);
+ Boolean isText = HTTPUtil.isTextMimeType(strContentType);
+ if (isText == null || !isText) return false;
+
InputStream is = null;
try {
is = req.getInputStream();
diff --git a/core/src/main/java/lucee/runtime/PageSourceImpl.java b/core/src/main/java/lucee/runtime/PageSourceImpl.java
index 3c99159874..6ee7160680 100755
--- a/core/src/main/java/lucee/runtime/PageSourceImpl.java
+++ b/core/src/main/java/lucee/runtime/PageSourceImpl.java
@@ -457,7 +457,7 @@ private boolean isLoad(byte load) {
return page != null && load == page.getLoadType();
}
- private Page compile(ConfigWeb config, Resource classRootDir, Page existing, boolean returnValue, boolean ignoreScopes) throws TemplateException {
+ private synchronized Page compile(ConfigWeb config, Resource classRootDir, Page existing, boolean returnValue, boolean ignoreScopes) throws TemplateException {
try {
return _compile(config, classRootDir, existing, returnValue, ignoreScopes, false);
}
diff --git a/core/src/main/java/lucee/runtime/config/ConfigAdmin.java b/core/src/main/java/lucee/runtime/config/ConfigAdmin.java
index 3c60f1a120..9af408cd96 100755
--- a/core/src/main/java/lucee/runtime/config/ConfigAdmin.java
+++ b/core/src/main/java/lucee/runtime/config/ConfigAdmin.java
@@ -720,9 +720,6 @@ private void _updateMapping(String virtual, String physical, String archive, Str
Struct children = ConfigWebUtil.getAsStruct("mappings", root);
Key[] keys = children.keys();
- // Element mappings = _getRootElement("mappings");
- // Element[] children = ConfigWebFactory.getChildren(mappings, "mapping");
-
Struct el = null;
for (Key key: keys) {
Struct tmp = Caster.toStruct(children.get(key, null), null);
@@ -785,9 +782,15 @@ else if (el.containsKey("listenerMode")) {
}
// others
- el.setEL("inspectTemplate", ConfigWebUtil.inspectTemplate(inspect, ""));
- el.setEL("inspectTemplateIntervalSlow", Caster.toString(inspectTemplateIntervalSlow, ""));
- el.setEL("inspectTemplateIntervalFast", Caster.toString(inspectTemplateIntervalFast, ""));
+ String str = ConfigWebUtil.inspectTemplate(inspect, "");
+ if (!StringUtil.isEmpty(str)) el.setEL("inspectTemplate", str);
+ else el.removeEL(KeyImpl.init("inspectTemplate"));
+ if (ConfigPro.INSPECT_INTERVAL_SLOW != inspectTemplateIntervalSlow && ConfigPro.INSPECT_INTERVAL_UNDEFINED != inspectTemplateIntervalSlow)
+ el.setEL("inspectTemplateIntervalSlow", Caster.toString(inspectTemplateIntervalSlow, ""));
+ else el.removeEL(KeyImpl.init("inspectTemplateIntervalSlow"));
+ if (ConfigPro.INSPECT_INTERVAL_FAST != inspectTemplateIntervalFast && ConfigPro.INSPECT_INTERVAL_UNDEFINED != inspectTemplateIntervalFast)
+ el.setEL("inspectTemplateIntervalFast", Caster.toString(inspectTemplateIntervalFast, ""));
+ else el.removeEL(KeyImpl.init("inspectTemplateIntervalFast"));
el.setEL("topLevel", Caster.toString(toplevel));
el.setEL("readOnly", Caster.toString(readOnly));
@@ -1045,9 +1048,16 @@ private void _updateCustomTag(String virtual, String physical, String archive, S
el.setEL("physical", physical);
el.setEL("archive", archive);
el.setEL("primary", primary.equalsIgnoreCase("archive") ? "archive" : "physical");
- el.setEL("inspectTemplate", ConfigWebUtil.inspectTemplate(inspect, ""));
- el.setEL("inspectTemplateIntervalSlow", Caster.toString(inspectTemplateIntervalSlow, ""));
- el.setEL("inspectTemplateIntervalFast", Caster.toString(inspectTemplateIntervalFast, ""));
+ String str = ConfigWebUtil.inspectTemplate(inspect, "");
+ if (!StringUtil.isEmpty(str)) el.setEL("inspectTemplate", str);
+ else el.removeEL(KeyImpl.init("inspectTemplate"));
+ if (ConfigPro.INSPECT_INTERVAL_SLOW != inspectTemplateIntervalSlow && ConfigPro.INSPECT_INTERVAL_UNDEFINED != inspectTemplateIntervalSlow)
+ el.setEL("inspectTemplateIntervalSlow", Caster.toString(inspectTemplateIntervalSlow, ""));
+ else el.removeEL(KeyImpl.init("inspectTemplateIntervalSlow"));
+ if (ConfigPro.INSPECT_INTERVAL_FAST != inspectTemplateIntervalFast && ConfigPro.INSPECT_INTERVAL_UNDEFINED != inspectTemplateIntervalFast)
+ el.setEL("inspectTemplateIntervalFast", Caster.toString(inspectTemplateIntervalFast, ""));
+ else el.removeEL(KeyImpl.init("inspectTemplateIntervalFast"));
+
el.removeEL(KeyImpl.init("trusted"));
return;
}
@@ -1059,9 +1069,13 @@ private void _updateCustomTag(String virtual, String physical, String archive, S
if (physical.length() > 0) el.setEL("physical", physical);
if (archive.length() > 0) el.setEL("archive", archive);
el.setEL("primary", primary.equalsIgnoreCase("archive") ? "archive" : "physical");
- el.setEL("inspectTemplate", ConfigWebUtil.inspectTemplate(inspect, ""));
- el.setEL("inspectTemplateIntervalSlow", Caster.toString(inspectTemplateIntervalSlow, ""));
- el.setEL("inspectTemplateIntervalFast", Caster.toString(inspectTemplateIntervalFast, ""));
+
+ String str = ConfigWebUtil.inspectTemplate(inspect, "");
+ if (!StringUtil.isEmpty(str)) el.setEL("inspectTemplate", ConfigWebUtil.inspectTemplate(inspect, ""));
+ if (ConfigPro.INSPECT_INTERVAL_SLOW != inspectTemplateIntervalSlow && ConfigPro.INSPECT_INTERVAL_UNDEFINED != inspectTemplateIntervalSlow)
+ el.setEL("inspectTemplateIntervalSlow", Caster.toString(inspectTemplateIntervalSlow, ""));
+ if (ConfigPro.INSPECT_INTERVAL_FAST != inspectTemplateIntervalFast && ConfigPro.INSPECT_INTERVAL_UNDEFINED != inspectTemplateIntervalFast)
+ el.setEL("inspectTemplateIntervalFast", Caster.toString(inspectTemplateIntervalFast, ""));
el.setEL("virtual", StringUtil.isEmpty(virtual) ? createVirtual(el) : virtual);
}
@@ -1137,9 +1151,15 @@ private void _updateComponentMapping(String virtual, String physical, String arc
data.setEL("physical", physical);
data.setEL("archive", archive);
data.setEL("primary", primary.equalsIgnoreCase("archive") ? "archive" : "physical");
- data.setEL("inspectTemplate", ConfigWebUtil.inspectTemplate(inspect, ""));
- data.setEL("inspectTemplateIntervalSlow", Caster.toString(inspectTemplateIntervalSlow, ""));
- data.setEL("inspectTemplateIntervalFast", Caster.toString(inspectTemplateIntervalFast, ""));
+ String str = ConfigWebUtil.inspectTemplate(inspect, "");
+ if (!StringUtil.isEmpty(str)) data.setEL("inspectTemplate", str);
+ else data.removeEL(KeyImpl.init("inspectTemplate"));
+ if (ConfigPro.INSPECT_INTERVAL_SLOW != inspectTemplateIntervalSlow && ConfigPro.INSPECT_INTERVAL_UNDEFINED != inspectTemplateIntervalSlow)
+ data.setEL("inspectTemplateIntervalSlow", Caster.toString(inspectTemplateIntervalSlow, ""));
+ else data.removeEL(KeyImpl.init("inspectTemplateIntervalSlow"));
+ if (ConfigPro.INSPECT_INTERVAL_FAST != inspectTemplateIntervalFast && ConfigPro.INSPECT_INTERVAL_UNDEFINED != inspectTemplateIntervalFast)
+ data.setEL("inspectTemplateIntervalFast", Caster.toString(inspectTemplateIntervalFast, ""));
+ else data.removeEL(KeyImpl.init("inspectTemplateIntervalFast"));
data.removeEL(KeyImpl.init("trusted"));
return;
}
@@ -1151,9 +1171,12 @@ private void _updateComponentMapping(String virtual, String physical, String arc
if (physical.length() > 0) el.setEL("physical", physical);
if (archive.length() > 0) el.setEL("archive", archive);
el.setEL("primary", primary.equalsIgnoreCase("archive") ? "archive" : "physical");
- el.setEL("inspectTemplate", ConfigWebUtil.inspectTemplate(inspect, ""));
- el.setEL("inspectTemplateIntervalSlow", Caster.toString(inspectTemplateIntervalSlow, ""));
- el.setEL("inspectTemplateIntervalFast", Caster.toString(inspectTemplateIntervalFast, ""));
+ String str = ConfigWebUtil.inspectTemplate(inspect, "");
+ if (!StringUtil.isEmpty(str)) el.setEL("inspectTemplate", ConfigWebUtil.inspectTemplate(inspect, ""));
+ if (ConfigPro.INSPECT_INTERVAL_SLOW != inspectTemplateIntervalSlow && ConfigPro.INSPECT_INTERVAL_UNDEFINED != inspectTemplateIntervalSlow)
+ el.setEL("inspectTemplateIntervalSlow", Caster.toString(inspectTemplateIntervalSlow, ""));
+ if (ConfigPro.INSPECT_INTERVAL_FAST != inspectTemplateIntervalFast && ConfigPro.INSPECT_INTERVAL_UNDEFINED != inspectTemplateIntervalFast)
+ el.setEL("inspectTemplateIntervalFast", Caster.toString(inspectTemplateIntervalFast, ""));
el.setEL("virtual", StringUtil.isEmpty(virtual) ? createVirtual(el) : virtual);
}
diff --git a/core/src/main/java/lucee/runtime/config/ConfigWebFactory.java b/core/src/main/java/lucee/runtime/config/ConfigWebFactory.java
index ebe970bef4..f1bd58b38f 100644
--- a/core/src/main/java/lucee/runtime/config/ConfigWebFactory.java
+++ b/core/src/main/java/lucee/runtime/config/ConfigWebFactory.java
@@ -2614,8 +2614,10 @@ private static void _loadCache(ConfigServerImpl configServer, ConfigImpl config,
for (int i = 0; i < ConfigPro.CACHE_TYPES_MAX.length; i++) {
try {
String def = getAttr(defaultCache, "default" + StringUtil.ucFirst(ConfigPro.STRING_CACHE_TYPES_MAX[i]));
- if (hasAccess && !StringUtil.isEmpty(def)) {
- config.setCacheDefaultConnectionName(ConfigPro.CACHE_TYPES_MAX[i], def);
+ if (StringUtil.isEmpty(def, true)) def = getAttr(root, "cacheDefault" + StringUtil.ucFirst(ConfigPro.STRING_CACHE_TYPES_MAX[i]));
+
+ if (hasAccess && !StringUtil.isEmpty(def, true)) {
+ config.setCacheDefaultConnectionName(ConfigPro.CACHE_TYPES_MAX[i], def.trim());
}
else if (hasCS) {
if (defaultCache.containsKey("default" + StringUtil.ucFirst(ConfigPro.STRING_CACHE_TYPES_MAX[i])))
@@ -2632,6 +2634,7 @@ else if (hasCS) {
log(config, log, t);
}
}
+
{
Struct eCaches = ConfigWebUtil.getAsStruct("caches", root);
diff --git a/core/src/main/java/lucee/runtime/debug/DebuggerImpl.java b/core/src/main/java/lucee/runtime/debug/DebuggerImpl.java
index 5cd6c2ac8b..0ce13d3bba 100644
--- a/core/src/main/java/lucee/runtime/debug/DebuggerImpl.java
+++ b/core/src/main/java/lucee/runtime/debug/DebuggerImpl.java
@@ -798,7 +798,7 @@ public Struct getDebuggingData(PageContext pc, boolean addAddionalInfo) throws D
//////////////////////////////////////////
if (addAddionalInfo) {
Struct scopes = new StructImpl();
- scopes.setEL(KeyConstants._cgi, pc.cgiScope());
+ scopes.setEL(KeyConstants._cgi, pc.cgiScope().duplicate(false));
debugging.setEL(KeyConstants._scope, scopes);
}
diff --git a/core/src/main/java/lucee/runtime/tag/Admin.java b/core/src/main/java/lucee/runtime/tag/Admin.java
index a4d76c8bb5..cf462c2fb1 100755
--- a/core/src/main/java/lucee/runtime/tag/Admin.java
+++ b/core/src/main/java/lucee/runtime/tag/Admin.java
@@ -1775,7 +1775,6 @@ private void doUpdateDebug() throws PageException {
// TODO?admin.updateDebugTemplate(getString("admin", action, "debugTemplate"));
store();
adminSync.broadcast(attributes, config);
- if (!Caster.toBooleanValue(getString("debug", ""), false)) doPurgeDebugPool(); // purge the debug log pool when disabling debug to free up memory
}
private void doUpdateMonitoring() throws PageException {
@@ -1785,7 +1784,6 @@ private void doUpdateMonitoring() throws PageException {
// TODO?admin.updateDebugTemplate(getString("admin", action, "debugTemplate"));
store();
adminSync.broadcast(attributes, config);
- if (!Caster.toBooleanValue(getString("debug", ""), false)) doPurgeDebugPool(); // purge the debug log pool when disabling debug to free up memory
}
private void doGetDebugSetting() throws PageException {
diff --git a/core/src/main/java/resource/tld/core-base.tld b/core/src/main/java/resource/tld/core-base.tld
index 3ff0bbe2d9..3fd7ccdc8e 100755
--- a/core/src/main/java/resource/tld/core-base.tld
+++ b/core/src/main/java/resource/tld/core-base.tld
@@ -197,29 +197,29 @@
true
- cache (default): server-side and client-side template caching.
- - flush: refresh cached pages (template caching).
- - clientCache: browser-side caching only. To cache a personalized page, use this option.
- - serverCache: server-side caching only. Not recommended.
- - optimal: same as "cache".
- - content: same as cache, but cache only the body of the tag, not the complete template (template caching).
- - put: adds a key value pair to object cache (see function cachePut for more details)
- - get: gets value matching given key from object cache (see function cacheGet for more details)
-
-
+ - flush: refresh cached pages (template caching).
+ - clientCache: browser-side caching only. To cache a personalized page, use this option.
+ - serverCache: server-side caching only. Not recommended.
+ - optimal: same as "cache".
+ - content: same as cache, but cache only the body of the tag, not the complete template (template caching).
+ - put: adds a key value pair to object cache (see function cachePut for more details)
+ - get: gets value matching given key from object cache (see function cacheGet for more details)
+
+
string
key
false
true
key to access cache
-
+
any
id
false
true
Id of the cached object
-
+
boolean
throwOnError
@@ -232,7 +232,7 @@ true
you can handle the error in a
cfcatch
block, for example, if a specified id value is invalid
-
+
string
@@ -240,28 +240,28 @@ block, for example, if a specified id value is invalid
false
true
name of return variable, valid with action="get"
-
+
string
metadata
false
true
Name of the struct variable
-
+
any
value
false
true
For action="set", object which needs to be stored
-
+
string
cacheName
false
true
definition of the cache used by name, when not set the "default Object Cache" defined in Lucee Administrator is used instead.
-
+
string
username
@@ -414,29 +414,54 @@ A return value from the CreateTimeSpan function, for example, "#CreateTimeSpan(0
false
component
- Creates and defines a component object; encloses functionality that you build in CFML and enclose within cffunction tags. This tag contains one or more cffunction tags that define methods. Code within the body of this tag, other than cffunction tags, is executed when the component is instantiated.
+
+ The `component` tag is used to define a CFML component (CFC), which is a reusable encapsulation of logic and data in Lucee. Components allow for structured, object-oriented development by encapsulating related properties and functions within a single object. Inside the `component` tag, functions are defined using `cffunction` tags. Code placed outside `cffunction` tags within a component is executed when the component is instantiated. This tag is fundamental for building modular and maintainable code in CFML applications.
+
lucee.transformer.cfml.attributes.impl.Component
mixed
+
+
+ boolean
+ accessors
+ false
+ true
+ If set to true, enables implicit getters and setters for the component's properties. For persistent CFCs, accessors are always enabled.
+
boolean
synchronized
false
true
- If set to true all calls to an instance of a component are synchronized. This setting allows a method to be executed only by one single thread at a time.
+ If set to true, synchronizes all calls to an instance of the component, ensuring that each function can only be executed by one thread at a time, thereby providing thread safety.
boolean
persistent
false
true
- Specifies CFC is persistent or not
+ Specifies whether the component is persistent, meaning it can be saved to and loaded from a storage medium such as a database.
string
extends
false
true
- Name of parent component from which to inherit methods and properties.
+ Specifies the name of the parent component from which to inherit properties and functions, facilitating code reuse and modularity.
+
+
+ string
+ implements
+ false
+ true
+ Lists the interfaces that the component implements, specifying the set of functions that the component must provide.
+
+
+ string
+ modifier
+ false
+ true
+ none,final,abstract
+ Defines the type of component: `none` for a regular component, `abstract` for a component that cannot be instantiated directly and must be extended, or `final` for a component that cannot be extended by other components.
string
@@ -444,18 +469,14 @@ A return value from the CreateTimeSpan function, for example, "#CreateTimeSpan(0
display
false
true
- A string to be displayed when using introspection to show
- information about the CFC. The information appears on the
- heading, following the component name.
- If the style attribute is set to document, the displayName
- attribute is used as the name of the service element in the WSDL.
+ A user-friendly name for the component, used when displaying information about the CFC during introspection. This value appears alongside the component name and is used in the WSDL service element if the style is set to document.
string
hint
false
true
- Text that displays when you use introspection to show information about the CFC. The hint attribute value appears below the component name heading. Use this attribute to describe the purpose of the component.
+ Provides a description of the component's purpose, displayed during introspection. This hint helps document the functionality and usage of the component.
boolean
@@ -463,8 +484,8 @@ A return value from the CreateTimeSpan function, for example, "#CreateTimeSpan(0
false
true
- - true: permits component method output
- - false: suppresses component method output
+ - `true`: Allows the output generated by component functions to be displayed.
+ - `false`: Suppresses the output generated by component functions, preventing it from being displayed.
@@ -473,19 +494,15 @@ A return value from the CreateTimeSpan function, for example, "#CreateTimeSpan(0
false
true
unimplemented
- Specifies whether a CFC used for web services uses RPC-encoded style or document-literal style
+ Determines whether the CFC, when used for web services, uses RPC-encoded style or document-literal style. This attribute controls the format of the generated WSDL.
string
namespace
false
true
- unimplemented
- Specifies the namespace used in the WSDL when
- using the CFC as a document-literal style web service.
- If you don't specify this attribute, Lucee
- derives the namespace from the CFC class name.
- This attribute applies only when style="document".
+ unimplemented
+ Specifies the namespace for the WSDL when the CFC is used as a document-literal style web service. If not specified, Lucee derives the namespace from the CFC class name. This attribute applies only when `style="document"`.
string
@@ -493,8 +510,7 @@ A return value from the CreateTimeSpan function, for example, "#CreateTimeSpan(0
false
true
unimplemented
- Specifies the name of the port element in the WSDL.
- This attribute applies only when style="document".
+ Specifies the name of the port element in the WSDL. This attribute is relevant only when `style="document"` is used for web services.
string
@@ -502,8 +518,7 @@ A return value from the CreateTimeSpan function, for example, "#CreateTimeSpan(0
false
true
unimplemented
- Specifies the SOAP URL of the web service. If you don't specify this attribute, Lucee uses the URL of the CFC in the WSDL service description.
- Use this attribute to specify the protocol, for example, by specifying a URL that starts with https://. This attribute applies only for web services.
+ Defines the SOAP URL of the web service. If not specified, Lucee uses the URL of the CFC in the WSDL service description. This attribute is particularly useful for specifying the protocol, such as using a URL starting with `https://`. It applies only to web services.
string
@@ -511,44 +526,42 @@ A return value from the CreateTimeSpan function, for example, "#CreateTimeSpan(0
false
true
unimplemented
- Specifies the name of the portType element in the WSDL.
- This attribute applies only when style="document".
+ Specifies the name of the `portType` element in the WSDL, applicable only when `style="document"` is used.
string
bindingName
false
true
- Specifies the name of the binding element in the WSDL.
- This attribute applies only when style="document".
+ Defines the name of the `binding` element in the WSDL. This attribute applies only when `style="document"`.
string
wsdlFile
false
true
- unimplemented
- A properly formatted WSDL file to be used instead of
- WSDL generated by Lucee.
- This attribute applies only when style="document".
+ unimplemented
+ Specifies a custom WSDL file to be used instead of the automatically generated WSDL by Lucee. This is applicable only when `style="document"`.
string
alias
false
true
- unimplemented
-
+ unimplemented
+ Defines an alternative name or alias for the component, providing flexibility in referencing the component in different contexts.
boolean
mappedSuperClass
false
true
- unimplemented
-
+ unimplemented
+ Indicates whether the component acts as a mapped superclass. A mapped superclass serves as a base class for other components to extend but does not itself represent a database entity.
+
+
Continue
@@ -687,27 +700,27 @@ A return value from the CreateTimeSpan function, for example, "#CreateTimeSpan(0
false
true
URL, within a domain, to which the cookie applies;
- typically a directory. Only pages in this path can use the
- cookie. By default, all pages on the server that set the
- cookie can access the cookie.
+ typically a directory. Only pages in this path can use the
+ cookie. By default, all pages on the server that set the
+ cookie can access the cookie.
- path = "/services/login"
-
+ path = "/services/login"
+
string
domain
false
true
Domain in which cookie is valid and to which cookie content
- can be sent from the user's system. By default, the cookie
- is only available to the server that set it. Use this
- attribute to make the cookie available to other servers.
+ can be sent from the user's system. By default, the cookie
+ is only available to the server that set it. Use this
+ attribute to make the cookie available to other servers.
- Must start with a period. If the value is a subdomain, the
- valid domain is all domain names that end with this string.
- This attribute sets the available subdomains on the site
- upon which the cookie can be used.
-
+ Must start with a period. If the value is a subdomain, the
+ valid domain is all domain names that end with this string.
+ This attribute sets the available subdomains on the site
+ upon which the cookie can be used.
+
boolean
httpOnly
@@ -910,7 +923,7 @@ Each Database implementation has it's own supported types
true
- all: includes all information in the result set.
- - name: includes only filenames in the result set.
+ - name: includes only filenames in the result set.
object
@@ -938,8 +951,8 @@ Example:
true
- file: includes only filenames.
- - dir: includes only directory names.
- - all: includes both filenames and directory names.
+ - dir: includes only directory names.
+ - all: includes both filenames and directory names.
string
@@ -1133,12 +1146,12 @@ Example:
output is displayed on page from which it was called.
- string
- errorFile
- false
- true
- The file to which to direct the error stream of the program. If neither errorFile nor errorVariable is specified, the error stream is discarded.
-
+ string
+ errorFile
+ false
+ true
+ The file to which to direct the error stream of the program. If neither errorFile nor errorVariable is specified, the error stream is discarded.
+
string
errorVariable
@@ -1176,9 +1189,9 @@ Example:
true
optional
exitTag: aborts processing of currently executing tag
- exitTemplate: exits page of currently executing tag
- loop: re-executes body of currently executing tag
-
+ exitTemplate: exits page of currently executing tag
+ loop: re-executes body of currently executing tag
+
@@ -1201,167 +1214,167 @@ Example:
false
true
The name to use for the JavaScript proxy class.
- The action to take, one of the following values:
- - create: Creates an RSS 2.0 or Atom 1.0 feed XML document and saves it in a variable, writes it to a file, or both.
- - read (default): Parses an RSS or Atom feed from a URL or an XML file and saves it in a structure or query.
- You can also get query metadata in a separate structure.
-
+ The action to take, one of the following values:
+ - create: Creates an RSS 2.0 or Atom 1.0 feed XML document and saves it in a variable, writes it to a file, or both.
+ - read (default): Parses an RSS or Atom feed from a URL or an XML file and saves it in a structure or query.
+ You can also get query metadata in a separate structure.
+
struct
columnMap
false
- true
+ true
Used only for the create action with a query attribute.
- A structure specifying a mapping between the names of the columns in the object specified by the query attribute
- and the columns of the feed format, as described in the Query attribute section.
- The key for each field must be a column name listed in the Query columns section. The value of the field must be
- the name of the corresponding column in the query object used as input to the create action.
+ A structure specifying a mapping between the names of the columns in the object specified by the query attribute
+ and the columns of the feed format, as described in the Query attribute section.
+ The key for each field must be a column name listed in the Query columns section. The value of the field must be
+ the name of the corresponding column in the query object used as input to the create action.
5.3.8.127
-
+
string
enclosureDir
false
true
Used only for the read action.
- Path to the directory in which to save any enclosures that are available in the feed being read.
- The path can be absolute or relative to the CFML file.
- If the directory does not exist, Lucee generates an error.
- If you omit this attribute, Lucee does not save enclosures.
- To specify the directory that contains the current page, set this attribute to .(period).
-
+ Path to the directory in which to save any enclosures that are available in the feed being read.
+ The path can be absolute or relative to the CFML file.
+ If the directory does not exist, Lucee generates an error.
+ If you omit this attribute, Lucee does not save enclosures.
+ To specify the directory that contains the current page, set this attribute to .(period).
+
boolean
ignoreEnclosureError
false
true
If this attribute is true, Lucee attempts to save all enclosures.
- If it encounters an error downloading one enclosure, it continues downloading other enclosures and writes the
- error information in the server log.
- If this attribute is false, Lucee stops downloading all enclosures and generates an error when it encounters
- an error downloading an enclosure.
- Note: Enclosure errors can occur if the specified enclosure is of a type that the web server does not allow to be
- downloaded. (optional, default=false)
-
+ If it encounters an error downloading one enclosure, it continues downloading other enclosures and writes the
+ error information in the server log.
+ If this attribute is false, Lucee stops downloading all enclosures and generates an error when it encounters
+ an error downloading an enclosure.
+ Note: Enclosure errors can occur if the specified enclosure is of a type that the web server does not allow to be
+ downloaded. (optional, default=false)
+
any
name
false
true
A structure that contains complete feed data:
- The output of a read action.
- The input definition of the feed to create.
- This structure contains complete feed information.
- When you specify the name attribute for a create action, you must put it in pound signs (#).
-
+ The output of a read action.
+ The input definition of the feed to create.
+ This structure contains complete feed information.
+ When you specify the name attribute for a create action, you must put it in pound signs (#).
+
string
outputFile
false
true
Path of the file in which to write the feed as XML text.
- The path can be absolute, or relative to the CFML file.
-
+ The path can be absolute, or relative to the CFML file.
+
boolean
overwrite
false
true
Whether to overwrite the XML feed file if it already exists.
- If you do not set this attribute to true and the cffeed tag tries to write to a file that exists, Lucee
- generates an error. (optional, default=false)
-
+ If you do not set this attribute to true and the cffeed tag tries to write to a file that exists, Lucee
+ generates an error. (optional, default=false)
+
boolean
overwriteEnclosure
false
true
Used only for the read action.
- Whether to overwrite files in the enclosure directory if they already exist.
- If you do not set this attribute to true and the cffeed tag tries to write to a file that exists, Lucee
- generates an error. (optional, default=false)
-
+ Whether to overwrite files in the enclosure directory if they already exist.
+ If you do not set this attribute to true and the cffeed tag tries to write to a file that exists, Lucee
+ generates an error. (optional, default=false)
+
any
properties
false
true
A structure containing the feed metadata, the information about the entire feed.
- Can contain either of the following:
- The output of a read action.
- Input to a create action.
- The properties and query attributes combined provide complete feed information.
- When you specify the properties attribute for a create action, you must put it in pound signs (#)
-
+ Can contain either of the following:
+ The output of a read action.
+ Input to a create action.
+ The properties and query attributes combined provide complete feed information.
+ When you specify the properties attribute for a create action, you must put it in pound signs (#)
+
string
proxyPassword
false
true
Password required by the proxy server.
-
+
number
proxyPort
false
true
The port to connect to on the proxy server.
-
+
string
proxyServer
false
true
Host name or IP address of a proxy server to which to send the request.
-
+
string
proxyUser
false
true
User name to provide to the proxy server.
-
+
any
query
false
true
A query object containing the Atom entries or RSS items in the feed. Can contain either of the following:
- The output of a read action.
- Input to a create action.
- The properties and query attributes combined provide complete feed information.
- When you specify the query attribute for a create action, you must put it in pound signs (#)
-
+ The output of a read action.
+ Input to a create action.
+ The properties and query attributes combined provide complete feed information.
+ When you specify the query attribute for a create action, you must put it in pound signs (#)
+
string
source
false
true
Used only for the read action.
- The URL of the feed or the path to the XML file that contains the feed contents.
- A path can be absolute, or relative to the CFML file.
-
+ The URL of the feed or the path to the XML file that contains the feed contents.
+ A path can be absolute, or relative to the CFML file.
+
number
timeout
false
true
The number of seconds to wait for a response from the feed source. A value of 0 specifies that the request does not time out.
-
+
string
userAgent
false
true
Text to put in the HTTP User-Agent request header field. Used to identify the request client software.
-
+
string
xmlVar
false
true
A variable in which to save the read or created feed as XML text.
-
+
@@ -1527,7 +1540,7 @@ String "request": If original content was created within the current request, ca
a timeSpan (created with function CreateTimeSpan): If original content date falls within the time span, cached content data is used.
To use cached data, the tag must be called with the exact same arguments. Only used by action "read" and "readBinary"
-
+
boolean
addNewLine
@@ -1541,9 +1554,9 @@ To use cached data, the tag must be called with the exact same arguments. Only u
false
true
- true: changes embedded line-ending characters in string
- variables to operating-system specific line endings
- - false: (default) do not change embedded line-ending
- characters in string variables.
+ variables to operating-system specific line endings
+ - false: (default) do not change embedded line-ending
+ characters in string variables.
string
@@ -1910,8 +1923,8 @@ To use cached data, the tag must be called with the exact same arguments. Only u
true
The character encoding in which to encode the header value.
- For more information on character encodings, see:
- www.w3.org/International/O-charset.html.
+ For more information on character encodings, see:
+ www.w3.org/International/O-charset.html.
string
@@ -2386,8 +2399,8 @@ String "request": If original content was created within the current request, ca
a timeSpan (created with function CreateTimeSpan): If original content date falls within the time span, cached content data is used.
To use cached data, the tag must be called with the exact same arguments.
-
-
+
+
boolean
autoCert
false
@@ -2538,7 +2551,7 @@ To use cached data, the tag must be called with the exact same arguments.false
true
Specifies the unique ID or a comma-delimited list of Uids to retrieve or delete. If you set invalid Uids, then they are ignored.
-
+
string
username
@@ -2762,7 +2775,7 @@ both functions must have the same attributes; otherwise
no
true
Text to be displayed when using introspection to show information about the interface.
- The hint attribute value follows the syntax line in the function description.
+ The hint attribute value follows the syntax line in the function description.
@@ -2801,7 +2814,7 @@ a timeSpan (created with function CreateTimeSpan): If original content date fall
To use cached data, the function must be called with the exact same arguments.
-
+
boolean
runOnce
@@ -2902,7 +2915,7 @@ To use cached data, the function must be called with the exact same arguments.
false
true
String or component object; a reference to a component, or
- component to instantiate.
+ component to instantiate.
string
@@ -2910,7 +2923,7 @@ To use cached data, the function must be called with the exact same arguments.
false
true
Name of a method. For a web service, the name of an
- operation.
+ operation.
string
@@ -2945,7 +2958,7 @@ To use cached data, the function must be called with the exact same arguments.
timeout
false
true
- unimplemented
+ unimplemented
The timeout for the web service request, in seconds
@@ -2981,12 +2994,12 @@ To use cached data, the function must be called with the exact same arguments.
servicePort
false
true
- unimplemented
+ unimplemented
The port name for the web service. This value is
- case-sensitive and corresponds to the port element's
- name attribute under the service element. Specify this
- attribute if the web service contains multiple ports.
- Default: first port found in the WSDL.
+ case-sensitive and corresponds to the port element's
+ name attribute under the service element. Specify this
+ attribute if the web service contains multiple ports.
+ Default: first port found in the WSDL.
@@ -3020,7 +3033,7 @@ To use cached data, the function must be called with the exact same arguments.
omit
false
true
- unimplemented
+ unimplemented
Enables you to omit a parameter when invoking a web service
@@ -3142,24 +3155,24 @@ To use cached data, the function must be called with the exact same arguments.
false
true
Required if action = "Query", "Add", "ModifyDN", or "Modify"
- For queries: comma-delimited list of attributes to return. For
- queries, to get all attributes, specify "*".
+ For queries: comma-delimited list of attributes to return. For
+ queries, to get all attributes, specify "*".
- If action = "add" or "modify", you can specify a list of update
- columns. Separate attributes with a semicolon.
+ If action = "add" or "modify", you can specify a list of update
+ columns. Separate attributes with a semicolon.
- If action = "ModifyDN", CFML passes attributes to the
- LDAP server without syntax checking.
-
+ If action = "ModifyDN", CFML passes attributes to the
+ LDAP server without syntax checking.
+
string
filter
false
true
Search criteria for action = "Query".
- List attributes in the form:
- "(attribute operator value)" Example: "(sn = Smith)"
-
+ List attributes in the form:
+ "(attribute operator value)" Example: "(sn = Smith)"
+
string
filterFile
@@ -3209,7 +3222,7 @@ To use cached data, the function must be called with the exact same arguments.
rebind
false
true
- unimplemented
+ unimplemented
If you set rebind to Yes, cfldap attempts to rebind the referral callback and reissue the query
by the referred address using the original credentials. The default is No, which means referred
connections are anonymous.
@@ -3436,11 +3449,11 @@ To use cached data, the function must be called with the exact same arguments.
true
Define instead a log reference in the Lucee Administrator and use the name of the generated log with the attribute log.
Specify only the main part of the filename.
- For example, to log to the Testing.log file, specify
- "Testing".
- The file must be located in the default log directory. You
- cannot specify a directory path. If the file does not
- exist, it is created automatically, with the suffix .log.
+ For example, to log to the Testing.log file, specify
+ "Testing".
+ The file must be located in the default log directory. You
+ cannot specify a directory path. If the file does not
+ exist, it is created automatically, with the suffix .log.
boolean
@@ -3684,7 +3697,7 @@ Lucee uses the number of characters in the file.
groupCaseSensitive
false
true
- implemented
+ implemented
Boolean indicating whether to group with regard to case or not. The default value is NO;
case is considered while grouping. If the query attribute specifies a query object that was generated
by a case-insensitive SQL query, set the groupCaseSensitive attribute to NO to keep the recordset
@@ -3697,7 +3710,7 @@ Lucee uses the number of characters in the file.
label
false
true
- implemented
+ implemented
used to an address this loop from a "break" or "continue" statement (instead of the nearest one).
@@ -3707,7 +3720,7 @@ Lucee uses the number of characters in the file.
times
false
true
- implemented
+ implemented
used for a simple loop that is looping n times
@@ -3790,7 +3803,7 @@ Lucee uses the number of characters in the file.
maxRows
false
true
- unimplemented
+ unimplemented
Specifies the maximum number of e-mail messages to send.
@@ -3830,7 +3843,7 @@ Lucee uses the number of characters in the file.
query
false
true
- unimplemented
+ unimplemented
The name of the cfquery from which to draw data for message(s) to send. Specify this
attribute to send more than one mail message, or to send the results of a query within a message.
@@ -3839,7 +3852,7 @@ Lucee uses the number of characters in the file.
group
false
true
- unimplemented
+ unimplemented
Specifies the query column to use when you group sets of records together to send as an e-mail
message. For example, if you send a set of billing statements to customers, you might group on
"Customer_ID." The group attribute, which is case sensitive, eliminates adjacent duplicates when the
@@ -3850,7 +3863,7 @@ Lucee uses the number of characters in the file.
groupCaseSensitive
false
true
- implemented
+ implemented
Boolean indicating whether to group with regard to case or not. The default value is NO;
case is considered while grouping. If the query attribute specifies a query object that was generated
by a case-insensitive SQL query, set the groupCaseSensitive attribute to NO to keep the recordset
@@ -3861,7 +3874,7 @@ Lucee uses the number of characters in the file.
startRow
false
true
- unimplemented
+ unimplemented
Specifies the row in the query to start from.
@@ -3949,8 +3962,8 @@ Lucee uses the number of characters in the file.
false
true
The message priority level. Can be one of the following values:
- * An integer in the range 1-5; 1 represents the highest priority.
- * One of the following string values, which correspond to the numeric values: highest or urgent, high, normal, low, and lowest or non-urgent.
+ * An integer in the range 1-5; 1 represents the highest priority.
+ * One of the following string values, which correspond to the numeric values: highest or urgent, high, normal, low, and lowest or non-urgent.
boolean
@@ -4327,8 +4340,8 @@ Lucee uses the number of characters in the file.
false
true
UID or a comma-delimited list of UIDs to get or delete.
- Invalid UIDs are ignored.
-
+ Invalid UIDs are ignored.
+
number
port
@@ -4692,8 +4705,8 @@ sct["bracketNotation"] --> keyName: "bracketNotation"
false
true
A value to be displayed when using introspection to show
- information about the CFC. The value appears in parentheses
- following the property name.
+ information about the CFC. The value appears in parentheses
+ following the property name.
string
@@ -4701,8 +4714,8 @@ sct["bracketNotation"] --> keyName: "bracketNotation"
false
true
Text to be displayed when using introspection to show
- information about the CFC. This attribute can be useful
- for describing the purpose of the parameter.
+ information about the CFC. This attribute can be useful
+ for describing the purpose of the parameter.
string
@@ -4906,13 +4919,13 @@ sct["bracketNotation"] --> keyName: "bracketNotation"
false
true
Specifies a name for the structure in which cfquery returns
- the result variables.
- - SQL: The SQL statement that was executed. (string)
- - Cached: If the query was cached. (boolean)
- - SqlParameters: An ordered Array of cfqueryparam values. (array)
- - RecordCount: Total number of records in the query. (numeric)
- - ColumnList: Column list, comma separated. (numeric)
- - ExecutionTime: Execution time for the SQL request. (numeric)
+ the result variables.
+ - SQL: The SQL statement that was executed. (string)
+ - Cached: If the query was cached. (boolean)
+ - SqlParameters: An ordered Array of cfqueryparam values. (array)
+ - RecordCount: Total number of records in the query. (numeric)
+ - ColumnList: Column list, comma separated. (numeric)
+ - ExecutionTime: Execution time for the SQL request. (numeric)
any
@@ -5019,7 +5032,7 @@ String "request": If original query was created within the current request, cach
a timeSpan (created with function CreateTimeSpan): If original query date falls within the time span, cached query data is used.
To use cached data, the current query must use the same SQL statement, data source, query name, maxrows, user name, and password.
-
+
string
provider
@@ -5476,7 +5489,7 @@ To use cached data, the current query must use the same SQL statement, data sour
- pause: pause execution of the defined scheduled task
- resume: resume execution of a paused scheduled task
-
+
string
serverPassword
@@ -5490,7 +5503,7 @@ To use cached data, the current query must use the same SQL statement, data sour
false
true
if set to true the scheduled task is not displayed in the Lucee Administrator.
-
+
boolean
readonly
@@ -5979,7 +5992,7 @@ String "request": If original query was created within the current request, cach
a timeSpan (created with function CreateTimeSpan): If original query date falls within the time span, cached query data is used.
To use cached data, the current query must use the same SQL statement, data source, query name, user name, and password.
-
+
@@ -6091,10 +6104,10 @@ If you terminate a thread, the thread scope includes an ERROR metadata structure
false
true
The name of the thread to which the action applies:
- terminate The name of the thread to stop.
- join The name of the thread or threads to join to the current thread.
- To specify multiple threads, use a comma-delimited list.
- run The name to use to identify the thread being created.
+ terminate The name of the thread to stop.
+ join The name of the thread or threads to join to the current thread.
+ To specify multiple threads, use a comma-delimited list.
+ run The name to use to identify the thread being created.
string
@@ -6102,11 +6115,11 @@ If you terminate a thread, the thread scope includes an ERROR metadata structure
false
true
The priority level at which to run the thread.
- The following values are valid:
- HIGH, LOW, NORMAL
- Higher priority threads get more processing time than lower priority
- threads. Page-level code, the code that is outside of cfthread tags,
- always has NORMAL priority. (optional, default=NORMAL)
+ The following values are valid:
+ HIGH, LOW, NORMAL
+ Higher priority threads get more processing time than lower priority
+ threads. Page-level code, the code that is outside of cfthread tags,
+ always has NORMAL priority. (optional, default=NORMAL)
number
@@ -6114,12 +6127,12 @@ If you terminate a thread, the thread scope includes an ERROR metadata structure
false
true
The number of milliseconds that the current thread waits for
- the thread or threads being joined to finish. If any thread does not
- finish by the specified time, the current thread proceeds.
- If the attribute value is 0, the default, the current thread continues
- waiting until all joining threads finish. If the current thread is the
- page thread, the page continues waiting until the threads are joined,
- even if you specify a page timeout. (optional, default=0)
+ the thread or threads being joined to finish. If any thread does not
+ finish by the specified time, the current thread proceeds.
+ If the attribute value is 0, the default, the current thread continues
+ waiting until all joining threads finish. If the current thread is the
+ page thread, the page continues waiting until the threads are joined,
+ even if you specify a page timeout. (optional, default=0)
@@ -6270,17 +6283,17 @@ If you terminate a thread, the thread scope includes an ERROR metadata structure
false
true
- inline: displays timing information inline, following the
- resulting HTML.
- - outline: displays timing information and also displays a line
- around the output produced by the timed code. The browser
- must support the FIELDSET tag to display the outline.
- - comment: displays timing information in an HTML comment
- in the format <!-- label: elapsed-time ms -->. The default label
- is cftimer.
- - debug: displays timing information in the debug output
- under the heading CFTimer Times.
- - console: displays timing information in the console output. The default label is CFTimer.
- Default: debug
+ resulting HTML.
+ - outline: displays timing information and also displays a line
+ around the output produced by the timed code. The browser
+ must support the FIELDSET tag to display the outline.
+ - comment: displays timing information in an HTML comment
+ in the format <!-- label: elapsed-time ms -->. The default label
+ is cftimer.
+ - debug: displays timing information in the debug output
+ under the heading CFTimer Times.
+ - console: displays timing information in the console output. The default label is CFTimer.
+ Default: debug
string
@@ -6288,7 +6301,7 @@ If you terminate a thread, the thread scope includes an ERROR metadata structure
false
true
Label to display with timing information.
- Default: " "
+ Default: " "
unit
@@ -6343,7 +6356,7 @@ If you terminate a thread, the thread scope includes an ERROR metadata structure
- rollback: Rolls back a pending transaction.
- setSavePoint: Saves a specific state within a transaction
-
+
string
isolation
@@ -6396,8 +6409,8 @@ If you terminate a thread, the thread scope includes an ERROR metadata structure
false
true
Displays trace code in line on the page in the
- location of the cftrace tag, addition to the debugging
- information output.
+ location of the cftrace tag, addition to the debugging
+ information output.
string
@@ -6405,8 +6418,8 @@ If you terminate a thread, the thread scope includes an ERROR metadata structure
false
true
User-defined string, which can include simple variable,
- but not complex variables such as arrays. Outputs to cflog
- text attribute
+ but not complex variables such as arrays. Outputs to cflog
+ text attribute
string
@@ -6414,11 +6427,11 @@ If you terminate a thread, the thread scope includes an ERROR metadata structure
false
true
Corresponds to the cflog type attribute; displays an
- appropriate icon.
- - Information
- - Warning
- - Error
- - Fatal
+ appropriate icon.
+ - Information
+ - Warning
+ - Error
+ - Fatal
string
@@ -6428,8 +6441,8 @@ If you terminate a thread, the thread scope includes an ERROR metadata structure
true
The name of a simple or complex variable to display.
- Useful for displaying a temporary value, or a value that
- does not display on any CFM page.
+ Useful for displaying a temporary value, or a value that
+ does not display on any CFM page.
boolean
@@ -6592,19 +6605,19 @@ If you terminate a thread, the thread scope includes an ERROR metadata structure
false
true
Applies if action = "wddx2cfml" or "wddx2js".
- - Yes: validates WDDX input with an XML parser using
- WDDX DTD. If parser processes input without error,
- packet is deserialized. Otherwise, an error is
- thrown.
- - No: no input validation
-
+ - Yes: validates WDDX input with an XML parser using
+ WDDX DTD. If parser processes input without error,
+ packet is deserialized. Otherwise, an error is
+ thrown.
+ - No: no input validation
+
boolean
xmlConform
false
true
if set to true generate valid xml, if set to false (default) the xml generated is compatible to other engines, but not valid xml (use for example single quotes for attribute values)
-
+
@@ -6747,7 +6760,7 @@ If you terminate a thread, the thread scope includes an ERROR metadata structure
preserveData
false
true
- unimplemented
+ unimplemented
Optional. "Yes" or "No." Specifies whether to display the data that was entered into cfform
controls in the action page. "Yes" resets the value of the control to the value submitted when the
form is submitted to itself. This works as expected for the cftextinput and cfslider controls.
@@ -6814,10 +6827,10 @@ If you terminate a thread, the thread scope includes an ERROR metadata structure
false
true
Specifies the URL, relative to the web root, of the
- directory that contains the cfform.js file with the
- client-side JavaScript used by this tag and its child
- tags. For XML format forms, this directory is also the
- default directory for XSLT skins.
+ directory that contains the cfform.js file with the
+ client-side JavaScript used by this tag and its child
+ tags. For XML format forms, this directory is also the
+ default directory for XSLT skins.
string
@@ -6862,9 +6875,9 @@ If you terminate a thread, the thread scope includes an ERROR metadata structure
false
true
Styles to apply to the form. In HTML or XML format,
- Lucee passes the style attribute to the browser
- or XML. In Flash format, must be a style specification
- in CSS format (XML and Flash type no supported).
+ Lucee passes the style attribute to the browser
+ or XML. In Flash format, must be a style specification
+ in CSS format (XML and Flash type no supported).
string
@@ -6885,7 +6898,7 @@ If you terminate a thread, the thread scope includes an ERROR metadata structure
skin
false
true
- unimplemented
+ unimplemented
@@ -6893,73 +6906,73 @@ If you terminate a thread, the thread scope includes an ERROR metadata structure
width
false
true
- unimplemented
+ unimplemented
The width of the form. Use a number to specify
- pixels, In Flash, you can use a percentage value to
- specify a percentage of the available width.
+ pixels, In Flash, you can use a percentage value to
+ specify a percentage of the available width.
string
height
false
true
- unimplemented
+ unimplemented
The height of the form. Use a number to specify
- pixels, In Flash, you can use a percentage value to
- specify a percentage of the available width. The
- displayed height might be less than the specified size.
+ pixels, In Flash, you can use a percentage value to
+ specify a percentage of the available width. The
+ displayed height might be less than the specified size.
boolean
preLoader
false
true
- unimplemented
+ unimplemented
Specifies whether to display a progress bar when
- loading the Flash form. Default is: true.
+ loading the Flash form. Default is: true.
number
timeout
false
true
- unimplemented
+ unimplemented
Integer number of seconds for which to keep the
- form data in the Flash cache on the server. A value of
- 0 prevents the data from being cached.
+ form data in the Flash cache on the server. A value of
+ 0 prevents the data from being cached.
string
wMode
false
true
- unimplemented
+ unimplemented
Specifies how the Flash form appears relative to
- other displayable content that occupies the same
- space on an HTML page.
- - window: The Flash form is the topmost layer on the
- page and obscures anything that would share the
- space, such as drop-down dynamic HTML lists.
- - transparent: The Flash form honors the z-index of
- dhtml so you can float items above it. If the Flash
- form is above any item, transparent regions in the
- form show the content that is below it.
- - opaque: The Flash form honors the z-index of
- dhtml so you can float items above it. If the Flash
- form is above any item, it blocks any content that is
- below it.
- Default is: window.
+ other displayable content that occupies the same
+ space on an HTML page.
+ - window: The Flash form is the topmost layer on the
+ page and obscures anything that would share the
+ space, such as drop-down dynamic HTML lists.
+ - transparent: The Flash form honors the z-index of
+ dhtml so you can float items above it. If the Flash
+ form is above any item, transparent regions in the
+ form show the content that is below it.
+ - opaque: The Flash form honors the z-index of
+ dhtml so you can float items above it. If the Flash
+ form is above any item, it blocks any content that is
+ below it.
+ Default is: window.
boolean
accessible
false
true
- unimplemented
- Specifies whether to include support screen readers
- in the Flash form. Screen reader support adds
- approximately 80KB to the SWF file sent to the
- client. Default is: false.
+ unimplemented
+ Specifies whether to include support screen readers
+ in the Flash form. Screen reader support adds
+ approximately 80KB to the SWF file sent to the
+ client. Default is: false.
string
@@ -7088,16 +7101,16 @@ If you terminate a thread, the thread scope includes an ERROR metadata structure
deprecated
This attribute is deprecated.
Specifies entry completion suggestions to
- display as the user types into a text input. The
- user can select a suggestion to complete the text
- entry.
- The valid value can be either of the following:
- - A string consisting of the suggestion values
- separated by the delimiter specified by the
- delimiter attribute.
- - A bind expression that gets the suggestion
- values based on the current input text.
- Valid only for cfinput type="text".
+ display as the user types into a text input. The
+ user can select a suggestion to complete the text
+ entry.
+ The valid value can be either of the following:
+ - A string consisting of the suggestion values
+ separated by the delimiter specified by the
+ delimiter attribute.
+ - A bind expression that gets the suggestion
+ values based on the current input text.
+ Valid only for cfinput type="text".
number
@@ -7106,10 +7119,10 @@ If you terminate a thread, the thread scope includes an ERROR metadata structure
true
deprecated
This attribute is deprecated.The minimum time between autoSuggest bind
- expression invocations, in seconds. Use this
- attribute to limit the number of requests that are
- sent to the server when a user types.
- Valid only for cfinput type="text"
+ expression invocations, in seconds. Use this
+ attribute to limit the number of requests that are
+ sent to the server when a user types.
+ Valid only for cfinput type="text"
number
@@ -7118,9 +7131,9 @@ If you terminate a thread, the thread scope includes an ERROR metadata structure
true
deprecated
This attribute is deprecated.The minimum number of characters required in
- the text box before invoking a bind expression to
- return items for suggestion.
- Valid only for cfinput type="text".
+ the text box before invoking a bind expression to
+ return items for suggestion.
+ Valid only for cfinput type="text".
string
@@ -7180,10 +7193,10 @@ Valid only for cfinput type="text".
true
deprecated
This attribute is deprecated. How to do the validation; one or more of the following:
- onSubmit, onServer or onBlur.
- onBlur and onSubmit are identical in Flash forms. For
- multiple values, use a comma-delimited list.
- Default: onSubmit
+ onSubmit, onServer or onBlur.
+ onBlur and onSubmit are identical in Flash forms. For
+ multiple values, use a comma-delimited list.
+ Default: onSubmit
string
@@ -7191,19 +7204,19 @@ Valid only for cfinput type="text".
false
true
The input control type to create:
- - button: push button.
- - checkbox: check box.
- - file: file selector; not supported in Flash.
- - hidden: invisible control.
- - image: clickable button with an image.
- - password: password entry control; hides input values.
- - radio: radio button.
- - reset: form reset button.
- - submit: form submission button.
- - text: text entry box.
- - dateField: Flash only; date entry field with an
- expanding calendar for selecting dates.
-
+ - button: push button.
+ - checkbox: check box.
+ - file: file selector; not supported in Flash.
+ - hidden: invisible control.
+ - image: clickable button with an image.
+ - password: password entry control; hides input values.
+ - radio: radio button.
+ - reset: form reset button.
+ - submit: form submission button.
+ - text: text entry box.
+ - dateField: Flash only; date entry field with an
+ expanding calendar for selecting dates.
+
string
name
@@ -7238,22 +7251,22 @@ Valid only for cfinput type="text".
false
true
date: verifies format mm/dd/yy.
- euroDate: verifies date format dd/mm/yyyy.
- time: verifies time format hh:mm:ss.
- float: verifies floating point format.
- integer: verifies integer format.
- telephone: verifies telephone format ###-###-####. The
- separator can be a blank. Area code and exchange must
- begin with digit 1 - 9.
- zipcode: verifies, in U.S. formats only, 5- or 9-digit
- format #####-####. The separator can be a blank.
- creditCard: strips blanks and dashes; verifies number using
- mod10 algorithm. Number must have 13-16 digits.
- social_security_number: verifies format ###-##-####. The
- separator can be a blank.
- regular_expression: matches input against pattern
- attribute.
-
+ euroDate: verifies date format dd/mm/yyyy.
+ time: verifies time format hh:mm:ss.
+ float: verifies floating point format.
+ integer: verifies integer format.
+ telephone: verifies telephone format ###-###-####. The
+ separator can be a blank. Area code and exchange must
+ begin with digit 1 - 9.
+ zipcode: verifies, in U.S. formats only, 5- or 9-digit
+ format #####-####. The separator can be a blank.
+ creditCard: strips blanks and dashes; verifies number using
+ mod10 algorithm. Number must have 13-16 digits.
+ social_security_number: verifies format ###-##-####. The
+ separator can be a blank.
+ regular_expression: matches input against pattern
+ attribute.
+
string
bind
@@ -7261,8 +7274,8 @@ Valid only for cfinput type="text".
true
deprecated
This attribute is deprecated. A Flash bind expression that populates the field with
- information from other form fields.
-
+ information from other form fields.
+
string
bindAttribute
@@ -7270,12 +7283,12 @@ Valid only for cfinput type="text".
true
deprecated
This attribute is deprecated. Specifies the HTML tag attribute whose value is
- set by the bind attribute. You can only specify
- attributes in the browser's HTML DOM tree, not
- Lucee-specific attributes.
- Ignored if there is no bind attribute.
- Valid only for cfinput type="text".
-
+ set by the bind attribute. You can only specify
+ attributes in the browser's HTML DOM tree, not
+ Lucee-specific attributes.
+ Ignored if there is no bind attribute.
+ Valid only for cfinput type="text".
+
boolean
bindOnLoad
@@ -7283,11 +7296,11 @@ Valid only for cfinput type="text".
true
deprecated
This attribute is deprecated. A Boolean value that specifies whether to
- execute the bind attribute expression when first
- loading the form.
- Ignored if there is no bind attribute.
- Valid only for cfinput type="text".
-
+ execute the bind attribute expression when first
+ loading the form.
+ Ignored if there is no bind attribute.
+ Valid only for cfinput type="text".
+
string
@@ -7295,7 +7308,7 @@ Valid only for cfinput type="text".
false
true
passed through to input tag created, only used for type html.
-
+
string
accept
@@ -7330,8 +7343,8 @@ Valid only for cfinput type="text".
false
true
Selects a control. No value is required. Applies if
- type=radio or checkbox.
- Default: false
+ type=radio or checkbox.
+ Default: false
string
@@ -7339,10 +7352,10 @@ Valid only for cfinput type="text".
false
true
A comma-delimited list that sets the names of the
- weekdays displayed in the calendar. Sunday is the
- first day and the rest of the weekday names follow in
- the normal order.
- Default is: S,M,T,W,Th,F,S
+ weekdays displayed in the calendar. Sunday is the
+ first day and the rest of the weekday names follow in
+ the normal order.
+ Default is: S,M,T,W,Th,F,S
number
@@ -7350,8 +7363,8 @@ Valid only for cfinput type="text".
false
true
Integer in the range 0-6 specifying the first day of the
- week in the calendar, 0 indicates Sunday, 6 indicates Saturday.
- Default is: 0
+ week in the calendar, 0 indicates Sunday, 6 indicates Saturday.
+ Default is: 0
string
@@ -7359,7 +7372,7 @@ Valid only for cfinput type="text".
false
true
A comma-delimited list of the month names that are
- displayed at the top of the calendar.
+ displayed at the top of the calendar.
string
@@ -7367,8 +7380,8 @@ Valid only for cfinput type="text".
false
true
Applies to most Flash types, HTML image type on
- some browsers. The height of the control, in pixels. The
- displayed height might be less than the specified size.
+ some browsers. The height of the control, in pixels. The
+ displayed height might be less than the specified size.
string
@@ -7376,9 +7389,9 @@ Valid only for cfinput type="text".
false
true
Applies to most Flash types, HTML image type on
- some browsers. The width of the control, in pixels. For
- Flash forms, Lucee ignores this attribute if you also
- specify a size attribute value.
+ some browsers. The width of the control, in pixels. For
+ Flash forms, Lucee ignores this attribute if you also
+ specify a size attribute value.
string
@@ -7393,7 +7406,7 @@ Valid only for cfinput type="text".
false
true
Label to put next to the control on a Flash or XML form.
- Not used for button, hidden, image, reset, or submit types.
+ Not used for button, hidden, image, reset, or submit types.
string
@@ -7401,18 +7414,18 @@ Valid only for cfinput type="text".
false
true
A mask pattern that controls the character pattern that
- users can enter, or that the form sends to Lucee.
- In HTML and Flash for type=text use:
- - A = [A-Za-z]
- - X = [A-Za-z0-9]
- - 9 = [0-9]
- - ? = Any character
- - all other = the literal character
- In Flash for type=dateField use:
- - D = day; can use 0-2 mask characters.
- - M = month; can use 0-4 mask characters.
- - Y = year; can use 0, 2, or 4 characters.
- - E = day in week; can use 0-4 characters.
+ users can enter, or that the form sends to Lucee.
+ In HTML and Flash for type=text use:
+ - A = [A-Za-z]
+ - X = [A-Za-z0-9]
+ - 9 = [0-9]
+ - ? = Any character
+ - all other = the literal character
+ In Flash for type=dateField use:
+ - D = day; can use 0-2 mask characters.
+ - M = month; can use 0-4 mask characters.
+ - Y = year; can use 0, 2, or 4 characters.
+ - E = day in week; can use 0-4 characters.
string
@@ -7448,9 +7461,9 @@ Valid only for cfinput type="text".
false
true
Disables user input, making the control read-only. To
- disable input, specify disabled without an attribute or
- disabled="true". To enable input, omit the attribute
- or specify disabled="false".
+ disable input, specify disabled without an attribute or
+ disabled="true". To enable input, omit the attribute
+ or specify disabled="false".
string
@@ -7472,8 +7485,8 @@ Valid only for cfinput type="text".
false
true
Applies to Flash button, reset, submit, and image types,
- and the HTML image type. URL of an image to use on
- the button. Flash does not support GIF images.
+ and the HTML image type. URL of an image to use on
+ the button. Flash does not support GIF images.
string
@@ -7690,31 +7703,31 @@ Valid only for cfinput type="text".
enabled
false
true
- unimplemented
+ unimplemented
Flash only: Boolean value specifying whether the control is
- enabled. A disabled control appears in light gray. The
- inverse of the disabled attribute. Flash only.
- Default: true
+ enabled. A disabled control appears in light gray. The
+ inverse of the disabled attribute. Flash only.
+ Default: true
string
visible
false
true
- unimplemented
+ unimplemented
Flash only: Boolean value specifying whether to show the
- control. Space that would be occupied by an invisible
- control is blank.
- Default: true
+ control. Space that would be occupied by an invisible
+ control is blank.
+ Default: true
string
tooltip
false
true
- unimplemented
+ unimplemented
Flash only: Text to display when the mouse pointer hovers
- over the control.
+ over the control.
@@ -7844,7 +7857,7 @@ Valid only for cfinput type="text".
false
true
passed through to form tag created, only used for type html.
-
+
boolean
caseSensitive
@@ -7907,7 +7920,7 @@ Valid only for cfinput type="text".
false
true
JavaScript to run
- when the user releases a mouse button in the control.
+ when the user releases a mouse button in the control.
string
@@ -7915,7 +7928,7 @@ Valid only for cfinput type="text".
false
true
JavaScript to run
- when the user presses a mouse button in the control.
+ when the user presses a mouse button in the control.
string
@@ -7951,7 +7964,7 @@ Valid only for cfinput type="text".
false
true
JavaScript to run
- when the user releases a keyboard key in the control.
+ when the user releases a keyboard key in the control.
string
@@ -7959,7 +7972,7 @@ Valid only for cfinput type="text".
false
true
JavaScript to run when the user depresses a keyboard
- key in the control.
+ key in the control.
@@ -8070,7 +8083,7 @@ Valid only for cfinput type="text".
false
true
JavaScript to run
- when the control changes due to user action.
+ when the control changes due to user action.
string
@@ -8099,7 +8112,7 @@ Valid only for cfinput type="text".
false
true
Lucee passes the
- style attribute to the browser.
+ style attribute to the browser.
string
@@ -8113,7 +8126,7 @@ Valid only for cfinput type="text".
label
false
true
- unimplemented
+ unimplemented
Label to put next to the control on a Flash or XML-format form.
@@ -8122,9 +8135,9 @@ Valid only for cfinput type="text".
false
true
Flash only: Boolean value specifying whether to show the control.
- Space that would be occupied by an invisible control is
- blank.
- Default: true
+ Space that would be occupied by an invisible control is
+ blank.
+ Default: true
string
@@ -8132,7 +8145,7 @@ Valid only for cfinput type="text".
false
true
Query column to use to group the items in the drop-down
- list into a two-level hierarchical list.
+ list into a two-level hierarchical list.
number
@@ -8148,19 +8161,19 @@ Valid only for cfinput type="text".
false
true
If you populate the options list with a query and use HTML
- option child tags to specify additional entries, determines
- the location of the items from the query relative to the items
- from the option tags:
- - above: Put the query items above the options items.
- - below: Put the query items below the options items.
- Default: above
+ option child tags to specify additional entries, determines
+ the location of the items from the query relative to the items
+ from the option tags:
+ - above: Put the query items above the options items.
+ - below: Put the query items below the options items.
+ Default: above
string
tooltip
false
true
- unimplemented
+ unimplemented
Flash only: Text to display when the mouse pointer hovers over the control.
@@ -8168,11 +8181,11 @@ Valid only for cfinput type="text".
visible
false
true
- unimplemented
+ unimplemented
Flash only: Boolean value specifying whether to show the control.
- Space that would be occupied by an invisible control is
- blank.
- Default: true
+ Space that would be occupied by an invisible control is
+ blank.
+ Default: true
number
@@ -8189,7 +8202,7 @@ Valid only for cfinput type="text".
true
unimplemented
Boolean value specifying whether you can edit the
- contents of the control.
+ contents of the control.
@@ -8323,15 +8336,15 @@ Valid only for cfinput type="text".
false
true
Array of structs that defines the mailserver configuration. Each struct configures one mailserver. Struct keys used for smtp configuration are:
- - host (string): host name of smtp server
- - port (numeric): port number of smtp server
- - username (string): smtp username
- - password (string): smtp userpassword
- - ssl (boolean): enable secure connections via SSL.
- - tls (boolean): enables Transport Layer Security.
- - lifeTimespan (timespan): overall timeout for the connections established to the mail server.
- - idleTimespan (timespan): idle timeout for the connections established to the mail server.
-
+ - host (string): host name of smtp server
+ - port (numeric): port number of smtp server
+ - username (string): smtp username
+ - password (string): smtp userpassword
+ - ssl (boolean): enable secure connections via SSL.
+ - tls (boolean): enables Transport Layer Security.
+ - lifeTimespan (timespan): overall timeout for the connections established to the mail server.
+ - idleTimespan (timespan): idle timeout for the connections established to the mail server.
+
struct
@@ -8805,9 +8818,9 @@ A struct that defines default ftp settings, this settings can be overwritten as
false
true
Sets the country/language locale for CFML processing. The locale value
- determines the default format of date, time, number, and
- currency values, according to language and regional
- conventions.
+ determines the default format of date, time, number, and
+ currency values, according to language and regional
+ conventions.
timezone
@@ -9303,79 +9316,83 @@ Depending on this setting Lucee scans certain scopes to find a variable called f
lucee.transformer.cfml.evaluator.impl.Function
lucee.transformer.bytecode.statement.tag.TagFunction
-
must
false
- Defines a function that can accept arguments and return a value.
+ Defines a function within a CFML component that can accept arguments and return a value.
lucee.transformer.cfml.attributes.impl.Function
mixed
+
string
name
true
true
- A string; a component method that is used within the cfcomponent tag.
+ The name of the function. This is a required attribute.
+
string
returnType
false
true
- String; a type name; data type of the function return value
+ The data type of the function's return value. If not specified, the default is `any`.
+
boolean
bufferOutput
false
true
- this attribute is only used when output of the function is set to false. if this attribute is set to true (default) the output written to the body of the function is buffered and in case of an exception also outputted.
- if set to false the content to body is ignored and not disabled when a failure in the body of the tag occur.
+ Determines whether the function's output is buffered. This attribute is only relevant when the `output` attribute is set to `false`. If set to `true` (default), the output generated in the function body is buffered and returned even if an exception occurs. If set to `false`, output is ignored when an error occurs.
+
string
roles
false
true
- This attribute is used only for a component. If this attribute is omitted, all roles can invoke the method.
+ Defines the roles that are permitted to invoke this function. If omitted, all roles can invoke the function.
+
string
access
false
true
- This attribute is used only for a component.
-The client security context from which the method can be invoked
+ Defines the access level for the function. Accepted values include `public`, `private`, and `package`. Defaults to `public` if not specified.
+
boolean
output
false
true
- This attribute is used only for a component.
-
-yes: the function is processed as if it were within a cfoutput tag
-no: the function is processed as if it were within a cfsilent tag
+ Determines how the function's output is handled:
+ - `true`: The function's output is processed normally, as if it were within a `cfoutput` tag.
+ - `false`: The function's output is suppressed, as if it were within a `cfsilent` tag.
+
string
displayName
false
true
- Display Name of the Function
+ A human-readable name for the function, used in documentation and introspection tools.
+
string
hint
false
true
- Hint of the Function
+ A brief description of what the function does. This hint is used in documentation and introspection tools.
boolean
abstract
false
true
- is the function abstract or not, abstract functions are only allowed inside interface or component tags
+ Indicates whether the function is abstract. Abstract functions must be implemented in a subclass and cannot contain a function body.
string
@@ -9389,38 +9406,38 @@ no: the function is processed as if it were within a cfsilent tag
returnFormat
false
true
- The format in which to return values to a remote caller. Possible values are [wddx], json, plain (text), serialize (cfml, cfm), xml, and java.
-
-
- string
- description
- false
- true
- Supplies a short text description of the function.
+ Specifies the format in which the function returns its value to a remote caller. Possible values are:
+ - `plain` (default)
+ - `json`
+ - `xml`
+ - `wddx`
+ - `java`
+
boolean
secureJson
false
true
- A Boolean value that specifies whether to add a security prefix in front of any value that the function returns in JSON-format in response to a remote call.
+ Specifies whether to add a security prefix in front of any value that the function returns in JSON format in response to a remote call.
+
boolean
verifyClient
false
true
- A Boolean value that specifies whether to require remote function calls to include an encrypted security token. For use with AJAX applications only.
+ Specifies whether to require remote function calls to include an encrypted security token. This is typically used with AJAX applications.
+
string
localMode
false
true
- Defines how the local scope of this function is invoked when a variable with no scope definition is used. Accepted values include:
-
-- classic (default): The local scope is only invoked when the key already exists in it.
-- modern: The local scope is always invoked.
+ Defines how the local scope of this function is invoked when a variable without a scope definition is used. Accepted values include:
+ - `classic`: The local scope is only invoked when the key already exists in it.
+ - `modern`: The local scope is always invoked.
@@ -9428,24 +9445,66 @@ no: the function is processed as if it were within a cfsilent tag
cachedWithin
false
true
-
-possible values are:
-String "request": If original content was created within the current request, cached content data is used.
-a timespan (created with function CreateTimeSpan): If original content date falls within the time span, cached content data is used.
-
-To use cached data, the function must be called with the exact same arguments.
-
-
+ Determines if the function's output should be cached. Possible values include:
+ - `"request"`: Cached content is used if it was created within the current request.
+ - A timespan created with the `CreateTimeSpan` function: Cached content is used if the original content falls within the timespan.
+ The function must be called with the exact same arguments to use cached data.
+
+
+
string
modifier
false
true
- Use modifier to denote a function as abstract, static or final.
- - abstract: implementation must be defined in extended component.
- - final: implementation cannot be extended.
- - static: does not access instance variables in the component.
+ Specifies the modifier for the function, such as:
+ - `abstract`: The function must be implemented in an extending component.
+ - `final`: The function cannot be overridden in any subclass.
+ - `static`: The function does not access instance variables in the component.
+
+
+
+ string
+ consumes
+ false
+ true
+ A comma-separated list of acceptable MIME types that the function can accept or consume. If no value is specified, all MIME types are consumed by default. Use this attribute to control the types of content the function can handle. This attribute overrides the `consumes` attribute at the component level.
+
+
+
+ string
+ produces
+ false
+ true
+ A comma-separated list of MIME types that the function can produce. The function will respond with the most acceptable media type as declared by the client. This attribute overrides the `produces` attribute at the component level.
+
+
+
+ string
+ httpMethod
+ false
+ true
+ GET,PUT,POST,DELETE
+ Specifies the HTTP method to use when calling the function as part of a RESTful service. Accepted values include:
+ - `GET`: Requests information from the server.
+ - `POST`: Sends information to the server for processing.
+ - `PUT`: Requests the server to store the message body at the specified URL.
+ - `DELETE`: Requests the server to delete the specified URL.
+ - `HEAD`: Similar to GET but without a response body.
+ - `OPTIONS`: Requests information about the communication options available for the server or the specified URL.
+ If not specified, the `GET` method is used by default.
+
+
+
+ string
+ restPath
+ false
+ true
+ Defines a sub-resource path for the function when used as part of a RESTful web service. The path is case-sensitive and should avoid special characters. Regular expressions can be included in the path.
+
+
+
login
@@ -9466,7 +9525,7 @@ To use cached data, the function must be called with the exact same arguments.
idleTimeout
false
true
- unimplemented
+ unimplemented
Time interval, in seconds, after which Lucee logs off the user.
@@ -9474,7 +9533,7 @@ To use cached data, the function must be called with the exact same arguments.
applicationToken
false
true
- unimplemented
+ unimplemented
The login that applies to the application. To let users log in to only one application, specify a unique value for that application. To let users log in to multiple applications, specify the same value for those applications. If you do not set a value for the applicationToken attribute, the default value is CFAUTHORIZATION_applicationName.
@@ -9482,7 +9541,7 @@ To use cached data, the function must be called with the exact same arguments.
cookieDomain
false
true
- unimplemented
+ unimplemented
Domain of the cookie that is used to mark a user as logged in. Use this attribute to enable a user login cookie to work with multiple clustered servers in the same domain.
@@ -9563,7 +9622,7 @@ To use cached data, the function must be called with the exact same arguments.
false
true
Domain against which to authenticate the user. The
- server must be running on this domain.
+ server must be running on this domain.
string
@@ -9571,7 +9630,7 @@ To use cached data, the function must be called with the exact same arguments.
false
true
Name of the variable in which to return the results.
- Default: cfntauthenticate
+ Default: cfntauthenticate
boolean
@@ -9579,9 +9638,9 @@ To use cached data, the function must be called with the exact same arguments.
false
true
Boolean value specifying whether to Include a
- comma-delimited list of the user's groups in the
- result structure.
- Default: false
+ comma-delimited list of the user's groups in the
+ result structure.
+ Default: false
boolean
@@ -9589,11 +9648,11 @@ To use cached data, the function must be called with the exact same arguments.
false
true
Boolean value specifying whether to throw an
- exception if the validation fails. If this attribute is true,
- Lucee throws an error if the user name or password is
- invalid; the application must handle such errors in a
- try/catch block or Lucee error handler page.
- Default: false
+ exception if the validation fails. If this attribute is true,
+ Lucee throws an error if the user name or password is
+ invalid; the application must handle such errors in a
+ try/catch block or Lucee error handler page.
+ Default: false
@@ -9647,8 +9706,8 @@ To use cached data, the function must be called with the exact same arguments.
false
true
- inproc
- - local
- - remote
+ - local
+ - remote
In Windows, if not specified, uses Registry setting.
@@ -9666,11 +9725,11 @@ In Windows, if not specified, uses Registry setting.
true
Server name, using Universal Naming Convention (UNC) or Domain Name Serve (DNS) convention, in one of these forms:
- * \\lanserver
- * lanserver
- * http://www.servername.com
- * www.servername.com
- * 127.0.0.1
+ * \\lanserver
+ * lanserver
+ * http://www.servername.com
+ * www.servername.com
+ * 127.0.0.1
string
@@ -10155,7 +10214,7 @@ dWord: creates a value of 0 (zero)
false
true
Absolute path to a Lucene collection.
-
+
string
language
@@ -10164,7 +10223,7 @@ dWord: creates a value of 0 (zero)
language the collection is based on: possible values are:
english,german,russian,dutch,french,italian,norwegian,portuguese,spanish,brazilian,chinese,greek,thai,danish,japanese,norwegian,korean
-
+
string
name
@@ -10172,7 +10231,7 @@ dWord: creates a value of 0 (zero)
false
true
Name for the query results returned by the list action.
-
+
@@ -10236,13 +10295,13 @@ Permits searching collections by title or displaying a separate title from the k
false
true
- Absolute path and filename, if type = "file"
- - Absolute path, if type = "path"
- - A query column name (typically, the primary key column
- name), if type = "custom"
- - A query column name, if type = any other value
+ - Absolute path, if type = "path"
+ - A query column name (typically, the primary key column
+ name), if type = "custom"
+ - A query column name, if type = any other value
- This attribute is required for the actions listed, unless
- you intend for its value to be an empty string.
+ This attribute is required for the actions listed, unless
+ you intend for its value to be an empty string.
string
@@ -10250,10 +10309,10 @@ Permits searching collections by title or displaying a separate title from the k
false
true
- ASCII text to index
- - Query column name(s), if name is specified in query
+ - Query column name(s), if name is specified in query
- You can specify columns in a delimited list. For example:
- - emp_name, dept_name, location"
+ You can specify columns in a delimited list. For example:
+ - emp_name, dept_name, location"
string
@@ -10342,8 +10401,8 @@ Permits searching collections by title or displaying a separate title from the k
false
true
A string value that specifies one or more search categories
- for which to index the data. You can define multiple
- categories, separated by commas, for a single index.
+ for which to index the data. You can define multiple
+ categories, separated by commas, for a single index.
string
@@ -10351,9 +10410,9 @@ Permits searching collections by title or displaying a separate title from the k
false
true
A string value that specifies a hierarchical category or
- category tree for searching. It is a series of categories
- separated by forward slashes ("/"). You can specify only
- one category tree.
+ category tree for searching. It is a series of categories
+ separated by forward slashes ("/"). You can specify only
+ one category tree.
string
@@ -10361,14 +10420,14 @@ Permits searching collections by title or displaying a separate title from the k
false
true
The name of the structure into which Lucee
- returns status information.
+ returns status information.
string
prefix
false
true
- unimplemented
+ unimplemented
Specifies the location of files to index when the computer that contains the K2 Search Service is not the computer on which you installed Lucee, and when you index files with the type attribute set to path.
@@ -10383,7 +10442,7 @@ Permits searching collections by title or displaying a separate title from the k
throwontimeout
false
true
- unimplemented
+ unimplemented
Specifies how timeout conditions are handled. If the value is true, an exception is enerated to provide notification of the timeout. If the value is No, execution continues. Default is no.
@@ -10469,10 +10528,10 @@ Permits searching collections by title or displaying a separate title from the k
false
true
A list of categories, separated by commas, to which
- the search is limited. If specified, and the collection
- does not have categories enabled, Lucee
+ the search is limited. If specified, and the collection
+ does not have categories enabled, Lucee
- throws an exception.
+ throws an exception.
string
@@ -10480,11 +10539,11 @@ Permits searching collections by title or displaying a separate title from the k
false
true
The location in a hierarchical category tree at which
- to start the search. Lucee searches at and
- below this level. If specified, and the collection does
- not have categories enabled, Lucee throws an
- exception. Can be used in addition to category
- attribute.
+ to start the search. Lucee searches at and
+ below this level. If specified, and the collection does
+ not have categories enabled, Lucee throws an
+ exception. Can be used in addition to category
+ attribute.
string
@@ -10492,8 +10551,8 @@ Permits searching collections by title or displaying a separate title from the k
false
true
Specifies the name of the structure variable into
- which Lucee places search information, including
- alternative criteria suggestions (spelling corrections).
+ which Lucee places search information, including
+ alternative criteria suggestions (spelling corrections).
string
@@ -10501,7 +10560,7 @@ Permits searching collections by title or displaying a separate title from the k
false
true
Specifies whether Lucene returns spelling suggestions
- for possibly misspelled words.
+ for possibly misspelled words.
number
@@ -10509,9 +10568,9 @@ Permits searching collections by title or displaying a separate title from the k
false
true
The number of passages/sentences Lucene returns in
- the context summary (that is, the context column of
- the results).
- Default: 3
+ the context summary (that is, the context column of
+ the results).
+ Default: 3
number
@@ -10519,8 +10578,8 @@ Permits searching collections by title or displaying a separate title from the k
false
true
The maximum number of bytes Lucene returns in the
- context summary.
- Default: 300
+ context summary.
+ Default: 300
string
@@ -10528,10 +10587,10 @@ Permits searching collections by title or displaying a separate title from the k
false
true
The HTML to prepend to search terms in the context
- summary. Use this attribute in conjunction with
- contextHighlightEnd to highlight search terms in the
- context summary.
- Default: <b>
+ summary. Use this attribute in conjunction with
+ contextHighlightEnd to highlight search terms in the
+ context summary.
+ Default: <b>
string
@@ -10539,10 +10598,10 @@ Permits searching collections by title or displaying a separate title from the k
false
true
The HTML to prepend to search terms in the context
- summary. Use this attribute in conjunction with
- contextHighlightEnd to highlight search terms in the
- context summary.
- Default: </b>
+ summary. Use this attribute in conjunction with
+ contextHighlightEnd to highlight search terms in the
+ context summary.
+ Default: </b>
string
@@ -10551,10 +10610,10 @@ Permits searching collections by title or displaying a separate title from the k
true
unimplemented
The name of a result set from an existing set of search
- results. Lucene searches the result set for criteria
- without regard to the previous search score or rank.
- Use this attribute to implement searching within result
- sets.
+ results. Lucene searches the result set for criteria
+ without regard to the previous search score or rank.
+ Use this attribute to implement searching within result
+ sets.
diff --git a/loader/build.xml b/loader/build.xml
index add5cb1ade..bb68843ea9 100644
--- a/loader/build.xml
+++ b/loader/build.xml
@@ -2,7 +2,7 @@
-
+
diff --git a/loader/pom.xml b/loader/pom.xml
index e655cccbc1..bcf9a99471 100644
--- a/loader/pom.xml
+++ b/loader/pom.xml
@@ -3,7 +3,7 @@
org.lucee
lucee
- 6.2.0.59-SNAPSHOT
+ 6.2.0.60-SNAPSHOT
jar
Lucee Loader Build
diff --git a/test/tickets/LDEV5073.cfc b/test/tickets/LDEV5073.cfc
new file mode 100644
index 0000000000..42377a6a2d
--- /dev/null
+++ b/test/tickets/LDEV5073.cfc
@@ -0,0 +1,14 @@
+component extends = "org.lucee.cfml.test.LuceeTestCase" {
+
+ function run( testResults, testBox ){
+ describe( "Test LDEV-5073", function(){
+
+ it( "test EEE, dd MMM yyyy HH:mm:ss Z", function(){
+ var result=isDate(ParseDateTime("Wed, 14 Aug 2024 14:50:51 +0000"));
+ expect( result ).toBeTrue();
+ });
+
+ } );
+ }
+
+}
\ No newline at end of file