RE: Using CFLDAP to change the password of a user in Active Directroy...
Theoretically, this can be done, but you need a secure LDAP connection to do this with CFLDAP and AD. I have not tried this myself. I use two different methods, assuming that the CF server is Window-based. This is not extremely portable between platforms, but I don't personally care since we standardized on W2k3. 1. CFEXECUTE with net.exe 2. Visual Basic COM object that changes the password using ADSI. Let me know if you want to see examples of either. M!ke -Original Message- From: Scott Stroz [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 26, 2005 10:58 PM To: CF-Talk Subject: Using CFLDAP to change the password of a user in Active Directroy... Can it be done? If so, how? -- Scott Stroz Boyzoid.com http://Boyzoid.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212920 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: ot: 360 degree photos
Nope. They do virtual tours. That's stand here and turn in a circle as opposed to stand here and turn this other thing in a circle. The first is done in quicktime and if you are really lucky and have budget, with an expensive camera that does rotating over the head shots of some kind. (My old company made one for Tulane but I didn't ever see the expensive gizmo camera.) The other tends to use flash I think. It's driving me nuts now. There is a car information site online that has commercials where they spin the car around however you want and change it's color and stuff. I can't remember the company name and I've seen the ads a gajillion times. Which tells you how well the ads work. On 7/26/05, Jared Clinton [EMAIL PROTECTED] wrote: Maybe these guys: http://www.360.com.au/ I think that's what they specialise in. -Original Message- From: Aldon [mailto:[EMAIL PROTECTED] Sent: Wednesday, 27 July 2005 11:19 AM To: CF-Talk Subject: RE: ot: 360 degree photos Nike.com : not shure if it's still there. -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 26, 2005 8:23 PM To: CF-Talk Subject: Re: ot: 360 degree photos Here are two that I know of. http://www.cruisingclub.com.au/boats_sunrunner3300.html http://www.blufm.org.au/qt.html Cheers Mike Kear Windsor, NSW, Australia Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 7/27/05, dave [EMAIL PROTECTED] wrote: anyone know of a good example of a product page were you can view the product all the way around? I dont care what they use to do it, I just need an example ~Dave the disruptor~ A criminal is a person with predatory instincts who has not sufficient capital to form a corporation. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212921 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Using Webservices (MapPoint)
Hi I am using Microsoft Webservices MapPoint like this in MX7: CFSCRIPT // RenderServiceSoap myRenderServiceSoap = createObject(webservice,http://staging.mappoint.net/standard-30/mappoint.wsdl http://staging.mappoint.net/standard-30/mappoint.wsdl%22, , RenderServiceSoap); myRenderServiceSoap.setUsername(#application.MapPointUsername#); myRenderServiceSoap.setPassword(#application.MapPointPassword#); /CFSCRIPT MapPoint uses all over Arrays as Parameters like in the following example. I did not found another way of giving Parameters to this Webservice. // Pushpin myPushpins = ArrayNew(1); myPushpins[1] = CreateObject(java, net.mappoint.s.mappoint_30.Pushpin); myPushpins[1].setIconDataSource(MapPoint.Icons); myPushpins[1].setIconName(RedCircle1); myPushpins[1].setLabel(Start); myPushpins[1].setLatLong(myLatLong[1]); myPushpins[2] = CreateObject(java, net.mappoint.s.mappoint_30.Pushpin); myPushpins[2].setIconDataSource(MapPoint.Icons); myPushpins[2].setIconName(RedCircle2); myPushpins[2].setLabel(End); myPushpins[2].setLatLong(myLatLong[2]); myArrayOfPushpin = CreateObject(java, net.mappoint.s.mappoint_30.ArrayOfPushpin); myArrayOfPushpin.setPushpin(myPushpins); 1. Why do I have to use the Lib itself for creating a Array to pass to the WebService? Is there a other way for doing this? (I think it has to do that CF-Arrays bgin with 1 and Java Arrays wiht 0) 2. The Stub / Package net.mappoint.s.mappoint_30 created by myRenderServiceSoap = createObject(webservice,http://staging.mappoint.net/standard-30/mappoint.wsdl http://staging.mappoint.net/standard-30/mappoint.wsdl%22, , RenderServiceSoap); has to be in Classpath to be used as myArrayOfPushpin = CreateObject(java, net.mappoint.s.mappoint_30.ArrayOfPushpin); Is there a other way of using/accessing Stubs (this Package) by Programm-Code but adding this Package to the Classpath, like over coldfusion.server.ServiceFactory or so? Many Thanks in advance Bruno ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212922 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: ot: 360 degree photos
-Original Message- From: Jennifer Larkin [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 2:48 AM To: CF-Talk Subject: Re: ot: 360 degree photos Nope. They do virtual tours. That's stand here and turn in a circle as opposed to stand here and turn this other thing in a circle. The first is done in quicktime and if you are really lucky and have budget, with an expensive camera that does rotating over the head shots of some kind. (My old company made one for Tulane but I didn't ever see the expensive gizmo camera.) The other tends to use flash I think. Taking it even further off topic: there's a neat Japanese gizmo I saw once. Essentially it was a rack that held 10 or 12 disposable cameras in a ring facing outwards. The rack was put on a tall pole (like 10') and knocking the pole on the ground would take pictures with all the cameras at once. Since the pictures were taken at the same time and overlapped each other stitching them was easy. I've not seen it for sale again... but if I did I'd buy one. ;^) For small object pieces I recommend a fixed camera and lazy susan arrangement. You have to make the background as static and regular as possible, but that's a LOT easier than moving the camera around a lot. I used to take pictures of Lego constructions this way... but I lost all of the finished files in a drive crash. :^( It's driving me nuts now. There is a car information site online that has commercials where they spin the car around however you want and change it's color and stuff. I can't remember the company name and I've seen the ads a gajillion times. Which tells you how well the ads work. I think you're thinking of Vehix.com - they do both interior (fixed camera) and exterior (revolving camera) shots. They use QuickTime VR so I can't see them (I'm mad at QuickTime). I used to use a nifty, incredibly simple Java Applet called Freedom VR for this - it was only like 8 or 10 kb and worked a treat. But I don't think development was kept up on it. I'm sure once you did the stitching (which you can do in many programs) it wouldn't be hard to put together something in Flash... Jim Davis ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212924 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: ot: 360 degree photos
You mean like the earth image in the new earth.google.com? Cheers Mike Kear Windsor, NSW, Australia Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 7/27/05, Jennifer Larkin [EMAIL PROTECTED] wrote: Nope. They do virtual tours. That's stand here and turn in a circle as opposed to stand here and turn this other thing in a circle. The first is done in quicktime and if you are really lucky and have budget, with an expensive camera that does rotating over the head shots of some kind. (My old company made one for Tulane but I didn't ever see the expensive gizmo camera.) The other tends to use flash I think. It's driving me nuts now. There is a car information site online that has commercials where they spin the car around however you want and change it's color and stuff. I can't remember the company name and I've seen the ads a gajillion times. Which tells you how well the ads work. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212923 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: ot: 360 degree photos
thanks everyone i just needed to show them an example, i have a pro photographer that will take the photos on a lazy susan and inside a white space, they just wanted to know how user friendly it would be. ~Dave the disruptor~ A criminal is a person with predatory instincts who has not sufficient capital to form a corporation. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212925 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Create SWF from CF
Is there a way to create SWF's dynamically using CF? I'd like to be able to upload images (Jpg,png), to a server and then create an SWF file with them (one on each frame). I guess I would be looking at some sort of Java based solution that CF could interface with. Any ideas? ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212926 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFMX, Video resizing/repurposing
Thanks Qasim, that's not off-topic at all! When starting this I started off by searching for a Java solution that I could hook into through CFMX in much the same way as J-Image etc, but I couldn't find anything. I looked at the article you posted, but there doesn't seem to be anything in it that lets us reauthor movies server-side. I did a bit of search at Sun, but could only find the Java Media Framework (JMF) which seems to be a desktop player rather enable movie repurposing/reauthoring. If there's anything in Java that'll let me do this - I'd love it if anyone could point me in the right direction! Rich Although I might be way off-topic, have you thought about using Java instead of a COM object. My first google search for Java Media returned me this article which might help you. http://www.javaworld.com/javaworld/jw-06-1998/jw-06-media.html HTH Qasim On 7/26/05, Rich Wild [EMAIL PROTECTED] wrote: ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212927 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Sandbox not working after restart
Don't worry, it was actually a problem with code that should never have worked but did for a while, just to throw me off the scent. On 7/27/05, James Holmes [EMAIL PROTECTED] wrote: A couple of times now, on different CF 6.1 servers, I've had a sandbox messed up after a restart of CF. The sandbox is defined, all the relevant file permssions are there, but I get a permissions error trying to read a file that was readable before the restart. We have re-created the sandbox and still the same problem persists. The UNIX permissions on the file (which is in the local filesystem) haven't changed and CF has been restarted a few times since. The first time it happened it fixed itself when the admin looked at the permissions - the second time (now) it's stayed broken. Does anyone have any ideas? CF6.1 Ent on Solaris 9. -- Geeque - accept the geek within and get your friends off your back - http://www.cafepress.com/geeque/ ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212928 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Create SWF from CF
Since CFCHART builds SWFs dynamically with Java, there must be something out there that does it. On 7/27/05, Paul Wilson [EMAIL PROTECTED] wrote: Is there a way to create SWF's dynamically using CF? I'd like to be able to upload images (Jpg,png), to a server and then create an SWF file with them (one on each frame). I guess I would be looking at some sort of Java based solution that CF could interface with. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212929 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
re: Create SWF from CF
you need a flash product to compile the swf, you certainly could do it with some flash based interfaces that process the files and export them. SO my ? is why are you trying to make a flash file without using flash? ~Dave the disruptor~ A criminal is a person with predatory instincts who has not sufficient capital to form a corporation. From: Paul Wilson [EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 4:22 AM To: CF-Talk cf-talk@houseoffusion.com Subject: Create SWF from CF Is there a way to create SWF's dynamically using CF? I'd like to be able to upload images (Jpg,png), to a server and then create an SWF file with them (one on each frame). I guess I would be looking at some sort of Java based solution that CF could interface with. Any ideas? ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212930 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Create SWF from CF
i think thats just part of the small flex engine thats built in to run them and cfform, not sure if you can access that without using cfform or cfchart. ~Dave the disruptor~ A criminal is a person with predatory instincts who has not sufficient capital to form a corporation. From: James Holmes [EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 4:32 AM To: CF-Talk cf-talk@houseoffusion.com Subject: Re: Create SWF from CF Since CFCHART builds SWFs dynamically with Java, there must be something out there that does it. On 7/27/05, Paul Wilson wrote: Is there a way to create SWF's dynamically using CF? I'd like to be able to upload images (Jpg,png), to a server and then create an SWF file with them (one on each frame). I guess I would be looking at some sort of Java based solution that CF could interface with. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212931 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Create SWF from CF
Paul, what are you trying to achieve? Why have choosen SWF generated from CF solution? How often will the images change? Will the number of images vary from time to time? How far in Flash are you willing to go? Chris -- Chris Velevitch Manager - Sydney Flash Developers Group www.flashdev.org.au ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212932 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Blackberry 101 for developers
You can also download the Blackberry IDE which has a Blackberry decice ROM to test on. -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: 26 July 2005 18:07 To: CF-Talk Subject: Re: Blackberry 101 for developers Okay, cool, this is great stuff. Now, is there a preferred emulator (I just downloaded one from blackberry.com) that I can test this with, since I personally don't have one? Kevin Bridges wrote: Start with the document structure below (strict xhtml compliance) and use the validator at http://validator.w3.org/ as you develop. If you make a change and validate immediately after you will be able to see useful messages from the w3c explaining how you need to alter your design. !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html head titleUntitled/title meta http-equiv= Content-Type content= text/html; charset=UTF-8 / /head body /body /html Ray Champagne wrote: any online resouces that you use that you'd recommend to get me started? Paul Vernon wrote: XHTML + CSS is the way to go... I've done this on sites that I can now access on my mobile phone and that has a tiny screen... A Blackberry device should be no problems... Paul ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212933 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Create SWF from CF
Eg: http://www.jzox.com/products.jsp ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212934 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
500 Content disposition corrupt and cfform
Hi I'm using cfform with to upload a file (amongst other things) - I get the following message when using this on FireFox (works fine in IE) I have named all the form fields. 500 Content disposition corrupt: Content-Disposition: form-data; name= Content disposition corrupt: Content-Disposition: form-data; name= Can anyone help me with this please - any clues. Ta Seamus Seamus Campbell Boldacious WebDesign http://www.boldacious.com [EMAIL PROTECTED] ph 02 6297 4883 mob 0410 609 267 ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212935 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: 500 Content disposition corrupt and cfform
I'm using cfform with to upload a file (amongst other things) - I get the following message when using this on FireFox (works fine in IE) I have named all the form fields. 500 Content disposition corrupt: Content-Disposition: form-data; name= Content disposition corrupt: Content-Disposition: form-data; name= Can anyone help me with this please - any clues. Install the liveHTTPheaders extension and verify that Firefox is sending the right headers. Can you show us the code? Jochem ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212936 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Frameworks for simple web sites
Well if you're sure that the only changes for the foreseeable future are going to be content related umwhy not just use a cheap and cheerful cms? Kola -Original Message- From: Connie DeCinko [mailto:[EMAIL PROTECTED] Sent: 26 July 2005 19:04 To: CF-Talk Subject: Frameworks for simple web sites Now that I've had the opportunity to take a closer look at Plum, I can see that it is a very powerful and good code generator/framework for ColdFusion apps. However, for fairly simple sites, it seems to be overkill. I could be wrong. What would you recommend for a simple site that's just a step beyond simple HTML? I have to build a site where the end-user needs to be able to post a newsletter each month and make very minor changes, no e-commerce or embedded apps. I was thinking this might be an excuse to try out a framework but am having second thoughts. Constanty Connie DeCinko III Web Architect, Webmaster, Web Developer Lone Jet Enterprises Glendale, Arizona http://www.lonejet.com/ www.LoneJet.com ~ ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212937 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Frameworks for simple web sites
I agree with Jeff, it seems like you are looking more for CMS than framework. You should also check out FarCry. -- Scott Stroz Boyzoid.com http://Boyzoid.com ___ Some days you are the dog, Some days you are the tree. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212938 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
[Reply To] Re: 500 Content disposition corrupt and cfform
Hi thanks - installed liveHTTPheaders extension. Got this message from livehttp Content-Length: 929 Content-Type: text/html Content-Location: http://www.southerncrossrealestate.com.au/SouthernCrossRealEstate/ ndex.html Last-Modified: Thu, 14 Oct 2004 14:15:33 GMT Accept-Ranges: bytes Etag: 84735d44f8b1c41:a818 Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Date: Wed, 27 Jul 2005 12:11:17 GMT X-Cache: MISS from cbr-pow-pr2.tpgi.com.au Connection: keep-alive 200 OK It says text/html but I can't work out why? Isn't enctype=multipart/form-data in the cfform tag supposed to change the Content-Type to allow for binary files? MY CODE less some cfinput tags. Any clues gratefully received seamus cfform action=act_market_appraisal.cfm method=POST name=market_appraisal id=market_appraisal enctype=multipart/form-data .. . . tr td colspan=2 valign=top class=middlerowImage 1 of property (if avail)/td td colspan=2 valign=top class=middlerowcfinput type=File name=property_image_1 visible=Yes enabled=Yes accept=image/jpeg,image/gif/td /tr tr td colspan=2 valign=top class=middlerowImage 2 of property (if avail)/td td colspan=2 valign=top class=middlerowcfinput type=File name=property_image_2 visible=Yes enabled=Yes accept=image/jpeg,image/gif/td /tr tr tr td colspan=4 align=right class=bottomrowcfinput type=Submit name= value=Send Form visible=Yes enabled=Yes/td /tr You wrote I'm using cfform with to upload a file (amongst other things) - I get the following message when using this on FireFox (works fine in IE) I have named all the form fields. 500 Content disposition corrupt: Content-Disposition: form-data; name= Content disposition corrupt: Content-Disposition: form-data; name= Can anyone help me with this please - any clues. Install the liveHTTPheaders extension and verify that Firefox is sending the right headers. Can you show us the code? Jochem ~~ ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212939 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Frameworks for simple web sites
I think FarCry will work well for what you're talking about. Scott Stroz wrote: I agree with Jeff, it seems like you are looking more for CMS than framework. You should also check out FarCry. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212940 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Using Webservices (MapPoint)
Can Anybody please Help with this? Hi I am using Microsoft Webservices MapPoint like this in MX7: CFSCRIPT // RenderServiceSoap myRenderServiceSoap = createObject(webservice,http://staging.mappoint.net/standard-30/mappoint.wsdl http://staging.mappoint.net/standard-30/mappoint.wsdl%22, , RenderServiceSoap); myRenderServiceSoap.setUsername(#application.MapPointUsername#); myRenderServiceSoap.setPassword(#application.MapPointPassword#); /CFSCRIPT MapPoint uses all over Arrays as Parameters like in the following example. I did not found another way of giving Parameters to this Webservice. // Pushpin myPushpins = ArrayNew(1); myPushpins[1] = CreateObject(java, net.mappoint.s.mappoint_30.Pushpin); myPushpins[1].setIconDataSource(MapPoint.Icons); myPushpins[1].setIconName(RedCircle1); myPushpins[1].setLabel(Start); myPushpins[1].setLatLong(myLatLong[1]); myPushpins[2] = CreateObject(java, net.mappoint.s.mappoint_30.Pushpin); myPushpins[2].setIconDataSource(MapPoint.Icons); myPushpins[2].setIconName(RedCircle2); myPushpins[2].setLabel(End); myPushpins[2].setLatLong(myLatLong[2]); myArrayOfPushpin = CreateObject(java, net.mappoint.s.mappoint_30.ArrayOfPushpin); myArrayOfPushpin.setPushpin(myPushpins); 1. Why do I have to use the Lib itself for creating a Array to pass to the WebService? Is there a other way for doing this? (I think it has to do that CF-Arrays bgin with 1 and Java Arrays wiht 0) 2. The Stub / Package net.mappoint.s.mappoint_30 created by myRenderServiceSoap = createObject(webservice,http://staging.mappoint.net/standard-30/mappoint.wsdl http://staging.mappoint.net/standard-30/mappoint.wsdl%22, , RenderServiceSoap); has to be in Classpath to be used as myArrayOfPushpin = CreateObject(java, net.mappoint.s.mappoint_30.ArrayOfPushpin); Is there a other way of using/accessing Stubs (this Package) by Programm-Code but adding this Package to the Classpath, like over coldfusion.server.ServiceFactory or so? Many Thanks in advance Bruno ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212941 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
SOT: Menu code generator - modifiable
Hi, This is sort of off topic, but I've spent hours trying to find what I'm looking for and I'm sure some of you other CF developers out there have needed something like this. I'm looking for a javascript menu builder/code generator that does 'slide-down' menus. I've found several, but most don't have code that's modifiable/readable. My cilent won't allow me to use code that can't be modified. Any help would be greatly appreciated. Thanks folks, Dave ** The information contained in this message, including attachments, may contain privileged or confidential information that is intended to be delivered only to the person identified above. If you are not the intended recipient, or the person responsible for delivering this message to the intended recipient, ALLTEL requests that you immediately notify the sender and asks that you do not read the message or its attachments, and that you delete them without copying or sending them to anyone else. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212942 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OST: Menu code generator - modifiable
Examples would be find too. I've tried coding it from scratch and am stuck on several issues. If I could find a good open-source example, that would solve my problem. Thanks, Dave -Original Message- From: Phillips, Dave Sent: Wednesday, July 27, 2005 8:30 AM To: CF-Talk Subject: SOT: Menu code generator - modifiable Hi, This is sort of off topic, but I've spent hours trying to find what I'm looking for and I'm sure some of you other CF developers out there have needed something like this. I'm looking for a javascript menu builder/code generator that does 'slide-down' menus. I've found several, but most don't have code that's modifiable/readable. My cilent won't allow me to use code that can't be modified. Any help would be greatly appreciated. Thanks folks, Dave ** The information contained in this message, including attachments, may contain privileged or confidential information that is intended to be delivered only to the person identified above. If you are not the intended recipient, or the person responsible for delivering this message to the intended recipient, ALLTEL requests that you immediately notify the sender and asks that you do not read the message or its attachments, and that you delete them without copying or sending them to anyone else. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212943 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Menu code generator - modifiable
Hi Dave. I just finished writing a dynamic menu builder that uses the milinic.com DHTML menu. If you want a peek at the code, I'd be glad to show you. The menu is pretty sweet (we are still tweaking it) - it supports multiple fly outs etc... KP -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 8:30 AM To: CF-Talk Subject: SOT: Menu code generator - modifiable Hi, This is sort of off topic, but I've spent hours trying to find what I'm looking for and I'm sure some of you other CF developers out there have needed something like this. I'm looking for a javascript menu builder/code generator that does 'slide-down' menus. I've found several, but most don't have code that's modifiable/readable. My cilent won't allow me to use code that can't be modified. Any help would be greatly appreciated. Thanks folks, Dave ** The information contained in this message, including attachments, may contain privileged or confidential information that is intended to be delivered only to the person identified above. If you are not the intended recipient, or the person responsible for delivering this message to the intended recipient, ALLTEL requests that you immediately notify the sender and asks that you do not read the message or its attachments, and that you delete them without copying or sending them to anyone else. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212944 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: [Reply To] Re: 500 Content disposition corrupt and cfform
Seamus Campbell wrote: Content-Length: 929 Content-Type: text/html Content-Location: http://www.southerncrossrealestate.com.au/SouthernCrossRealEstate/ ndex.html Last-Modified: Thu, 14 Oct 2004 14:15:33 GMT Accept-Ranges: bytes Etag: 84735d44f8b1c41:a818 Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Date: Wed, 27 Jul 2005 12:11:17 GMT X-Cache: MISS from cbr-pow-pr2.tpgi.com.au Connection: keep-alive 200 OK It says text/html but I can't work out why? Because this is what the webserver returns to the browser, not what the browser sends to the webserver. BTW, might it be that there are some non-ASCII characters in the filename? Jochem ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212945 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
[Reply To] Re: [Reply To] Re: 500 Content disposition corrupt and cfform
Ta - I've actually taken the upload file fields totally out of the form. It seems to do this just when I put enctype=multipart/form-data in the cfform . . tag I have checked - I don't have any non-ASCII characters in the form at all. And I have named all fields. Is it possible that it's a cfform problem - I have never got this error just using form tag ? Ta Seamus It says text/html but I can't work out why? Because this is what the webserver returns to the browser, not what the browser sends to the webserver. BTW, might it be that there are some non-ASCII characters in the filename? Jochem Seamus Campbell Boldacious WebDesign http://www.boldacious.com [EMAIL PROTECTED] ph 02 6297 4883 mob 0410 609 267 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212946 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Any reason client.LastVisit wouldn't exist in CFMX7
I've initalized client variables in the application.cfc. Is there any other reason client variables wouldn't exist? ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212947 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Access Remote For Functions
Kenton Gray wrote: When writing Flash Remoting CFC's I have to set the the function access to remote eg: cffunction name=blah access=remote returnType=boolean output=false I know this isn't what you were looking for, but one thing worth mentioning is that if you're using flash remoting, you don't need to set access to remote. remote is for web services, not flash remoting. If you don't want your stuff exposed as a web service, just use public. Dave is correct - unless you maintain state yourself, the CFC is initialized each time you call it. In a normal web app you can load the cfc into the application scope, server scope, session scope, etc, and maintain state from one page request to the next. I guess I'vesort of done this in some of my flash apps, because althoug hte main CFC that is being called isn't loaded into a persistent scope, I do access other cfcs from within that cfc that are loaded into persistent scopes (I tend to load stuff into the application scope, as I've never used a CFC for session-specific persistence) Rick ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212948 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
The Parable of the OOP and Breakfast
Once upon a time, in a kingdom not far from here, a king summoned two of his advisors for a test. He showed them both a shiny metal box with two slots in the top, a control knob, and a lever. What do you think this is? One advisor, an engineer, answered first. It is a toaster, he said. The king asked, How would you design an embedded computer for it? The engineer replied, Using a four-bit microcontroller, I would write a simple program that reads the darkness knob and quantizes its position to one of 16 shades of darkness, from snow white to coal black. The program would use that darkness level as the index to a 16-element table of initial timer values. Then it would turn on the heating elements and start the timer with the initial value selected from the table. At the end of the time delay, it would turn off the heat and pop up the toast. Come back next week, and I'll show you a working prototype. The second advisor, a ColdFusion developer, highly skilled in Mach-II, Model-Glue and java, immediately recognized the danger of such short-sighted thinking. He said, Toasters don't just turn bread into toast, they are also used to warm frozen waffles. What you see before you is really a breakfast food cooker. As the subjects of your kingdom become more sophisticated, they will demand more capabilities. They will need a breakfast food cooker that can also cook sausage, fry bacon, and make scrambled eggs. A toaster that only makes toast will soon be obsolete. If we don't look to the future, we will have to completely redesign the toaster in just a few years. With this in mind, we can formulate a more intelligent solution to the problem. First, create a class of breakfast foods. Specialize this class into subclasses: grains, pork, and poultry. The specialization process should be repeated with grains divided into toast, muffins, pancakes, and waffles; pork divided into sausage, links, and bacon; and poultry divided into scrambled eggs, hard-boiled eggs, poached eggs, fried eggs, and various omelet classes. The ham and cheese omelet class is worth special attention because it must inherit characteristics from the pork, dairy, and poultry classes. Thus, we see that the problem cannot be properly solved without multiple inheritance. At run time, the program must create the proper object and send a message to the object that says, `Cook yourself.' The semantics of this message depend, of course, on the kind of object, so they have a different meaning to a piece of toast than to scrambled eggs. Reviewing the process so far, we see that the analysis phase has revealed that the primary requirement is to cook any kind of breakfast food. In the design phase, we have discovered some derived requirements. Specifically, we need an object-oriented language with multiple inheritance. Of course, users don't want the eggs to get cold while the bacon is frying, so concurrent processing is required, too. We must not forget the user interface. The lever that lowers the food lacks versatility, and the darkness knob is confusing. Users won't buy the product unless it has a user-friendly, graphical interface. When the breakfast cooker is plugged in, users should see a cowboy boot on the screen. Users click on it, and the message `Booting Application Breakfast v1.2' appears on the screen. (Breakfast v1.2 should be out by the time the product gets to the market.) Users can pull down a menu and click on the foods they want to cook. Having made the wise decision of specifying the software first in the design phase, all that remains is to pick an adequate hardware platform for the implementation phase. An Intel Pentium 1.86GHz with 1.2GB of memory, a 220GB hard disk, and a TFT monitor should be sufficient. Selecting a multitasking, object oriented language that supports multiple inheritance and has a built-in GUI, means writing the program will be a snap. (Imagine the difficulty we would have had if we had foolishly allowed a hardware-first design strategy to lock us into a four-bit microcontroller!). The king had the computer scientist thrown in the moat, and they all lived happily ever after. -- Cheers Mike Kear Windsor, NSW, Australia Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212949 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support:
Re: Create SWF from CF
Paul Wilson wrote: Is there a way to create SWF's dynamically using CF? I'd like to be able to upload images (Jpg,png), to a server and then create an SWF file with them (one on each frame). I guess I would be looking at some sort of Java based solution that CF could interface with. Paul, It seems to me that a wiser solution would be to build a generic swf that loads the images from an XML file and have coldfusion generate the XML file. Rick ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212950 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: The Parable of the OOP and Breakfast
Way too much time on your hands ;-) -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: 27 July 2005 14:16 To: CF-Talk Subject: The Parable of the OOP and Breakfast Once upon a time, in a kingdom not far from here, a king summoned two of his advisors for a test. He showed them both a shiny metal box with two slots in the top, a control knob, and a lever. What do you think this is? One advisor, an engineer, answered first. It is a toaster, he said. The king asked, How would you design an embedded computer for it? The engineer replied, Using a four-bit microcontroller, I would write a simple program that reads the darkness knob and quantizes its position to one of 16 shades of darkness, from snow white to coal black. The program would use that darkness level as the index to a 16-element table of initial timer values. Then it would turn on the heating elements and start the timer with the initial value selected from the table. At the end of the time delay, it would turn off the heat and pop up the toast. Come back next week, and I'll show you a working prototype. The second advisor, a ColdFusion developer, highly skilled in Mach-II, Model-Glue and java, immediately recognized the danger of such short-sighted thinking. He said, Toasters don't just turn bread into toast, they are also used to warm frozen waffles. What you see before you is really a breakfast food cooker. As the subjects of your kingdom become more sophisticated, they will demand more capabilities. They will need a breakfast food cooker that can also cook sausage, fry bacon, and make scrambled eggs. A toaster that only makes toast will soon be obsolete. If we don't look to the future, we will have to completely redesign the toaster in just a few years. With this in mind, we can formulate a more intelligent solution to the problem. First, create a class of breakfast foods. Specialize this class into subclasses: grains, pork, and poultry. The specialization process should be repeated with grains divided into toast, muffins, pancakes, and waffles; pork divided into sausage, links, and bacon; and poultry divided into scrambled eggs, hard-boiled eggs, poached eggs, fried eggs, and various omelet classes. The ham and cheese omelet class is worth special attention because it must inherit characteristics from the pork, dairy, and poultry classes. Thus, we see that the problem cannot be properly solved without multiple inheritance. At run time, the program must create the proper object and send a message to the object that says, `Cook yourself.' The semantics of this message depend, of course, on the kind of object, so they have a different meaning to a piece of toast than to scrambled eggs. Reviewing the process so far, we see that the analysis phase has revealed that the primary requirement is to cook any kind of breakfast food. In the design phase, we have discovered some derived requirements. Specifically, we need an object-oriented language with multiple inheritance. Of course, users don't want the eggs to get cold while the bacon is frying, so concurrent processing is required, too. We must not forget the user interface. The lever that lowers the food lacks versatility, and the darkness knob is confusing. Users won't buy the product unless it has a user-friendly, graphical interface. When the breakfast cooker is plugged in, users should see a cowboy boot on the screen. Users click on it, and the message `Booting Application Breakfast v1.2' appears on the screen. (Breakfast v1.2 should be out by the time the product gets to the market.) Users can pull down a menu and click on the foods they want to cook. Having made the wise decision of specifying the software first in the design phase, all that remains is to pick an adequate hardware platform for the implementation phase. An Intel Pentium 1.86GHz with 1.2GB of memory, a 220GB hard disk, and a TFT monitor should be sufficient. Selecting a multitasking, object oriented language that supports multiple inheritance and has a built-in GUI, means writing the program will be a snap. (Imagine the difficulty we would have had if we had foolishly allowed a hardware-first design strategy to lock us into a four-bit microcontroller!). The king had the computer scientist thrown in the moat, and they all lived happily ever after. -- Cheers Mike Kear Windsor, NSW, Australia Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212951 Archives:
RE: The Parable of the OOP and Breakfast
From: Mike Kear [mailto:[EMAIL PROTECTED] Subject: The Parable of the OOP and Breakfast Once upon a time, in a kingdom not far from here, a king summoned two of his advisors for a test. He showed them both a shiny metal box with two slots in the top, a control knob, and a lever. What do you think this is? Once upon a time lived a cf-community list that needed more posts. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212953 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: The Parable of the OOP and Breakfast
The second advisor, a ColdFusion developer, highly skilled in Mach-II, Model-Glue and java, immediately recognized the danger of such short-sighted thinking. ... Specifically, we need an object-oriented language with multiple inheritance. Neither Java nor CF supports multiple inheritance. 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! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212952 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: The Parable of the OOP and Breakfast
Way too much time on your hands -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: 27 July 2005 14:16 To: CF-Talk Subject: The Parable of the OOP and Breakfast Once upon a time, in a kingdom not far from here, a king summoned two of his advisors for a test. He showed them both a shiny metal box with two slots in the top, a control knob, and a lever. What do you think this is? One advisor, an engineer, This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, 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 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212954 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: 360 degree photos
Also, the Vehix.com commercial that's on all the time touts that capability Jennifer Larkin wrote: Try Saturn.com. I can't check right now but I think they used to have a flash thingy that allowed you to spin the car at will, open the doors, etc. If it's not Saturn, try Volkswagon.com. On 7/26/05, Connie DeCinko [EMAIL PROTECTED] wrote: Check office supply stores. I know I saw them used there, just can't recall who at the moment. -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 26, 2005 3:39 PM To: CF-Talk Subject: ot: 360 degree photos anyone know of a good example of a product page were you can view the product all the way around? I dont care what they use to do it, I just need an example ~Dave the disruptor~ A criminal is a person with predatory instincts who has not sufficient capital to form a corporation. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212955 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Menu code generator - modifiable
I have used the Interakt CSS Menus system. Modified it heavily for my specific application. Works really well. Also good for Search Engines, 508 compliant, etc. It starts off as installed from Dreamweaver, but once you get the code you can modify it easily to query any internal db, and modify the output if needed. You only need dreamweaver to have it generate the code the first time, after that you have all the code you need. http://www.interaktonline.com/Products/Dreamweaver-Extensions/MXCSSDynamicMe nus/Overview/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 8:30 AM To: CF-Talk Subject: SOT: Menu code generator - modifiable Hi, This is sort of off topic, but I've spent hours trying to find what I'm looking for and I'm sure some of you other CF developers out there have needed something like this. I'm looking for a javascript menu builder/code generator that does 'slide-down' menus. I've found several, but most don't have code that's modifiable/readable. My cilent won't allow me to use code that can't be modified. Any help would be greatly appreciated. Thanks folks, Dave ** The information contained in this message, including attachments, may contain privileged or confidential information that is intended to be delivered only to the person identified above. If you are not the intended recipient, or the person responsible for delivering this message to the intended recipient, ALLTEL requests that you immediately notify the sender and asks that you do not read the message or its attachments, and that you delete them without copying or sending them to anyone else. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212956 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
detecting session management
Is it possible to detect if session management is enabled in a given application? I think I could probably do something like this: cftry cfset session.test = 1 cfset variables.sessionEnabled = false cfcatch type=any cfset variables.sessionEnabled = true cfcatch /cftry I just wondered if there was a better way. Rick ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212957 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Simple query question
I surprised nobody knows the answer to this question. Anyone? Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: Merrill, Jason [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 26, 2005 12:06 PM To: CF-Talk Subject: Simple query question How do I implement a simple query to search all the field values of a table for a value - basically, I need to check to see if the user name the person entered already exists in the database. Something like a SELECT WHERE and then a cfif value exists from the query return? Thanks. Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212958 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Simple query question
Jason, I replied to this yesterday. Here it is again: Do you mean this: CFSET FieldList = field1,field2,field3,field4 !--- you could get this dynamically if you want --- CFSET ValueToSearch = hello cfquery name=Lookup datsource=yourdatasource SELECT #fieldlist# FROM yourtable WHERE CFLOOP LIST=#fieldlist# INDEX=field #field# = cfqueryparam cfsqltype=SQL_VARCHAR value=#ValueToSearc# OR /CFLOOP 1 = 0 /cfquery I'm sure there are more than one way to do it, but that's how I'd do it. The 1 = 0 is needed because you have to have another comparison after the last OR in the list. If you are checking against other values as well, then you could just use those instead. Basically, in this example, it's just 'filler'. Dave ** The information contained in this message, including attachments, may contain privileged or confidential information that is intended to be delivered only to the person identified above. If you are not the intended recipient, or the person responsible for delivering this message to the intended recipient, ALLTEL requests that you immediately notify the sender and asks that you do not read the message or its attachments, and that you delete them without copying or sending them to anyone else. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212959 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: ot: 360 degree photos
vehix.com? Jennifer Larkin wrote: Nope. They do virtual tours. That's stand here and turn in a circle as opposed to stand here and turn this other thing in a circle. The first is done in quicktime and if you are really lucky and have budget, with an expensive camera that does rotating over the head shots of some kind. (My old company made one for Tulane but I didn't ever see the expensive gizmo camera.) The other tends to use flash I think. It's driving me nuts now. There is a car information site online that has commercials where they spin the car around however you want and change it's color and stuff. I can't remember the company name and I've seen the ads a gajillion times. Which tells you how well the ads work. On 7/26/05, Jared Clinton [EMAIL PROTECTED] wrote: Maybe these guys: http://www.360.com.au/ I think that's what they specialise in. -Original Message- From: Aldon [mailto:[EMAIL PROTECTED] Sent: Wednesday, 27 July 2005 11:19 AM To: CF-Talk Subject: RE: ot: 360 degree photos Nike.com : not shure if it's still there. -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 26, 2005 8:23 PM To: CF-Talk Subject: Re: ot: 360 degree photos Here are two that I know of. http://www.cruisingclub.com.au/boats_sunrunner3300.html http://www.blufm.org.au/qt.html Cheers Mike Kear Windsor, NSW, Australia Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 7/27/05, dave [EMAIL PROTECTED] wrote: anyone know of a good example of a product page were you can view the product all the way around? I dont care what they use to do it, I just need an example ~Dave the disruptor~ A criminal is a person with predatory instincts who has not sufficient capital to form a corporation. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212960 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: detecting session management
Have you tried cfoutput#isDefined(session)#/cfoutput Rick Root wrote: Is it possible to detect if session management is enabled in a given application? I think I could probably do something like this: cftry cfset session.test = 1 cfset variables.sessionEnabled = false cfcatch type=any cfset variables.sessionEnabled = true cfcatch /cftry I just wondered if there was a better way. Rick ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212961 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Simple query question
You could also do this inline with an SP. -Original Message- From: Merrill, Jason [mailto:[EMAIL PROTECTED] Sent: 27 July 2005 14:34 To: CF-Talk Subject: RE: Simple query question I surprised nobody knows the answer to this question. Anyone? Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: Merrill, Jason [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 26, 2005 12:06 PM To: CF-Talk Subject: Simple query question How do I implement a simple query to search all the field values of a table for a value - basically, I need to check to see if the user name the person entered already exists in the database. Something like a SELECT WHERE and then a cfif value exists from the query return? Thanks. Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212962 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Any reason client.LastVisit wouldn't exist in CFMX7
Did you disable global client variable updates? On 7/27/05, Smith, Daron [PA] [EMAIL PROTECTED] wrote: I've initalized client variables in the application.cfc. Is there any other reason client variables wouldn't exist? -- === Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : ray.camdenfamily.com Yahoo IM : cfjedimaster My ally is the Force, and a powerful ally it is. - Yoda ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212963 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: detecting session management
Kevin Bridges wrote: Have you tried cfoutput#isDefined(session)#/cfoutput I did not, but that doesn't work. The session scope is apparently always defined, you just can't access it. For example: cfoutput#isDefined(session)#/cfoutput cfdump var=#application# cfdump var=#session# cfset session.foo =1 outputs YES, then dumps the application scope (which in my case it only shows the applicationname key, which equals foo), and it dumps an empty struct for session, then errors when you try to set an actual session variable. Rick ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212964 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: detecting session management
You can also tell if session management is on at the server level. cfset CreateObject(java, coldfusion.server.ServiceFactory).RuntimeService.isSessionEnabled() -Original Message- From: Kevin Bridges [mailto:[EMAIL PROTECTED] Sent: 27 July 2005 14:38 To: CF-Talk Subject: Re: detecting session management Have you tried cfoutput#isDefined(session)#/cfoutput Rick Root wrote: Is it possible to detect if session management is enabled in a given application? I think I could probably do something like this: cftry cfset session.test = 1 cfset variables.sessionEnabled = false cfcatch type=any cfset variables.sessionEnabled = true cfcatch /cftry I just wondered if there was a better way. Rick ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212965 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Simple query question
Huh. Yeah, I have no idea what you just said. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 9:29 AM To: CF-Talk Subject: RE: Simple query question You could also do this inline with an SP. -Original Message- From: Merrill, Jason [mailto:[EMAIL PROTECTED] Sent: 27 July 2005 14:34 To: CF-Talk Subject: RE: Simple query question I surprised nobody knows the answer to this question. Anyone? Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: Merrill, Jason [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 26, 2005 12:06 PM To: CF-Talk Subject: Simple query question How do I implement a simple query to search all the field values of a table for a value - basically, I need to check to see if the user name the person entered already exists in the database. Something like a SELECT WHERE and then a cfif value exists from the query return? Thanks. Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212966 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: The Parable of the OOP and Breakfast
ROFL!! In the moat with you! On 7/27/05, Dave Watts [EMAIL PROTECTED] wrote: Neither Java nor CF supports multiple inheritance. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212967 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Frameworks for simple web sites
What would you recommend for a simple site that's just a step beyond simple HTML? IMHO, frameworks are to deal with complex situations and make them more systematic to work with. If your application is simple, just keep it simple! -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212968 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Simple query question
cfquery name=query Select count (*) as cnt from table where username = '#form.username#' /cfquery cfif query.cnt gt 0 Do something /cfif Matthew Small -Original Message- From: Merrill, Jason [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 9:48 AM To: CF-Talk Subject: RE: Simple query question Huh. Yeah, I have no idea what you just said. Jason Merrill | E-Learning Solutions | icfconsulting.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212969 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: The Parable of the OOP and Breakfast
Well, that was a weird post to read while eating breakfast. I think it's fairly misguided, as it contrasts a good procedural design (the engineer's perspective) with really lousy OO design. The second advisor, a ColdFusion developer, highly skilled in Mach-II, Model-Glue and java, immediately recognized the danger of such short-sighted thinking. He said, Toasters don't just turn bread into toast, they are also used to warm frozen waffles. What you see before you is really a breakfast food cooker. As the subjects of your kingdom become more sophisticated, they will demand more capabilities. They will need a breakfast food cooker that can also cook sausage, fry bacon, and make scrambled eggs. A toaster that only makes toast will soon be obsolete. If we don't look to the future, we will have to completely redesign the toaster in just a few years. I'll go a stretch and call myself skilled in OO - my reply would be It's a toaster. It needs to be able to cook frozen bread products *made for the interface of a toaster*. Asking it to cook eggs, bacon, and etc. is just plain silly. If you want something that makes eggs, go spec a frying pan. This paragraph is a nice example of a naive, unbalanced approach to OO where you think one master object can be extended to do everything from make toast to fly to Mars. With this in mind, we can formulate a more intelligent solution to the problem. First, create a class of breakfast foods. Specialize this class into subclasses: grains, pork, and poultry. The specialization process should be repeated with grains divided into toast, muffins, pancakes, and waffles; pork divided into sausage, links, and bacon; and poultry divided into scrambled eggs, hard-boiled eggs, poached eggs, fried eggs, and various omelet classes. No right-minded OO designer would do this. That's an inheritance tree that exists for no real reason. The ham and cheese omelet class is worth special attention because it must inherit characteristics from the pork, dairy, and poultry classes. Thus, we see that the problem cannot be properly solved without multiple inheritance. At run time, the program must create the proper object and send a message to the object that says, `Cook yourself.' The semantics of this message depend, of course, on the kind of object, so they have a different meaning to a piece of toast than to scrambled eggs. Neither CF nor Java nor .NET support multiple interfaces. That's largely because it's a much better idea to program to interfaces instead of implementations - and anytime you inherit, you're carting around your entire implementation tree. Composition could also be used here - an omelette is not an egg, nor is it a pork. It's made up of ingrediants, it isn't extensions of the ingrediants themselves. But I would not, not matter how good the omelette design, try pouring it into a toaster. Reviewing the process so far, we see that the analysis phase has revealed that the primary requirement is to cook any kind of breakfast food. In the design phase, we have discovered some derived requirements. Specifically, we need an object-oriented language with multiple inheritance. Of course, users don't want the eggs to get cold while the bacon is frying, so concurrent processing is required, too. But that's a crock! The requirements are to make toast, and trying to do anything more is silly! If its intention is to show precedural vs. OO, this whole parable is a farce. We must not forget the user interface. The lever that lowers the food lacks versatility, and the darkness knob is confusing. Users won't buy the product unless it has a user-friendly, graphical interface. When the breakfast cooker is plugged in, users should see a cowboy boot on the screen. Users click on it, and the message `Booting Application Breakfast v1.2' appears on the screen. (Breakfast v1.2 should be out by the time the product gets to the market.) Users can pull down a menu and click on the foods they want to cook. An OO designer probably wouldn't give a rats ass about the UI. They'd specifically work to separate the application from the UI, letting it be anything it wants: a simple analog knob, a digital GUI, or an automated telephone system where you can call in to start your toaster. It's about interface again, not implementation. The king had the computer scientist thrown in the moat, and they all lived happily ever after. Well, yeah, if that's the best guy the king could hire, I'd throw him in the moat, too. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212970 Archives:
Re: The Parable of the OOP and Breakfast
Neither CF nor Java nor .NET support multiple interfaces. Erm...make that multiple inheritance. OOPs. (pun intended). ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212971 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Simple query question
Thanks Matthew, that's the kind of example I was looking for. I'll see if I can get that to work. Thanks. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: Matthew Small [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 9:56 AM To: CF-Talk Subject: RE: Simple query question cfquery name=query Select count (*) as cnt from table where username = '#form.username#' /cfquery cfif query.cnt gt 0 Do something /cfif Matthew Small -Original Message- From: Merrill, Jason [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 9:48 AM To: CF-Talk Subject: RE: Simple query question Huh. Yeah, I have no idea what you just said. Jason Merrill | E-Learning Solutions | icfconsulting.com ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212972 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: random password generator
Many of the ones on the macromedia exchange are for much older versions of ColdFusion. Is it eally a reason they are not good anymore?. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212973 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: detecting session management
That is neat! Is there a good location to read about additional objects that are available like that? cfset ServiceFactory = CreateObject(java,coldfusion.server.ServiceFactory) cfdump var=#ServiceFactory# Robertson-Ravo, Neil (RX) wrote: You can also tell if session management is on at the server level. cfset CreateObject(java, coldfusion.server.ServiceFactory).RuntimeService.isSessionEnabled() ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212974 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: detecting session management
Best bet is to simply do this cfset foo = CreateObject(java, coldfusion.server.ServiceFactory) And the cfdump foo to see what you can get at. -Original Message- From: Kevin Bridges [mailto:[EMAIL PROTECTED] Sent: 27 July 2005 15:00 To: CF-Talk Subject: Re: detecting session management That is neat! Is there a good location to read about additional objects that are available like that? cfset ServiceFactory = CreateObject(java,coldfusion.server.ServiceFactory) cfdump var=#ServiceFactory# Robertson-Ravo, Neil (RX) wrote: You can also tell if session management is on at the server level. cfset CreateObject(java, coldfusion.server.ServiceFactory).RuntimeService.isSessionEnabled() ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212975 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: SOT: Menu code generator - modifiable
Hi, This is sort of off topic, but I've spent hours trying to find what I'm looking for and I'm sure some of you other CF developers out there have needed something like this. I'm looking for a javascript menu builder/code generator that does 'slide-down' menus. I've found several, but most don't have code that's modifiable/readable. My cilent won't allow me to use code that can't be modified. Any help would be greatly appreciated. Thanks folks, I'm not sure from the message what of the menu generation process you want to automate (just the display or if you actually want to dynamically create new menu items with JS). There's a reasonably simple example of the former here: http://www.fusiontap.com/docs/index.cfm?netaction=implement/mxhtml (Scroll down to the middle of the page where you see the tabset and select the tab labelled menu.) Of course, this is framework generated, and both the high-level framework code and the middleware are much smaller and easier to read than the end-result. Here's an example of the high-level code: cfmodule template=#request.tapi.xhtml()# cfoutput div xmlns:tap=http://www.fusiontap.com; tap:menu label=home offsetx=0 offsety=12 divbogus link/div divbogus link/div tap:menu label=submenu divbogus link/div divbogus link/div tap:menu label=submenu tap:menu label=submenu divbogus link/div divbogus link/div tap:menu label=submenu divbogus link/div divbogus link/div /tap:menu divbogus link/div /tap:menu /tap:menu divbogus link/div /tap:menu /tap:menu /div /cfoutput /cfmodule That's... 4 levels deep I believe. The code to display it is pretty simple. Each child menu handle has an onmouseover event which displays its menu. In the same event it triggers/executes the onmouseover event of the parent menu, which ensures that all parent menus remain open until a relevant mouseout event. I suspect the generated html/javascript is more readable than most javascript projects. s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212976 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Any reason client.LastVisit wouldn't exist in CFMX7
Did you disable global client variable updates? No I didn't. I'm using the following code which works on our CFMX machines. CFIF DateDiff(n, Client.LastVisit, Now()) GT 15 and I get the following error. Element LASTVISIT is undefined in CLIENT. Any thoughts? ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212977 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: SOT: Menu code generator - modifiable
Thanks everyone for your comments. My lead just told me that they've decided to scrap the idea of the slide-down effect, so I've gotten a reprieve. Good thing they hired me as a CF developer and not a JS developer otherwise, I'd probably be out of a job. LOL. Thanks again! Dave ** The information contained in this message, including attachments, may contain privileged or confidential information that is intended to be delivered only to the person identified above. If you are not the intended recipient, or the person responsible for delivering this message to the intended recipient, ALLTEL requests that you immediately notify the sender and asks that you do not read the message or its attachments, and that you delete them without copying or sending them to anyone else. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212978 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Using CFLDAP to change the password of a user in Active Directroy...
Hello, I would be interested in seeing examples of this procedure. Thanks, Paul Theoretically, this can be done, but you need a secure LDAP connection to do this with CFLDAP and AD. I have not tried this myself. I use two different methods, assuming that the CF server is Window-based. This is not extremely portable between platforms, but I don't personally care since we standardized on W2k3. 1. CFEXECUTE with net.exe 2. Visual Basic COM object that changes the password using ADSI. Let me know if you want to see examples of either. M!ke -Original Message- From: Scott Stroz [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 26, 2005 10:58 PM To: CF-Talk Subject: Using CFLDAP to change the password of a user in Active Directroy... Can it be done? If so, how? -- Scott Stroz Boyzoid.com http://Boyzoid.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212979 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Any reason client.LastVisit wouldn't exist in CFMX7
If you cfdump var=#client#, what do you see? On 7/27/05, dsmith @ psea. org dsmith @ psea. org [EMAIL PROTECTED] wrote: Did you disable global client variable updates? No I didn't. I'm using the following code which works on our CFMX machines. CFIF DateDiff(n, Client.LastVisit, Now()) GT 15 and I get the following error. Element LASTVISIT is undefined in CLIENT. Any thoughts? ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212980 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Any reason client.LastVisit wouldn't exist in CFMX7
What are your settings for client variables? DB, cookie, memory? If it is a cookie, this could be a browser not accepting them, if it is DB, you may want to drop and recreate your client variables tables since I have experienced issues with applications when I changed CF versions but kept the same database tables for client storage. Yeah, I know, one db hit per visit, yada yada yada. -- ~~~ Adam Howitt http://www.walkjogrun.net Put on your running shoes! On 7/27/05, Smith, Daron [PA] [EMAIL PROTECTED] wrote: I've initalized client variables in the application.cfc. Is there any other reason client variables wouldn't exist? ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212981 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Any reason client.LastVisit wouldn't exist in CFMX7
I've initalized client variables in the application.cfc. Is there any other reason client variables wouldn't exist? Hey Daron, Did you use the cfapplication tag, or 'This.clientManagement=Yes;' to enable client variables? More info here: http://livedocs.macromedia.com/coldfusion/7/htmldocs/1154.htm Take Care, Seth ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212982 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: detecting session management
Robertson-Ravo, Neil (RX) wrote: You can also tell if session management is on at the server level. cfset CreateObject(java, coldfusion.server.ServiceFactory).RuntimeService.isSessionEnabled() Alas, that's not particularly cross platform... ie, doesn't work in bluedragon. =) I'm working on some updates to my coldfusion file manager (www.webworksllc.com/cffm) and I need it to work in both CFMX and BD. Looks like I'll be using my initial idea of the try/catch. Rick ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212983 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Simple query question
Or to protect against sql injection and remember the datasource : cfquery name=myQuery datasource=myDatasource SELECT count(*) as cnt FROM myTable WHERE username = cfqueryparam cfsqltype=CF_SQL_VARCHAR value=#form.username# maxlength=10 /cfquery... -- ~~~ Adam Howitt http://www.walkjogrun.net Put on your running shoes! On 7/27/05, Matthew Small [EMAIL PROTECTED] wrote: cfquery name=query Select count (*) as cnt from table where username = '#form.username#' /cfquery cfif query.cnt gt 0 Do something /cfif Matthew Small ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212984 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Confused about this...
I need to output the COOKIE.COMPASS.SID.#LOOPCOUNT# But I don't know hwo to??? Can anyone throw me a pearl? cfloop Index=LoopCount from=1 to=#cookie.COMPASS.sid.count# cfoutput s#loopCount# = #cookie.COMPASS.sid.#LoopCount# /cfoutput /cfloop ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212985 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: The Parable of the OOP and Breakfast
The second advisor, a ColdFusion developer, highly skilled in Mach-II, Model-Glue and java, immediately recognized the danger of such short-sighted thinking. ... Specifically, we need an object-oriented language with multiple inheritance. Neither Java nor CF supports multiple inheritance. No but a number of CF programmers have faked it... Myself included -- although it was actually a side-effect of wanting a way to package up my applications for consumption that would avoid some problems related to discovery. s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212986 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
SOLVED: Re: Any reason client.LastVisit wouldn't exist in CFMX7
I restarted the CF server and client.lastvisit exists now. Not sure why it didn't before but I may just have to chalk this up to that very precise designation of a Fluke. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212987 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Confused about this...
Kristopher, Try this: cfscript for(LoopCount=1;LoopCount LTE cookie.COMPASS.sid.count; LoopCount = LoopCount + 1) setVariable(Evaluate(s LoopCount),Evaluate(cookie.COMPASS.sid. LoopCount)); /cfscript I didn't test it, but it should work for you. Dave -Original Message- From: Kristopher Pilles [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 10:43 AM To: CF-Talk Subject: Confused about this... I need to output the COOKIE.COMPASS.SID.#LOOPCOUNT# But I don't know hwo to??? Can anyone throw me a pearl? cfloop Index=LoopCount from=1 to=#cookie.COMPASS.sid.count# cfoutput s#loopCount# = #cookie.COMPASS.sid.#LoopCount# /cfoutput /cfloop ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212988 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Confused about this...
I need to output the COOKIE.COMPASS.SID.#LOOPCOUNT# But I don't know hwo to??? Can anyone throw me a pearl? cfloop Index=LoopCount from=1 to=#cookie.COMPASS.sid.count# cfoutput s#loopCount# = #cookie.COMPASS.sid.#LoopCount# /cfoutput /cfloop Why do you have dots in the name of a cookie variable? ... isn't cookie supposed to be 1 deep? ... s#loopcount# = #cookie['compass.sid.' loopcount]# or if that doesn't work #evaluate(cookie.compass.sid. loopcount)# s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212989 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CF 7 hosting
Anyone knows any good managed hosting services that we can use for a shared server that provide servers with CF 7. Thanks. Elena Aminova Web Applications Developer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212990 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Confused about this...
Umm... I think the original code got you a bit confused... he wasn't setting a variable with the name s#loopcount# -- he was just displaying that in the page for reference. Kristopher, Try this: cfscript for(LoopCount=1;LoopCount LTE cookie.COMPASS.sid.count; LoopCount = LoopCount + 1) setVariable(Evaluate(s LoopCount),Evaluate(cookie.COMPASS.sid. LoopCount)); /cfscript I didn't test it, but it should work for you. Dave -Original Message- From: Kristopher Pilles [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 10:43 AM To: CF-Talk Subject: Confused about this... I need to output the COOKIE.COMPASS.SID.#LOOPCOUNT# But I don't know hwo to??? Can anyone throw me a pearl? cfloop Index=LoopCount from=1 to=#cookie.COMPASS.sid.count# cfoutput s#loopCount# = #cookie.COMPASS.sid.#LoopCount# /cfoutput /cfloop s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212991 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Is the a way to determine the local filename of the file being upload?
I have a dilemma I'm trying to solve. I need to know the exact name of the file the user is uploading--not the name after CFFILE has already written this to disk. This information looks to be available POST header under the Content-Disposition. Unfortunately, this information doesn't appear to be accessible via the getHTTPRequestData() function. Anyone know of a way to retrieve this information from the HTTP headers via CFMX 6.1? The cffile action=upload / in my opinion sorely misses having the following features: * Returning the original name of the file upload * The ability to specify the name of the file when writing it to disk. - Dan . : Dan G. Switzer, II : : e-mail: [EMAIL PROTECTED] : : url: http://www.pengoworks.com/ : : blog: http://blog.pengoworks.com/ : : _ : : |_) _ _ _ _ | | _ _|_ _ : : | (/_| )(_|(_)|/\|(_)| |\ _) : : _| : :... ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212992 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF 7 hosting
I use http://www.hostmysite.com. Contact Reema Patel there and tell her Dave Phillips sent you. She will take good care of you. I haven't dealt with any of the other sales reps, but Reema was great, and their technical support is the best I have ever dealt with in 10 years of hosting websites. And, they are reasonable in cost! Dave -Original Message- From: Aminova, Elena [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 11:21 AM To: CF-Talk Subject: CF 7 hosting Anyone knows any good managed hosting services that we can use for a shared server that provide servers with CF 7. Thanks. Elena Aminova Web Applications Developer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212993 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Confused about this...
Duh. I see that now. Thanks Isaac. :) Oh well, it looks elegant, though doesn't it? ;-) Dave -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 12:18 PM To: CF-Talk Subject: RE: Confused about this... Umm... I think the original code got you a bit confused... he wasn't setting a variable with the name s#loopcount# -- he was just displaying that in the page for reference. Kristopher, Try this: cfscript for(LoopCount=1;LoopCount LTE cookie.COMPASS.sid.count; LoopCount = LoopCount + 1) setVariable(Evaluate(s LoopCount),Evaluate(cookie.COMPASS.sid. LoopCount)); /cfscript I didn't test it, but it should work for you. Dave -Original Message- From: Kristopher Pilles [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 10:43 AM To: CF-Talk Subject: Confused about this... I need to output the COOKIE.COMPASS.SID.#LOOPCOUNT# But I don't know hwo to??? Can anyone throw me a pearl? cfloop Index=LoopCount from=1 to=#cookie.COMPASS.sid.count# cfoutput s#loopCount# = #cookie.COMPASS.sid.#LoopCount# /cfoutput /cfloop s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212994 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Confused about this...
Lol Thanks for your help... I got it... I just knew if I didn't ask I would be starting at it until 1pm -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 11:21 AM To: CF-Talk Subject: RE: Confused about this... Duh. I see that now. Thanks Isaac. :) Oh well, it looks elegant, though doesn't it? ;-) Dave -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 12:18 PM To: CF-Talk Subject: RE: Confused about this... Umm... I think the original code got you a bit confused... he wasn't setting a variable with the name s#loopcount# -- he was just displaying that in the page for reference. Kristopher, Try this: cfscript for(LoopCount=1;LoopCount LTE cookie.COMPASS.sid.count; LoopCount = LoopCount + 1) setVariable(Evaluate(s LoopCount),Evaluate(cookie.COMPASS.sid. LoopCount)); /cfscript I didn't test it, but it should work for you. Dave -Original Message- From: Kristopher Pilles [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 10:43 AM To: CF-Talk Subject: Confused about this... I need to output the COOKIE.COMPASS.SID.#LOOPCOUNT# But I don't know hwo to??? Can anyone throw me a pearl? cfloop Index=LoopCount from=1 to=#cookie.COMPASS.sid.count# cfoutput s#loopCount# = #cookie.COMPASS.sid.#LoopCount# /cfoutput /cfloop s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212995 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Is the a way to determine the local filename of the file being upload?
Other then the #cffile.clientFile# : Name of the file uploaded from the client's system. Which is part of the cffile structure returned after an upload operation. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning -Original Message- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 8:19 AM To: CF-Talk Subject: Is the a way to determine the local filename of the file being upload? I have a dilemma I'm trying to solve. I need to know the exact name of the file the user is uploading--not the name after CFFILE has already written this to disk. This information looks to be available POST header under the Content-Disposition. Unfortunately, this information doesn't appear to be accessible via the getHTTPRequestData() function. Anyone know of a way to retrieve this information from the HTTP headers via CFMX 6.1? The cffile action=upload / in my opinion sorely misses having the following features: * Returning the original name of the file upload * The ability to specify the name of the file when writing it to disk. - Dan . : Dan G. Switzer, II : : e-mail: [EMAIL PROTECTED] : : url: http://www.pengoworks.com/ : : blog:http://blog.pengoworks.com/ : : _: :|_) _ _ _ _ | | _ _|_ _ : :| (/_| )(_|(_)|/\|(_)| |\ _) : : _| : :... ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212996 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF 7 hosting
Thanks Dave! I will pass this info on to my boss. Any other suggestions from others are very appreciated. We use Datapipe now, but they don't have CF7 available yet and we want to upgrade. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 11:20AM To: CF-Talk Subject: RE: CF 7 hosting I use http://www.hostmysite.com. Contact Reema Patel there and tell her Dave Phillips sent you. She will take good care of you. I haven't dealt with any of the other sales reps, but Reema was great, and their technical support is the best I have ever dealt with in 10 years of hosting websites. And, they are reasonable in cost! Dave -Original Message- From: Aminova, Elena [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 11:21 AM To: CF-Talk Subject: CF 7 hosting Anyone knows any good managed hosting services that we can use for a shared server that provide servers with CF 7. Thanks. Elena Aminova Web Applications Developer ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212997 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
[Reply To] Is the a way to determine the local filename of the file being u pload?
Doesn't cffile.clientfile do that? You wrote I have a dilemma I'm trying to solve. I need to know the exact name of the file the user is uploading--not the name after CFFILE has already written this to disk. This information looks to be available POST header under the Content-Disposition. Unfortunately, this information doesn't appear to be accessible via the getHTTPRequestData() function. Anyone know of a way to retrieve this information from the HTTP headers via CFMX 6.1? The cffile action=upload / in my opinion sorely misses having the following features: * Returning the original name of the file upload * The ability to specify the name of the file when writing it to disk. - Dan .. : Dan G. Switzer, II : : e-mail: [EMAIL PROTECTED] : : url: http://www.pengoworks.com/ : : blog: http://blog.pengoworks.com/ : : _ : : |_) _ _ _ _ | | _ _|_ _ : : | (/_| )(_|(_)|/\|(_)| |\ _) : : _| : :... ~~ ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212998 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Confused about this...
Nothing like writing beautiful code that does the wrong thing (been there a time or two)! Mike -Original Message- From: Kristopher Pilles [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 10:24 AM To: CF-Talk Subject: RE: Confused about this... Lol Thanks for your help... I got it... I just knew if I didn't ask I would be starting at it until 1pm -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 11:21 AM To: CF-Talk Subject: RE: Confused about this... Duh. I see that now. Thanks Isaac. :) Oh well, it looks elegant, though doesn't it? ;-) Dave -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 12:18 PM To: CF-Talk Subject: RE: Confused about this... Umm... I think the original code got you a bit confused... he wasn't setting a variable with the name s#loopcount# -- he was just displaying that in the page for reference. Kristopher, Try this: cfscript for(LoopCount=1;LoopCount LTE cookie.COMPASS.sid.count; LoopCount = LoopCount + 1) setVariable(Evaluate(s LoopCount),Evaluate(cookie.COMPASS.sid. LoopCount)); /cfscript I didn't test it, but it should work for you. Dave -Original Message- From: Kristopher Pilles [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 10:43 AM To: CF-Talk Subject: Confused about this... I need to output the COOKIE.COMPASS.SID.#LOOPCOUNT# But I don't know hwo to??? Can anyone throw me a pearl? cfloop Index=LoopCount from=1 to=#cookie.COMPASS.sid.count# cfoutput s#loopCount# = #cookie.COMPASS.sid.#LoopCount# /cfoutput /cfloop s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212999 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Is the a way to determine the local filename of the file being upload?
Problem solved! Apparently I need to read more carefully, I looked at the docs and just didn't see it the first time: clientFile Name of the file uploaded from the client's system -Dan -Original Message- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 11:19 AM To: CF-Talk Subject: Is the a way to determine the local filename of the file being upload? I have a dilemma I'm trying to solve. I need to know the exact name of the file the user is uploading--not the name after CFFILE has already written this to disk. This information looks to be available POST header under the Content-Disposition. Unfortunately, this information doesn't appear to be accessible via the getHTTPRequestData() function. Anyone know of a way to retrieve this information from the HTTP headers via CFMX 6.1? The cffile action=upload / in my opinion sorely misses having the following features: * Returning the original name of the file upload * The ability to specify the name of the file when writing it to disk. - Dan . : Dan G. Switzer, II : : e-mail: [EMAIL PROTECTED] : : url: http://www.pengoworks.com/ : : blog: http://blog.pengoworks.com/ : : _ : : |_) _ _ _ _ | | _ _|_ _ : : | (/_| )(_|(_)|/\|(_)| |\ _) : : _| : :... ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213001 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
[Reply To] Re: [Reply To] Re: 500 Content disposition corrupt and cfform
Thanks Jochem fixed it now - I didn't put a name in the submit field - I checked this about 20 bloody times - just couldn't see it Thanks for your help Seamus You wrote Seamus Campbell wrote: Content-Length: 929 Content-Type: text/html Content-Location: http://www.southerncrossrealestate.com.au/SouthernCrossRealEstate/ ndex.html Last-Modified: Thu, 14 Oct 2004 14:15:33 GMT Accept-Ranges: bytes Etag: 84735d44f8b1c41:a818 Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Date: Wed, 27 Jul 2005 12:11:17 GMT X-Cache: MISS from cbr-pow-pr2.tpgi.com.au Connection: keep-alive 200 OK It says text/html but I can't work out why? Because this is what the webserver returns to the browser, not what the browser sends to the webserver. BTW, might it be that there are some non-ASCII characters in the filename? Jochem Seamus Campbell Boldacious WebDesign http://www.boldacious.com [EMAIL PROTECTED] ph 02 6297 4883 mob 0410 609 267 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213000 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Is the a way to determine the local filename of the file being upload?
Hey Dan, No need to futz with the headers... cffile provides the name of the uploaded file (prior to upload) in the #cffile.clientfile# variable... or clientFileName / clientFielExt for smaller bits iirc... here's the variable list: http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/expres18.htm I have a dilemma I'm trying to solve. I need to know the exact name of the file the user is uploading--not the name after CFFILE has already written this to disk. This information looks to be available POST header under the Content-Disposition. Unfortunately, this information doesn't appear to be accessible via the getHTTPRequestData() function. Anyone know of a way to retrieve this information from the HTTP headers via CFMX 6.1? The cffile action=upload / in my opinion sorely misses having the following features: * Returning the original name of the file upload * The ability to specify the name of the file when writing it to disk. s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213002 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Using CFLDAP to change the password of a user in Active Directroy...
I zipped some files that peform the password change process using the two different methods I described earlier. http://acelinkdev.evansville.edu/HOFLists/PasswordChangeMethods.zip As far as the VB/COM class, I'm no VB guru, but I was able to make it work to suit my testing. M!ke -Original Message- From: Paul Schwartz [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 9:11 AM To: CF-Talk Subject: Re: Using CFLDAP to change the password of a user in Active Directroy... Hello, I would be interested in seeing examples of this procedure. Thanks, Paul Theoretically, this can be done, but you need a secure LDAP connection to do this with CFLDAP and AD. I have not tried this myself. I use two different methods, assuming that the CF server is Window-based. This is not extremely portable between platforms, but I don't personally care since we standardized on W2k3. 1. CFEXECUTE with net.exe 2. Visual Basic COM object that changes the password using ADSI. Let me know if you want to see examples of either. M!ke ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213003 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Menu code generator - modifiable
On 7/27/05, Kristopher Pilles [EMAIL PROTECTED] wrote: Hi Dave. I just finished writing a dynamic menu builder that uses the milinic.com DHTML menu. If you want a peek at the code, I'd be glad to show you. The menu is pretty sweet (we are still tweaking it) - it supports multiple fly outs etc... I'd like to see that myself. DISCLOSURE: I used to sell a dynamic CF builder and was a reseller of the Milonic menu as a part of that. Ain't doing it anymore as I didn't have the time to spend building something v5 compatible. I would use your code for my own projects and never for anything I sell like that. -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213004 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: random password generator
http://tutorial176.easycfm.com/ -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 9:57 AM To: CF-Talk Subject: Re: random password generator Many of the ones on the macromedia exchange are for much older versions of ColdFusion. Is it eally a reason they are not good anymore?. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213005 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Menu code generator - modifiable
YP Slideout Menus. It's old but still works: http://ypslideoutmenus.sourceforge.net/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 5:30 AM To: CF-Talk Subject: SOT: Menu code generator - modifiable Hi, This is sort of off topic, but I've spent hours trying to find what I'm looking for and I'm sure some of you other CF developers out there have needed something like this. I'm looking for a javascript menu builder/code generator that does 'slide-down' menus. I've found several, but most don't have code that's modifiable/readable. My cilent won't allow me to use code that can't be modified. Any help would be greatly appreciated. Thanks folks, Dave ** The information contained in this message, including attachments, may contain privileged or confidential information that is intended to be delivered only to the person identified above. If you are not the intended recipient, or the person responsible for delivering this message to the intended recipient, ALLTEL requests that you immediately notify the sender and asks that you do not read the message or its attachments, and that you delete them without copying or sending them to anyone else. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213006 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: The Parable of the OOP and Breakfast
This parable is actually a rather old one, told by Electrical/Electronic Engineers when they want to gain points on Computer Scientists, hence the bias of a good, simple procedural design vs a poor, bloated and inappropriate OO design. The language in it changes from telling to telling. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213007 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF 7 hosting
LOL. I switched from Datapipe TO Hostmysite. :) Dave -Original Message- From: Aminova, Elena [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 11:31 AM To: CF-Talk Subject: RE: CF 7 hosting Thanks Dave! I will pass this info on to my boss. Any other suggestions from others are very appreciated. We use Datapipe now, but they don't have CF7 available yet and we want to upgrade. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 11:20AM To: CF-Talk Subject: RE: CF 7 hosting I use http://www.hostmysite.com. Contact Reema Patel there and tell her Dave Phillips sent you. She will take good care of you. I haven't dealt with any of the other sales reps, but Reema was great, and their technical support is the best I have ever dealt with in 10 years of hosting websites. And, they are reasonable in cost! Dave -Original Message- From: Aminova, Elena [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 11:21 AM To: CF-Talk Subject: CF 7 hosting Anyone knows any good managed hosting services that we can use for a shared server that provide servers with CF 7. Thanks. Elena Aminova Web Applications Developer ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213008 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFMX, Video resizing/repurposing
Rick, While looking at the code examples for JMF, I saw a section called Simple Editing Utilities. Wasn't that section helpful based on your requirement. Thanks Qasim On 7/27/05, Rich Wild [EMAIL PROTECTED] wrote: Thanks Qasim, that's not off-topic at all! When starting this I started off by searching for a Java solution that I could hook into through CFMX in much the same way as J-Image etc, but I couldn't find anything. I looked at the article you posted, but there doesn't seem to be anything in it that lets us reauthor movies server-side. I did a bit of search at Sun, but could only find the Java Media Framework (JMF) which seems to be a desktop player rather enable movie repurposing/reauthoring. If there's anything in Java that'll let me do this - I'd love it if anyone could point me in the right direction! Rich Although I might be way off-topic, have you thought about using Java instead of a COM object. My first google search for Java Media returned me this article which might help you. http://www.javaworld.com/javaworld/jw-06-1998/jw-06-media.html HTH Qasim On 7/26/05, Rich Wild [EMAIL PROTECTED] wrote: ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213009 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Confused about this...
Duh. I see that now. Thanks Isaac. :) Oh well, it looks elegant, though doesn't it? ;-) Indeed. :) s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213010 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF 7 hosting
When did you switch? And No regrets? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 12:26PM To: CF-Talk Subject: RE: CF 7 hosting LOL. I switched from Datapipe TO Hostmysite. :) Dave -Original Message- From: Aminova, Elena [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 11:31 AM To: CF-Talk Subject: RE: CF 7 hosting Thanks Dave! I will pass this info on to my boss. Any other suggestions from others are very appreciated. We use Datapipe now, but they don't have CF7 available yet and we want to upgrade. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 11:20AM To: CF-Talk Subject: RE: CF 7 hosting I use http://www.hostmysite.com. Contact Reema Patel there and tell her Dave Phillips sent you. She will take good care of you. I haven't dealt with any of the other sales reps, but Reema was great, and their technical support is the best I have ever dealt with in 10 years of hosting websites. And, they are reasonable in cost! Dave -Original Message- From: Aminova, Elena [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 11:21 AM To: CF-Talk Subject: CF 7 hosting Anyone knows any good managed hosting services that we can use for a shared server that provide servers with CF 7. Thanks. Elena Aminova Web Applications Developer ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213011 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF 7 hosting
I switched our dedicated servers in December of 2004 and have absolutely no regrets whatsoever. I started using their shared hosting for one client in July of 2004 and with 5 months of great service it was a no brainer to switch over the dedicated servers. They are awesome. Dave -Original Message- From: Aminova, Elena [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 12:47 PM To: CF-Talk Subject: RE: CF 7 hosting When did you switch? And No regrets? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 12:26PM To: CF-Talk Subject: RE: CF 7 hosting LOL. I switched from Datapipe TO Hostmysite. :) Dave -Original Message- From: Aminova, Elena [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 11:31 AM To: CF-Talk Subject: RE: CF 7 hosting Thanks Dave! I will pass this info on to my boss. Any other suggestions from others are very appreciated. We use Datapipe now, but they don't have CF7 available yet and we want to upgrade. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 11:20AM To: CF-Talk Subject: RE: CF 7 hosting I use http://www.hostmysite.com. Contact Reema Patel there and tell her Dave Phillips sent you. She will take good care of you. I haven't dealt with any of the other sales reps, but Reema was great, and their technical support is the best I have ever dealt with in 10 years of hosting websites. And, they are reasonable in cost! Dave -Original Message- From: Aminova, Elena [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 11:21 AM To: CF-Talk Subject: CF 7 hosting Anyone knows any good managed hosting services that we can use for a shared server that provide servers with CF 7. Thanks. Elena Aminova Web Applications Developer ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213012 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CF 7 hosting
This thread will probably turn into a 'I love X' or 'I hate Y' thread - but I thought I'd chime in and mention hosting.com. They host CFLib, my blog, CFCZone, the CFC dev list, etc, all of which are resources for this community. They pay for everything and I just have to manage my own machine. Very, very gracious of them, and if you like CFlib, my blog, yada yada yada, you can send them some business. :) On 7/27/05, Aminova, Elena [EMAIL PROTECTED] wrote: Anyone knows any good managed hosting services that we can use for a shared server that provide servers with CF 7. Thanks. Elena Aminova Web Applications Developer -- === Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : ray.camdenfamily.com Yahoo IM : cfjedimaster My ally is the Force, and a powerful ally it is. - Yoda ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213013 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Dateformat question
Hello, Can someone please tell me why the time is not correct if I use DateFormat; for some reason it's off by 47 minutes. Thanks, - Charles Example... #DateFormat(Now(), DD-MM- HH:MM:ss)# = 27-07-2005 09:07:47 #DateFormat(Now(),DD-MM-)# #TimeFormat(Now(),HH:mm:ss)# = 27-07-2005 09:54:47 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213014 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Dateformat question
Because dateformat only formats DATES not TIMES. So the MM in your time portion stands for the two digit MONTH number, not MINUTES; so that '07' is for July. It's a bit annoying, but you need to do #dateFormat(...)##timeFormat(...)# to get what you want. I would not be surprised if there is not a UDF out there that combines this, but I have not been annoyed enough to look for it yet. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning -Original Message- From: Charles Heizer [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 10:01 AM To: CF-Talk Subject: Dateformat question Hello, Can someone please tell me why the time is not correct if I use DateFormat; for some reason it's off by 47 minutes. Thanks, - Charles Example... #DateFormat(Now(), DD-MM- HH:MM:ss)# = 27-07-2005 09:07:47 #DateFormat(Now(),DD-MM-)# #TimeFormat(Now(),HH:mm:ss)# = 27-07- 2005 09:54:47 ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213015 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Dateformat question
Because dateFormat doesn't format times, it formats dates, so you're getting July (month 7), not the number of minutes off the hour. cheers, barneyb On 7/27/05, Charles Heizer [EMAIL PROTECTED] wrote: Hello, Can someone please tell me why the time is not correct if I use DateFormat; for some reason it's off by 47 minutes. Thanks, - Charles Example... #DateFormat(Now(), DD-MM- HH:MM:ss)# = 27-07-2005 09:07:47 #DateFormat(Now(),DD-MM-)# #TimeFormat(Now(),HH:mm:ss)# = 27-07-2005 09:54:47 -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213016 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Dateformat question
Because MM means Month with leading zero as evidenced by your use of it earlier in the command. Jerry Johnson On 7/27/05, Charles Heizer [EMAIL PROTECTED] wrote: Hello, Can someone please tell me why the time is not correct if I use DateFormat; for some reason it's off by 47 minutes. Thanks, - Charles Example... #DateFormat(Now(), DD-MM- HH:MM:ss)# = 27-07-2005 09:07:47 #DateFormat(Now(),DD-MM-)# #TimeFormat(Now(),HH:mm:ss)# = 27-07-2005 09:54:47 ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213017 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Dateformat question
Here's the UDF that I use. It takes a datetime object and an optional mask. If the mask is omitted, it formats the datetime based on it's age (just time for today, monthname and day for this year, m/d/yy for previous years). If the mask is provided and is the string xml, it will format it as an XML date (such as for using in RSS feeds). If the mask is provided and is not xml, it will be passed verbatim to the java.text.SimpleDateFormat class, which defines rules for formatting datatime objects. The xml format uses the behaviour (via recursion), so you can get a basic idea of how it works. Note that the masks are case sensitive. cheers, barneyb MIDNIGHT = createDate(year(now()), month(now()), day(now())); NEWYEARS = createDate(year(now()), 1, 1); function dateTimeFormat(d/*, mask*/) { var sdf = ; var offset = ; if (arrayLen(arguments) GT 1) { switch (arguments[2]) { case xml: offset = -1 * getTimeZoneInfo().utcTotalOffset; return dateTimeFormat(d, -MM-dd'T'HH:mm:ss) numberFormat(int(offset / 3600), +00) : numberFormat(int(offset / 60) MOD 60, 00); default: sdf = createObject(java, java.text.SimpleDateFormat).init(arguments[2]); return sdf.format(d); } } else if (d GTE MIDNIGHT) { return lCase(timeFormat(d, h:mm tt)); } else if (d GT NEWYEARS) { return dateFormat(d, mmm d); } else { return dateFormat(d, m/d/yy); } } On 7/27/05, Ian Skinner [EMAIL PROTECTED] wrote: Because dateformat only formats DATES not TIMES. So the MM in your time portion stands for the two digit MONTH number, not MINUTES; so that '07' is for July. It's a bit annoying, but you need to do #dateFormat(...)##timeFormat(...)# to get what you want. I would not be surprised if there is not a UDF out there that combines this, but I have not been annoyed enough to look for it yet. -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213018 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Dateformat question
I'm curious why he's even getting a valid response for the HH and the ss in there. What in the heck do those represent from the date? By the way Charles, I use this little UDF constantly: cfscript function FormatDateTime(thedate) { return (DateFormat(thedate,MM/DD/) TimeFormat(thedate,hh:mm tt)); } /cfscript Then I just use FormatDateTime(now()) whenever I need to show both. HTH. Dave -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 1:08 PM To: CF-Talk Subject: Re: Dateformat question Because dateFormat doesn't format times, it formats dates, so you're getting July (month 7), not the number of minutes off the hour. cheers, barneyb On 7/27/05, Charles Heizer [EMAIL PROTECTED] wrote: Hello, Can someone please tell me why the time is not correct if I use DateFormat; for some reason it's off by 47 minutes. Thanks, - Charles Example... #DateFormat(Now(), DD-MM- HH:MM:ss)# = 27-07-2005 09:07:47 #DateFormat(Now(),DD-MM-)# #TimeFormat(Now(),HH:mm:ss)# = 27-07-2005 09:54:47 -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213019 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54