Catch
additional
Struct
Pattern
string<cflocation url="string" [addtoken="boolean"] [statuscode="number"]>
Documentation
stringOpens a CFML page or HTML file. For example, you might use cflocation to specify a standard message or response that you use in several applications. Use the addToken attribute to verify client requests. Required: * url (string): The URL of the HTML file or CFML page to open. Optional: * addtoken (boolean): Yes or No. clientManagement must be enabled, see cfapplication. Yes appends client variable information to the URL you specify in the url. * statuscode (number): statuscode used for the redirect (301 or 302)
Detail
stringvalid attribute names are [url,addtoken,statuscode]
ErrorCode
string0
Extended_Info
string
ExtendedInfo
string
Message
stringAttribute http: is not allowed for tag cflocation
StackTrace
stringAttribute http: is not allowed for tag cflocation at lucee.transformer.cfml.tag.CFMLTransformer.createTemplateException(CFMLTransformer.java:1145):1145 at lucee.transformer.cfml.tag.CFMLTransformer.attributeName(CFMLTransformer.java:1043):1043 at lucee.transformer.cfml.tag.CFMLTransformer.attribute(CFMLTransformer.java:960):960 at lucee.transformer.cfml.tag.CFMLTransformer.attributes(CFMLTransformer.java:839):839 at lucee.transformer.cfml.tag.CFMLTransformer.tag(CFMLTransformer.java:560):560 at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:331):331 at lucee.transformer.cfml.tag.CFMLTransformer.tag(CFMLTransformer.java:651):651 at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:331):331 at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:339):339 at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:339):339 at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:339):339 at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:339):339 at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:339):339 at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:339):339 at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:339):339 at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:339):339 at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:339):339 at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:339):339 at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:339):339 at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:339):339 at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:339):339 at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:339):339 at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:339):339 at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:339):339 at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:339):339 at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:339):339 at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:339):339 at lucee.transformer.cfml.tag.CFMLTransformer.tag(CFMLTransformer.java:651):651 at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:331):331 at lucee.transformer.cfml.tag.CFMLTransformer.transform(CFMLTransformer.java:271):271 at lucee.transformer.cfml.tag.CFMLTransformer.transform(CFMLTransformer.java:142):142 at lucee.runtime.compiler.CFMLCompilerImpl.compile(CFMLCompilerImpl.java:78):78 at lucee.runtime.PageSourceImpl._compile(PageSourceImpl.java:335):335 at lucee.runtime.PageSourceImpl.compile(PageSourceImpl.java:304):304 at lucee.runtime.PageSourceImpl.loadPhysical(PageSourceImpl.java:275):275 at lucee.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:193):193 at lucee.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:912):912 at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:947):947 at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:855):855 at es.page_cfm$cf.udfCall(/mnt/webroot/sites/swissts/html/page.cfm:27):27 at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:111):111 at lucee.runtime.type.UDFImpl._call(UDFImpl.java:328):328 at lucee.runtime.type.UDFImpl.call(UDFImpl.java:229):229 at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:766):766 at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:742):742 at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1590):1590 at es.page_cfm$cf.call(/mnt/webroot/sites/swissts/html/page.cfm:42):42 at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:951):951 at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:903):903 at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:223):223 at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:35):35 at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2262):2262 at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2225):2225 at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:456):456 at lucee.loader.servlet.CFMLServlet.service(Unknown Source):-1 at com.pixeltex.loader.servlet.BootServlet.service(BootServlet.java:43):43 at javax.servlet.http.HttpServlet.service(HttpServlet.java:731):731 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303):303 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208):208 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52):52 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241):241 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208):208 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220):220 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122):122 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170):170 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103):103 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116):116 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423):423 at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079):1079 at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620):620 at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316):316 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145):1145 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615):615 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61):61 at java.lang.Thread.run(Thread.java:744):744
TagContext
Array
1
Struct
codePrintHTML
string8: &lt;cfset template.textfield2=&quot;&quot; /&gt;<br> 9: &lt;cfset template.text1=&quot;&quot; /&gt;<br> <b>10: &lt;cfsavecontent variable=&quot;template.text2&quot;&gt;&lt;cflocation url=&quot;&lt;cflocation url=&quot;http://www.myswitzerland.com/es/folletos.html&quot; addtoken=&quot;no&quot; /&gt;&quot; addtoken=&quot;no&quot; /&gt;&lt;/cfsavecontent&gt;</b><br> 11: &lt;cfset template.text3=&quot;&quot; /&gt;<br> 12: &lt;cfset template.text4=&quot;&quot; /&gt;<br>
codePrintPlain
string8: <cfset template.textfield2="" /> 9: <cfset template.text1="" /> 10: <cfsavecontent variable="template.text2"><cflocation url="<cflocation url="http://www.myswitzerland.com/es/folletos.html" addtoken="no" />" addtoken="no" /></cfsavecontent> 11: <cfset template.text3="" /> 12: <cfset template.text4="" />
column
number93
id
string??
line
number10
Raw_Trace
string
template
string/mnt/pages/190/es/43780_es.cfm
Type
stringcfml
2
Struct
codePrintHTML
string25: &lt;/cfif&gt;<br> 26: &lt;cfif Len(page.includeFile)&gt;<br> <b>27: &lt;cfinclude template=&quot;#page.includeFile#&quot;&gt;</b><br> 28: &lt;cfelseif Len(page.locationURL)&gt;<br> 29: &lt;cflocation url=&quot;#page.locationURL#&quot; addtoken=&quot;no&quot; /&gt;<br>
codePrintPlain
string25: </cfif> 26: <cfif Len(page.includeFile)> 27: <cfinclude template="#page.includeFile#"> 28: <cfelseif Len(page.locationURL)> 29: <cflocation url="#page.locationURL#" addtoken="no" />
column
number0
id
string??
line
number27
Raw_Trace
stringes.page_cfm$cf.udfCall(/mnt/webroot/sites/swissts/html/page.cfm:27)
template
string/mnt/webroot/sites/swissts/html/page.cfm
type
stringcfml
3
Struct
codePrintHTML
string40: &lt;/cfif&gt;<br> 41: <br> <b>42: &lt;cfoutput&gt;#outputPage(page)#&lt;/cfoutput&gt;</b><br>
codePrintPlain
string40: </cfif> 41: 42: <cfoutput>#outputPage(page)#</cfoutput>
column
number0
id
string??
line
number42
Raw_Trace
stringes.page_cfm$cf.call(/mnt/webroot/sites/swissts/html/page.cfm:42)
template
string/mnt/webroot/sites/swissts/html/page.cfm
type
stringcfml
type
stringtemplate