Re: Splitting a list...
lets say we have 650 elements in our list. split them into seperate lists with a maximun of 100 elements. remember, each list must be in a variable Sincerely, Chuka I.W. Anene Chief Software Eng./CEO Quorium Solutions www.quorium.org 07029609185,07032696113 From: Claude Schneegans schneeg...@internetique.com To: cf-talk cf-talk@houseoffusion.com Sent: Tue, October 13, 2009 3:37:18 PM Subject: Re: Splitting a list... i need to have the values of each sublist in variables How about hving them in a list of lists? Then you could get each sublist pretty easily. Try this: !--- Create a 1000 elements list --- CFSET thelist = repeatString (0,1,2,3,4,5,6,7,8,9,, 100) !--- Replace every 100th comma delimiter by | as super delimiter --- CFSET thelist = Replace (REReplace (thelist, (([^,]*,){100}), \1|, all), ,|, |, all) CFDUMP var=#thelist# Now you have a | delimited list of 100 elements , delimited sublists Use listGetAt(theList, n, |) to get each nth sublist. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327169 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFMX7 for OS X
On Tue, Oct 13, 2009 at 5:42 PM, Rob Barthle r...@barthle.com wrote: I need to install CFMX7 on OS X. We still use this at work, soon to upgrade to either CF8 or CF9. I read that with 7.01 there is a Mac OS X full installer, but Adobe points to the trial page which now is all CF9. Does anyone know where I can grab a copy of this still? Up until CF9 was released you could still download CFMX7... Yes, looks like they haven't taken it down yet: http://www.adobe.com/cfusion/tdrc/index.cfm?product=coldfusion7 -- Sean A Corfield -- (904) 302-SEAN Railo Technologies US -- http://getrailo.com/ An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327170 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Splitting a list...
lets say we have 650 elements in our list. split them into seperate lists with a maximun of 100 elements. remember, each list must be in a variable Here we go - InputList will be your 650 elements. SegmentedLists is an array of the results. cfset SegmentedLists = segmentList( InputList , 100 ) / cfdump var=#SegmentedLists#/ cffunction name=segmentList returntype=Array output=false cfargument name=List type=String / cfargument name=ItemsPerList type=Numeric / cfset var MyLists = ArrayNew(1) / cfset var CurList = 1 / cfset var CurItem = 0 / cfset MyLists[1] = ArrayNew(1)/ cfloop index=CurItem array=#ListToArray(Arguments.List)# cfif ArrayLen(MyLists[CurList]) GTE Arguments.ItemsPerList cfset MyLists[++CurList] = ArrayNew(1) / /cfif cfset ArrayAppend(MyLists[CurList],CurItem) / /cfloop cfloop index=CurList from=1 to=#ArrayLen(MyLists)# cfset MyLists[CurList] = ArrayToList(MyLists[CurList]) / /cfloop cfreturn MyLists / /cffunction ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327171 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Help With Accessing Web Services
Have you changed the JVM from the one shipped with CF8 If so, the java tools jar from the alternate JVM needs to be copied to CF for some webservice calls to work properly (as well as a few other things). mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ Thanks for the reply. We haven't changed the JVM that ships with CF8. But there is another JVM version on the system. Doesn't CF point to its own JVM though? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327172 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Help With Accessing Web Services
On most platforms, yes, CF uses its own. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/10/14 Robert Nurse rnu...@gmail.com: Have you changed the JVM from the one shipped with CF8 If so, the java tools jar from the alternate JVM needs to be copied to CF for some webservice calls to work properly (as well as a few other things). mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ Thanks for the reply. We haven't changed the JVM that ships with CF8. But there is another JVM version on the system. Doesn't CF point to its own JVM though? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327173 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Looking for jQuery Form Help...
Thanks again Tony. Your help is much appreciated... -Original Message- From: Tony Bentley [mailto:t...@tonybentley.com] Sent: Tuesday, October 13, 2009 5:33 PM To: cf-talk Subject: Re: Looking for jQuery Form Help... You just need to point to each form element that you want to disable. For instance, if you setup a parent container then you can command each matching element to disable: function disableForm(bool){ $(#DivWithInputs input,#DivWithInputs textarea).each(function(){ $(this).attr(disabled,bool); }); } div id=DivWithInputs input type=checkbox input type=radio textarea/ etc /div Then just setup a true/false on your two radios ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327174 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: GetHTTPRequestdata().content is changing my data any ideas?
here is the header that is coming through with the data. === POST /cfCatch.cfm HTTP/1.1 Accept: */* Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; FunWebProducts; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR 3.5.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET CLR 3.0.30729) Host: localhost Content-Length: 105049 Connection: Keep-Alive Cache-Control: no-cache Cookie: jsessionid=jTKO0YGinwRJ9PzuvxQbhgkZ4Tc === Just so we are clear, I do not have control over the post that is comping out of the 3d application. Thanks, Fred On Mon, Oct 12, 2009 at 1:57 PM, Leigh cfsearch...@yahoo.com wrote: I have a 3D app that will post a render in jpg format to the URL of my choice Exactly how is the image being posted to the url? ie What is the content-type, method, etcetera .. used. -Leigh ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327175 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Splitting a list...
Would this work? http://cflib.org/udf/ListSplit -Original Message- From: Peter Boughton [mailto:bought...@gmail.com] Sent: Wednesday, October 14, 2009 5:33 AM To: cf-talk Subject: Re: Splitting a list... lets say we have 650 elements in our list. split them into seperate lists with a maximun of 100 elements. remember, each list must be in a variable ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327176 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF8 = button = javascript/cfwindow = occasional = Error retrieving markup for element
Hi, I am having some problems with windows/xp boxes running IE7 with one of the cfm pages I created. I am kinda at a loss to why it is happening, because on my test machines it works flawlessly. Any ideas on why we could the error below would be appreciated. The page uses a cfform with a button that creates a cfwindow via javascript: The page works fine on ie8, ie6, ff2, ff3 etc.. and ie7 and seems to be intermittent on some browsers or connections to the cf8 server. I have had a couple of JVM mem warnings on the box, and upped the jvm heap size from 256/512 = 768/768, but I am not sure they have anything to do with this issue. Note, I never do a .destroy on the cfwindow, just a .hide, and plan to put in a .destroy, and I just assumed that garbage collection would clean up my windows (I know bad..:) Here is the error: Error retrieving markup for element iimg_J032_body, unable to open connectoin to URL http://www.domain.com/dir/subdir/cfimage.cfm?id=J073 : [Enable debugging by adding 'cfdebg' to your URL parameters to see more information] Here is the javascript code assigned to the button: cfinput name=vbutton type=button onClick= javascript:{ if(document.getElementById('iimg_#DOCUMENT_NUMBER#')) { ColdFusion.Window.show('iimg_#DOCUMENT_NUMBER#'); } else { ColdFusion.Window.create('iimg_#DOCUMENT_NUMBER#', 'Austin History Center - Jones Glass Plate Collection - Image: #DOCUMENT_NUMBER# #img_subject#' , 'http://www.domain.com/dir/subdir/cfimage.cfm?cfdebugid=#DOCUMENT_NUMBER#' ,{height:#oi_window + 108# , width:940,shadow:true,modal:true, closable:true, draggable:true, resizable:true,center:true, initshow:true,minheight:#oi_window+108#, minwidth:940, refreshOnShow:true});} } value=Larger Here is the jvm arguments settings: -server -Dsun.io.useCanonCaches=false -XX:MaxPermSize=192m -XX:+UseParallelGC -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib Cfdebug from page that build the button, and when clicked: info:widget: Window hidden, id: iimg_J032 info:http: Replaced markup for element: iimg_J032_body info:http: HTTP GET http://www.domain.com/dir/subdir/cfimage.cfm?cfdebugid=J032_cf_containerId=iimg_J032_body_cf_nodebug=true_cf_nocache=true_cf_clientid=9CE97279562E33039280EC69021AC64A_cf_rc=0 info:http: Replacing markup for element: iimg_J032_body from URL http://www.domain.com/dir/subdir/cfimage.cfm?cfdebugid=J032 with params _cf_containerId=iimg_J032_body info:widget: Creating window: iimg_J032 info:LogReader: LogReader initialized info:global: Logger initialized Coldfusion Version: Server Product ColdFusion Version 8,0,0,176276 Edition Enterprise Operating System UNIX OS Version 2.6.18-128.el5PAE Java VM Specification Version 1.0 Java VM Specification Vendor Sun Microsystems Inc. Java VM Specification Name Java Virtual Machine Specification Java VM Version 1.6.0_01-b06 Java VM Vendor Sun Microsystems Inc. Java VM Name Java HotSpot(TM) Server VM Java Specification Version 1.6 Java Specification Vendor Sun Microsystems Inc. Java Specification Name Java Platform API Specification Thanks in advance, Bob ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327177 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFPDF Thumbnail quality
Hi all, I am now successfully converting PDF files to JPG. I'm wondering what exactly the resolution attribute does though. I tried both 'high' and 'low' and the resulting file is exactly the same file size in in both cases - I would have expected the low res file to be smaller. Am I missing something? Regards, Stefan ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327178 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFPDF Thumbnail quality
I am now successfully converting PDF files to JPG. I'm wondering what exactly the resolution attribute does though. I tried both 'high' and 'low' and the resulting file is exactly the same file size in in both cases - I would have expected the low res file to be smaller. Am I missing something? Not really. I'm not aware of any documentation that describes in more detail what this is supposed to do. Is the image quality identical when you do this, as far as you can tell? Maybe there isn't enough data in the image to make a difference when you choose high. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327179 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 = button = javascript/cfwindow = occasional = Error retrieving markup for element
One thing that jumps out is this: #oi_window + 108# (2 instances) Is this what you're trying to do: #evaluate(oi_window + 108)# assuming oi_window is numeric? I think that might affect retrieving the markup. -- Mark Atkinson AOCS Web | www.aocs.org 217-693-4839 Robert Bell wrote: Hi, I am having some problems with windows/xp boxes running IE7 with one of the cfm pages I created. I am kinda at a loss to why it is happening, because on my test machines it works flawlessly. Any ideas on why we could the error below would be appreciated. The page uses a cfform with a button that creates a cfwindow via javascript: The page works fine on ie8, ie6, ff2, ff3 etc.. and ie7 and seems to be intermittent on some browsers or connections to the cf8 server. I have had a couple of JVM mem warnings on the box, and upped the jvm heap size from 256/512 = 768/768, but I am not sure they have anything to do with this issue. Note, I never do a .destroy on the cfwindow, just a .hide, and plan to put in a .destroy, and I just assumed that garbage collection would clean up my windows (I know bad..:) Here is the error: Error retrieving markup for element iimg_J032_body, unable to open connectoin to URL http://www.domain.com/dir/subdir/cfimage.cfm?id=J073 : [Enable debugging by adding 'cfdebg' to your URL parameters to see more information] Here is the javascript code assigned to the button: cfinput name=vbutton type=button onClick= javascript:{ if(document.getElementById('iimg_#DOCUMENT_NUMBER#')) { ColdFusion.Window.show('iimg_#DOCUMENT_NUMBER#'); } else { ColdFusion.Window.create('iimg_#DOCUMENT_NUMBER#', 'Austin History Center - Jones Glass Plate Collection - Image: #DOCUMENT_NUMBER# #img_subject#' , 'http://www.domain.com/dir/subdir/cfimage.cfm?cfdebugid=#DOCUMENT_NUMBER#' ,{height:#oi_window + 108# , width:940,shadow:true,modal:true, closable:true, draggable:true, resizable:true,center:true, initshow:true,minheight:#oi_window+108#, minwidth:940, refreshOnShow:true});} } value=Larger Here is the jvm arguments settings: -server -Dsun.io.useCanonCaches=false -XX:MaxPermSize=192m -XX:+UseParallelGC -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib Cfdebug from page that build the button, and when clicked: info:widget: Window hidden, id: iimg_J032 info:http: Replaced markup for element: iimg_J032_body info:http: HTTP GET http://www.domain.com/dir/subdir/cfimage.cfm?cfdebugid=J032_cf_containerId=iimg_J032_body_cf_nodebug=true_cf_nocache=true_cf_clientid=9CE97279562E33039280EC69021AC64A_cf_rc=0 info:http: Replacing markup for element: iimg_J032_body from URL http://www.domain.com/dir/subdir/cfimage.cfm?cfdebugid=J032 with params _cf_containerId=iimg_J032_body info:widget: Creating window: iimg_J032 info:LogReader: LogReader initialized info:global: Logger initialized Coldfusion Version: Server Product ColdFusion Version 8,0,0,176276 Edition Enterprise Operating System UNIX OS Version 2.6.18-128.el5PAE Java VM Specification Version 1.0 Java VM Specification Vendor Sun Microsystems Inc. Java VM Specification Name Java Virtual Machine Specification Java VM Version 1.6.0_01-b06 Java VM Vendor Sun Microsystems Inc. Java VM Name Java HotSpot(TM) Server VM Java Specification Version 1.6 Java Specification Vendor Sun Microsystems Inc. Java Specification Name Java Platform API Specification Thanks in advance, Bob ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327180 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFPDF Thumbnail quality
Yeah good point - I will test with some more obvious material and post back once I know more. Regards, Stefan On 14 Oct 2009, at 15:10, Dave Watts wrote: I am now successfully converting PDF files to JPG. I'm wondering what exactly the resolution attribute does though. I tried both 'high' and 'low' and the resulting file is exactly the same file size in in both cases - I would have expected the low res file to be smaller. Am I missing something? Not really. I'm not aware of any documentation that describes in more detail what this is supposed to do. Is the image quality identical when you do this, as far as you can tell? Maybe there isn't enough data in the image to make a difference when you choose high. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327181 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Splitting a list...
lets say we have 650 elements in our list. split them into seperate lists with a maximun of 100 elements. I just showed you how to do it in the message you are replying to. The example will work on any list of any length. remember, each list must be in a variable Which variable? I could create dynamic variable names and put every list in it, but that would be kind of awkward. It is simpler to store them in a super list and retrieve any sublist whenever needed. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327182 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 = button = javascript/cfwindow = occasional = Error retrieving markup for element
Well, that piece of code seems to work fine, it just adds a bit of vertical height to the window depending on image size. The whole thing works fine that I can see IE8,IE6,FF2,FF3, but my my bosses IE7 failed on it. I am starting to wonder, if it not connected to me not destroying the cfwindow, but hiding it, then they go back to that image, and the cfwindowname is based upon the image. So what may be happening, is the window references to the cfimage temporary .png's become invalid, because the window is being essentially unhidden, but the cf cleanup has removed the image. Hmm, uhhh and it is 8.00 and I have no .destroy method unless I apply Cumulative Hot Fix 3 for ColdFusion 8.0.1, which I see comments about causing cfimage processing problem.. I'm scared, and the unix admin is busy putting our other fires.. :( One thing that jumps out is this: #oi_window + 108# (2 instances) Is this what you're trying to do: #evaluate(oi_window + 108)# assuming oi_window is numeric? I think that might affect retrieving the markup. -- Mark Atkinson AOCS Web | www.aocs.org 217-693-4839 Robert Bell wrote: ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327183 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFPDF Thumbnail quality
This could be a bug. Here's what I run: cfpdf action=thumbnail source=#uploaddir#\#filename#.pdf overwrite=yes destination=#outputdir# scale=100 format=jpg resolution=low imageprefix=low_#filename# cfpdf action=thumbnail source=#uploaddir#\#filename#.pdf overwrite=yes destination=#outputdir# scale=100 format=jpg resolution=high imageprefix=#filename# The resulting images are identical in size. I checked the actual resolution in Fireworks and it's 72 for both images. I'm using CF8 - maybe this has be fixed in 9? Regards, Stefan On 14 Oct 2009, at 15:25, Stefan Richter wrote: Yeah good point - I will test with some more obvious material and post back once I know more. Regards, Stefan On 14 Oct 2009, at 15:10, Dave Watts wrote: I am now successfully converting PDF files to JPG. I'm wondering what exactly the resolution attribute does though. I tried both 'high' and 'low' and the resulting file is exactly the same file size in in both cases - I would have expected the low res file to be smaller. Am I missing something? Not really. I'm not aware of any documentation that describes in more detail what this is supposed to do. Is the image quality identical when you do this, as far as you can tell? Maybe there isn't enough data in the image to make a difference when you choose high. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327184 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Display web page and download a file
In your show a web page just put a meta refresh to the cfm page that retreives the file. This is how almost every system out there does it (like sourceforge) meta http-equiv=Refresh content=2; url=getfile.cfm The number 2 is the number of seconds to pause before attempting file download That works very nicely. Thanks. I used 1 second so it would appear to happen fairly promptly. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327185 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFPDF Thumbnail quality
I don't know, download CF9 and see. My guess is, probably not. Dave Watts, CTO, Fig Leaf Software On 2009-10-14, Stefan Richter ste...@flashcomguru.com wrote: This could be a bug. Here's what I run: cfpdf action=thumbnail source=#uploaddir#\#filename#.pdf overwrite=yes destination=#outputdir# scale=100 format=jpg resolution=low imageprefix=low_#filename# cfpdf action=thumbnail source=#uploaddir#\#filename#.pdf overwrite=yes destination=#outputdir# scale=100 format=jpg resolution=high imageprefix=#filename# The resulting images are identical in size. I checked the actual resolution in Fireworks and it's 72 for both images. I'm using CF8 - maybe this has be fixed in 9? Regards, Stefan On 14 Oct 2009, at 15:25, Stefan Richter wrote: Yeah good point - I will test with some more obvious material and post back once I know more. Regards, Stefan On 14 Oct 2009, at 15:10, Dave Watts wrote: I am now successfully converting PDF files to JPG. I'm wondering what exactly the resolution attribute does though. I tried both 'high' and 'low' and the resulting file is exactly the same file size in in both cases - I would have expected the low res file to be smaller. Am I missing something? Not really. I'm not aware of any documentation that describes in more detail what this is supposed to do. Is the image quality identical when you do this, as far as you can tell? Maybe there isn't enough data in the image to make a difference when you choose high. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327186 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFMX7 for OS X
Thanks! ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327187 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
cfcontent create file
hi we are using cfcontent and rich text to create a word doc as follows: cfcontent type=application/mswordcfoutput{\rtf1\ansi\ansicpg1252\uc1\deff0\stshfdbch0 etc.../cfoutput however when we run the cfm page it brings up the download option, whereas we want to create the file and store it on the server can anyone help with this? thanks richard ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327188 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfcontent create file
You want cfsavecontent, not cfcontent. Write the contents of the cfsavecontent variable into a file with cffile. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/10/14 Richard White rich...@j7is.co.uk: hi we are using cfcontent and rich text to create a word doc as follows: cfcontent type=application/mswordcfoutput{\rtf1\ansi\ansicpg1252\uc1\deff0\stshfdbch0 etc.../cfoutput however when we run the cfm page it brings up the download option, whereas we want to create the file and store it on the server can anyone help with this? thanks richard ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327189 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: cfcontent create file
Richard, You don't really need CFCONTENT (which actually sets up headers in the browser). You are not trying to send your content to the output buffer of IIS. Try cfsavecontent instead. cfsavecontent variable=content {\rtf1\ansi\ansicpg1252\uc1\deff0=stshfdbch0 etc... /cfsavecontent cffile action=write output=#content# file=full file and path name.rff/ -Mark Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Richard White [mailto:rich...@j7is.co.uk] Sent: Wednesday, October 14, 2009 10:57 AM To: cf-talk Subject: cfcontent create file hi we are using cfcontent and rich text to create a word doc as follows: cfcontent type=application/mswordcfoutput{\rtf1\ansi\ansicpg1252\uc1\deff0\stshfd bch0 etc.../cfoutput however when we run the cfm page it brings up the download option, whereas we want to create the file and store it on the server can anyone help with this? thanks richard ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327190 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cfcontent create file
This should work for you: cfsavecontent variable=myContent This is the content that will go into my .doc file. This is a test. /cfsavecontent cffile action=write file=#Replace(ExpandPath('*.*'),'*.*','')#test.doc output=#myContent# Best regards, Joshua Rowe -Original Message- From: Richard White [mailto:rich...@j7is.co.uk] Sent: Wednesday, October 14, 2009 8:57 AM To: cf-talk Subject: cfcontent create file hi we are using cfcontent and rich text to create a word doc as follows: cfcontent type=application/mswordcfoutput{\rtf1\ansi\ansicpg1252\uc1\deff0\stshfd bch0 etc.../cfoutput however when we run the cfm page it brings up the download option, whereas we want to create the file and store it on the server can anyone help with this? thanks richard ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327191 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfcontent create file
thanks, that is exactly what we wanted richard ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327192 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfcontent create file
Joshua Rowe wrote: This should work for you: cfsavecontent variable=myContent This is the content that will go into my .doc file. This is a test. /cfsavecontent cffile action=write file=#Replace(ExpandPath('*.*'),'*.*','')#test.doc output=#myContent# Best regards, Joshua Rowe But a 'doc' file type is a binary file type is it not? In my experience you can't just write simple text to a with a doc extension and get anything useful. I could see this working with an plain text (.txt) or rich text (.rtf) extension, but not a .doc extension. To create binary .doc types I believe you need to use the Word com object or the Java POI utilities do you not. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327193 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Can you encrypt an email using cfmail?
I work as a government contractor. We have a task that requires all emails from an application to be encrypted using PKI. Can this be done in a cfmail tag or the CF administrator? Thanks, Brian ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327194 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFPDF Thumbnail quality
The resolution of an image defines the default physical size it gets sent to the printer as (and it can generally be overridden at print stage anyway). So you can probably ignore it. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327195 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Can you encrypt an email using cfmail?
I think I'd encrypt the stuff, then put it into the body of the email. cfsavecontent variable=stuff encrypt your stuff in here /cfsavecontent cfmail to=whoe...@... #stuff# /cfmail On Wed, Oct 14, 2009 at 12:36 PM, Brian Yager brian.yager@mda.milwrote: I work as a government contractor. We have a task that requires all emails from an application to be encrypted using PKI. Can this be done in a cfmail tag or the CF administrator? Thanks, Brian ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327196 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Get ID element from CFC
i believe you can't with cf's autosuggest implementation... what you can do, is parse the submitted value of the textbox (the whole string returned by your cfc and selected by user) and get the id from it. with the string format you posted trim(listlast(form.client)) should get you the id on the form's action page... Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 06/10/2009 21:49, Adam Parker wrote: Hi Azadi - Can you recommend a better method of performing this? Examples would be most helpful. Thanks. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327197 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFPDF Thumbnail quality
resulting images are identical in size. I checked the actual resolution in Fireworks and it's 72 for both images. It may well be that Fireworks is ignoring the value provided - you'll need to use a metadata viewer to find out what value the actual file has, rather than a graphics editor. Even then, if it's always set to the same value then it is a bug - but an incredibly trivial one since it can be easily changed at print time anyway. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327198 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFPDF Thumbnail quality
I am now successfully converting PDF files to JPG. I'm wondering what exactly the resolution attribute does though. AFAIK, it is related to jpedal (used internally to extract the images). You should find some CF specific references in google. Search on: JPEDAL useHiResScreenDisplay -Leigh ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327199 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: GetHTTPRequestdata().content is changing my data any ideas?
Out of curiosity, do you get the same behavior on Adobe CF that you are seeing on Railo? I'd talk to the guys on the Railo list. If you have a reproduceable issue, they seem quite keen to jump on these little bugs and get them fixed ASAP. Judah On Sun, Oct 11, 2009 at 3:56 PM, Fred Anderson whitefal...@gmail.com wrote: Here is the scenario. I have a 3D app that will post a render in jpg format to the URL of my choice, in this case I have setup a server (I have tested with CF9 and Railo) on my machine to test catching the JPG's and saving them to the hard drive. The problem is that the photos come through all messed up. So here is the PHP example that works just fine: ? if (!($fp = fopen(c:\\hello.jpg, ab+))) { echo errorCannot create file/error; } fwrite($fp, $HTTP_RAW_POST_DATA); fclose($fp); ? here is my CFML: cffile action=write file=c:/cfHello.jpg output=#getHTTPRequestData().content# addnewline=false A little research has turned up the following: If I look at the POST in HTTPDebugger, I can see the Binary data that is being sent. And if I open up the two jpg's in a hex editor I can see that the PHP version has the correct content length and the bytes are all the correct. When I open up the Railo version, the content length is correct, and a lot of the bytes are the same but some are different. here is a short example. CF: 7B 8A 3F 63 EC FE 27 29 PHP: 7B 8A 8F 63 EC FE 27 29 I appologize that I cannot provide a place for you to trigger the post for testing, but I am hoping someone may have some ideas on how to solve this issue. Any information you can give me would be appreciated, I was hoping to do this in CF so I can do some additional cfimage work on the jpg, Thanks. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327200 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 = button = javascript/cfwindow = occasional = Error retrieving markup for element
Ok, I got the AJAX Debugger to show me this, but it still makes no sense to me. I change the cfwindow to a static name: img_window, and started using coldfusion.navigate instead of coldfusion.window.unhide to show/unshow it, since I thought colfdusion.navigate would reload the cfcode, and then I would have no cfimage clean up issues.. :( error:http: Error retrieving markup for element img_window_body, unable to open connection to URL http://www.domain.com/dir/subdir/cfimage.cfm?cfdebugid=J060 : info:http: HTTP GET http://www.domain.com/dir/subdir/cfimage.cfm?cfdebugid=J060_cf_containerId=img_window_body_cf_nodebug=true_cf_nocache=true_cf_clientid=480B98AC91F1E74F15D5F047ACE91228_cf_rc=0 info:http: Replacing markup for element: img_window_body from URL http://www.domain.com/dir/subdir/cfimage.cfm?cfdebugid=J060 with params _cf_containerId=img_window_body info:widget: Creating window: img_window info:LogReader: LogReader initialized info:global: Logger initialized info:widget: Creating window: img_window info:LogReader: LogReader initialized info:global: Logger initialized Hi, I am having some problems with windows/xp boxes running IE7 with one of the cfm pages I created. I am kinda at a loss to why it is happening, because on my test machines it works flawlessly. Any ideas on why we could the error below would be appreciated. The page uses a cfform with a button that creates a cfwindow via javascript: The page works fine on ie8, ie6, ff2, ff3 etc.. and ie7 and seems to be intermittent on some browsers or connections to the cf8 server. I have had a couple of JVM mem warnings on the box, and upped the jvm heap size from 256/512 = 768/768, but I am not sure they have anything to do with this issue. Note, I never do a .destroy on the cfwindow, just a .hide, and plan to put in a .destroy, and I just assumed that garbage collection would clean up my windows (I know bad.. :) Here is the error: Error retrieving markup for element iimg_J032_body, unable to open connectoin to URL http://www.domain.com/dir/subdir/cfimage.cfm?id=J073 : [Enable debugging by adding 'cfdebg' to your URL parameters to see more information] Here is the javascript code assigned to the button: cfinput name=vbutton type=button onClick= javascript:{ if(document.getElementById('iimg_#DOCUMENT_NUMBER#')) { ColdFusion. Window.show('iimg_#DOCUMENT_NUMBER#'); } else { ColdFusion.Window.create('iimg_#DOCUMENT_NUMBER#', 'Austin History Center - Jones Glass Plate Collection - Image: #DOCUMENT_NUMBER# #img_subject#' , 'http://www.domain.com/dir/subdir/cfimage. cfm?cfdebugid=#DOCUMENT_NUMBER#' , {height:#oi_window + 108# , width:940,shadow:true,modal:true, closable:true, draggable:true, resizable:true,center:true, initshow:true,minheight:#oi_window+108#, minwidth:940, refreshOnShow:true});} } value=Larger Here is the jvm arguments settings: -server -Dsun.io.useCanonCaches=false -XX:MaxPermSize=192m -XX:+UseParallelGC -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib Cfdebug from page that build the button, and when clicked: info:widget: Window hidden, id: iimg_J032 info:http: Replaced markup for element: iimg_J032_body info:http: HTTP GET http://www.domain.com/dir/subdir/cfimage. cfm?cfdebugid=J032_cf_containerId=iimg_J032_body_cf_nodebug=true_c f_nocache=true_cf_clientid=9CE97279562E33039280EC69021AC64A_cf_rc=0 info:http: Replacing markup for element: iimg_J032_body from URL http://www.domain.com/dir/subdir/cfimage.cfm?cfdebugid=J032 with params _cf_containerId=iimg_J032_body info:widget: Creating window: iimg_J032 info:LogReader: LogReader initialized info:global: Logger initialized Coldfusion Version: Server Product ColdFusion Version 8,0,0,176276 Edition Enterprise Operating System UNIX OS Version 2.6.18-128.el5PAE Java VM Specification Version 1.0 Java VM Specification Vendor Sun Microsystems Inc. Java VM Specification Name Java Virtual Machine Specification Java VM Version 1.6.0_01-b06 Java VM Vendor Sun Microsystems Inc. Java VM Name Java HotSpot(TM) Server VM Java Specification Version 1.6 Java Specification Vendor Sun Microsystems Inc. Java Specification Name Java Platform API Specification Thanks in advance, Bob ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327201 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
zip code list
Hello: Anybody know of a quick easy place to get a csv or other delimited file (or database) of zip codes by state? And yes, for free :-) ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327202 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: zip code list
Timothy Laureska wrote: Hello: Anybody know of a quick easy place to get a csv or other delimited file (or database) of zip codes by state? And yes, for free :-) From a Google search. That's how I've always found them. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327203 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 = button = javascript/cfwindow = occasional = Error retrieving markup for element
what's the code in your cfimage.cfm page? the error you get is very possible due to cfimage.cfm throwing an error... also, do you use site-wide or other error handler(s)? cferror tag in Application.cfm? onError() method in Application.cfc? Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 14/10/2009 22:31, Robert Bell wrote: Well, that piece of code seems to work fine, it just adds a bit of vertical height to the window depending on image size. The whole thing works fine that I can see IE8,IE6,FF2,FF3, but my my bosses IE7 failed on it. I am starting to wonder, if it not connected to me not destroying the cfwindow, but hiding it, then they go back to that image, and the cfwindowname is based upon the image. So what may be happening, is the window references to the cfimage temporary .png's become invalid, because the window is being essentially unhidden, but the cf cleanup has removed the image. Hmm, uhhh and it is 8.00 and I have no .destroy method unless I apply Cumulative Hot Fix 3 for ColdFusion 8.0.1, which I see comments about causing cfimage processing problem.. I'm scared, and the unix admin is busy putting our other fires.. :( One thing that jumps out is this: #oi_window + 108# (2 instances) Is this what you're trying to do: #evaluate(oi_window + 108)# assuming oi_window is numeric? I think that might affect retrieving the markup. -- Mark Atkinson AOCS Web | www.aocs.org 217-693-4839 Robert Bell wrote: ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327204 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: zip code list
Not free, but only $5 ... www.teamredline.com I've found some errors in their lat/long info, but still worth the $5 Rick On Wed, Oct 14, 2009 at 1:11 PM, Timothy Laureska tlaure...@dhmh.state.md.us wrote: Hello: Anybody know of a quick easy place to get a csv or other delimited file (or database) of zip codes by state? And yes, for free :-) ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327205 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: zip code list
Hello, Attached is a CSV file containing a zip code list. Contains zip code, city, state, state abbr, latitude, and longitude. It's a couple years old and I found it for free off the internet somewhere, so any cities added between now and the time it was created will not be included. Best regards, Joshua Rowe -Original Message- From: Timothy Laureska [mailto:tlaure...@dhmh.state.md.us] Sent: Wednesday, October 14, 2009 10:12 AM To: cf-talk Subject: zip code list Hello: Anybody know of a quick easy place to get a csv or other delimited file (or database) of zip codes by state? And yes, for free :-) ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327206 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 = button = javascript/cfwindow = occasional = Error retrieving markup for element
Problem SOLVED. Seems by using the full path to the url, some browsers were having problems, so I just used the cfimage.cfm relative path, and everything works on all browser permutations just dandy. Guess this was viewed as a cross-domain scripting attack somewhere down the ajax/ui/cf/javascript path ? Hrm, anyway thanks for listening to me at all. :) Ok, I got the AJAX Debugger to show me this, but it still makes no sense to me. I change the cfwindow to a static name: img_window, and started using coldfusion.navigate instead of coldfusion.window.unhide to show/unshow it, since I thought colfdusion.navigate would reload the cfcode, and then I would have no cfimage clean up issues.. :( error:http: Error retrieving markup for element img_window_body, unable to open connection to URL http://www.domain. com/dir/subdir/cfimage.cfm?cfdebugid=J060 : info:http: HTTP GET http://www.domain.com/dir/subdir/cfimage. cfm?cfdebugid=J060_cf_containerId=img_window_body_cf_nodebug=true_c f_nocache=true_cf_clientid=480B98AC91F1E74F15D5F047ACE91228_cf_rc=0 info:http: Replacing markup for element: img_window_body from URL http://www.domain.com/dir/subdir/cfimage.cfm?cfdebugid=J060 with params _cf_containerId=img_window_body info:widget: Creating window: img_window info:LogReader: LogReader initialized info:global: Logger initialized info:widget: Creating window: img_window info:LogReader: LogReader initialized info:global: Logger initialized ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327207 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: zip code list
Josh many thanks - but nothing was attached Joshua Rowe jr...@varimereweb.com 10/14/2009 1:18 PM Hello, Attached is a CSV file containing a zip code list. Contains zip code, city, state, state abbr, latitude, and longitude. It's a couple years old and I found it for free off the internet somewhere, so any cities added between now and the time it was created will not be included. Best regards, Joshua Rowe -Original Message- From: Timothy Laureska [mailto:tlaure...@dhmh.state.md.us] Sent: Wednesday, October 14, 2009 10:12 AM To: cf-talk Subject: zip code list Hello: Anybody know of a quick easy place to get a csv or other delimited file (or database) of zip codes by state? And yes, for free :-) ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327208 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: zip code list
it's because you can't send attachments to the list. Josh, you can send him directly On Wed, Oct 14, 2009 at 10:26 AM, Timothy Laureska tlaure...@dhmh.state.md.us wrote: Josh many thanks - but nothing was attached Joshua Rowe jr...@varimereweb.com 10/14/2009 1:18 PM Hello, Attached is a CSV file containing a zip code list. Contains zip code, city, state, state abbr, latitude, and longitude. It's a couple years old and I found it for free off the internet somewhere, so any cities added between now and the time it was created will not be included. Best regards, Joshua Rowe -Original Message- From: Timothy Laureska [mailto:tlaure...@dhmh.state.md.us] Sent: Wednesday, October 14, 2009 10:12 AM To: cf-talk Subject: zip code list Hello: Anybody know of a quick easy place to get a csv or other delimited file (or database) of zip codes by state? And yes, for free :-) ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327209 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfcontent create file
On Wed, Oct 14, 2009 at 12:32 PM, Ian Skinner h...@ilsweb.com wrote: But a 'doc' file type is a binary file type is it not? In my experience you can't just write simple text to a with a doc extension and get anything useful. I could see this working with an plain text (.txt) or rich text (.rtf) extension, but not a .doc extension. you can test this easily. Put a .txt file on your desktop with some content in it, rename it to a .doc and open it. It works just fine, at least in Word 2007 it does. I could test Word 2000 at home.. Word does format detection to figure out what KIND of word doc it is. It'll realize that his file is an RTF document, and it'll realize that your plain text document (tested above) is a text document, and display it just fine. Same way you can write HTML tables to a file, save it with a .XLS extension, and have it open in Excel. Ri ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327210 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 = button = javascript/cfwindow = occasional = Error retrieving markup for element
Thanks for sharing. It's these little idiosyncratic tidbits that make this job so interesting and frustrating all at once. -- Mark Atkinson AOCS Web | www.aocs.org 217-693-4839 Robert Bell wrote: Problem SOLVED. Seems by using the full path to the url, some browsers were having problems, so I just used the cfimage.cfm relative path, and everything works on all browser permutations just dandy. Guess this was viewed as a cross-domain scripting attack somewhere down the ajax/ui/cf/javascript path ? Hrm, anyway thanks for listening to me at all. :) ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327211 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFPDF Thumbnail quality
I'm not interested in printing though. I'm converting PDFs to image format, and would expect some kind of control over the output quality - I'm writing a JPG after all. But it seems I need to do some post processing instead, which is fine, I just wanted to make sure I understand the resolution setting. I can't say I do :-) Stefan On 14 Oct 2009, at 17:50, Leigh wrote: I am now successfully converting PDF files to JPG. I'm wondering what exactly the resolution attribute does though. AFAIK, it is related to jpedal (used internally to extract the images). You should find some CF specific references in google. Search on: JPEDAL useHiResScreenDisplay -Leigh ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327212 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF8 and CF9 on the same computer
Sorry if this has already been covered, I couldn't find anything to help me. I have CF8 installed on my Macbook Pro through MAMP Pro. Works like a charm, have multiple virtual hosts set up, etc. I want to install CF9 alongside CF8 so I could test out CF9 with existing code, but I want to be able to set up those virtual host names to use with CF9, so the built-in web server for CF9 is out of the question. My CF8 install used the standalone server. I tried downloading XAMPP (to use a wholly separate Apache instance) and installing CF9 to use that through the webserver configuration. It was a disaster, not only not working on CF9 but nuking my CF8 instance in the process. Thankfully through Time Machine I was able to get CF8 back running. I've never set up a CF instance in any other way than standalone, so if there is a way that I could accomplish this without having to go to VMware and Virtual servers (I can do that but it is a severe memory hog), I would be very appreciative. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327213 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 and CF9 on the same computer
I've never set up a CF instance in any other way than standalone, so if there is a way that I could accomplish this without having to go to VMware and Virtual servers (I can do that but it is a severe memory hog), I would be very appreciative. I don't know about OS X specifically, but here's what I did on Windows. 1. Uninstall CF 8, saving any settings, etc. 2. Install CF 9 using the multiserver option. 3. Use the JRun admin console to create a new server instance. 4. Run the CF 8 installer, selecting the J2EE installer option. This will give you an EAR file that you can then manually deploy on the new JRun instance. 5. Configure web server connectors however you like. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327214 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 and CF9 on the same computer
I have CF8 setup in the multi-server configuration on top of JRun. With that in place, it is quite simple to setup CF9 alongside it. After getting CF8 running on JRun and hooked into Apache, do the following: 1) Run the CF9 installer and select 'J2EE' and 'Create EAR File'. 2) Follow the Adobe instructions here: http://help.adobe.com/en_US/ColdFusion/9.0/Installing/WSc3ff6d0ea77859461172e0811cdec18c28-7fc1.html 3) To finish things up, follow Scott Stroz's guide here: http://www.boyzoid.com/blog/index.cfm/2007/6/13/Running-CF8--CF-7-on-JRun-with-Apache Note that even though Scott's guide is for CF7/CF8, it is still applicable to CF8/CF9. One thing I should point out is that you might have to upgrade your JVM. I believe that CF9 requires Java 6, so make sure you have that. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327215 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: GetHTTPRequestdata().content is changing my data any ideas?
Yes, I get them on CF8,CF9 and Railo, and presumably Blue Dragon from a test I had someone else run. Thanks, Fred On Wed, Oct 14, 2009 at 12:01 PM, Judah McAuley ju...@wiredotter.com wrote: Out of curiosity, do you get the same behavior on Adobe CF that you are seeing on Railo? I'd talk to the guys on the Railo list. If you have a reproduceable issue, they seem quite keen to jump on these little bugs and get them fixed ASAP. Judah On Sun, Oct 11, 2009 at 3:56 PM, Fred Anderson whitefal...@gmail.com wrote: Here is the scenario. I have a 3D app that will post a render in jpg format to the URL of my choice, in this case I have setup a server (I have tested with CF9 and Railo) on my machine to test catching the JPG's and saving them to the hard drive. The problem is that the photos come through all messed up. So here is the PHP example that works just fine: ? if (!($fp = fopen(c:\\hello.jpg, ab+))) { echo errorCannot create file/error; } fwrite($fp, $HTTP_RAW_POST_DATA); fclose($fp); ? here is my CFML: cffile action=write file=c:/cfHello.jpg output=#getHTTPRequestData().content# addnewline=false A little research has turned up the following: If I look at the POST in HTTPDebugger, I can see the Binary data that is being sent. And if I open up the two jpg's in a hex editor I can see that the PHP version has the correct content length and the bytes are all the correct. When I open up the Railo version, the content length is correct, and a lot of the bytes are the same but some are different. here is a short example. CF: 7B 8A 3F 63 EC FE 27 29 PHP: 7B 8A 8F 63 EC FE 27 29 I appologize that I cannot provide a place for you to trigger the post for testing, but I am hoping someone may have some ideas on how to solve this issue. Any information you can give me would be appreciated, I was hoping to do this in CF so I can do some additional cfimage work on the jpg, Thanks. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327216 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF8 = button = javascript/cfwindow = occasional = Error retrieving markup for element
Yup. In addition, I made the admin install the 8.01 update so I could implement a coldfusion.window.destroy tear down process, and hopefully not run into jvm memory problems. coldfusion.navigate did not really work, since it was not really updating the window content correctly. Now to contemplate the CF8 Cum. Hot Fix 3 potential cfimage issues. :) Thanks for sharing. It's these little idiosyncratic tidbits that make this job so interesting and frustrating all at once. -- Mark Atkinson AOCS Web | www.aocs.org 217-693-4839 Robert Bell wrote: Problem SOLVED. Seems by using the full path to the url, some browsers were having problems, so I just used the cfimage.cfm relative path, and everything works on all browser permutations just dandy. Guess this was viewed as a cross-domain scripting attack somewhere down the ajax/ui/cf/javascript path ? Hrm, anyway thanks for listening to me at all. :) ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327217 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Lyla Captcha Issue I think
I have implemented Lyla successfully, but for some reason I am not able to validate that the submit button was pushed. Processing Page cfif Isdefined(form.button) cfelse cflocation url=orientation_test.cfm /cfif Form Page cfform id=captchaForm action=orientation_submit.cfm method=post onSubmit=return validateCaptcha(captchaForm.captchaHash.value,captchaForm.captchaText.va lue); cfoutput input type=hidden name=date value=#dateformat(now(), DD, )# / input type=hidden name=ip value=#user_ip# / /cfoutput Name: input type=text name=name size=30 / Email: cfinput type=text name=email size=30 onFocus=this.value='' required=yes message=You must enter a valid email / Office Phone: cfinput type=text name=ophone required=yes message=Please enter your office phone number validate=telephone mask=999-999- / Home Phone: cfinput type=text name=hphone validate=telephone mask=999-999- / input type=hidden name=captchaHash value=#variables.captcha.hash# / span style=font-size:11px;Can't Read the Captcha? a href=## onClick=newCaptcha();Click here to generate a new one/a/span input type=text name=captchaText size=6 / img src=#variables.displayTemplate#.cfm?hashReference=#variables.captcha.ha sh# id=captchaImage / input type=submit value=Register name=button / /cfform Steve LaBadie, Web Manager East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 http://www.esu.edu http://www.esu.edu slaba...@po-box.esu.edu mailto:slaba...@po-box.esu.edu ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327218 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: zip code list
I found this: http://www.zipcodeworld.com/zipcodefree.htm Never used it, but I bookmarked it for future research. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327219 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
get SWF movie length
Hello, Is there a way to detect the length/run-time of an SWF movie in ColdFusion? If not in ColdFusion, what about JavaScript or jQuery? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327220 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Cf9 tabbed layouts cflayout
Has anyone been able to workaround the bug in cflayout for tabbed interfaces. Sam's blog has been very helpful, but so far I haven't been able to get that to work: http://samfarmer.instantspot.com/blog/2009/08/14/Use-cfajaximport-to-help-with-CF8-to-CF9-migration Seems like a pretty big bug to let slip past the final release. But cf9 is still awesome, just need this fixed. Thanks, -- David Mineer Jr - The critical ingredient is getting off your butt and doing something. It's as simple as that. A lot of people have ideas, but there are few who decide to do something about them now. Not tomorrow. Not next week. But today. The true entrepreneur is a doer. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327221 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: zip code list
wow, the free version only includes zip code and state abbreviation. I guess that's all the original poster needs... On Wed, Oct 14, 2009 at 4:37 PM, Jerry Barnes critic...@gmail.com wrote: I found this: http://www.zipcodeworld.com/zipcodefree.htm Never used it, but I bookmarked it for future research. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327222 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: GetHTTPRequestdata().content is changing my data any ideas?
Then it might be an issue with the underlying Java call. I'd check in over at the Railo list and see if Gert and his boys can help you figure things out. If you have a reproduceable situation with source files you can give them I'm sure they'll take a look. Cheers, Judah On Wed, Oct 14, 2009 at 12:15 PM, Fred Anderson whitefal...@gmail.com wrote: Yes, I get them on CF8,CF9 and Railo, and presumably Blue Dragon from a test I had someone else run. Thanks, Fred On Wed, Oct 14, 2009 at 12:01 PM, Judah McAuley ju...@wiredotter.com wrote: Out of curiosity, do you get the same behavior on Adobe CF that you are seeing on Railo? I'd talk to the guys on the Railo list. If you have a reproduceable issue, they seem quite keen to jump on these little bugs and get them fixed ASAP. Judah On Sun, Oct 11, 2009 at 3:56 PM, Fred Anderson whitefal...@gmail.com wrote: Here is the scenario. I have a 3D app that will post a render in jpg format to the URL of my choice, in this case I have setup a server (I have tested with CF9 and Railo) on my machine to test catching the JPG's and saving them to the hard drive. The problem is that the photos come through all messed up. So here is the PHP example that works just fine: ? if (!($fp = fopen(c:\\hello.jpg, ab+))) { echo errorCannot create file/error; } fwrite($fp, $HTTP_RAW_POST_DATA); fclose($fp); ? here is my CFML: cffile action=write file=c:/cfHello.jpg output=#getHTTPRequestData().content# addnewline=false A little research has turned up the following: If I look at the POST in HTTPDebugger, I can see the Binary data that is being sent. And if I open up the two jpg's in a hex editor I can see that the PHP version has the correct content length and the bytes are all the correct. When I open up the Railo version, the content length is correct, and a lot of the bytes are the same but some are different. here is a short example. CF: 7B 8A 3F 63 EC FE 27 29 PHP: 7B 8A 8F 63 EC FE 27 29 I appologize that I cannot provide a place for you to trigger the post for testing, but I am hoping someone may have some ideas on how to solve this issue. Any information you can give me would be appreciated, I was hoping to do this in CF so I can do some additional cfimage work on the jpg, Thanks. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327223 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: zip code list
Try http://www.geonames.org/ Very comprehensive. On Thu, Oct 15, 2009 at 5:33 AM, Rick Root rick.r...@gmail.com wrote: wow, the free version only includes zip code and state abbreviation. I guess that's all the original poster needs... On Wed, Oct 14, 2009 at 4:37 PM, Jerry Barnes critic...@gmail.com wrote: I found this: http://www.zipcodeworld.com/zipcodefree.htm Never used it, but I bookmarked it for future research. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327224 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4