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: |
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
| <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
| <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
| 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
| 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
| 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
| <form name="testForm" action="" method="post"> | |
| <label>Favourite language: </label><input type="text" name="technology" id="technology" /> | |
| </form> |
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
| <cffunction name="dspObjects" access="public" output="false" returntype="string"> | |
| <cfargument name="columnID" required="yes" type="numeric" default="1"> | |
| <cfargument name="ContentHistID" required="yes" type="string" default="#event.getValue('contentBean').getcontenthistid()#"> | |
| <cfset var rsObjects=""> | |
| <!--- get the string from super ---> | |
| <cfset var theRegion=trim(super.dspObjects(arguments.columnID,arguments.ContentHistID)) /> | |
| <!--- using the returned string look for any form to pre-polulate ---> | |
| <cfset bodystr = theRegion /> | |
| <cfset bodystrRes = refindnocase(">form.*?(name)*<",bodystr,1,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
| <cfsetting requestTimeOut="100000" /> | |
| <cfoutput query="pdfsToDownload"> | |
| <cfftp action="getFile" | |
| server="__server__" | |
| username="__username__" | |
| password="__password__" | |
| localfile="#expandPath('\temp\')##listLast(file,'/')#" | |
| remoteFile="__remotefile__" /> | |
| </cfoutput> |
OlderNewer