RE: Passing file from form to CFC
Mike, That only exists after you have used CFFILE to save the file to the server. Adrian is referring to the form field that holds the initial file upload, which his CFC is presumably going to do the CFFILE process for. It is actually a binary file, for which there is no argument type, so try ANY. Russ -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: 18 December 2006 04:49 To: CF-Talk Subject: Re: Passing file from form to CFC The upload process creates a struct called File containing a whole bunch of information about the file you just uploaded, and what teh upload process did with it.file size, renamed or not, location, file type stuff like that.you can pass the whole struct in a single swoop to the CFC if you like by: cfinvoke ... cfinvokeargument name=filestruct value=#file# /cfinvoke OR alternatively you can pass the bits of the struct you need in your CFC like this: cfinvokeargument name=filename value=#file.servername# cfinvokeargument name=filesize value=#file.filesize# You can have a look at the kind of information that's in teh file struct by doing a CFDUMP as in: cfdump var=#file# label=FILE / after the upload and see what it contains. You might be surprised at how much info is in there. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 12/18/06, Adrian Wagner [EMAIL PROTECTED] wrote: Hello, I have a form from where the client can upload files to the site. I'm a bit confused about the passing on of the form field to the component here. A regular text field I'd pass on like this: cfinvoke ... cfinvokeargument name=imageName value=form.imageN /cfinvoke And in the cfc: cffunction ... cfargument name=imageName type=string /cffunction Now, there is no type 'file' for cfargument. What am I supposed to do in that case? Or is the variable I'm refering to here just a string anyhow, which refers to a file in the form scope? Would be glad about some enlightenment here. Adrian ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264289 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Passing file from form to CFC
If you're going to do the upload within the cfc, all you need to pass is the name of the form field. In your cfc you'd have: cfargument name=item required=true type=any .. cffile action=upload filefield=#arguments.item# destination=#arguments.path# nameconflict=makeunique accept=#arguments.type# On 12/17/06, Adrian Wagner [EMAIL PROTECTED] wrote: Hello, I have a form from where the client can upload files to the site. I'm a bit confused about the passing on of the form field to the component here. A regular text field I'd pass on like this: cfinvoke ... cfinvokeargument name=imageName value=form.imageN /cfinvoke And in the cfc: cffunction ... cfargument name=imageName type=string /cffunction Now, there is no type 'file' for cfargument. What am I supposed to do in that case? Or is the variable I'm refering to here just a string anyhow, which refers to a file in the form scope? Would be glad about some enlightenment here. Adrian ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264290 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 large csv file into smaller parts
Will, Glad to help. Good luck with the kids. My brother just had his second girl in October; not twins, but a handful non-the-less. Anyway, let me know if you have any questions regarding the code I wrote. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Will Swain [mailto:[EMAIL PROTECTED] Sent: Saturday, December 16, 2006 7:02 AM To: CF-Talk Subject: RE: splitting large csv file into smaller parts That's great Ben, just what I needed. Funnily enough, I'd made a start on this last night in between baby feeds (I have 3 month old twins) but that looks great. Cheers, and have a great weekend! Will -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: 16 December 2006 00:22 To: CF-Talk Subject: RE: splitting large csv file into smaller parts Will, I had some time to throw something together. This should take care of the out of memory issues as it doesn't read in the whole file at once: http://www.bennadel.com/blog/436-Breaking-Enormous-CSV-Files-Into-Smalle r-CSV-Files.htm (OR http://bennadel.com/index.cfm?dax=blog:436.view) This splits the CSV file into many smaller files. Then, you would run your originally parser on the smaller files, perhaps one per page request. This should not kill your memory at all. Just remember to delete the smaller CSV files once you are done with them (or they might corrupt the next night's CSV data). Have a great weekend. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Will Swain [mailto:[EMAIL PROTECTED] Sent: Friday, December 15, 2006 4:23 PM To: CF-Talk Subject: RE: splitting large csv file into smaller parts Well, my test has just run into problems and thrown a java.lang.OutOfMemoryError error. I'm thinking though maybe I can use the LineNumberReader code to split the csv file into smaller parts. Maybe take 5,000 rows at a time and write them out to a new csv file. Then I can just run the processing code that I already have on each smaller file. Does that logic seem sound to you? Cheers Will ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264291 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: FW: Certification
I think the nature of this thread is to provide generalizations bout certification. There are so many people with subjective opinions about certification. Does certifying hurt your career? I am willing to wager most would conceed that this will more than likely be No. For those that say yes to the afore mentioned question, I suspect you are being contrarian. I helped teach a certification preperation class. We met once a week for 8 weeks. I believe that I taught probably 3 sessions and provided feedback during every class. The class size was about 6-8 people. The experience levels were novice to expert. We assisted the new people and shared insight amongst the more experienced developers. We used printed copies of cf exam buster to test about certain objectives. Half the people in the room already had a license for the software. Not everyone went on to certify after the 8 weeks, but the preperation for the certification helped remind beginner and experienced developers that there are features out there that they may have rebuilt the wheel for. I am for certification and helping people to prepare for it. It cannot hurt you to share knowledge with others when the goal is to expand our community and promote more new developers to use the product. Teddy On 12/18/06, Russ [EMAIL PROTECTED] wrote: As for looking up the answer... As noted isn't the Adobe one multiple choice still? where the answer is right in front of you on every Q! As my old Physics teacher used to say, multiple choice is not a test.. a monkey with a stick could get a pass by stroking the page randomly... Your old physics teacher could stand to brush up on instructional design. Well-written multiple choice exams will not typically be passed by a monkey with a stick. Tell me about it. My college physics professor gave multiple choice exams, but he did it in such a way that every answer made sense if you've made the common mistakes of plugging the wrong numbers in the formulas, or using the wrong formulas. Russ ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264292 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Still need help!! (Login cflocation)
This is totally driving me nuts!! For those of you who missed my troubles, I will go over it again. I have a page in the root of my site that requires a user to login. My login page is located in a child directory and I am needing to force the user back to the page they were originally looking for prior to login. I cannot seem to be able to cflocation them from the child folder back to the root folder where that page is at. I have tried the code below, but it simply does not work, as it is sending them back to the index.cfm of the current CHILD folder instead of the ROOT folder. I have also tried setting the return url prior to login, but that simply sets the login page as the last page in the CGI.SCRIPT_NAME. Has anybody handled this problem before and may have a simple solution? CFIF IsDefined(Session.RUserName) CFIF Session.RUserName is Guest CFPARAM name=attributes.thispage default=#GetFileFromPath(GetTemplatePath())# CFPARAM name=attributes.querystring default=? CFPARAM name=attributes.variablestring default=#CGI.QUERY_STRING# CFSET thispage = attributes.thispage CFSET querystring = attributes.querystring CFSET variablestring = attributes.variablestring CFLOCATION url=index.cfm?page=loginrequested=#thispage##querystring#string=#variablestring# addtoken=no /CFIF /CFIF Doug ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264293 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: FW: Certification
On average, I'd say the certification only indicates that you are good at studying for exams. It doesn't provide any meaningful metrics to other developers. That being said, however, they do complement otherwise talented developers' resumes. If you are looking to get certified, I would recommend _learning_ the material and only supplement with books and software. There's really no point in getting certified if you can't get past the developers who will undoubtedly have a part in interviewing you. -- Ryan Emerle Query2Excel - Write Excel files from ColdFusion http://www.emerle.net/programming/display.cfm/t/cfx_query2excel Excel2Query - Read Excel files from ColdFusion http://www.emerle.net/programming/display.cfm/t/cfx_excel2query ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264294 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: FW: Certification
One thing to remember about the CFMX exams, is that they are based on the ORIGINAL release, in this case 7.0 So, taking a question from Ben's book: What ouput formats are supported by cfreport? A. Excel B. FlashPaper C. HTML D. PDF E. RTF The correct answer for the exam would be: A,B,D Although RTF is supported as of 7.0.1 if you included that in you answer, you would be marked incorrect. Andy On 18/12/06, Ryan Emerle [EMAIL PROTECTED] wrote: On average, I'd say the certification only indicates that you are good at studying for exams. It doesn't provide any meaningful metrics to other developers. That being said, however, they do complement otherwise talented developers' resumes. If you are looking to get certified, I would recommend _learning_ the material and only supplement with books and software. There's really no point in getting certified if you can't get past the developers who will undoubtedly have a part in interviewing you. -- Ryan Emerle Query2Excel - Write Excel files from ColdFusion http://www.emerle.net/programming/display.cfm/t/cfx_query2excel Excel2Query - Read Excel files from ColdFusion http://www.emerle.net/programming/display.cfm/t/cfx_excel2query ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264295 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Still need help!! (Login cflocation)
Save the referer, and send them back to that. Russ -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: 18 December 2006 13:57 To: CF-Talk Subject: Still need help!! (Login cflocation) This is totally driving me nuts!! For those of you who missed my troubles, I will go over it again. I have a page in the root of my site that requires a user to login. My login page is located in a child directory and I am needing to force the user back to the page they were originally looking for prior to login. I cannot seem to be able to cflocation them from the child folder back to the root folder where that page is at. I have tried the code below, but it simply does not work, as it is sending them back to the index.cfm of the current CHILD folder instead of the ROOT folder. I have also tried setting the return url prior to login, but that simply sets the login page as the last page in the CGI.SCRIPT_NAME. Has anybody handled this problem before and may have a simple solution? CFIF IsDefined(Session.RUserName) CFIF Session.RUserName is Guest CFPARAM name=attributes.thispage default=#GetFileFromPath(GetTemplatePath())# CFPARAM name=attributes.querystring default=? CFPARAM name=attributes.variablestring default=#CGI.QUERY_STRING# CFSET thispage = attributes.thispage CFSET querystring = attributes.querystring CFSET variablestring = attributes.variablestring CFLOCATION url=index.cfm?page=loginrequested=#thispage##querystring#string=#variable string# addtoken=no /CFIF /CFIF Doug ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264296 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Certification
Original Message I doubt you would be chosen just because you have a cert, we always test developers who come for interview and we have turned away many certified ones who knew jack when it can to real written and oral test. The non certs were the ones who shone. In a case where everything else is equal, it could be a deciding factor. Also realize that not all places test their interviewees. Not all places have what I would consider to be qualified folks doing the interviewing (it's frequently managers...the same managers who love to chant the mantra of we don't have time to do it right, we need to get it done quickly and then wonder why 2 weeks after its release it breaks horribly) :) As I've already said...it may -never- help you. But can you argue that it could ever hurt to have? In many cases, you wouldn't get past the HR department without a certification. Many corporations have standard ways of weeding out applicants. One way is to put a certification in the specifications for the position. The HR staff review all the applications and many are tossed just as a first run through the paperwork. Hiring managers may never even see your resume if you don't have a certification. I agree completely with the idea is about breaking ties. Anything that gives you the edge with other equal applicants is positive whether it is the way you handle the interview or your professional certifications. I have always said that I thought that certifications in IT were BS. At one time as a manager, I assumed someone who got a certification had to since they didn't have any skills or experience. I have to admit now (after 20 years of experience) that a youngster with little experience and a certification may make the cut out of HR when I wouldn't no matter my skill level or experience. All being equal, I now encourage workers to get more training and get their certifications. Building a resume is important and continuous. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264297 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Still need help!! (Login cflocation)
That is not working. What happens is the user clicks a link for a page in the root directory and if they are not logged in I cflocation them to the login page. If I use the cgi.http_referrer it sets the last requested page as the login page from the cflocation Doug - Original Message - From: Snake [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, December 18, 2006 7:17 AM Subject: RE: Still need help!! (Login cflocation) Save the referer, and send them back to that. Russ -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: 18 December 2006 13:57 To: CF-Talk Subject: Still need help!! (Login cflocation) This is totally driving me nuts!! For those of you who missed my troubles, I will go over it again. I have a page in the root of my site that requires a user to login. My login page is located in a child directory and I am needing to force the user back to the page they were originally looking for prior to login. I cannot seem to be able to cflocation them from the child folder back to the root folder where that page is at. I have tried the code below, but it simply does not work, as it is sending them back to the index.cfm of the current CHILD folder instead of the ROOT folder. I have also tried setting the return url prior to login, but that simply sets the login page as the last page in the CGI.SCRIPT_NAME. Has anybody handled this problem before and may have a simple solution? CFIF IsDefined(Session.RUserName) CFIF Session.RUserName is Guest CFPARAM name=attributes.thispage default=#GetFileFromPath(GetTemplatePath())# CFPARAM name=attributes.querystring default=? CFPARAM name=attributes.variablestring default=#CGI.QUERY_STRING# CFSET thispage = attributes.thispage CFSET querystring = attributes.querystring CFSET variablestring = attributes.variablestring CFLOCATION url=index.cfm?page=loginrequested=#thispage##querystring#string=#variable string# addtoken=no /CFIF /CFIF Doug ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264298 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
cffile action=read does FILE.fileSize still work?
Good morning, I'm sure this is a simple one for most of you, but I forget. If I perform a cffile action=read etc ... on an image file, I should be able to get #FILE.fileSize# correct? I was able to do it using action=upload. Thanks D ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264299 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Still need help!! (Login cflocation)
Doug... Somewhere, you are checking for the session and if it doesnt exist, you cflocate to the login page. THAT is the place where you need to grab the CURRENT page and query strings (or just the entire url for that matter). Because THAT is the point that you want to return them to. So... cfif NOT isdefined('session.isloggedin') cfset theurl = urlencodedformat(http://#cgi.server_name#/#cgi.script_name#?#cgi.query_stri ng#) / cflocation=loginpage.cfm?returnto=#theurl# addtoken=no / /cfif So now say you are at 'http://mysite.com/securepage.cfm?someurlvar=42' but not logged in and should be. You will be redirected to soemthing like... Loginpage.cfm?returnto=http%3A%2F%2Fmysite%2Ecom%2Fsecurepage%2Ecfm%3Fsomeur lvar%3D42 Now... when the user logs in successfully you cflocate to: #urldecode(url.returnto)# On your login page, give a default for url.returnto. Also, on the login page, you want to check to see if the user is logged in, if they are, then they shouldnt be on a login page. Redirect them to your default. ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 9:37 AM To: CF-Talk Subject: Re: Still need help!! (Login cflocation) That is not working. What happens is the user clicks a link for a page in the root directory and if they are not logged in I cflocation them to the login page. If I use the cgi.http_referrer it sets the last requested page as the login page from the cflocation Doug - Original Message - From: Snake [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, December 18, 2006 7:17 AM Subject: RE: Still need help!! (Login cflocation) Save the referer, and send them back to that. Russ -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: 18 December 2006 13:57 To: CF-Talk Subject: Still need help!! (Login cflocation) This is totally driving me nuts!! For those of you who missed my troubles, I will go over it again. I have a page in the root of my site that requires a user to login. My login page is located in a child directory and I am needing to force the user back to the page they were originally looking for prior to login. I cannot seem to be able to cflocation them from the child folder back to the root folder where that page is at. I have tried the code below, but it simply does not work, as it is sending them back to the index.cfm of the current CHILD folder instead of the ROOT folder. I have also tried setting the return url prior to login, but that simply sets the login page as the last page in the CGI.SCRIPT_NAME. Has anybody handled this problem before and may have a simple solution? CFIF IsDefined(Session.RUserName) CFIF Session.RUserName is Guest CFPARAM name=attributes.thispage default=#GetFileFromPath(GetTemplatePath())# CFPARAM name=attributes.querystring default=? CFPARAM name=attributes.variablestring default=#CGI.QUERY_STRING# CFSET thispage = attributes.thispage CFSET querystring = attributes.querystring CFSET variablestring = attributes.variablestring CFLOCATION url=index.cfm?page=loginrequested=#thispage##querystring#string=#variable string# addtoken=no /CFIF /CFIF Doug ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264300 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cffile action=read does FILE.fileSize still work?
I may be wrong, but I believe that you can only do that via cfdirectory The read pretty much does only that read the contents of the file. Doug - Original Message - From: [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, December 18, 2006 7:46 AM Subject: cffile action=read does FILE.fileSize still work? Good morning, I'm sure this is a simple one for most of you, but I forget. If I perform a cffile action=read etc ... on an image file, I should be able to get #FILE.fileSize# correct? I was able to do it using action=upload. Thanks D ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264301 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Still need help!! (Login cflocation)
Thanks Bobby!! I will give that a try. Doug ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264302 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Certification
You seem to be viewing Brainbench certs unfavorably because you can look up answers in the manual as you take the test. The Brainbench tests are intended to be open-book and the Adobe test is intended to be closed-book. So the questions you see on a Brainbench test are much harder than the questions on the Adobe test. Many of the questions cannot be answered without looking up the answer. That is what you are being tested on. Can you look up the correct answer or solve the problem within two minutes. It is not testing how well you can memorize a study guide. I would place a higher value on a vendor cert, but I would look favorably on a Brainbench cert as well. The fact that someone took the time to get certified is an indication that they are serious about their career and are interested in professional growth. -Mike Chabot On 12/17/06, Nicholas M Tunney [EMAIL PROTECTED] wrote: In the staffing portion of my company, we do not pay any attention to Brainbench certs. You can look every answer up as you take the test. Many of our clients require the developers we send out to be CF certified by Adobe. Just my 2c. Robertson-Ravo, Neil (RX) wrote: Not really, as the fact they are worthless (not useless) is no doubt the reason they do not take them. In the professional world whether you are ColdFusion certified or not means nada - certainly from what I have seen in the UK. I mean, isn't it mostly multiple choice still?! The Brainbench is good as well a Snake noted. Perhaps better. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Larry Lyons To: CF-Talk Sent: Sat Dec 16 19:40:54 2006 Subject: Re: Certification Agreed, the certs are pretty much worthless in the real world. This topic come up on a regular basis, almost once every 2 or 3 months. Ever notice that generally those who say the CFMX certification is useless are those who boast that they don't have it? just a thought. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264303 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: cffile action=read does FILE.fileSize still work?
To elaborate, you can use cfdirectory with the filter attribute to only list the file you want, something like this: cfdirectory action=list directory=#path# filter=#filename# name=dirList Then you can check the size like #dirList.size# Chris -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 9:53 AM To: CF-Talk Subject: Re: cffile action=read does FILE.fileSize still work? I may be wrong, but I believe that you can only do that via cfdirectory The read pretty much does only that read the contents of the file. Doug - Original Message - From: [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, December 18, 2006 7:46 AM Subject: cffile action=read does FILE.fileSize still work? Good morning, I'm sure this is a simple one for most of you, but I forget. If I perform a cffile action=read etc ... on an image file, I should be able to get #FILE.fileSize# correct? I was able to do it using action=upload. Thanks D ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264304 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cffile action=read does FILE.fileSize still work?
Yeah, what he said :) - Original Message - From: Peterson, Chris [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, December 18, 2006 7:54 AM Subject: RE: cffile action=read does FILE.fileSize still work? To elaborate, you can use cfdirectory with the filter attribute to only list the file you want, something like this: cfdirectory action=list directory=#path# filter=#filename# name=dirList Then you can check the size like #dirList.size# Chris -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 9:53 AM To: CF-Talk Subject: Re: cffile action=read does FILE.fileSize still work? I may be wrong, but I believe that you can only do that via cfdirectory The read pretty much does only that read the contents of the file. Doug - Original Message - From: [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, December 18, 2006 7:46 AM Subject: cffile action=read does FILE.fileSize still work? Good morning, I'm sure this is a simple one for most of you, but I forget. If I perform a cffile action=read etc ... on an image file, I should be able to get #FILE.fileSize# correct? I was able to do it using action=upload. Thanks D ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264305 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cffile action=read does FILE.fileSize still work?
Cffile action read wont give you anything more than the content of the file. A len(myfile) /1024 may give you the kilobytes though :-) cffile action=read file=d:\path\to\my\file.ext variable=myfile / #len(myfile) / 1024# kb Or...you can cfdirectory the parent dir of the file and use a filter of the files name. then the var you want is 'size' cfdirectory directory=d:\path\to\directory filter=myfile.ext name=myfile / #myfile.size# ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 9:46 AM To: CF-Talk Subject: cffile action=read does FILE.fileSize still work? Good morning, I'm sure this is a simple one for most of you, but I forget. If I perform a cffile action=read etc ... on an image file, I should be able to get #FILE.fileSize# correct? I was able to do it using action=upload. Thanks D ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264306 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Still need help!! (Login cflocation)
On Monday 18 December 2006 13:57, Doug Brown wrote: the code below, but it simply does not work, as it is sending them back to the index.cfm of the current CHILD folder instead of the ROOT folder. CFLOCATION url=index.cfm?page=loginrequested=#thispage##querystring#string=#variabl ... url=/index.cfm ... ? -- Tom Chiverton Helping to authoritatively consolidate interdependent methodologies This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264307 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
OT: Java Code Translation
I am trying to convert some Java code into ColdFusion and apparently my Java is a bit rusty. Can anybody explain the difference between the following two statements? public static T IExpectationSettersT expect(T value) { public static IExpectationSettersObject expectLastCall() { Specifically, I am trying to figure out what T represents. Thanks. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264308 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: Java Code Translation
I'm a bit rusty too, but I know T represents a data type. There are certain times when you can have an object that takes multiple data types. A Vector is a good example. If you specify the data type T it just forces it to take that data type. I think this speeds up processing just slightly because the JVM doesn't have to figure it out. -Jake Jeff Chastain wrote: I am trying to convert some Java code into ColdFusion and apparently my Java is a bit rusty. Can anybody explain the difference between the following two statements? public static T IExpectationSettersT expect(T value) { public static IExpectationSettersObject expectLastCall() { Specifically, I am trying to figure out what T represents. Thanks. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264309 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Still need help!! (Login cflocation)
Bobby, You are da bomb!! Worked like a charm. I can officially keep what little hair I have left now. Thanks again Doug ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264310 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFDOCUMENT hell
We encountered similar issues along with cfdocument being very slow. We took sometime out and implemented XSL-FO which is really awesome and works seamlessly without any problem and has a lot more feature than cfdocument could offer. HTH Hey Quasim, Thanks...any tips or examples for someone that's never heard of XSL-FO? ;-) Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264311 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
UPDATE: Re: CFDOCUMENT hell
Well I upgraded to .02 with the lates hot fix and still no love. Ray said he thought it was fixed in one of the updaters.but I'm not seeing it. So CFDOCUMENTSECTION forces a page break between sections and it shouldn't. and if you use multuple header/footers, the last one overwrites all previous ones (i.e. a header added on line 100 overwrites a header on line 50 AND the only header shown in the whole doc is the one on line 100). Can anyone 100% confirm or deny?? TIA Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264312 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: website thumbnail
Thanks everyone. Some very handy info. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264313 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: OT: Java Code Translation
Jeff Chastain wrote: I am trying to convert some Java code into ColdFusion and apparently my Java is a bit rusty. Can anybody explain the difference between the following two statements? public static T IExpectationSettersT expect(T value) { public static IExpectationSettersObject expectLastCall() { Specifically, I am trying to figure out what T represents. I've never seen actual java code like that in my life. It looks more like tagged documentation of java code, and the t just represents the tag for the data type, which in this case is IExpectationSetters Rick ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264314 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: UPDATE: Re: CFDOCUMENT hell
In my experience, there can be only a single header and footer and the last one read by the server will be used. I usually use an include file to build the header and footer and just include it once towards the end. Bryan Stevenson wrote: Well I upgraded to .02 with the lates hot fix and still no love. Ray said he thought it was fixed in one of the updaters.but I'm not seeing it. So CFDOCUMENTSECTION forces a page break between sections and it shouldn't. and if you use multuple header/footers, the last one overwrites all previous ones (i.e. a header added on line 100 overwrites a header on line 50 AND the only header shown in the whole doc is the one on line 100). Can anyone 100% confirm or deny?? TIA Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264315 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Still need help!! (Login cflocation)
I agree, that .../index.cfm?... would probably work. That's what I always do. Cheers, Chris Tom Chiverton wrote: On Monday 18 December 2006 13:57, Doug Brown wrote: the code below, but it simply does not work, as it is sending them back to the index.cfm of the current CHILD folder instead of the ROOT folder. CFLOCATION url=index.cfm?page=loginrequested=#thispage##querystring#string=#variabl ... url=/index.cfm ... ? ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264316 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Certification
As for looking up the answer... As noted isn't the Adobe one multiple choice still? where the answer is right in front of you on every Q! As my old Physics teacher used to say, multiple choice is not a test.. a monkey with a stick could get a pass by stroking the page randomly... Your old physics teacher could stand to brush up on instructional design. Well-written multiple choice exams will not typically be passed by a monkey with a stick. Given that most universities do not require their instructors or professors to have any skills at teaching, I'm not surprised that he would have such an opinion. A well designed multiple choice test cannot be passed by random selection. Depending on the structure, even getting 25% using random responses would be surprising. regards, larry ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264317 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: UPDATE: Re: CFDOCUMENT hell
In my experience, there can be only a single header and footer and the last one read by the server will be used. I usually use an include file to build the header and footer and just include it once towards the end. Thanks Jake.so it certainly does appear that there is a few STUPID bugs with the CFDOCUMENT set of tags. Having used iText I wondered how they would have made them worknow I know...they simply didn't!!! g I just can't see how such glaring bugs made it out the door?? Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264318 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: OT: Java Code Translation
Those are called java generics, and they are new to JRE 1.5, so we can't use them with CF yet. Mark -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 11:45 AM To: CF-Talk Subject: Re: OT: Java Code Translation Jeff Chastain wrote: I am trying to convert some Java code into ColdFusion and apparently my Java is a bit rusty. Can anybody explain the difference between the following two statements? public static T IExpectationSettersT expect(T value) { public static IExpectationSettersObject expectLastCall() { Specifically, I am trying to figure out what T represents. I've never seen actual java code like that in my life. It looks more like tagged documentation of java code, and the t just represents the tag for the data type, which in this case is IExpectationSetters Rick ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264319 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Still need help!! (Login cflocation)
That is because you need to grab the information before you do the cflocation not after. So get the refer or the url, store it in a session or wherever then do the cflocation. Russ -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: 18 December 2006 14:37 To: CF-Talk Subject: Re: Still need help!! (Login cflocation) That is not working. What happens is the user clicks a link for a page in the root directory and if they are not logged in I cflocation them to the login page. If I use the cgi.http_referrer it sets the last requested page as the login page from the cflocation Doug - Original Message - From: Snake [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, December 18, 2006 7:17 AM Subject: RE: Still need help!! (Login cflocation) Save the referer, and send them back to that. Russ -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: 18 December 2006 13:57 To: CF-Talk Subject: Still need help!! (Login cflocation) This is totally driving me nuts!! For those of you who missed my troubles, I will go over it again. I have a page in the root of my site that requires a user to login. My login page is located in a child directory and I am needing to force the user back to the page they were originally looking for prior to login. I cannot seem to be able to cflocation them from the child folder back to the root folder where that page is at. I have tried the code below, but it simply does not work, as it is sending them back to the index.cfm of the current CHILD folder instead of the ROOT folder. I have also tried setting the return url prior to login, but that simply sets the login page as the last page in the CGI.SCRIPT_NAME. Has anybody handled this problem before and may have a simple solution? CFIF IsDefined(Session.RUserName) CFIF Session.RUserName is Guest CFPARAM name=attributes.thispage default=#GetFileFromPath(GetTemplatePath())# CFPARAM name=attributes.querystring default=? CFPARAM name=attributes.variablestring default=#CGI.QUERY_STRING# CFSET thispage = attributes.thispage CFSET querystring = attributes.querystring CFSET variablestring = attributes.variablestring CFLOCATION url=index.cfm?page=loginrequested=#thispage##querystring#string=#variable string# addtoken=no /CFIF /CFIF Doug ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264320 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Certification
Also in a real world environment you don't try and code from memory do you. You refer to your books and documentation and lists like this one to get a job done if you don't know how to do it. -Original Message- From: Mike Chabot [mailto:[EMAIL PROTECTED] Sent: 18 December 2006 14:56 To: CF-Talk Subject: Re: Certification You seem to be viewing Brainbench certs unfavorably because you can look up answers in the manual as you take the test. The Brainbench tests are intended to be open-book and the Adobe test is intended to be closed-book. So the questions you see on a Brainbench test are much harder than the questions on the Adobe test. Many of the questions cannot be answered without looking up the answer. That is what you are being tested on. Can you look up the correct answer or solve the problem within two minutes. It is not testing how well you can memorize a study guide. I would place a higher value on a vendor cert, but I would look favorably on a Brainbench cert as well. The fact that someone took the time to get certified is an indication that they are serious about their career and are interested in professional growth. -Mike Chabot On 12/17/06, Nicholas M Tunney [EMAIL PROTECTED] wrote: In the staffing portion of my company, we do not pay any attention to Brainbench certs. You can look every answer up as you take the test. Many of our clients require the developers we send out to be CF certified by Adobe. Just my 2c. Robertson-Ravo, Neil (RX) wrote: Not really, as the fact they are worthless (not useless) is no doubt the reason they do not take them. In the professional world whether you are ColdFusion certified or not means nada - certainly from what I have seen in the UK. I mean, isn't it mostly multiple choice still?! The Brainbench is good as well a Snake noted. Perhaps better. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Larry Lyons To: CF-Talk Sent: Sat Dec 16 19:40:54 2006 Subject: Re: Certification Agreed, the certs are pretty much worthless in the real world. This topic come up on a regular basis, almost once every 2 or 3 months. Ever notice that generally those who say the CFMX certification is useless are those who boast that they don't have it? just a thought. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264321 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Certification
Well I have to say that I know someone who passed the Macromedia certification using random selection. He had never done a single line of CFML in his life. Russ -Original Message- From: Larry Lyons [mailto:[EMAIL PROTECTED] Sent: 18 December 2006 15:38 To: CF-Talk Subject: Re: Certification As for looking up the answer... As noted isn't the Adobe one multiple choice still? where the answer is right in front of you on every Q! As my old Physics teacher used to say, multiple choice is not a test.. a monkey with a stick could get a pass by stroking the page randomly... Your old physics teacher could stand to brush up on instructional design. Well-written multiple choice exams will not typically be passed by a monkey with a stick. Given that most universities do not require their instructors or professors to have any skills at teaching, I'm not surprised that he would have such an opinion. A well designed multiple choice test cannot be passed by random selection. Depending on the structure, even getting 25% using random responses would be surprising. regards, larry ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264322 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Is Billy Cravens still on this list?
If so can you please email me off-line at [EMAIL PROTECTED] Thaks, Bruce ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264323 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
xmlsearch and xpath
Question: Can an xpath contain conditional logic which looks at a node's xmltext, NOT just an attribute value? For instance: root itemhello world/item itemspam/item /root What xpath would find all item nodes with an xmltext of spam? Thanks ~Brad ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264324 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Certification
This is why I don't buy into certifications. Anyone can study for a test, and get the answers right. Thankfully my boss sees it the same way. My company has each applicant take a logic test (11 questions), and if you don't pass with a 9 or better you don't get hired. Period. It doesn't matter how much schooling you've had or which alphabet soup certifications you've got. My company is interested in smart people that get results. Not folks who can take a test. I SUMMON THE *VAST* POWERS OF CERTIFICATION! Oh. Well this is embarassing... that's all I remember from those classes... Cheers, Chris Snake wrote: Well I have to say that I know someone who passed the Macromedia certification using random selection. He had never done a single line of CFML in his life. Russ -Original Message- From: Larry Lyons [mailto:[EMAIL PROTECTED] Sent: 18 December 2006 15:38 To: CF-Talk Subject: Re: Certification As for looking up the answer... As noted isn't the Adobe one multiple choice still? where the answer is right in front of you on every Q! As my old Physics teacher used to say, multiple choice is not a test.. a monkey with a stick could get a pass by stroking the page randomly... Your old physics teacher could stand to brush up on instructional design. Well-written multiple choice exams will not typically be passed by a monkey with a stick. Given that most universities do not require their instructors or professors to have any skills at teaching, I'm not surprised that he would have such an opinion. A well designed multiple choice test cannot be passed by random selection. Depending on the structure, even getting 25% using random responses would be surprising. regards, larry ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264325 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: OT: Java Code Translation
http://java.sun.com/j2se/1.5.0/docs/guide/language/generics.html Jeff Chastain wrote: I am trying to convert some Java code into ColdFusion and apparently my Java is a bit rusty. Can anybody explain the difference between the following two statements? public static T IExpectationSettersT expect(T value) { public static IExpectationSettersObject expectLastCall() { Specifically, I am trying to figure out what T represents. I've never seen actual java code like that in my life. It looks more like tagged documentation of java code, and the t just represents the tag for the data type, which in this case is IExpectationSetters Rick ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264326 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cffile action=read does FILE.fileSize still work?
This will retrieve the size of any file: http://www.olimpo.ch/tmt/cfc/tmt_file_io/ http://www.olimpo.ch/tmt/cfc/tmt_file_io/api.htm#method_getFileSize Massimo Foti, web-programmer for hire Tools for ColdFusion and Dreamweaver developers: http://www.massimocorner.com ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264327 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Certification
I don't know. I took a brainbench CF test back in the day and I remember a lot of questions that you can just paste into an cfm page, run it and get the answer... Russ -Original Message- From: Mike Chabot [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 9:56 AM To: CF-Talk Subject: Re: Certification You seem to be viewing Brainbench certs unfavorably because you can look up answers in the manual as you take the test. The Brainbench tests are intended to be open-book and the Adobe test is intended to be closed-book. So the questions you see on a Brainbench test are much harder than the questions on the Adobe test. Many of the questions cannot be answered without looking up the answer. That is what you are being tested on. Can you look up the correct answer or solve the problem within two minutes. It is not testing how well you can memorize a study guide. I would place a higher value on a vendor cert, but I would look favorably on a Brainbench cert as well. The fact that someone took the time to get certified is an indication that they are serious about their career and are interested in professional growth. -Mike Chabot On 12/17/06, Nicholas M Tunney [EMAIL PROTECTED] wrote: In the staffing portion of my company, we do not pay any attention to Brainbench certs. You can look every answer up as you take the test. Many of our clients require the developers we send out to be CF certified by Adobe. Just my 2c. Robertson-Ravo, Neil (RX) wrote: Not really, as the fact they are worthless (not useless) is no doubt the reason they do not take them. In the professional world whether you are ColdFusion certified or not means nada - certainly from what I have seen in the UK. I mean, isn't it mostly multiple choice still?! The Brainbench is good as well a Snake noted. Perhaps better. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Larry Lyons To: CF-Talk Sent: Sat Dec 16 19:40:54 2006 Subject: Re: Certification Agreed, the certs are pretty much worthless in the real world. This topic come up on a regular basis, almost once every 2 or 3 months. Ever notice that generally those who say the CFMX certification is useless are those who boast that they don't have it? just a thought. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264328 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Certification
Well I have to say that I know someone who passed the Macromedia certification using random selection. He had never done a single line of CFML in his life. I know someone who won the lottery. That doesn't mean I think it's a fair bet that I will also win the lottery. That said, I don't think the CF certification is especially hard, and it does include quite a bit of non-CF stuff (HTML, basic CSS, JS, SQL). There are plenty of multiple-choice IT certs that are quite difficult, even if you're familiar with the subject matter. 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! ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264329 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Certification
You seem to be viewing Brainbench certs unfavorably because you can look up answers in the manual as you take the test. The Brainbench tests are intended to be open-book and the Adobe test is intended to be closed-book. So the questions you see on a Brainbench test are much harder than the questions on the Adobe test. Many of the questions cannot be answered without looking up the answer. That is what you are being tested on. Can you look up the correct answer or solve the problem within two minutes. It is not testing how well you can memorize a study guide. Brainbench certifications are unproctored, so you can't even tell if the applicant actually took it, can you? 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! ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264330 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Certification
Well statistically speaking, you should be able to get 25% (if the answers have 4 choices) just by guessing. If you can eliminate some of the wrong answers from the questions using educated guessing. Unless the test is very well designed in such a way that it is not immediately apparent which questions are wrong, a person should easily be able to get a higher then 25% score. Russ -Original Message- From: Larry Lyons [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 10:38 AM To: CF-Talk Subject: Re: Certification As for looking up the answer... As noted isn't the Adobe one multiple choice still? where the answer is right in front of you on every Q! As my old Physics teacher used to say, multiple choice is not a test.. a monkey with a stick could get a pass by stroking the page randomly... Your old physics teacher could stand to brush up on instructional design. Well-written multiple choice exams will not typically be passed by a monkey with a stick. Given that most universities do not require their instructors or professors to have any skills at teaching, I'm not surprised that he would have such an opinion. A well designed multiple choice test cannot be passed by random selection. Depending on the structure, even getting 25% using random responses would be surprising. regards, larry ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264331 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Certification
Some companies actually have the applicant take the brainbench exam as part of the interviewing process. In that case it is proctored, and if controlled properly, might give a decent indication of the candidate's skill set. Russ -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 1:59 PM To: CF-Talk Subject: RE: Certification You seem to be viewing Brainbench certs unfavorably because you can look up answers in the manual as you take the test. The Brainbench tests are intended to be open-book and the Adobe test is intended to be closed-book. So the questions you see on a Brainbench test are much harder than the questions on the Adobe test. Many of the questions cannot be answered without looking up the answer. That is what you are being tested on. Can you look up the correct answer or solve the problem within two minutes. It is not testing how well you can memorize a study guide. Brainbench certifications are unproctored, so you can't even tell if the applicant actually took it, can you? 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! ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264332 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Certification
I don't know. I took a brainbench CF test back in the day and I remember a lot of questions that you can just paste into an cfm page, run it and get the answer... Russ IIRC the Brainbench test I took for CFMX that a recruiter requested I take a few months ago, one could no longer copy and paste the code. It was an image or something so that you would have to type it to do that trick. But I'm not sure. I do know, back in the day, I took the HTML test and got a something like a 4.19, something that was just a few hundredths below a master. I said to myself, Hey that can't be more then one question. So I took at again. And I got the same score. Took it again a couple of hours later and got the same score. I had to spend an evening studying and then I got a better score. I was impressed with the consistency of the testing. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264333 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: xmlsearch and xpath
Can an xpath contain conditional logic which looks at a node's xmltext, NOT just an attribute value? For instance: root itemhello world/item itemspam/item /root What xpath would find all item nodes with an xmltext of spam? I think this should work: //item[. = 'spam'] 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! ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264334 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Certification
Brainbench certifications are unproctored, so you can't even tell if the applicant actually took it, can you? Other then there is nothing preventing someone from proctoring the test if they so desire. Just don't let the applicant take the test on their own. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264335 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Certification
We've used Brainbench with some success. We have applicants take the tests on premise, so we proctor them ourselves. Rich Kroll Brainbench certifications are unproctored, so you can't even tell if the applicant actually took it, can you? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264336 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Certification
Some companies actually have the applicant take the brainbench exam as part of the interviewing process. In that case it is proctored, and if controlled properly, might give a decent indication of the candidate's skill set. That's exactly how we perform and use the tests. Rich Kroll ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264337 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Certification
Hey all you highly certified (and thus extremely bright right)have a look at my thread on CFDOCUMENT hell and put some of that awesome power to work ;-) I'm about to start forcing page breaks after counting lines which is why I wanted to use CFDOCUMENT in the first friggin place (to handle pagination and section specific headers with ease). It forces a flippin page break after each section and if you have more than one header, the last one overwrites all others (regardless of being in a section or not)!! So put on those thinking caps on and refer to your exam study materials and be helpful and let this poor certification thread die alreadyhave mercy on the poor thing ;-) Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264338 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: xmlsearch and xpath
Thanks Dave. After some continued Googling I also fund some references to a self() function as in [self::text()=123] Not sure what the difference is though. ~Brad -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 1:05 PM To: CF-Talk Subject: RE: xmlsearch and xpath Can an xpath contain conditional logic which looks at a node's xmltext, NOT just an attribute value? For instance: root itemhello world/item itemspam/item /root What xpath would find all item nodes with an xmltext of spam? I think this should work: //item[. = 'spam'] ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264339 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Certification
Yes you can, you can view their results online. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: 18 December 2006 18:59 To: CF-Talk Subject: RE: Certification You seem to be viewing Brainbench certs unfavorably because you can look up answers in the manual as you take the test. The Brainbench tests are intended to be open-book and the Adobe test is intended to be closed-book. So the questions you see on a Brainbench test are much harder than the questions on the Adobe test. Many of the questions cannot be answered without looking up the answer. That is what you are being tested on. Can you look up the correct answer or solve the problem within two minutes. It is not testing how well you can memorize a study guide. Brainbench certifications are unproctored, so you can't even tell if the applicant actually took it, can you? 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! ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264340 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: xmlsearch and xpath
My bad, I meant to type text() function. :) ~Brad -Original Message- From: Brad Wood Sent: Monday, December 18, 2006 1:18 PM To: CF-Talk Subject: RE: xmlsearch and xpath Thanks Dave. After some continued Googling I also fund some references to a self() function as in [self::text()=123] Not sure what the difference is though. ~Brad ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264342 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Certification
Yes you can, you can view their results online. I believe Dave's point was that if you don't proctor the exam, you can tell if the person who took the test is the one applying for the position. Maybe he got his really good friend Ben Forta or somebody to take the examine for him. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264343 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
SOLVED RE: xmlsearch and xpath
Ahhh, thank you! ~Brad There is no difference . = self(). [.] is just a shortcut for self(). There are several of these shortcuts. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264344 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Certification
I think what he means is that there is no confirmation that the person whose certificate it is, is actually the person that took the test. -Original Message- From: Snake [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 2:27 PM To: CF-Talk Subject: RE: Certification Yes you can, you can view their results online. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: 18 December 2006 18:59 To: CF-Talk Subject: RE: Certification You seem to be viewing Brainbench certs unfavorably because you can look up answers in the manual as you take the test. The Brainbench tests are intended to be open-book and the Adobe test is intended to be closed-book. So the questions you see on a Brainbench test are much harder than the questions on the Adobe test. Many of the questions cannot be answered without looking up the answer. That is what you are being tested on. Can you look up the correct answer or solve the problem within two minutes. It is not testing how well you can memorize a study guide. Brainbench certifications are unproctored, so you can't even tell if the applicant actually took it, can you? 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! ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264345 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
TinyMCE Editor
I have installed the TinyMCE editor on my development site, running windows and ColdFusion 6. I have downloaded the spellchecker plug-in but can't get it to show up on the editor or work for that matter. Has anyone downloaded the file manager and gotten that to work? I need some help ASAP on this. I would like to use the TinyMCE editor but due to my time constraints and the difficulty getting it set up to work I may have to change my mind. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264346 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Certification
The public transcript shows the persons name, all the tests they have done, their scores, when they took the test etc. Russ -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: 18 December 2006 19:31 To: CF-Talk Subject: RE: Certification Yes you can, you can view their results online. I believe Dave's point was that if you don't proctor the exam, you can tell if the person who took the test is the one applying for the position. Maybe he got his really good friend Ben Forta or somebody to take the examine for him. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264347 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Best way to read in Excel/CSV files
I have a client who wants me to build a quick admin tool for him. It would allow him to upload 2 files from different dates and list the differences. It's bascially two Excel files with 4 columns each and about 9000 lines apiece. So my question is, would it be better to connect to the Excel file as a datasource or have him convert to a CSV text file and upload that way? He'll be using this tool each day to compare the current day's file to the previous day's file. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264348 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
(Feature Request) Thread view RSS of CFTALK
I have officially been using RSS as my primary source for list subscription. It works. not sure I need the thread based RSS feed - but would still like. Since I am using RSS to receive the list information, I would like to be able to subscribe, but not receive email delivery. Hmmm - is the archive a thread view? I never checked. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264349 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Certification
The public transcript shows the persons name, all the tests they have done, their scores, when they took the test etc. Russ But there is NOT a webcam recording of the individual who was actually sitting at the keyboard taking the exam under that person's login. That is the point of proctoring. To make sure the person taking the test is who they say they are, and are following in rules in place. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264350 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFScript inside a CFC
Chris, I have not done any benchmarks on cfscript vs. tags, but if there were significant performance differences, I would expect to have heard of these differences by now. Phillip's argument is that there is a difference in compiled code, but I did not see any reason to conclude that there is an observable difference in performance. The popuplar O-O frameworks in CF, like Mach-II and Model-Glue, use tags in the framework code that I have looked at, and those frameworks have had significant time put into them in peformance tuning. Jon On 12/17/06, Christopher Jordan [EMAIL PROTECTED] wrote: Jon, Here's a snippet of a discussion my local CFUG just had on this subject (in reverse order so you can read it top down): On 11/28/06, Eric Knipp [EMAIL PROTECTED] wrote: It was my understanding that cfscript if (a eq b) { a = c; } /cfscript is the same performance-wise as cfif (a eq b) cfset a = c / /cfif as the CF compiler turns them into the same thing .. I am pretty sure there have been other discussions on this topic. As of CFMX I thought there was no performance difference? On 11/28/06, Phillip Holmes [EMAIL PROTECTED] wrote: Nope. Your example may be immeasurable, but with more advanced functionality, that is not the case. Obviously, ColdFusion is middle ware for your middle ware. It is a collection of servlets that consolidate Java functionality into one tidy command. Calling a tag when you can script it out with one cfscript block, simply creates another import and more code in the final JIT. If you write the code in cfscript, it is closer to the end result (Java) than if CF has to import more servlet libraries to get to the final result. Get yourself a java decompiler, write the code both ways in two different files, decompile the JIT, and you'll see what I mean. Most of all, turn your debug times on and look at the difference. --Phillip Holmes I think it's actually a pretty common practice. Cheers, Chris Jon Gunnip wrote: Chris, I would be wary of using cfscript just for supposed performance gains over tags. My understanding is that those gains were eliminated (or reduced to the point of insignificance) in CF 6.x and 7.x. Here are what I see as the pros and cons of cfscript. These points are largely a matter of preference: Pros of cfscript -- more readable -- less typing -- more like other languages (Java, JavaScript) - sometimes can copy Java snippets and they function with little modification in cfscript Cons -- many pieces of cf functionality do not exist in cfscript (e.g. throw, dump, abort) or are awkward (looping over queries) - we have a CFScript.cfm include with functions like Throw(), Dump(), Abort() to get around this, but for cfquery we always use tags -- might be inconsistent with other code written in tags; I like to see consistency throughout an application Jon I was told by some members of my local CFUG that writing code within CFScript tags whenever possible is faster (performance wise), so I'm giving it a go. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264351 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: (Feature Request) Thread view RSS of CFTALK
In the list subscription settings is a setting for archive access only. This allows you to post to the list without receiving email and was designed for those who read the archives or RSS feeds. http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Each message in the archive is full threaded along with it's associated messages. There are options for a 'flat' latest first or latest last on a per thread basis. The RSS feeds on the other hand are always a flat latest 50 posts. Michael Dinowitz President: House of Fusion(http://www.houseoffusion.com) Publisher: Fusion Authority(http://www.fusionauthority.com) Adobe Community Expert / Advanced ColdFusion Developer - Original Message - From: Eric Dawson [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, December 18, 2006 1:58 PM Subject: (Feature Request) Thread view RSS of CFTALK I have officially been using RSS as my primary source for list subscription. It works. not sure I need the thread based RSS feed - but would still like. Since I am using RSS to receive the list information, I would like to be able to subscribe, but not receive email delivery. Hmmm - is the archive a thread view? I never checked. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264352 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Print vs web media - content and design differences in two paragraphs?
I've been tasked with explaining in two paragraphs the differences between web and print media in terms of design, content and technical issues. Key differences I see include: * You can't guarantee that the output will look the same for everyone so you need to keep to standards and limit the craziness. * All content should be available on web pages rather than in PDFs. * Sites should have a consistent look and feel, so the layout shouldn't be changed on every other page. Any other ideas? Thanks. -- Damien McKenna - Web Developer [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264353 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Print vs web media - content and design differences in two paragraphs?
* Sites should have a consistent look and feel, so the layout shouldn't be changed on every other page. Isn't this a good idea for print as well? -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264354 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Nerd Movie Reviews
Anyone seen Eragon? Was it any good? I was a little disappointed in the critical reviews *AND* the user reviews on Yahoo, so I didn't go see it but still might. Though Rocky Balboa will be first on the list of movies to go see now... Rick ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264355 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
cfloop: strange error
I'm using a image component and trying to loop through the uploaded file until the size requirement is met. However, I'm not sure about this error message. Is there anything wrong with my cfloop? All the path variables are good and in a global_variables.cfm file in the Web root. cfloop condition = FILE.fileSize GREATER THAN OR EQUAL TO 45 cfobject component=babystuff.component.image name=myImage / cfset myImage.setKey(X-X-X-X-X) / cfset myImage.readImage(#babysoftheweek_org_image_path##FORM.first_name#_#FORM.last_name#_#FORM.babys_name#.jpg) / cfset myImage.writeImage(#babysoftheweek_resize_path##FORM.first_name#_#FORM.last_name#_#FORM.babys_name#_resized.jpg, jpg, 100) / cfset myImage.readImage(#babysoftheweek_resize_path##FORM.first_name#_#FORM.last_name#_#FORM.babys_name#_resized.jpg) / cfset myImage.scalePercent(25, 25) / cfset myImage.writeImage(#babysoftheweek_resize_path##FORM.first_name#_#FORM.last_name#_#FORM.babys_name#_resized.jpg, jpg, 100) / cfdirectory action=list directory=#babysoftheweek_resize_path# filter=#FORM.first_name#_#FORM.last_name#_#FORM.babys_name#_resized.jpg name=dirlist line 355 CFSET file.FileSize = #dirlist# /cfloop ERROR: Complex object types cannot be converted to simple values. The expression has requested a variable or an intermediate expression result as a simple value, however, the result cannot be converted to a simple value. Simple values are strings, numbers, boolean values, and date/time values. Queries, arrays, and COM objects are examples of complex values. The most likely cause of the error is that you are trying to use a complex value as a simple one. For example, you might be trying to use a query variable in a CFIF tag. This was possible in ColdFusion 2.0 but creates an error in later versions. The error occurred in : line 1 Called from D:\Inetpub\wwwroot\Yobaby\BabyStuff\babies_of_the_week.cfm: line 355 Called from D:\Inetpub\wwwroot\Yobaby\BabyStuff\babies_of_the_week.cfm: line 310 Called from D:\Inetpub\wwwroot\Yobaby\BabyStuff\babies_of_the_week.cfm: line 1 ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264356 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Problem with array and dynamic form variables
Hello list, I have a form that has some dynamic form fields. I know how to loop through the fields, get the field names and the information in them, but what I need to do is marry up the fields with the data entered in them to insert them into a couple of tables. I know I need to build an array to hold these name-value pairs, but I am having a brain fart making this work. I am using arrayappend to do this but I think that is not the right approach. I googled this topic and cannot find exactly what I am looking for. If someone has done this before I would appreciate if you could assist. Thanks, Bruce ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264357 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Nerd Movie Reviews
I am guessing this was designed for CF-Community :-) This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Rick Root To: CF-Talk Sent: Mon Dec 18 20:33:31 2006 Subject: Nerd Movie Reviews Anyone seen Eragon? Was it any good? I was a little disappointed in the critical reviews *AND* the user reviews on Yahoo, so I didn't go see it but still might. Though Rocky Balboa will be first on the list of movies to go see now... Rick ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264358 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Best way to read in Excel/CSV files
I'd connect to it as a data source, I think. It's just less for the client to do. Of course, the file will have to be named the same thing each time, else you'd have to create a new DSN each time for each differently named file. Check out their type 4 JDBC Excel driver http://hxtt.com/excel.html available on www.HXTT.com http://hxtt.com. I'm currently using their Type 4 DBF driver for visual FoxPro, and it works like a champ. The developers, are very ready to help any of their users via email. I've never used their text drivers, but I imagine they're not too hard to get the hang of. Hope this helps. Cheers, Chris Andy Matthews wrote: I have a client who wants me to build a quick admin tool for him. It would allow him to upload 2 files from different dates and list the differences. It's bascially two Excel files with 4 columns each and about 9000 lines apiece. So my question is, would it be better to connect to the Excel file as a datasource or have him convert to a CSV text file and upload that way? He'll be using this tool each day to compare the current day's file to the previous day's file. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264360 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Nerd Movie Reviews
move this to cf-community Michael! ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264359 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfloop: strange error
I dunno, but it looks like one of those variables you're referring to is maybe a struct. And you're refering to it like it isn't. Will ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264361 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Certification
Yes, but what's stopping me from having my friend take the test for me? Russ -Original Message- From: Snake [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 2:54 PM To: CF-Talk Subject: RE: Certification The public transcript shows the persons name, all the tests they have done, their scores, when they took the test etc. Russ -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: 18 December 2006 19:31 To: CF-Talk Subject: RE: Certification Yes you can, you can view their results online. I believe Dave's point was that if you don't proctor the exam, you can tell if the person who took the test is the one applying for the position. Maybe he got his really good friend Ben Forta or somebody to take the examine for him. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264362 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfloop: strange error
Try dumping file.filesize to make sure it looks right? ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264363 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Best way to read in Excel/CSV files
Actually, you can specify the excel file you want right in the query, like this: SELECT [INVOICE AMOUNT] as InvAmount, [INVOICE NUMBER] as InvNumber, [ORDER NUMBER] as OrderNum, [PAID AMOUNT] as PaidAmount, [BALANCE DUE] as BalDue, [COMMENTS] as Comment FROM `data$` IN 'd:\webroot\reports.net\baldue\temp\#cffile.serverFile#' 'EXCEL 5.0;' WHERE [ORDER NUMBER] 0 'data$' is the workbook name inside your spreadsheet, and the rest should be obvious =) So, just setup your DSN as a generic Excel ODBC datasource (I named mine Excel, aint I creative?) and query away! Chris Peterson -Original Message- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 3:40 PM To: CF-Talk Subject: Re: Best way to read in Excel/CSV files I'd connect to it as a data source, I think. It's just less for the client to do. Of course, the file will have to be named the same thing each time, else you'd have to create a new DSN each time for each differently named file. Check out their type 4 JDBC Excel driver http://hxtt.com/excel.html available on www.HXTT.com http://hxtt.com. I'm currently using their Type 4 DBF driver for visual FoxPro, and it works like a champ. The developers, are very ready to help any of their users via email. I've never used their text drivers, but I imagine they're not too hard to get the hang of. Hope this helps. Cheers, Chris Andy Matthews wrote: I have a client who wants me to build a quick admin tool for him. It would allow him to upload 2 files from different dates and list the differences. It's bascially two Excel files with 4 columns each and about 9000 lines apiece. So my question is, would it be better to connect to the Excel file as a datasource or have him convert to a CSV text file and upload that way? He'll be using this tool each day to compare the current day's file to the previous day's file. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264364 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Disregard last email
OK, I figure it out so please disregard the last message. I did it like this: !--- Create the initial array --- cfset languageArray= ArrayNew(1) !--- Loop through the form fields and get the names of them--- cfloop index=i list=#form.fieldnames# !--- If the field is not empty, get the info --- cfif LEN(form[i]) cfset languageArray[1][1] = #i# cfset languageArray[1][2] = #evaluate(form.#i#)# !--- Query will go here soon --- /cfif /cfloop ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264365 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfloop: strange error
#dirlist# is a query object (it's the name you gave your cfdirectory. you need to make a specfic reference to the 'size' column returned by the cfdirectory call. You also need to reference a particular row. you can do cfset file.filesize = dirlist.size /, which will always give you the size of the first file returned in the cfdirectory call. cfset file.filesize = dirlist.size[n] / will give you a specific row from the cfdirectory, where 'n' is the row number. On 12/18/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm using a image component and trying to loop through the uploaded file until the size requirement is met. However, I'm not sure about this error message. Is there anything wrong with my cfloop? All the path variables are good and in a global_variables.cfm file in the Web root. cfloop condition = FILE.fileSize GREATER THAN OR EQUAL TO 45 cfobject component=babystuff.component.image name=myImage / cfset myImage.setKey(X-X-X-X-X) / cfset myImage.readImage(#babysoftheweek_org_image_path##FORM.first_name#_#FORM.last_name#_#FORM.babys_name#.jpg) / cfset myImage.writeImage(#babysoftheweek_resize_path##FORM.first_name#_#FORM.last_name#_#FORM.babys_name#_resized.jpg, jpg, 100) / cfset myImage.readImage(#babysoftheweek_resize_path##FORM.first_name#_#FORM.last_name#_#FORM.babys_name#_resized.jpg) / cfset myImage.scalePercent(25, 25) / cfset myImage.writeImage(#babysoftheweek_resize_path##FORM.first_name#_#FORM.last_name#_#FORM.babys_name#_resized.jpg, jpg, 100) / cfdirectory action=list directory=#babysoftheweek_resize_path# filter=#FORM.first_name#_#FORM.last_name#_#FORM.babys_name#_resized.jpg name=dirlist line 355 CFSET file.FileSize = #dirlist# /cfloop ERROR: Complex object types cannot be converted to simple values. The expression has requested a variable or an intermediate expression result as a simple value, however, the result cannot be converted to a simple value. Simple values are strings, numbers, boolean values, and date/time values. Queries, arrays, and COM objects are examples of complex values. The most likely cause of the error is that you are trying to use a complex value as a simple one. For example, you might be trying to use a query variable in a CFIF tag. This was possible in ColdFusion 2.0 but creates an error in later versions. The error occurred in : line 1 Called from D:\Inetpub\wwwroot\Yobaby\BabyStuff\babies_of_the_week.cfm: line 355 Called from D:\Inetpub\wwwroot\Yobaby\BabyStuff\babies_of_the_week.cfm: line 310 Called from D:\Inetpub\wwwroot\Yobaby\BabyStuff\babies_of_the_week.cfm: line 1 ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264366 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Disregard last email
so, just out of curiousity...why do you need this array? you also don't need the evaluate(). you can simply do form[i] (which is -exactly- what you're doing in your conditional where you're testing len(form[i]).). On 12/18/06, Bruce Sorge [EMAIL PROTECTED] wrote: OK, I figure it out so please disregard the last message. I did it like this: !--- Create the initial array --- cfset languageArray= ArrayNew(1) !--- Loop through the form fields and get the names of them--- cfloop index=i list=#form.fieldnames# !--- If the field is not empty, get the info --- cfif LEN(form[i]) cfset languageArray[1][1] = #i# cfset languageArray[1][2] = #evaluate(form.#i#)# !--- Query will go here soon --- /cfif /cfloop ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264367 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Nerd Movie Reviews
Holy off-topic Batman. Rey... Rick Root wrote: Anyone seen Eragon? Was it any good? I was a little disappointed in the critical reviews *AND* the user reviews on Yahoo, so I didn't go see it but still might. Though Rocky Balboa will be first on the list of movies to go see now... Rick ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264368 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Print vs web media - content and design differences in two paragraphs?
Web users may not have many fonts; they might disable some/all graphics. Print media cannot be dynamic or interactive. -Original Message- From: Damien McKenna [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 3:27 PM To: CF-Talk Subject: Print vs web media - content and design differences in two paragraphs? I've been tasked with explaining in two paragraphs the differences between web and print media in terms of design, content and technical issues. Key differences I see include: * You can't guarantee that the output will look the same for everyone so you need to keep to standards and limit the craziness. * All content should be available on web pages rather than in PDFs. * Sites should have a consistent look and feel, so the layout shouldn't be changed on every other page. Any other ideas? Thanks. -- Damien McKenna - Web Developer [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264369 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Print vs web media - content and design differences in two paragraphs?
On 12/18/06 3:29 PM, Ian Skinner wrote: * Sites should have a consistent look and feel, so the layout shouldn't be changed on every other page. Isn't this a good idea for print as well? Yes, but most of the content contributed by this one specific person is on one-off pieces, e.g. flyers etc, and that person is using their knowledge of designing flyers and trying to use it for web stuff. -- Damien McKenna - Web Developer [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264370 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Certification
Yes you can, you can view their results online. http://www.unc.edu/depts/jomc/academics/dri/idog.html I strongly advise you to avoid online dating. 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! ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264371 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFScript inside a CFC
Jon, I just posted that so you'd know where I got my information. Phillip *has* actually decompiled the JIT code and seen that for complex examples that CFScript is faster, because it's closer in resemblance to the byte code that ColdFusion ultimately parses. Phillip just stated better than I could have. I don't know why folks don't talk about this more. Maybe because it's a no-brain-er and I'm the only dolt who didn't realize that cfscript tags could be used inside of cffunction tags, and that it's faster to boot (in complex cases, of course). Well, I've got my little function running now, and it works like a champ. Would it have worked if I re-wrote the thing using tags, sure. But I'd already written it and donated the code to CFLib.org, so why not just use what's already been written? :o) Cheers, Chris Jon Gunnip wrote: Chris, I have not done any benchmarks on cfscript vs. tags, but if there were significant performance differences, I would expect to have heard of these differences by now. Phillip's argument is that there is a difference in compiled code, but I did not see any reason to conclude that there is an observable difference in performance. The popuplar O-O frameworks in CF, like Mach-II and Model-Glue, use tags in the framework code that I have looked at, and those frameworks have had significant time put into them in peformance tuning. Jon On 12/17/06, Christopher Jordan [EMAIL PROTECTED] wrote: Jon, Here's a snippet of a discussion my local CFUG just had on this subject (in reverse order so you can read it top down): On 11/28/06, Eric Knipp [EMAIL PROTECTED] wrote: It was my understanding that cfscript if (a eq b) { a = c; } /cfscript is the same performance-wise as cfif (a eq b) cfset a = c / /cfif as the CF compiler turns them into the same thing .. I am pretty sure there have been other discussions on this topic. As of CFMX I thought there was no performance difference? On 11/28/06, Phillip Holmes [EMAIL PROTECTED] wrote: Nope. Your example may be immeasurable, but with more advanced functionality, that is not the case. Obviously, ColdFusion is middle ware for your middle ware. It is a collection of servlets that consolidate Java functionality into one tidy command. Calling a tag when you can script it out with one cfscript block, simply creates another import and more code in the final JIT. If you write the code in cfscript, it is closer to the end result (Java) than if CF has to import more servlet libraries to get to the final result. Get yourself a java decompiler, write the code both ways in two different files, decompile the JIT, and you'll see what I mean. Most of all, turn your debug times on and look at the difference. --Phillip Holmes I think it's actually a pretty common practice. Cheers, Chris Jon Gunnip wrote: Chris, I would be wary of using cfscript just for supposed performance gains over tags. My understanding is that those gains were eliminated (or reduced to the point of insignificance) in CF 6.x and 7.x. Here are what I see as the pros and cons of cfscript. These points are largely a matter of preference: Pros of cfscript -- more readable -- less typing -- more like other languages (Java, JavaScript) - sometimes can copy Java snippets and they function with little modification in cfscript Cons -- many pieces of cf functionality do not exist in cfscript (e.g. throw, dump, abort) or are awkward (looping over queries) - we have a CFScript.cfm include with functions like Throw(), Dump(), Abort() to get around this, but for cfquery we always use tags -- might be inconsistent with other code written in tags; I like to see consistency throughout an application Jon I was told by some members of my local CFUG that writing code within CFScript tags whenever possible is faster (performance wise), so I'm giving it a go. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264372 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Best way to read in Excel/CSV files
That's cool, Chris! I didn't realize you could do that. Shows how many times *I've* had to query at excel table. :o) Cheers, Chris Peterson, Chris wrote: Actually, you can specify the excel file you want right in the query, like this: SELECT [INVOICE AMOUNT] as InvAmount, [INVOICE NUMBER] as InvNumber, [ORDER NUMBER] as OrderNum, [PAID AMOUNT] as PaidAmount, [BALANCE DUE] as BalDue, [COMMENTS] as Comment FROM `data$` IN 'd:\webroot\reports.net\baldue\temp\#cffile.serverFile#' 'EXCEL 5.0;' WHERE [ORDER NUMBER] 0 'data$' is the workbook name inside your spreadsheet, and the rest should be obvious =) So, just setup your DSN as a generic Excel ODBC datasource (I named mine Excel, aint I creative?) and query away! Chris Peterson -Original Message- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 3:40 PM To: CF-Talk Subject: Re: Best way to read in Excel/CSV files I'd connect to it as a data source, I think. It's just less for the client to do. Of course, the file will have to be named the same thing each time, else you'd have to create a new DSN each time for each differently named file. Check out their type 4 JDBC Excel driver http://hxtt.com/excel.html available on www.HXTT.com http://hxtt.com. I'm currently using their Type 4 DBF driver for visual FoxPro, and it works like a champ. The developers, are very ready to help any of their users via email. I've never used their text drivers, but I imagine they're not too hard to get the hang of. Hope this helps. Cheers, Chris Andy Matthews wrote: I have a client who wants me to build a quick admin tool for him. It would allow him to upload 2 files from different dates and list the differences. It's bascially two Excel files with 4 columns each and about 9000 lines apiece. So my question is, would it be better to connect to the Excel file as a datasource or have him convert to a CSV text file and upload that way? He'll be using this tool each day to compare the current day's file to the previous day's file. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264373 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Disregard last email
Not sure really. What I have are a total of five dynamically named form fields. They are: Name_X, Phone_x, Email_X for the first group, then LanguageName_x, LanguageSpoken_x in the second group. The first group of information goes into one table and the second group of information goes into the second table. I have a hidden form field that enters a FK into these tables that is linked to another table that has already been populated with part one of the form. (this is a two part form). There are a total of 10 rows for each group, but not all 10 rows are going to be filled out all the time. There are some instances where only one or two rows will be filled out, so that is why I am doing the LEN function. I will get rid of the evaluate function and see what happens. I am having one problem though. There are two other fields in this form that go into the master table, so I need to exclude these from the array. I am doing a FindNocase function and it works fine when I put in only one of the fields (like cfif FindNoCase(phone_,i) AND LEN(form[i]) and it gets all of the fields with phone just fine, but when I add other fields to it, nothing happens. So since I know the other two fields are not dynamic, how can I exclude them from this so I get only the information I need? Bruce On 12/18/06, Charlie Griefer [EMAIL PROTECTED] wrote: so, just out of curiousity...why do you need this array? you also don't need the evaluate(). you can simply do form[i] (which is -exactly- what you're doing in your conditional where you're testing len(form[i]).). On 12/18/06, Bruce Sorge [EMAIL PROTECTED] wrote: OK, I figure it out so please disregard the last message. I did it like this: !--- Create the initial array --- cfset languageArray= ArrayNew(1) !--- Loop through the form fields and get the names of them--- cfloop index=i list=#form.fieldnames# !--- If the field is not empty, get the info --- cfif LEN(form[i]) cfset languageArray[1][1] = #i# cfset languageArray[1][2] = #evaluate(form.#i#)# !--- Query will go here soon --- /cfif /cfloop ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264374 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFScript inside a CFC
Do you know if the code was from a recent version of MX? I'm pretty sure that even as of MX 6, cfscript was faster...and you could see in the decompiled code why (as you mention below). However, I believe that as of MX 6.1 (and onward), that was no longer the case. I could be wrong, so I'm curious to know what CF platform these tests were conducted on. On 12/18/06, Christopher Jordan [EMAIL PROTECTED] wrote: Jon, I just posted that so you'd know where I got my information. Phillip *has* actually decompiled the JIT code and seen that for complex examples that CFScript is faster, because it's closer in resemblance to the byte code that ColdFusion ultimately parses. Phillip just stated better than I could have. -- Charlie Griefer ...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. But first they must catch you, digger, listener, runner, prince with a swift warning. Be cunning and full of tricks and your people shall never be destroyed. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264375 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Disregard last email
cfif ((i IS NOT static_field1) OR (i IS NOT static_field2)) AND (len(form[i]) GT 0) ? On 12/18/06, Bruce Sorge [EMAIL PROTECTED] wrote: Not sure really. What I have are a total of five dynamically named form fields. They are: Name_X, Phone_x, Email_X for the first group, then LanguageName_x, LanguageSpoken_x in the second group. The first group of information goes into one table and the second group of information goes into the second table. I have a hidden form field that enters a FK into these tables that is linked to another table that has already been populated with part one of the form. (this is a two part form). There are a total of 10 rows for each group, but not all 10 rows are going to be filled out all the time. There are some instances where only one or two rows will be filled out, so that is why I am doing the LEN function. I will get rid of the evaluate function and see what happens. I am having one problem though. There are two other fields in this form that go into the master table, so I need to exclude these from the array. I am doing a FindNocase function and it works fine when I put in only one of the fields (like cfif FindNoCase(phone_,i) AND LEN(form[i]) and it gets all of the fields with phone just fine, but when I add other fields to it, nothing happens. So since I know the other two fields are not dynamic, how can I exclude them from this so I get only the information I need? Bruce On 12/18/06, Charlie Griefer [EMAIL PROTECTED] wrote: so, just out of curiousity...why do you need this array? you also don't need the evaluate(). you can simply do form[i] (which is -exactly- what you're doing in your conditional where you're testing len(form[i]).). On 12/18/06, Bruce Sorge [EMAIL PROTECTED] wrote: OK, I figure it out so please disregard the last message. I did it like this: !--- Create the initial array --- cfset languageArray= ArrayNew(1) !--- Loop through the form fields and get the names of them--- cfloop index=i list=#form.fieldnames# !--- If the field is not empty, get the info --- cfif LEN(form[i]) cfset languageArray[1][1] = #i# cfset languageArray[1][2] = #evaluate(form.#i#)# !--- Query will go here soon --- /cfif /cfloop -- Charlie Griefer ...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. But first they must catch you, digger, listener, runner, prince with a swift warning. Be cunning and full of tricks and your people shall never be destroyed. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264376 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Frameworks Pre-Conference Classes, CFUnited Express - NYC, Atlanta
In this week's Newsletter: * Frameworks Pre-Conference Classes * CFUnited Express, Atlanta and New York * CFUNITED Survey - win a CFUNITED ticket - due 12/22/-07 * Only 20 days left on the Early-early bird price on CFUNITED * Interview with Glenda Vigoreaux ColdFusion Printing and Reporting -- Frameworks Pre-Conference Classes 1/31/2007 - FB201 - Intermediate Fusebox 5 - Instructor: Theo Rushin 1/31/2007 - FB301 - Advanced Fusebox - Instructor: Jeff Peters 1/31/2007 - TBA - Coming soon - Instructor: Joe Rinehart These classes are held at the Bethesda North Marriott, cost is $449 per person. The cost is not included in the Frameworks Conference Registration. More details, go to http://www.frameworksconference.com/pages/classes.cfm TeraTech Classes 12/12/2006 - An Introduction to Flex - Hands On â Instructor: Theo Rushin Jr - Full Day 1/9/2007 - Introduction to SQL Server - Instructor: Theo Rushin Jr - Full Day 1/23/2007 - Introduction to ColdFusion - Instructor: Theo Rushin Jr - Full Day 1/30/2007 - Introduction to FliP - Instructor: Ajay Sathuluri - Half Day Full day classes are $349 and Half Day are $199 Go to http://www.teratech.com/training/ for more information! -- CFUnited Express is coming to Atlanta and New York! Dates are TBA but we plan to bring a little piece of CFUnited to a couple of cities for a sneak peek and some great talks. This will be a whole day event. More information coming soon! If you would like to get involved as a user group in either of these cities, feel free to contact us at events (at) teratech.com We are searching for a couple of great local speakers in Atlanta and New York. Hope to hear from you! -- * CFUNITED Video Survey - win a CFUNITED ticket We have extended the deadline on the survey to 12/22/07 and will pick one survey entry at random to receive a free ticket to a TeraTech event or class of your choice (including CFUNITED-07)! We are planning CFUNITED-07 video, specail event and food. We offered a video recording of the 2006 conference. Let us know what you liked and how we can improve. Also give us feedback on the special event, food etc. Please respond by 12/12/06 http://www.cfunited.com/survey.cfm * Only 20 days left on the Early-early bird price on CFUNITED The early-early bird price on CFUNITED-07 ends Friday 1/5/07 midnight EST. -- * Interview with Glenda Vigoreaux ColdFusion Printing and Reporting Michael Smith: This time we are talking with Glenda Vigoreaux about her CFUNITED-06 talk ColdFusion Printing and Reporting. So why should a developer be interested in this topic? Glenda Vigoreaux: I believe that converting a CF document into a PDF printable document is the most amazing and useful feature added to CFMX7. I have many clients that upgraded to CF7 when they found out they can convert their output into a PDF or FlashPaper document. My session is introductory and anyone with basic CF experience can attend. Another reason to attend is that I give away goodies in my presentations. Last year I gave away 2 free Macromedia classes from roundpeg, worth over $1000 each. MS: Wow cool! Does this new document functionality require a lot of recoding? GV: Tons of code... 2 lines - an open and close CF tag to start with. MS: Wow cool! But what about more complex situations - like repeating page headers and footers? Or sections? GV: You can control page headers and footers also, with a minimal amount of massaging. You can also create sections, where you start a new page with a new header and footer when a value in a specific field changes. MS: You mentioned Flashpaper - why would I pick that over PDF for output? GV: Flashpaper can instantly generate Flash documents that can be accessed by over half a billion web users (just like Adobe marketing describes - superior web viewing). Do you think that most people have the Flash player plug-in loaded in their browser? PDF format is excellent for creating secure and compact files for e-mailing, archiving, and printing. MS: What about reporting? What is new there? GV: CFMX7 comes with a separate application called the ColdFusion report builder. It reminds me of Crystal Reports (not sure if that's good or bad). This tool allows you to create bands where you place labels, data, charts, and gives you finer control for your printed output. You can also generate Excel files way easier than before ColdFusion 7. MS: You can see Glenda video at http://www.cfunited.com --- * Event Facts and Details Summary CFUnited 2007 - Bethesda North Marriott - June 27th - 30th 2007 Prices: $749-$849 until January 5th (Ask for discounts! [EMAIL PROTECTED]) * First 100 people to register get a CFUnited hat! http://www.cfunited.com/2007/ Frameworks 2007 - Bethesda North Marriott - February 1st 2nd 2007 Prices: $399 until January 5th (Ask for discounts! [EMAIL PROTECTED]) http://www.frameworksconference.com/
Re: CFScript inside a CFC
I'll see if I can find out for you Charilie. :o) Charlie Griefer wrote: Do you know if the code was from a recent version of MX? I'm pretty sure that even as of MX 6, cfscript was faster...and you could see in the decompiled code why (as you mention below). However, I believe that as of MX 6.1 (and onward), that was no longer the case. I could be wrong, so I'm curious to know what CF platform these tests were conducted on. On 12/18/06, Christopher Jordan [EMAIL PROTECTED] wrote: Jon, I just posted that so you'd know where I got my information. Phillip *has* actually decompiled the JIT code and seen that for complex examples that CFScript is faster, because it's closer in resemblance to the byte code that ColdFusion ultimately parses. Phillip just stated better than I could have. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264378 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Best way to read in Excel/CSV files
Christopher, I started something to do exactly what you are talking about, only I was creating it to be variable. So, and end user would upload 2 excel files, and on the next screen they would choose which columns they wanted to compare. Then they would choose what type of comparison (only matching, non matching, etc). Then it would spit out to the screen, or excel, or pdf, etc. I cannot promise this will work perfect, but I have some mid-project code if you wanted to peek? Chris -Original Message- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 4:02 PM To: CF-Talk Subject: Re: Best way to read in Excel/CSV files That's cool, Chris! I didn't realize you could do that. Shows how many times *I've* had to query at excel table. :o) Cheers, Chris Peterson, Chris wrote: Actually, you can specify the excel file you want right in the query, like this: SELECT [INVOICE AMOUNT] as InvAmount, [INVOICE NUMBER] as InvNumber, [ORDER NUMBER] as OrderNum, [PAID AMOUNT] as PaidAmount, [BALANCE DUE] as BalDue, [COMMENTS] as Comment FROM `data$` IN 'd:\webroot\reports.net\baldue\temp\#cffile.serverFile#' 'EXCEL 5.0;' WHERE [ORDER NUMBER] 0 'data$' is the workbook name inside your spreadsheet, and the rest should be obvious =) So, just setup your DSN as a generic Excel ODBC datasource (I named mine Excel, aint I creative?) and query away! Chris Peterson -Original Message- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 3:40 PM To: CF-Talk Subject: Re: Best way to read in Excel/CSV files I'd connect to it as a data source, I think. It's just less for the client to do. Of course, the file will have to be named the same thing each time, else you'd have to create a new DSN each time for each differently named file. Check out their type 4 JDBC Excel driver http://hxtt.com/excel.html available on www.HXTT.com http://hxtt.com. I'm currently using their Type 4 DBF driver for visual FoxPro, and it works like a champ. The developers, are very ready to help any of their users via email. I've never used their text drivers, but I imagine they're not too hard to get the hang of. Hope this helps. Cheers, Chris Andy Matthews wrote: I have a client who wants me to build a quick admin tool for him. It would allow him to upload 2 files from different dates and list the differences. It's bascially two Excel files with 4 columns each and about 9000 lines apiece. So my question is, would it be better to connect to the Excel file as a datasource or have him convert to a CSV text file and upload that way? He'll be using this tool each day to compare the current day's file to the previous day's file. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264379 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Best way to read in Excel/CSV files
Christopher, I started something to do exactly what you are talking about, only I was creating it to be variable. So, and end user would upload 2 excel files, and on the next screen they would choose which columns they wanted to compare. Then they would choose what type of comparison (only matching, non matching, etc). Then it would spit out to the screen, or excel, or pdf, etc. I cannot promise this will work perfect, but I have some mid-project code if you wanted to peek? Chris -Original Message- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 4:02 PM To: CF-Talk Subject: Re: Best way to read in Excel/CSV files That's cool, Chris! I didn't realize you could do that. Shows how many times *I've* had to query at excel table. :o) Cheers, Chris ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264380 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Best way to read in Excel/CSV files
sure. why not? I've got my back up against a deadline, but it's always nice to see what other folks are doing. Never know when I might have to do something similar. :o) Cheers, Chris Peterson, Chris wrote: Christopher, I started something to do exactly what you are talking about, only I was creating it to be variable. So, and end user would upload 2 excel files, and on the next screen they would choose which columns they wanted to compare. Then they would choose what type of comparison (only matching, non matching, etc). Then it would spit out to the screen, or excel, or pdf, etc. I cannot promise this will work perfect, but I have some mid-project code if you wanted to peek? Chris -Original Message- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 4:02 PM To: CF-Talk Subject: Re: Best way to read in Excel/CSV files That's cool, Chris! I didn't realize you could do that. Shows how many times *I've* had to query at excel table. :o) Cheers, Chris Peterson, Chris wrote: Actually, you can specify the excel file you want right in the query, like this: SELECT [INVOICE AMOUNT] as InvAmount, [INVOICE NUMBER] as InvNumber, [ORDER NUMBER] as OrderNum, [PAID AMOUNT] as PaidAmount, [BALANCE DUE] as BalDue, [COMMENTS] as Comment FROM `data$` IN 'd:\webroot\reports.net\baldue\temp\#cffile.serverFile#' 'EXCEL 5.0;' WHERE [ORDER NUMBER] 0 'data$' is the workbook name inside your spreadsheet, and the rest should be obvious =) So, just setup your DSN as a generic Excel ODBC datasource (I named mine Excel, aint I creative?) and query away! Chris Peterson -Original Message- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 3:40 PM To: CF-Talk Subject: Re: Best way to read in Excel/CSV files I'd connect to it as a data source, I think. It's just less for the client to do. Of course, the file will have to be named the same thing each time, else you'd have to create a new DSN each time for each differently named file. Check out their type 4 JDBC Excel driver http://hxtt.com/excel.html available on www.HXTT.com http://hxtt.com. I'm currently using their Type 4 DBF driver for visual FoxPro, and it works like a champ. The developers, are very ready to help any of their users via email. I've never used their text drivers, but I imagine they're not too hard to get the hang of. Hope this helps. Cheers, Chris Andy Matthews wrote: I have a client who wants me to build a quick admin tool for him. It would allow him to upload 2 files from different dates and list the differences. It's bascially two Excel files with 4 columns each and about 9000 lines apiece. So my question is, would it be better to connect to the Excel file as a datasource or have him convert to a CSV text file and upload that way? He'll be using this tool each day to compare the current day's file to the previous day's file. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264381 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Best way to read in Excel/CSV files
OK, like I said I was in mid-process here, but maybe it will help someone. You may need to tweak application.cfc before it will run for you because I have this plugged into a login framework, but let me know if this gives you any idea's! http://www.cfcode.net/CompareExcel.zip Chris -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 4:14 PM To: CF-Talk Subject: RE: Best way to read in Excel/CSV files I'd be interested in that code too, if you're sharing. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264383 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Why datediff
Why is this not working? CFSET number = #DateDiff(d, dateformat(12/12/2006 1:36:51 PM, MM/DD/), dateformat(now(), MM/DD/) )# cfoutput#number#/cfoutput ERROR The following information is meant for the website developer for debugging purposes. Error Occurred While Processing Request Missing argument name. When using named parameters to a function, every parameter must have a name. The CFML compiler was processing: an expression beginning with #, on line 9, column 17.This message is usually caused by a problem in the expressions structure. a CFSET tag beginning on line 9, column 2. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264384 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Why datediff
1: you don't need # inside cfset unless you're in a string. 2: you need ticks around d ('d') [EMAIL PROTECTED] wrote: Why is this not working? CFSET number = #DateDiff(d, dateformat(12/12/2006 1:36:51 PM, MM/DD/), dateformat(now(), MM/DD/) )# cfoutput#number#/cfoutput ERROR The following information is meant for the website developer for debugging purposes. Error Occurred While Processing Request Missing argument name. When using named parameters to a function, every parameter must have a name. The CFML compiler was processing: an expression beginning with #, on line 9, column 17.This message is usually caused by a problem in the expressions structure. a CFSET tag beginning on line 9, column 2. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264385 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Why datediff
CFSET number = #DateDiff(d, dateformat(12/12/2006 1:36:51 PM, MM/DD/), dateformat(now(), MM/DD/) )# cfoutput#number#/cfoutput You need some quotes in there. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264386 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Why datediff
don't believe you need the dateFormat() either. dateDiff doesn't particularly care what format a date's in. cfset number = dateDiff('d', createDate(2006, 12, 12), now()) / On 12/18/06, Jake Churchill [EMAIL PROTECTED] wrote: 1: you don't need # inside cfset unless you're in a string. 2: you need ticks around d ('d') [EMAIL PROTECTED] wrote: Why is this not working? CFSET number = #DateDiff(d, dateformat(12/12/2006 1:36:51 PM, MM/DD/), dateformat(now(), MM/DD/) )# cfoutput#number#/cfoutput ERROR The following information is meant for the website developer for debugging purposes. Error Occurred While Processing Request Missing argument name. When using named parameters to a function, every parameter must have a name. The CFML compiler was processing: an expression beginning with #, on line 9, column 17.This message is usually caused by a problem in the expressions structure. a CFSET tag beginning on line 9, column 2. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264387 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Why datediff
because, dateformat(12/12/2006 1:36:51 PM, MM/DD/) is not a date/time object. Now, CreateODBCDateTime(dateformat(12/12/2006 1:36:51 PM, MM/DD/)) should be a valid date/time object. Or, you might be able to say: dateformat(12/12/2006 1:36:51 PM, MM/DD/) and get your desired results, but then if CF recognizes 12/12/2006 1:36:51 PM as a valid date/time object (and I believe it does), then there'd be no point in doing the dateformat. just do the date diff like this: CFSET number = DateDiff(d, 12/12/2006 1:36:51 PM, now()) cfoutput#number#/cfoutput Give that a whirl. Also, when you're in a tag like CFSet you do not need to put pounds around your variables unless you're dynamically evaluating them. hope that helps, Cheers, Chris [EMAIL PROTECTED] wrote: Why is this not working? CFSET number = #DateDiff(d, dateformat(12/12/2006 1:36:51 PM, MM/DD/), dateformat(now(), MM/DD/) )# cfoutput#number#/cfoutput ERROR The following information is meant for the website developer for debugging purposes. Error Occurred While Processing Request Missing argument name. When using named parameters to a function, every parameter must have a name. The CFML compiler was processing: an expression beginning with #, on line 9, column 17.This message is usually caused by a problem in the expressions structure. a CFSET tag beginning on line 9, column 2. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264388 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Why datediff
Good catch Jake. It's something that Ian and I both missed. You definitely have to have quotes around the date part (d). I prefer double quotes, but do whatever you like. Also, there's still no reason to do the dateformat statements. Cheers, Chris Ian Skinner wrote: CFSET number = #DateDiff(d, dateformat(12/12/2006 1:36:51 PM, MM/DD/), dateformat(now(), MM/DD/) )# cfoutput#number#/cfoutput You need some quotes in there. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264389 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Certification
Well that much may be true, but if someone is idiotic enough to get someone else to take the test for them, I don't think they are going to keep the job very long. Russ -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: 18 December 2006 20:07 To: CF-Talk Subject: RE: Certification The public transcript shows the persons name, all the tests they have done, their scores, when they took the test etc. Russ But there is NOT a webcam recording of the individual who was actually sitting at the keyboard taking the exam under that person's login. That is the point of proctoring. To make sure the person taking the test is who they say they are, and are following in rules in place. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264390 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4