Re: OT: Java Code Translation

2006-12-18 Thread Rick Root
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 IExpectationSetters expect(T value) { > > public static IExpectationSett

Re: website thumbnail

2006-12-18 Thread Richard Cooper
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/?s

UPDATE: Re: CFDOCUMENT hell

2006-12-18 Thread Bryan Stevenson
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

Re: CFDOCUMENT hell

2006-12-18 Thread Bryan Stevenson
> 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

Re: Still need help!! (Login & )

2006-12-18 Thread Doug Brown
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.

Re: OT: Java Code Translation

2006-12-18 Thread Jake Churchill
I'm a bit rusty too, but I know 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 it just forces it to take that data type. I think this speeds up processing just slightly be

OT: Java Code Translation

2006-12-18 Thread Jeff Chastain
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 IExpectationSetters expect(T value) { public static IExpectationSetters expectLastCall() { Specificall

Re: Still need help!! (Login & )

2006-12-18 Thread Tom Chiverton
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. >url="index.cfm?page=login&requested=#thispage##querystring#&string=#variabl ... url="/i

RE: cffile action=read does FILE.fileSize still work?

2006-12-18 Thread Bobby Hartsfield
Cffile action read wont give you anything more than the content of the file. A len(myfile) /1024 may give you the kilobytes though :-) #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' http://acodersli

Re: cffile action=read does FILE.fileSize still work?

2006-12-18 Thread Doug Brown
Yeah, what he said :) - Original Message - From: "Peterson, Chris" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Monday, December 18, 2006 7:54 AM Subject: RE: cffile action=read does FILE.fileSize still work? > To elaborate, you can use with the filter attribute to > only list the file yo

RE: cffile action=read does FILE.fileSize still work?

2006-12-18 Thread Peterson, Chris
To elaborate, you can use with the filter attribute to only list the file you want, something like this: 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: R

Re: Certification

2006-12-18 Thread Mike Chabot
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 question

Re: Still need help!! (Login & )

2006-12-18 Thread Doug Brown
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

Re: cffile action=read does FILE.fileSize still work?

2006-12-18 Thread Doug Brown
I may be wrong, but I believe that you can only do that via The read pretty much does only that "read" the contents of the file. Doug - Original Message - From: <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Monday, December 18, 2006 7:46 AM Subject: cffile action=read does FILE.fileSize s

RE: Still need help!! (Login & )

2006-12-18 Thread Bobby Hartsfield
Doug... Somewhere, you are checking for the session and if it doesn’t 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...

cffile action=read does FILE.fileSize still work?

2006-12-18 Thread coldfusion . developer
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 ~~~

Re: Still need help!! (Login & )

2006-12-18 Thread Doug Brown
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 them to the login page. If I use the cgi.http_referrer it sets the last requested page as the login page from the Doug - Original Message - From: "Snake" <[EMA

Certification

2006-12-18 Thread Austin, Roger D.
> 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 cas

RE: Still need help!! (Login & )

2006-12-18 Thread Snake
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 & ) This is totally driving me nuts!! For those of you who missed my troubles, I will go over it a

Re: FW: Certification

2006-12-18 Thread Andy Allan
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 ? A. Excel B. FlashPaper C. HTML D. PDF E. RTF The correct answer for the exam would be: A,B,D Although RTF is

Re: FW: Certification

2006-12-18 Thread Ryan Emerle
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

Still need help!! (Login & )

2006-12-18 Thread Doug Brown
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 f

Re: FW: Certification

2006-12-18 Thread Teddy Payne
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"

RE: splitting large csv file into smaller parts

2006-12-18 Thread Ben Nadel
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

Re: Passing file from form to CFC

2006-12-18 Thread Deanna Schneider
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: .. 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

RE: Passing file from form to CFC

2006-12-18 Thread Snake
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

<    1   2