This file contains hidden or 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
| public array function search(string crit) { | |
| var qry = "from vendors and (description like :criteria or vendor like :criteria)"; | |
| var r = ORMExecuteQuery(qry,{criteria="%"&arguments.crit&"%"}); | |
| return r; | |
| } |
This file contains hidden or 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
| public array function search(string crit) { | |
| var qry = "from vendors and (description like '#arguments.crit#' or vendor like '#arguments.crit#')"; | |
| var r = ORMExecuteQuery(qry); | |
| return r; | |
| } |
This file contains hidden or 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
| entityLoad('qp', {vendor like '%critera%',description like '%criteria%'}, true) |
This file contains hidden or 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
| <cfset thr = CreateObject('java', 'java.lang.management.ManagementFactory').getThreadMXBean() > | |
| <cfset in = CreateObject('java', 'java.lang.Integer')> | |
| <cfset thrArray = thr.getThreadInfo(thr.getAllThreadIds(),in.MAX_VALUE)> | |
| <cfloop array="#thrArray#" index="thread"> | |
| <cfset st = thread.getStackTrace()> | |
| <cfloop array="#st#" index="stack"> | |
| <cfdump var="#thread.getThreadId()# #stack.getClassName()# - #stack.getMethodName()# - #stack.getFileName()#" /><br/> | |
| </cfloop> | |
| </cfloop> |
This file contains hidden or 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
| <cfthread name="Importing_dataset"> | |
| <!--- DATA PROCESSING ---> | |
| </cfthread> |
This file contains hidden or 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
| package xml.utils { | |
| public class XMLUtils { | |
| public static function attributesToObject($xml:XMLList):Object { | |
| var atts = new Object(); | |
| for (var i:int=0; i<$xml.length(); i++) { | |
| atts[$xml[i].name().toString()] = $xml[i]; | |
| } | |
| return atts; | |
| } | |
| } |
This file contains hidden or 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
| Ext.define 'TestApp.controller.Item' | |
| extend: 'Ext.app.Controller' | |
| config: | |
| refs: | |
| newsPanel:'newspanel' | |
| newsItem:'newsitem' | |
| mainPanel:'maintoolbar' | |
| control: | |
| newsPanel: |
NewerOlder