This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
component accessors=true output=false persistent=false { | |
property datasource; | |
public query function getOneRecord(){ | |
var q = queryExecute( | |
"select name, abbrev from state limit 1" | |
, {datasource = "#getDatasource().name#"} | |
); | |
return q; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tickets = ormExecuteQuery(" | |
select | |
tic | |
from | |
tickets as tic | |
join | |
tic.status as status | |
where | |
status.name IN (:status) | |
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
component extends="testbox.system.BaseSpec" accessors="true"{ | |
function beforeAll(){ | |
variables.bf = new lib.org.framework.3_1_0.ioc("/model"); | |
variables.bf.addBean("datasource", {"name"="myDSN"}); | |
variables.resultsService = variables.bf.getBean('resultsService'); | |
} | |
function run( testResults, testBox ){ | |
feature( "Survey Reporting", function() { | |
describe("I want to know how many responses we have in the system" | |
, function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
component extends="testbox.system.BaseSpec" accessors="true"{ | |
function beforeAll(){ | |
} | |
function run( testResults, testBox ){ | |
feature( "Get a Count of Responses", function() { | |
describe("I want to know how many responses we have in the system" | |
, function() { | |
scenario( "Get all Response counts", function(){ | |
given( "I have a Survey ID",function() { | |
variables.resultsService = new model.services.resultsService(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"ERROR","http-nio-8888-exec-8","10/07/2016","22:15:00","","key [_FW1] doesn't exist | |
at lucee.runtime.type.util.StructSupport.invalidKey(StructSupport.java:66):66 | |
at lucee.runtime.type.scope.RequestImpl.get(RequestImpl.java:168):168 | |
at lib.org.framework.one_cfc$cf.udfCalla(/home/mysite/public_html/lib/org/framework/one.cfc:2091):2091 | |
at lib.org.framework.one_cfc$cf.udfCall(/home/mysite/public_html/lib/org/framework/one.cfc):-1 | |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"ERROR","http-nio-8888-exec-22","10/08/2016","02:30:51","","key [MURA] doesn't exist | |
at lucee.runtime.type.util.StructSupport.invalidKey(StructSupport.java:66):66 | |
at lucee.runtime.type.StructImpl.get(StructImpl.java:120):120 | |
at user.sessionuserfacade_cfc$cf.udfCall1(/home/mysite/public_html/wwwroot/requirements/mura/user/sessionUserFacade.cfc:57):57 | |
at user.sessionuserfacade_cfc$cf.udfCall(/home/mysite/public_html/wwwroot/requirements/mura/user/sessionUserFacade.cfc):-1 | |
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.ComponentImpl._call(ComponentImpl.java:642):642 | |
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:524):524 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"ERROR","http-nio-8888-exec-2","10/09/2016","21:45:00","","Message: key [_FW1] doesn't exist" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//install commandbox on the vagrant machine | |
CommandBox:lucee-server> cd /opt/lucee/lib/lucee-server/ | |
CommandBox:lucee-server> cfconfig show from=. [email protected] | |
{ | |
"searchResultsets":"yes", | |
"mergeURLAndForm":"no", | |
"requestTimeout":"0,0,0,50", | |
"clientCookies":"yes", | |
"scopeCascading":"standard", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
echo('testing'); | |
test = new test(); | |
dump(test.testMe()); | |
dump(test.generics()); | |
dump(test); | |
</cfscript> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2>Longer first item</h2> | |
<div> | |
<div class="col-md-6" style="background-color: #ff8000">foo<br />foo<br />foo<br />foo<br />foo<br /></div> | |
<div class="col-md-6" style="background-color: #2b6e88">foo<br />foo<br />foo<br /></div> | |
<div class="col-md-6" style="background-color: #2b9933">foo<br />foo<br />foo<br />foo<br /></div> | |
</div> | |
<h2>Longer second item</h2> | |
<div> | |
<div class="col-md-6" style="background-color: #ff8000">foo<br />foo<br />foo<br /></div> |
OlderNewer