Kevin Penny
Member since Dec 11, 2008
- Profile: /members/2521-kevin-penny.htm
- URL: http://www.jobs2web.com
- Comments: 26
Recent Blog Comments By Kevin Penny
-
ColdFusion POIUtility.cfc Updates And Bug Fixes
Posted on Sep 14, 2010 at 9:58 PM
You'll have to make sure the jar file is in place - then restart service guessing.... read more »
-
ColdFusion Component Wrapper For POI To Read And Write Excel Files
Posted on Oct 26, 2009 at 11:21 AM
sure did - had to juggle a few things but works pretty well - My version of the original also gives the ability to anme your query columns - I can put it up on drop .io for a bit here if you'd like - drop.io/cfpoiutil... read more »
-
ColdFusion POIUtility.cfc Updates And Bug Fixes
Posted on Sep 30, 2009 at 12:41 PM
@Les Mizzell Was the doc you were using a .xlsx perhaps? 3.5 POI utility NOW supports office 2007 document types - which I'm checking on now - doesn't seem to work out of the gate just yet as I'm getting a 'Object Instantiation Exception' when attempting to 'ReadExcel' on a 2k7 doc. More when I f... read more »
-
ColdFusion Component Wrapper For POI To Read And Write Excel Files
Posted on Sep 30, 2009 at 12:37 PM
Just thought I'd mention that 3.5 POI is out with 2k7 office doc support - I'm looking at modifying the POI utility right now as i'm getting an Object Instantiation Exception when attempting to open a xlsx doc - I'll let you know if I get it rolling again.... read more »
-
GetMetaData() Is Shared By All Instances Of A Given Class In ColdFusion
Posted on Jul 22, 2009 at 1:12 AM
yes yes yes! I came across this exact same thing when working with my CFproperty Inspector code (cfproperty.riaforge.org) when working with sniffing for component properties. This gave me some bad ideas about implementing (via coldspring) on-demand property manipulation at run time - which would es... read more »
-
ColdFusion 8 Application Specific Mappings Work With The CFComponent Extends Attribute
Posted on Jul 7, 2009 at 5:43 PM
No doesn't seem to matter - however it does return the my 'cfusion.ear\cfusion.war\' path if I have an app under that area vs. outside - so may be useful depending on your situation. Try before you buy I guess.... read more »
-
ColdFusion 8 Application Specific Mappings Work With The CFComponent Extends Attribute
Posted on Jul 7, 2009 at 2:56 PM
It returned the absolute path to the root of my application - which is a struggle to get at from various parts of an app if needed i.e. c:\inetpub\wwwroot\mysite... read more »
-
ColdFusion 8 Application Specific Mappings Work With The CFComponent Extends Attribute
Posted on Jul 7, 2009 at 1:12 PM
Just to add another item to this thread - I came accross a reference in code from Adobe that had this: getPageContext().getServletContext().getRealPath("/") This seems to work nicely to get the 'root' directory path as well - and in a clean format.... read more »
-
ColdFusion 8 Application Specific Mappings Work With The CFComponent Extends Attribute
Posted on Jun 15, 2009 at 10:45 AM
@Tony - Thanks for confirmation on that - yeah seems a bit inconsistent that it's not at the application level but more at the app server level then. I agree, the best method would be through admin api - which we're doing for enough other things as well. I hope this wasn't too far off the original... read more »
-
ColdFusion 8 Application Specific Mappings Work With The CFComponent Extends Attribute
Posted on Jun 12, 2009 at 6:21 PM
Well, if you're talking access="remote" on the test.cfc itself and you attempt to call that using flex remote Object call - using an alias of 'com.Test', you may find that it fails unless you specify '/com' mapping in the cfadmin. From what I just found. I had app specific mappings in the applicat... read more »
-
ColdFusion 8 Application Specific Mappings Work With The CFComponent Extends Attribute
Posted on Jun 12, 2009 at 4:49 PM
Ok - so here's the ultimate rub: You need these mappings defined in the cfadmin ANYWAY - if you're going to be working with flex remote objects! I just found that out - worth a blog post on it's own. So regardless of the ability to map them w/in the application, when you want flex to interact wit... read more »
-
ColdFusion 8 Per-Application Settings Get Partially Cached (And There's Nothing You Can Do About It)
Posted on Jun 12, 2009 at 3:54 PM
A note here from our conversation on this - if you were to restart your server instance after you commented that out custom tag path I'd expect that template you executed to fail - and not find the CT path - (as the cache would no longer be available). Is that what you found - I'm assuming so?... read more »
-
ColdFusion 8 Application Specific Mappings Work With The CFComponent Extends Attribute
Posted on Jun 12, 2009 at 3:53 PM
@Ben - Yup - works flawlessly now! You just can't attempt to reference the mappings w/in the pseudo construct.... read more »
-
ColdFusion 8 Application Specific Mappings Work With The CFComponent Extends Attribute
Posted on Jun 12, 2009 at 12:36 PM
@Ben - Yeah so to be more clear on the implementation that didn't work: <cfcomponent displayname="Application"> <cfset this.mappings["/root"]="c:\websites\webroot"/> <cfinclude template="/root/test.cfm"/> Won't work - However, in an onApplicationStart Method - once the Cons... read more »
-
ColdFusion 8 Application Specific Mappings Work With The CFComponent Extends Attribute
Posted on Jun 12, 2009 at 12:32 PM
Ok - sorry for the post barrage - but i think it's worth noting: In the application.cfc where these mappings are defined in the constructor code, attempting to call a cfinclude or a createobject using one of the predefined mappings simply does not work from what i can tell. However, after that, th... read more »
-
ColdFusion 8 Application Specific Mappings Work With The CFComponent Extends Attribute
Posted on Jun 12, 2009 at 12:20 PM
Ok - I'm still not convinced application specific mappings even work and I have verified 10x that I have the 'enable app settings' turned on in cfadmin. I have a root of say: c:\websites\webroot and I specify <cfset this.mappings["/root"]="c:\websites\webroot"/> If i try to instantiate an obj... read more »
-
ColdFusion 8 Application Specific Mappings Work With The CFComponent Extends Attribute
Posted on Jun 12, 2009 at 11:52 AM
Actually no you're right - I see the error of my ways: If i'm in a cfc off my webroot say in /model/x - and i dump either getbasetemplatepath OR getCurrentTemplatePath, they both return the same value - neither of which are the path to where the application.cfc lives -... read more »
-
ColdFusion 8 Application Specific Mappings Work With The CFComponent Extends Attribute
Posted on Jun 12, 2009 at 11:46 AM
@Tony - Would GetBaseTemplatePath() instead of getCurrentTemplatePath() be 'technically' more accurate - as it's the 'Gets the absolute path of an application's base page.' - so it should return your base app path - regardless of where its used in your application - I understand if your using 'ge... read more »
-
ColdFusion 8 Application Specific Mappings Work With The CFComponent Extends Attribute
Posted on Jun 11, 2009 at 12:08 PM
@Ryan - Yeah thanks, I've found that to be the case -... read more »
-
ColdFusion 8 Application Specific Mappings Work With The CFComponent Extends Attribute
Posted on Jun 11, 2009 at 10:37 AM
@Tony That's more than likely where I went wrong - I never did clearly understand that one - *thanks... read more »