Matthew Abbott
Member since Dec 11, 2008
- Profile: /members/2569-matthew-abbott.htm
- Comments: 46
Recent Blog Comments By Matthew Abbott
-
Reading In File Data One Line At A Time Using ColdFusion's CFLoop Tag Or Java's LineNumberReader
Posted on Sep 15, 2010 at 8:56 PM
@Ben, currently im reading in the file and just doing an indexOf or reFind to get start and end positions but i then use mid() to get the portion. I could do the same going through line by line and when it finds x to start getting the data, and when it finds y it stops. ill try it out and see if ... read more »
-
Reading In File Data One Line At A Time Using ColdFusion's CFLoop Tag Or Java's LineNumberReader
Posted on Sep 15, 2010 at 1:55 PM
Ben, How would you then extract just a portion of the content in a file, and then do a line by line read on it? Im having to kind of do what Vinh is talking about. Extracting a portion, without reading in the whole file.... read more »
-
CreateObject() In ColdFusion 9 No Longer Requires The Type Parameter
Posted on Jul 1, 2010 at 9:45 AM
Ben, I actually ran into this small feature in code i was writing. I actually forgot to put a type in there and couldnt figure out why code was breaking on 8 and not 9. -Matthew... read more »
-
The New BenNadel.com - Same Content, Fresh New Look
Posted on May 11, 2009 at 8:15 PM
two thumbs up Ben!... read more »
-
Changing The Root Node In A ColdFusion XML Document Using XSLT
Posted on Apr 29, 2009 at 6:28 PM
For now i just used the JDOM java library built into cf to do it. Ill play around more with the xslt stuff. Cheers, -Matthew... read more »
-
Changing The Root Node In A ColdFusion XML Document Using XSLT
Posted on Apr 27, 2009 at 12:48 PM
It only seems to be a problem when the xml file has a namespace. I went back and tried a few more things. It will copy the id attribute over, but the xmlns attribute i had on my root node was removed from the root node and put on the first child node.... read more »
-
Changing The Root Node In A ColdFusion XML Document Using XSLT
Posted on Apr 27, 2009 at 11:17 AM
Ben, Thanks for your XSLT posts on this. I did have a little problem with this code. When i have attributes on my original root node, when i pass them through this xslt transformation, the attributes are put on the first child node of the root node. <ben id='nadel'> <post>xxxxx&... read more »
-
Ask Ben: Changing The Root Node In A ColdFusion XML Document
Posted on Apr 22, 2009 at 10:59 AM
@Matthew I see you match all the attributes, but then add an ID attribute. How do you add the attributes if you dont know what the attributes are? It may or may not be an ID attribute. Is this easy to do as well in XSLT?... read more »
-
Ask Ben: Using jQuery's triggerHandler() To Skip Default Behaviors
Posted on Mar 12, 2009 at 2:36 PM
Yeah I originally had the label tag, but switched to a span tag. I switched back to the label tag and did in fact get it working great. Thanks!... read more »
-
Gert Franz - Railo U.S. Tour At The New York ColdFusion User Group
Posted on Aug 11, 2008 at 8:29 PM
@Ben I know you mentioned he talked about SFTP, but did he happen to mention anything about FTPS (FTP over SSL)? Ive had to incorporate FTPS in one of my applications at work, and Im currently using some free java classes to do it.... read more »
-
CFDirectory Filtering Uses Single Character Wild Card
Posted on Jul 25, 2008 at 3:09 PM
Just tried one more thing.. *.doc*|*.txt.... and both .doc and .docx show up that way also.... read more »
-
CFDirectory Filtering Uses Single Character Wild Card
Posted on Jul 25, 2008 at 2:48 PM
@Dan a filter of *ocx|*.doc will display all .docx and .doc files!! cheers... read more »
-
CFDirectory Filtering Uses Single Character Wild Card
Posted on Jul 25, 2008 at 1:15 PM
Okay i ran into a small issue with multiple filters and with office 2007. If i have my filters set to *.doc|*.docx.... the docx files ARE NOT showing up in the cfdirectory result. If i swap those two, and make it *.docx|*.doc then both types show up. Same with xls and xlsx, and i assume ppt and ... read more »
-
Tracking Data Audits In ColdFusion
Posted on Jun 25, 2008 at 11:31 AM
I use the audit tables for different reports. One report is used as more of a historical report. I can look and see everything that went on by date, month, year for a given record or set of records. We also use the audit tables to determine which applications a user has logged into during a sess... read more »
-
Tracking Data Audits In ColdFusion
Posted on Jun 25, 2008 at 9:45 AM
Ben, Here we usually put a trigger on our tables to insert an audit record into an audit or history table. The trigger just handles if it was an Insert, update, or delete etc. This way I dont have to physically write the insert code in my Coldfusion, the DB handles all of it. It basically inser... read more »
-
CFUNITED 2008 - So Many Great People
Posted on Jun 23, 2008 at 12:39 PM
Ben, As always it was great to see you again at CFUNITED. I would love to see you speak at one in the near future. Cheers, Matthew... read more »
-
Converting A ColdFusion Query To CSV Using QueryToCSV()
Posted on May 20, 2008 at 12:11 PM
I have to agree with David. I also try to use Arrays whenever possible as I have found it faster than looping through lists or structures. I havent tested the whole array/list/struct looping in 8 and see the speed differences.... read more »
-
CFHTTPSession.cfc For Multi-CFHttp Requests With Maintained Session
Posted on Apr 30, 2008 at 12:10 PM
Guys, Ive had to add some additional headers to get connections to work over http(s) on certain domains. I was receiving a connection failure as well. Look at this and see if it helps. http://www.talkingtree.com/blog/index.cfm/2004/7/28/20040729... read more »
-
CFHTTPSession.cfc For Multi-CFHttp Requests With Maintained Session
Posted on Mar 13, 2008 at 1:37 PM
When you call a cfhttp it will always open up a new request, unless you store the cookie info (jsession) in a session, or some kind of persistant state. When i do these types of things with Cfhttp, i hold on to the object in a session so the cookies persist. Hope that makes sense. -Matthew... read more »
-
CFHTTPSession.cfc For Multi-CFHttp Requests With Maintained Session
Posted on Mar 6, 2008 at 11:41 AM
No you dont have to worry about domain cookies. For my situation i just needed to hold onto the last set of cookies for that last redirect that was made. I just dont want to send unecessary cookies. Once all the redirects happened, i just need the cookies from that final redirect. Good job ben. ... read more »