Brook
Member since Nov 22, 2010
- Profile: /members/7339-brook.htm
- Comments: 8
Recent Blog Comments By Brook
-
Running Javascript In ColdFusion With CFGroovy And Rhino
Posted on Feb 25, 2014 at 12:13 PM
Guess I should have read a little bit closer as the way to get CF vars in and out is described above: Notice that I can't simply use property-dot-notation (ex. variables.katie) to store values into the Variables scope - I have to use the Java-based put() method. While I don't demonstrate it, I ... read more »
-
Running Javascript In ColdFusion With CFGroovy And Rhino
Posted on Feb 24, 2014 at 9:20 PM
After looking at some more examples, one of Ben's examples, that I tried (and that works): <g:script> variables.myString = "JavaScript is lovely!"; </g:script> But, when I lang="js": <g:script lang="js"> variables.myString = "JavaScr... read more »
-
Running Javascript In ColdFusion With CFGroovy And Rhino
Posted on Feb 24, 2014 at 9:10 PM
Do I have to reference all CF variables like: variables.get("myvariables")... read more »
-
Running Javascript In ColdFusion With CFGroovy And Rhino
Posted on Feb 24, 2014 at 9:09 PM
I am having trouble with a super simple example: <cfimport prefix="g" taglib="/../lfcomponents/customtags/cfgroovy2/"> <cfset variables.message = 'original'> <g:script lang="JavaScript"> variables.message='Set in Javascript'; </g:script> ... read more »
-
ColdFusion Application-Specific Mappings Work With CFInclude
Posted on Feb 23, 2012 at 2:54 AM
Ben! You said "I have seen some issues with the use of "this.customTagPaths" and sites under load". Thats exactlt what I am seeing with my site right now just finished being load tested. A bunch of random missing template errors when including files via paths set in this.mappin... read more »
-
CSVToArray() ColdFusion UDF For Parsing CSV Data / Files
Posted on Oct 11, 2011 at 11:25 AM
I made a couple of modifications to this to read and parse a range of rows so that I could process large files in chunks. This only applies when a file argument is supplied. I added startrows and maxrows arguments: <cfargument name="startRow" type="numeric" default="1&qu... read more »
-
Learning ColdFusion 9: The Virtual File System (RAM Disk)
Posted on Mar 4, 2011 at 1:12 PM
I'm working on something like your example. Its for a post form submission page where the user can configure the page to use formatting functions (like dateAdd(), capitalize() etc etc). I am generating the CFML that needs to be executed on the fly and then writing the file to the ram disk and incl... read more »
-
Paginating Record Sets In ColdFusion With One SQL Server Call
Posted on Nov 22, 2010 at 8:29 PM
Thanks Ben, Is there any way to sort the data and return it while maintaining the pagination?... read more »