Alan
04/03/2023, 8:39 AMcomponent {
property type="string" name="numCarID" default="-1" ;
and we were able to access that from a component that extends it via the VARIABLES scope.
VARIABLES.numCarID
that is now coming back as undefinedAlan
04/03/2023, 8:45 AMgetNumCarID()
it suddenly becomes available again. e.g.
getNumCarId();
writeOutput(VARIABLES.numCarID);
doesn't error
//getNumCarId();
writeOutput(VARIABLES.numCarID);
errorssneiland
04/03/2023, 9:48 PMJustin B
04/04/2023, 4:19 PMbfescoe
04/06/2023, 7:17 PMbfescoe
04/06/2023, 7:41 PMJeff Stevens
04/07/2023, 1:47 PMSimone
04/07/2023, 3:25 PM<cfset AjaxOnLoad('OpenReport')>
and the OpenReport is using fancybox
openReport = function() {
$(".openReport").fancybox({
'height': '90%',
'width': '50%',
'type': 'iframe',
'scrolling': 'auto',
'autoscale': true,
'transitionIn': 'elastic',
'transitionOut': 'elastic'
});
}
i am given the task to change it tofancybox 5, and ajaxonLoad, eventually i forgot about the ajaxonload things, used it in 2011 and now ist 12 years
any suggestions anyone how can i proceed ahead with thisnolanerck
04/08/2023, 4:58 AMgsr
04/08/2023, 3:41 PM<cfset request.thisUrl = getPageContext().getRequest().GetRequestUrl().toString()>
<cfset request.websitePath = left(request.thisUrl, len(request.thisUrl) - len(listLast(request.thisUrl,'/')))>
<cfset request.jsFolder = request.websitePath>
http://localhost:9001/website1/project1/admin/ - this path is the request.websitePath admin Section
http://localhost:9001/website1/project1/admin/admin-home.cfm - this is request.thisUrl
i am going to go into JS directory like this, how should i get in there
http://localhost:9001/website1/jsagentk
04/10/2023, 5:22 AMCory Howitz
04/10/2023, 6:56 PMRyan Albrecht
04/10/2023, 9:17 PMRyan Albrecht
04/10/2023, 9:17 PMAlan
04/11/2023, 10:42 AMtimeformat()
is an hour out, not accounting for BSTAlan
04/11/2023, 10:44 AMgsr
04/11/2023, 5:50 PM<cftransaction>
<cftry>
<cftransaction action="begin"/>
<cfset delObject = 'delete the file'>
<cfif !delObject>
<cfthrow message="Unable to delete">
</cfif>
<cfcatch type="any">
<cfthrow/>
</cfcatch>
</cftry>
<cftry>
<cfset uploader = 'upload a file'>
<cfif !isArray(uploader)>
<cfthrow message="uploader">
<cfelse>
<cfquery>
update query
</cfquery>
</cfif>
<cftransaction action="commit/">
<cfcatch type="any">
<cftransaction action="rollback/">
</cftry>
</cftransaction>
Vimlesh Parihar
04/12/2023, 10:54 AMDave Merrill
04/12/2023, 1:59 PMnickg
04/13/2023, 7:06 PMScott Steinbeck
04/14/2023, 12:34 AMvalue = 0;
value == 'false' //true
this is ending up matching as a falsey valuerickmason
04/14/2023, 5:13 AMjesson diazz
04/14/2023, 3:26 PMjesson diazz
04/14/2023, 3:27 PMDave Merrill
04/14/2023, 4:58 PMgsr
04/14/2023, 5:19 PMAdam Cameron
gsr
04/17/2023, 6:57 PMgsr
04/17/2023, 7:00 PMRyan Albrecht
04/17/2023, 9:03 PM