Re: MG, CS Controller
On Wednesday 28 Feb 2007, Dinner wrote: Does this mean all you have is get'ers, or you're passing the objects in through params/constructors? The opposite - my beans only have set'ers (setLogger(), setReactorFactory(), ...). I'm a little unclear on how you could have it only be in the xml file? You have get it in to the cfml somehow, right? Yeah. But then I'd feel like the XML file was just a copy of the dependencies I'd already documented / requested by writing a set method for them. -- Tom Chiverton Helping to assertively revolutionize granular materials On: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271091 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: How Many CF Developers Are There: Dave Mendels Says 300K
On Wednesday 28 Feb 2007, Eric Roberts wrote: According to technical recruiters that have been calling me for positions inChicago and in other parts of the country...not enough... Same in the UK - when I was job hunting last year it was more a case of where I wanted to work than where the work was. -- Tom Chiverton Helping to biannually morph bleeding-edge mindshares On: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271092 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: spam: Re: ANN: GotCFM.Com is Launched - Dedicated to CF Evangelism
On Wednesday 28 Feb 2007, Nicholas M Tunney wrote: something out to share the site list back and forth to keep them in sync. Let me know if this is something you are interested in. I expect to get the site released tonight or tomorrow. Most of the time you can get a reasonable lat./long. from DNS or IP databases, if you wanted to jump start cfmaps ... -- Tom Chiverton Helping to challengingly industrialize high-end e-markets On: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271093 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: spam: Re: ANN: GotCFM.Com is Launched - Dedicated to CF Evangelism
Tom Chiverton wrote: Most of the time you can get a reasonable lat./long. from DNS or IP databases, if you wanted to jump start cfmaps ... except that you'd be getting where the servers or whatever were really located instead of where they're supposed to be. for example there's a buttload of ozzy servers in the US. instead, i'd suggest asking where the site is supposed to be. if not, cfmaps can always use geoLocator: https://sourceforge.net/project/showfiles.php?group_id=72381release_id=483311 and maybe to summarize stuff by country, seth's cool flash worldmap http://www.leavethatthingalone.com/worldmap/ ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271094 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Wtf time: name can't be empty??
Am I being daft here, or is the problem because you aren't selecting name in your query? I thought you had to select the field you were using the WHERE clause on. Does this work: cfquery name=msg_details datasource=#application.dsn# select title, content, name from content_misc_text where name = 'email_text' /cfquery Cheers Will ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271095 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: MX7 use of cflock
On Wednesday 28 Feb 2007, Mik Muller wrote: place. Could be any of the 250 or so cfm files. It's almost like the browser is dropping the ball or something. Here's a snippet from the dump I mail myself (a little dirty, but gets me what I need). If there truly was something wrong on line 91 of box_members.cfm then I'd be receiving This is a classic symptom of not var'ing your CFC private variables, but I don't see a CFC in your stack trace. -- Tom Chiverton Helping to challengingly pursue high-yield relationships On: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271096 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Wtf time: name can't be empty??
No, you don't. On 3/1/07, Will Swain wrote: I thought you had to select the field you were using the WHERE clause on. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271097 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: What is the best resource for a begginer CF Programer?
Robertson-Ravo, Neil (RX) wrote: Errm, 301K now, damn those stats... :-) 300.001 right? ;) ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271098 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Wtf time: name can't be empty??
http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-b19.htm I have the following CFQuery line: cfquery name = myQuery datasource = #ds# I ran into an instance where ds had no value so datasource = The error that returned was name can't be empty If you temporarily hard-code the datasource name does it make any difference? cfquery name=msg_details datasource=#application.dsn# ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271099 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Variable getModelGlue is undefined
Hello Guys, Having a bit of an issue with obtaining access to ColdSpring and Reactor from my model layout in MG using the getModelGlue().getBean() method. I've been using this in my controller to instantiate a bean and it works perfectly, however when I place it in any of the CFC's in my model layer I get the error 'Variable getModelGlue is undefined' thrown back at me. Do I access this stuff differently from my model layer? Thanks chaps, Rob ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271100 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: All files Read-Only via RDS w/CFMX7 on Linux
On Thursday 01 Mar 2007, RobG wrote: I setup a development box on Linux (FC6), CFMX7.02, and when I go in via RDS, all of the files show up as read-only. I'm wondering what user or group has to own the files to be edited in or order for it to work? The one your CFML server is running as. -- Tom Chiverton Helping to collaboratively target one-to-one ROI On: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271101 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Uploading images to temp table
Hi guys, Sort a thinking out aloud here, but feel free to cut me off... I have 2 tables... Listing Listing_image When a property listing is added (involves 3 to 4 steps), all the detail is added to a session struct so the user can go back and forth between forms. The last step is to add images (up to 6). Now I am wanting to add all data and images to the db tables at once - so I can add correct FK to listing_image etc. When the user uploads their images, should I upload to a temporary table with a uuid that is created at the start of the session - so when it comes to confirming the listing is to be added I can get the temp records and put them in the listing_image table ? What do you think. Am I making sense at this late time of night? mike ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271102 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Wtf time: name can't be empty??
Doh, quite right. Carry on. -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: 01 March 2007 09:56 To: CF-Talk Subject: Re: Wtf time: name can't be empty?? No, you don't. On 3/1/07, Will Swain wrote: I thought you had to select the field you were using the WHERE clause on. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271103 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Suggestions on validating embed or object entries
On Wednesday 28 Feb 2007, Michael E. Carluen wrote: tags, but thought it will not be truly effective. Unlike URLs entries, I don't think there is a mask applicable to even perform a regex find on it. or does it? Why not offer the user boxes for just the bits that matter to them (type, URL), and then write the actual HTML yourself. -- Tom Chiverton Helping to efficiently facilitate real-time e-services On: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271104 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Variable getModelGlue is undefined
Yes - you don't. If your model needs any values from your config beans, they should be passed _to_ the model when the controller creates them. You don't want your model tied to your config. On 3/1/07, Robert Rawlins [EMAIL PROTECTED] wrote: Hello Guys, Having a bit of an issue with obtaining access to ColdSpring Y Reactor from my model layout in MG using the getModelGlue().getBean() method. I've been using this in my controller to instantiate a bean and it works perfectly, however when I place it in any of the CFC's in my model layer I get the error 'Variable getModelGlue is undefined' thrown back at me. Do I access this stuff differently from my model layer? Thanks chaps, Rob ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271105 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Variable getModelGlue is undefined
Thanks for getting back to me on this Ray, its greatly appreciated, I've been tearing my hair out this morning :-D I'm still a little sketchy on the details though. I have beans in my model layer that need access to data from persistence, that I'm hoping to deliver through Reactor, how do I access reactor from my model? Do I have my controller access reactor and retrieve the query results, and then have the controller pass them into my model? From the documentation I've read I was under the impression the model interacts directly with reactor. Thanks again for the advice Ray, Rob -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: 01 March 2007 12:26 To: CF-Talk Subject: Re: Variable getModelGlue is undefined Yes - you don't. If your model needs any values from your config beans, they should be passed _to_ the model when the controller creates them. You don't want your model tied to your config. On 3/1/07, Robert Rawlins [EMAIL PROTECTED] wrote: Hello Guys, Having a bit of an issue with obtaining access to ColdSpring Y Reactor from my model layout in MG using the getModelGlue().getBean() method. I've been using this in my controller to instantiate a bean and it works perfectly, however when I place it in any of the CFC's in my model layer I get the error 'Variable getModelGlue is undefined' thrown back at me. Do I access this stuff differently from my model layer? Thanks chaps, Rob ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271106 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Multi column output
On Tuesday 27 Feb 2007, OÄuz Demirkapı wrote: Any tip? alistapart.com -- Tom Chiverton Helping to seamlessly pursue world-class channels On: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271107 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: spam: Re: ANN: GotCFM.Com is Launched - Dedicated to CF Evangelism
On Thursday 01 Mar 2007, Paul Hastings wrote: Tom Chiverton wrote: Most of the time you can get a reasonable lat./long. from DNS or IP databases, if you wanted to jump start cfmaps ... except that you'd be getting where the servers or whatever were really located instead of where they're supposed to be. for example there's a buttload of ozzy servers in the US. If people don't put this in their DNS, that's their own look out :-) -- Tom Chiverton Helping to globally repurpose collaborative eyeballs On: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271108 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: spam: Re: ANN: GotCFM.Com is Launched - Dedicated to CF Evangelism
Tom Chiverton wrote: If people don't put this in their DNS, that's their own look out :-) how does that apply to hosted sites? ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271109 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Why is House Of Fusion posting email addresses?
Ok, So a couple of weeks have passed so I thought I'd check. 1. Still showing on House of Fusion 2. Still showing in google from House of Fusion Now I know I'm in a different time zone, but that hour must have passed. http://www.houseoffusion.com/groups/CF-Talk/reply.cfm/threadid:50342/message counter:269742 Regards Dale Fraser http://dale.fraser.id.au http://dale.fraser.id.au/ ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271110 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How to expire a page?
Yes, it's in th eheader and all the tags are closed properly. Th efunny part is that I hav eevent set in my browser uner options, to retreive the page on Every visit , which ofcourse I cannot enforce or guarantee for the rest of the users. Cannot rememeber now if I did clear the cache. Thanks Victor On 3/1/07, Dinner [EMAIL PROTECTED] wrote: Are you sure that it's in the page header? head meta... /head And that the page has html and body opening/closing tags? Did you clear the cache after updating the page? :-) Failing all that, you can append a random var to the end of the url... On 2/28/07, Victor Moore [EMAIL PROTECTED] wrote: Yes, I have tried : meta http-equiv=expires content=Mon, 06 Jan 1990 00:00:01 GMT / meta http-equiv=pragma content=no-cache / meta http-equiv=cache-control content=no-cache / meta http-equiv=expires content=0 and no success. I don't think it's fair for the user that I will mess with their browser history. I must be missing something. There are a lot of sites where after you log out you cannot see the pages using the browser history Thanks Victor ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:27 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF WordML?
Hi It just happens that our client has also requested multi column output in their documents. I'll be looking into that today or tomorrow and will let you know if I learn something of value. Tero -Original Message- From: OÃuz Demirkapı [mailto:[EMAIL PROTECTED] Sent: 28 February 2007 22:25 To: CF-Talk Subject: Re: CF WordML? Tero, thanks for your great tips! I have been just trying to generate multi column with XSLT. But as you mentioned Word is not a cooperative guy. :) I have already found some tools to design WordML templates but none of them works as I expected. What I do is creating my target document in Word and saving as XML and trying to understand the code. My main problem is dynamic continuous content for multi columns. There would be some easy way to have them. :) ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271112 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Why is House Of Fusion posting email addresses?
Dale, Unfortunately it may be a bit before Google Drops already indexed pages before the fix. Eric On 3/1/07, Dale Fraser [EMAIL PROTECTED] wrote: Ok, So a couple of weeks have passed so I thought I'd check. 1. Still showing on House of Fusion 2. Still showing in google from House of Fusion Now I know I'm in a different time zone, but that hour must have passed. http://www.houseoffusion.com/groups/CF-Talk/reply.cfm/threadid:50342/message counter:269742 Regards Dale Fraser http://dale.fraser.id.au http://dale.fraser.id.au/ ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271113 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Wtf time: name can't be empty??
On 3/1/07, Janet MacKay [EMAIL PROTECTED] wrote: If you temporarily hard-code the datasource name does it make any difference? cfquery name=msg_details datasource=#application.dsn# I second this. Maybe the dsn variable is empty and you just don't know it. Rick ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271114 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: What is the best resource for a begginer CF Programer?
Nice@ -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 28, 2007 6:20 PM To: CF-Talk Subject: Re: What is the best resource for a begginer CF Programer? Errm, 301K now, damn those stats... :-) ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271115 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: ANN: GotCFM.Com is Launched - Dedicated to CF Evangelism
Already in place actually. -Original Message- From: Rey Bango [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 28, 2007 9:35 PM To: CF-Talk Subject: Re: ANN: GotCFM.Com is Launched - Dedicated to CF Evangelism Hi Will, Yep, thats a feature that's planned. :o) Thanks for the suggestion. Rey ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271116 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Wtf time: name can't be empty??
Have you tried removing the WHERE line and assuring that the error goes away. It might point out another problem causing this problem. Errors are often incorrect. Also, I seem to remember something about a field attribute when creating the table where it is required to put in a value on INSERT, which this is not. . . but it's a vague memory so it may be incorrect. -- Daniel Kessler College of Health and Human Performance University of Maryland Suite 2387 Valley Drive College Park, MD 20742-2611 Phone: 301-405-2545 http://hhp.umd.edu ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271117 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Wtf time: name can't be empty??
On 3/1/07 9:14 AM, Rick Root wrote: If you temporarily hard-code the datasource name does it make any difference? cfquery name=msg_details datasource=#application.dsn# I second this. Maybe the dsn variable is empty and you just don't know it. Argh. That turned out to be the problem. I was moving functions from one app to another where the DSN naming convention was different and forgot to update them. Thanks, and sorry for wasting so much time on this. --Â Damien McKenna - Web Developer [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271118 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: ANN: GotCFM.Com is Launched - Dedicated to CF Evangelism
Something I would like to see is a take on what Ben Forta has on his site... Ben has a listing of all the different companies that use CF...how about making that searchable by Name, Country, State, City, etc... That would be a very valuable tool for folks looking jobs. Just going through the list, unless you just happen to know all the companies in your area, is a bit overwhelming. That would also be helpful for people looking at possibly implementing CF. If they knew other in their area, they could possibly even contact them for info and find how well CF is working for them. I know if I talked to a company using it and they had glowing things to say about CF, that would hold more weight than any salesman could ever dream to hold. Eric ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271119 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Variable getModelGlue is undefined
Rob, You can get your framework object ( and thus return the same object that getModelGlue() returns in the controllers) through one of two methods: 1) Pass it in as a constructor argument through Coldspring (see my previous reply to one of your posts) 2) The framework is scoped in the application at application.yourapplicationkey.framework Once the framework is passed into your component and is in the variables scope you can use it just like getModelGlue(): cfset variables.reactor = variables.framework.getORMService()/ or cfset myBean = variables.framework.getBean(myBean)/ HTH, Jon On Mar 1, 2007, at 3:57 AM, Robert Rawlins wrote: Hello Guys, Having a bit of an issue with obtaining access to ColdSpring and Reactor from my model layout in MG using the getModelGlue().getBean () method. I've been using this in my controller to instantiate a bean and it works perfectly, however when I place it in any of the CFC's in my model layer I get the error 'Variable getModelGlue is undefined' thrown back at me. Do I access this stuff differently from my model layer? Thanks chaps, Rob ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271120 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: ANN: GotCFM.Com is Launched - Dedicated to CF Evangelism
That's not a bad idea. ATM Rey isn't collecting city/state/country information though. -Original Message- From: Eric Roberts [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 9:02 AM To: CF-Talk Subject: RE: ANN: GotCFM.Com is Launched - Dedicated to CF Evangelism Something I would like to see is a take on what Ben Forta has on his site... Ben has a listing of all the different companies that use CF...how about making that searchable by Name, Country, State, City, etc... That would be a very valuable tool for folks looking jobs. Just going through the list, unless you just happen to know all the companies in your area, is a bit overwhelming. That would also be helpful for people looking at possibly implementing CF. If they knew other in their area, they could possibly even contact them for info and find how well CF is working for them. I know if I talked to a company using it and they had glowing things to say about CF, that would hold more weight than any salesman could ever dream to hold. Eric ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271121 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: MX7 use of cflock
Interesting. I would assume that in many instances in which you suspect the potential for race conditions, you still won't actually encounter race conditions. So is there a downside to locking when no race conditions are present? And to be clear, is the best practices approach to use named locks when you suspect the potential for race conditions, as opposed to scope locks? When do you need to lock the entire scope anymore? Jim http://by104fd.bay104.hotmail.msn.com/cgi-bin/compose?type=rmsg=65945CCB-42A8-43E8-A62E-C35E3552995Cstart=0len=3581curmbox=%2d%2d%2d%2d0001a=e53d9f0f71cc6daafcc6796fe0c642ce5b46c1a74ae66cb8450fe1b28776c839# Send From: Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] Reply-To: cf-talk@houseoffusion.com To: CF-Talk cf-talk@houseoffusion.com Subject: Re: MX7 use of cflock Date: Wed, 28 Feb 2007 20:10:29 - Basically, you do not have to use cflock as abundant as we did in pre-mx. You still have to lock when a race condition may occur but your colleague is correct to a degree, cflock is not really required as it will no longer crash the server etc but if a race can occurr you should lock... Ultimately, look at the process and decide for yourself. In some cases, it won't do you any harm to lock (as long as the lock doesn't become a hindrance :-) This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: jim ostlund To: CF-Talk Sent: Wed Feb 28 20:00:17 2007 Subject: MX7 use of cflock I have been using earlier versions of CF since 2.0. I am just getting started in MX7, however. A colleague recently told me that you don't really need to use cflock on session or application variables and so on anymore. I have not read anything in the docs or anywhere else to indicate that this is the case. It is, however, my understanding that if you need to read or write app or session locks, you no longer need to lock the entire scope, but that you should now used named locks rather. Can anyone shed some light on this topic? Jim _ Play Flexicon: the crossword game that feeds your brain. PLAY now for FREE. http://zone.msn.com/en/flexicon/default.htm?icid=flexicon_hmtagline ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271122 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: spam: Re: ANN: GotCFM.Com is Launched - Dedicated to CF Evan gelism
except that you'd be getting where the servers or whatever were really located instead of where they're supposed to be. for example there's a buttload of ozzy servers in the US. Yeah, and don't forget Akamai. 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! ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271123 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: What is the best resource for a begginer CF Programer?
LOL! Totally! :oD Robertson-Ravo, Neil (RX) wrote: Errm, 301K now, damn those stats... :-) This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Matt Quackenbush To: CF-Talk Sent: Thu Mar 01 00:15:10 2007 Subject: Re: What is the best resource for a begginer CF Programer? Mark, Welcome to the wonderful world that is ColdFusion. I would highly recommend Ben Forta's WACK (Web Application Construction Kit) for *anyone* (beginner or experienced). As a beginner, it is a great teaching tool. For the experienced, it's a great reference. As you get experienced (or if you're already experienced in another language), I would also recommend Ben's Advanced ColdFusion Development book. http://www.amazon.com/Macromedia-ColdFusion-Web-Application-Construction/dp/ 0321223675/sr=1-4/qid=1172708030/ref=sr_1_4/002-5850138-1396026?ie=UTF8s=bo oks http://www.amazon.com/Advanced-Macromedia-ColdFusion-Application-Development /dp/0321292693/sr=1-5/qid=1172708074/ref=sr_1_5/002-5850138-1396026?ie=UTF8 s=books Hope that helps. Matt On 2/28/07, Mark Perdue wrote: Hello everyone I am new to CF, what kind of advice or referances can you give for me to start with? I have done some SQL work before, but CF is new and I need a leg up to get me started on the right path, Thanks Mark. ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271124 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: What is the best resource for a begginer CF Programer?
Mark, I also recommend finding your local CFUG (ColdFusion Users Group), and joining in. You'll make good friends with developers and enthusiasts of varying levels, and you'll be able to learn a lot by watching presentations and being able to ask specific questions when you don't get something. I also agree with Mike Kear. Shout at the list when you need help. The community is a very good resource! :o) Cheers mate! And welcome to ColdFusion! Chris Mark Perdue wrote: Hello everyone I am new to CF, what kind of advice or referances can you give for me to start with? I have done some SQL work before, but CF is new and I need a leg up to get me started on the right path, Thanks Mark. ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271125 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
upload multiple images
Hey all, I'm using the following script to allow users to upload 3 images. It seems to work fairly well, but I have 2 issues. 1. It errors unless a user uploads all 3 images. I'd like to give them the option of only uploading 1 or 2 images. 2. I have a hidden form variable called IsPrimary that should set the image in the first upload field to Yes and the other 2 to No (the IsPrimary image is the one that shows up in searches, etc.) But with this script, they're all being set to Yes Any ideas on how to solve these 2 issues? Thanks Rick cfparam name=SESSION.Auth.UserID default= cfparam name=FORM.CatID default= cfparam name=FORM.Category default= cfparam name=FORM.Designer default= cfparam name=FORM.Model default= cfparam name=FORM.Color default= cfparam name=FORM.Size default= cfparam name=FORM.Price default= cfparam name=FORM.Material default= cfparam name=FORM.Description default= cfparam name=FORM.IsPrimary default=0 cftransaction cfquery name=Product datasource=DB SET NOCOUNT ON; INSERT INTO Products (CatID, UserID, Designer, Model, Color, Price, Material, Description, Status) VALUES ('#Trim(FORM.CatID)#', '#Trim(SESSION.Auth.UserID)#', '#Trim(FORM.Designer)#', '#Trim(FORM.Model)#', '#Trim(FORM.Color)#', '#Trim(FORM.Price)#', '#Trim(FORM.Material)#', '#Trim(FORM.Description)#', 'Pending'); SELECT @@identity AS ProdID FROM Products; /cfquery !--- Accept the file upload --- cfloop from=1 to=3 index=i cffile action=upload filefield=file#i# result=cffile.file#i# destination=#ExpandPath('users/uploads/')# nameconflict=makeunique accept=image/jpg, image/JPG, image/jpeg, image/JPEG, image/gif, image/GIF, image/pjpeg, image/pjpg !--- Resize, rename and set the quality of the image uploaded with cfx_openimage --- cfx_openimage action=iml name=qimages file=#ExpandPath('users/uploads/')##cffile['file'i].serverFile# commands= setjpegdpi 72 setquality 100 setimage large=original setimage thumb=original ## resize if either width or height is greater than 500 useimage large resizeif 500,400 write #ExpandPath('users/uploads/'cffile['file'i].serverFileName'.jpg')# ## resize if either width or height is greater than 100 useimage thumb resizeif 100,75 write #ExpandPath('users/uploads/th_'cffile['file'i].serverFileName'.jpg')# !--- Upload to database --- cfquery datasource=wioDB INSERT INTO Images (ProdID, Image, IsPrimary) VALUES (#Product.ProdID#,'#cffile['file'i].serverFile# ', '#FORM.IsPrimary#') /cfquery /cfloop /cftransaction cflocation url=review.cfm?ProdID=#Product.ProdID# ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271126 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Variable getModelGlue is undefined
Thanks for that Jon, That makes sense to me now, I think I'll probably pass this in via Cold Spring to try and preserve encapsulation, I donât really like accessing the app scope from within my beans directly. Thanks again for your help, it'll no doubt prove invaluable :-D Rob -Original Message- From: Jon Clausen [mailto:[EMAIL PROTECTED] Sent: 01 March 2007 15:12 To: CF-Talk Subject: Re: Variable getModelGlue is undefined Rob, You can get your framework object ( and thus return the same object that getModelGlue() returns in the controllers) through one of two methods: 1) Pass it in as a constructor argument through Coldspring (see my previous reply to one of your posts) 2) The framework is scoped in the application at application.yourapplicationkey.framework Once the framework is passed into your component and is in the variables scope you can use it just like getModelGlue(): cfset variables.reactor = variables.framework.getORMService()/ or cfset myBean = variables.framework.getBean(myBean)/ HTH, Jon On Mar 1, 2007, at 3:57 AM, Robert Rawlins wrote: Hello Guys, Having a bit of an issue with obtaining access to ColdSpring and Reactor from my model layout in MG using the getModelGlue().getBean () method. I've been using this in my controller to instantiate a bean and it works perfectly, however when I place it in any of the CFC's in my model layer I get the error 'Variable getModelGlue is undefined' thrown back at me. Do I access this stuff differently from my model layer? Thanks chaps, Rob ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271127 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Create Java objects without CreateObject()
Is there any way to access java when createObject() and cfobject... are disabled by the host? I.E. Can code like this be rewritten in some manner to work in this environment? //Create a java Array to hold our URLObject var ArrayClass = CreateObject(java,java.lang.reflect.Array); //Create an instance of java.net.URL for passing to the URLClassLoader var URLObject = CreateObject('java','java.net.URL').init(file: currentDirectory); P.S. This is the famous image properties component... are they any versions designed to work in environments without access to createObject() or cfobject... functionality? -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Sudoku | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271128 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Wtf time: name can't be empty??
On Thursday 01 Mar 2007, Damien McKenna wrote: Thanks, and sorry for wasting so much time on this. 100 lines ! This year I will learn a dependancy injection framework. :-) -- Tom Chiverton Helping to dynamically harvest robust models On: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271129 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: MX7 use of cflock
On Thursday 01 Mar 2007, jim ostlund wrote: Interesting. I would assume that in many instances in which you suspect the potential for race conditions, you still won't actually encounter race conditions. So is there a downside to locking when no race conditions are present? Yes, you'll force you app (or session, or ...) to run single threaded through the lock. This will have a performance impact. And to be clear, is the best practices approach to use named locks when you suspect the potential for race conditions, as opposed to scope locks? When do you need to lock the entire scope anymore? Wont a named lock single thread the whole application at that point, where as a session lock only single threads the current users request. -- Tom Chiverton Helping to confidentially optimize internet synergies On: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271130 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: upload multiple images
First, check for file existence before the transaction for each iteration of the loop. On the isPrimary issue, if the first image is always the primary image, then you don't need a form element for it, right? So, either set a variable to 1 or 0 depending on which iteration of the loop you're on, and use that value on your insert statement, or use an expression like #iif(i is 1,1,0)# Cheers, Kris !--- Accept the file upload --- cfloop from=1 to=3 index=i cffile action=upload filefield=file#i# result=cffile.file#i# destination=#ExpandPath('users/uploads/')# nameconflict=makeunique accept=image/jpg, image/JPG, image/jpeg, image/JPEG, image/gif, image/GIF, image/pjpeg, image/pjpg [snip] !--- Upload to database --- cfquery datasource=wioDB INSERT INTO Images (ProdID, Image, IsPrimary) VALUES (#Product.ProdID#,'#cffile['file'i].serverFile# ', '#FORM.IsPrimary#') /cfquery /cfloop ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271131 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: MX7 use of cflock
Wont a named lock single thread the whole application at that point, where as a session lock only single threads the current users request. My understanding is that a named lock will only single thread other code inside a lock block with the same name, thus it is more granular then a scope lock. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Sudoku | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271132 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: MX7 use of cflock
Wont a named lock single thread the whole application at that point, where as a session lock only single threads the current users request. Not if you build the lock name using a session identifier as part of the name. 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! ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271133 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: MX7 use of cflock
I'm perplexed. I have no idea why it's happening. One day I'll go in and make sure every single read and write is locked and see if that has any impact. Mik At 04:49 AM 3/1/2007, you wrote: On Wednesday 28 Feb 2007, Mik Muller wrote: place. Could be any of the 250 or so cfm files. It's almost like the browser is dropping the ball or something. Here's a snippet from the dump I mail myself (a little dirty, but gets me what I need). If there truly was something wrong on line 91 of box_members.cfm then I'd be receiving This is a classic symptom of not var'ing your CFC private variables, but I don't see a CFC in your stack trace. -- Tom Chiverton Helping to challengingly pursue high-yield relationships On: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271134 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: spam: Re: ANN: GotCFM.Com is Launched - Dedicated to CF Evangelism
On Thursday 01 Mar 2007, Paul Hastings wrote: Tom Chiverton wrote: If people don't put this in their DNS, that's their own look out :-) how does that apply to hosted sites? If people don't put this in their DNS, that's their own look out :-) -- Tom Chiverton Helping to appropriately empower leading-edge action-items On: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271135 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: MX7 use of cflock
On Thursday 01 Mar 2007, Dave Watts wrote: Wont a named lock single thread the whole application at that point, where as a session lock only single threads the current users request. Not if you build the lock name using a session identifier as part of the name. Ah, yes, of course. -- Tom Chiverton Helping to competently engage collaborative infomediaries On: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271136 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Small change to CFEclipse behaviour...
I'm wondering if it's possible for me to make a small change to a built-in behaviour in CFEclipse. I've got a keycommand for dropping in a cfdump tag. That works beautifully. But whenever I drop in a cfdump I almost ALWAYS follow it with a cfabort. Is there something I can change somewhere in my eclipse directory to add this in? I tried locating it, but it seems like I'd have to get into the JAR file. Anyone know if this is possible? It's not a huge deal, but thought it would be nice if I could make this change. Andy Matthews Senior Coldfusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com http://www.dealerskins.com/ ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271137 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF WordML?
I had some good links earlier, but I lost them now. But, It's pretty easy to figure out if you just create some simple word docs with everything you wish to do, then take that wordml and put it in a CFC. The easiest way for me was to NOT use XSLT transformations. Rather, I just took apart a simple word doc saved as XML and put the wordml into a coldfusion CFC that creates word documents dynamically by combining input with the wordml and saving it as a string until your final output. With about a day of work or so you can create a simple CFC that adds paragraphs, tables, text formatting, lists, etc. I created one and the methods can accept arguments for text formatting, page breaks, indentation, etc. Hi, I am trying to figure out some basic techniques with WordML to integrate CF and Word. Are there anybody who has experience with WordML? Any resource to share? Any other suggestion to look at for CF Word integration? TIA! O?uz Demirkap? TeraTech Inc. | Senior Developer 405 East Gude Dr Suite 207, Rockville, MD 20850, USA Voice: +1 (301) 424-3903 ext 111 | Fax: +1 (301) 762-8185 Web: http://www.teratech.com | E-mail: oguz.demirkapi AT teratech.com Winner in CFDJ awards Best Consulting. Member Team Fusebox. ~~~ ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271138 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Small change to CFEclipse behaviour...
You could create a snippet with a keycommand. ~~~ Lori Stone Web Developer RAFFA Embracing Your Vision 202.955.6533 http://www.raffa.com http://www.iknow.org -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 11:53 AM To: CF-Talk Subject: Small change to CFEclipse behaviour... I'm wondering if it's possible for me to make a small change to a built-in behaviour in CFEclipse. I've got a keycommand for dropping in a cfdump tag. That works beautifully. But whenever I drop in a cfdump I almost ALWAYS follow it with a cfabort. Is there something I can change somewhere in my eclipse directory to add this in? I tried locating it, but it seems like I'd have to get into the JAR file. Anyone know if this is possible? It's not a huge deal, but thought it would be nice if I could make this change. Andy Matthews Senior Coldfusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com http://www.dealerskins.com/ ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271139 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: upload multiple images
Thanks Kris, the solution for the IsPrimary issue works well. I'm not sure I follow you on the first issue. If I only fill out the first upload field, I get an error stating, The form field 'file2' did not contain a file. Rick First, check for file existence before the transaction for each iteration of the loop. On the isPrimary issue, if the first image is always the primary image, then you don't need a form element for it, right? So, either set a variable to 1 or 0 depending on which iteration of the loop you're on, and use that value on your insert statement, or use an expression like #iif(i is 1,1,0)# Cheers, Kris [snip] !--- Upload to database --- cfquery datasource=wioDB INSERT INTO Images (ProdID, Image, IsPrimary) VALUES (#Product.ProdID#,'#cffile['file'i].serverFile# ', '#FORM.IsPrimary#') /cfquery /cfloop ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271140 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Small change to CFEclipse behaviour...
Sure...but the functionality is already there with a keystroke. Just trying to see if I can add on to it. Good idea though. I might resort to that if I can't do it by changing the files. -Original Message- From: Lori Stone [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 11:01 AM To: CF-Talk Subject: RE: Small change to CFEclipse behaviour... You could create a snippet with a keycommand. ~~~ Lori Stone Web Developer RAFFA Embracing Your Vision 202.955.6533 http://www.raffa.com http://www.iknow.org -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 11:53 AM To: CF-Talk Subject: Small change to CFEclipse behaviour... I'm wondering if it's possible for me to make a small change to a built-in behaviour in CFEclipse. I've got a keycommand for dropping in a cfdump tag. That works beautifully. But whenever I drop in a cfdump I almost ALWAYS follow it with a cfabort. Is there something I can change somewhere in my eclipse directory to add this in? I tried locating it, but it seems like I'd have to get into the JAR file. Anyone know if this is possible? It's not a huge deal, but thought it would be nice if I could make this change. Andy Matthews Senior Coldfusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com http://www.dealerskins.com/ ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271141 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: MX7 use of cflock
Okay, so the idea is that if you suspect the potential for a race condition, cflock name=session.mySessionVar timeout=10 type=exclusive cfset session.mySessionVar = 123 /cflock Something like that?? Again, when would best practices dictate locking the entire session (or application) scope under MX7? Not if you build the lock name using a session identifier as part of the name. _ With tax season right around the corner, make sure to follow these few simple tips. http://articles.moneycentral.msn.com/Taxes/PreparationTips/PreparationTips.aspx?icid=HMFebtagline ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271142 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: MX7 use of cflock
Okay, so the idea is that if you suspect the potential for a race condition, cflock name=session.mySessionVar timeout=10 type=exclusive cfset session.mySessionVar = 123 /cflock Something like that?? That would block anyone else running the same page, and you don't want that. Instead, create a unique lock name for each session: cflock name=#Session.SessionID#_mySessionVar ... Again, when would best practices dictate locking the entire session (or application) scope under MX7? Almost never, in my opinion. 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! ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271143 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Small change to CFEclipse behaviour...
The biggest problem I see by changing the files would be that each update re-writes those files (cfml7.xml). Which means that you would have to apply the files to each update. I think I would rely on snippets for these myself. Sandra Clark = http://www.shayna.com Training and Consulting in CSS and Accessibility Team Fusebox -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 12:18 PM To: CF-Talk Subject: RE: Small change to CFEclipse behaviour... Sure...but the functionality is already there with a keystroke. Just trying to see if I can add on to it. Good idea though. I might resort to that if I can't do it by changing the files. -Original Message- From: Lori Stone [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 11:01 AM To: CF-Talk Subject: RE: Small change to CFEclipse behaviour... You could create a snippet with a keycommand. ~~~ Lori Stone Web Developer RAFFA Embracing Your Vision 202.955.6533 http://www.raffa.com http://www.iknow.org -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 11:53 AM To: CF-Talk Subject: Small change to CFEclipse behaviour... I'm wondering if it's possible for me to make a small change to a built-in behaviour in CFEclipse. I've got a keycommand for dropping in a cfdump tag. That works beautifully. But whenever I drop in a cfdump I almost ALWAYS follow it with a cfabort. Is there something I can change somewhere in my eclipse directory to add this in? I tried locating it, but it seems like I'd have to get into the JAR file. Anyone know if this is possible? It's not a huge deal, but thought it would be nice if I could make this change. Andy Matthews Senior Coldfusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com http://www.dealerskins.com/ ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271144 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: upload multiple images
cfif form[file i] is not cffile ... /cfif -Original Message- From: Rick King [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 9:50 AM To: CF-Talk Subject: upload multiple images Hey all, I'm using the following script to allow users to upload 3 images. It seems to work fairly well, but I have 2 issues. 1. It errors unless a user uploads all 3 images. I'd like to give them the option of only uploading 1 or 2 images. 2. I have a hidden form variable called IsPrimary that should set the image in the first upload field to Yes and the other 2 to No (the IsPrimary image is the one that shows up in searches, etc.) But with this script, they're all being set to Yes Any ideas on how to solve these 2 issues? Thanks Rick cfparam name=SESSION.Auth.UserID default= cfparam name=FORM.CatID default= cfparam name=FORM.Category default= cfparam name=FORM.Designer default= cfparam name=FORM.Model default= cfparam name=FORM.Color default= cfparam name=FORM.Size default= cfparam name=FORM.Price default= cfparam name=FORM.Material default= cfparam name=FORM.Description default= cfparam name=FORM.IsPrimary default=0 cftransaction cfquery name=Product datasource=DB SET NOCOUNT ON; INSERT INTO Products (CatID, UserID, Designer, Model, Color, Price, Material, Description, Status) VALUES ('#Trim(FORM.CatID)#', '#Trim(SESSION.Auth.UserID)#', '#Trim(FORM.Designer)#', '#Trim(FORM.Model)#', '#Trim(FORM.Color)#', '#Trim(FORM.Price)#', '#Trim(FORM.Material)#', '#Trim(FORM.Description)#', 'Pending'); SELECT @@identity AS ProdID FROM Products; /cfquery !--- Accept the file upload --- cfloop from=1 to=3 index=i cffile action=upload filefield=file#i# result=cffile.file#i# destination=#ExpandPath('users/uploads/')# nameconflict=makeunique accept=image/jpg, image/JPG, image/jpeg, image/JPEG, image/gif, image/GIF, image/pjpeg, image/pjpg !--- Resize, rename and set the quality of the image uploaded with cfx_openimage --- cfx_openimage action=iml name=qimages file=#ExpandPath('users/uploads/')##cffile['file'i].serverFile# commands= setjpegdpi 72 setquality 100 setimage large=original setimage thumb=original ## resize if either width or height is greater than 500 useimage large resizeif 500,400 write #ExpandPath('users/uploads/'cffile['file'i].serverFileName'.jpg')# ## resize if either width or height is greater than 100 useimage thumb resizeif 100,75 write #ExpandPath('users/uploads/th_'cffile['file'i].serverFileName'.jpg')# !--- Upload to database --- cfquery datasource=wioDB INSERT INTO Images (ProdID, Image, IsPrimary) VALUES (#Product.ProdID#,'#cffile['file'i].serverFile# ', '#FORM.IsPrimary#') /cfquery /cfloop /cftransaction cflocation url=review.cfm?ProdID=#Product.ProdID# ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271145 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF WordML?
Thanks for your suggestions. I tried already also this option, but in my case, problem is having continuous multi column. When you save a Word doc as XML, it generates static markup that does not help in my case. I need to figure out like a parameter usage and formatting it as required in an external tool such as XSLT. I hope that makes sense. JJ Cool wrote: I had some good links earlier, but I lost them now. But, It's pretty easy to figure out if you just create some simple word docs with everything you wish to do, then take that wordml and put it in a CFC. The easiest way for me was to NOT use XSLT transformations. Rather, I just took apart a simple word doc saved as XML and put the wordml into a coldfusion CFC that creates word documents dynamically by combining input with the wordml and saving it as a string until your final output. With about a day of work or so you can create a simple CFC that adds paragraphs, tables, text formatting, lists, etc. I created one and the methods can accept arguments for text formatting, page breaks, indentation, etc. Hi, I am trying to figure out some basic techniques with WordML to integrate CF and Word. Are there anybody who has experience with WordML? Any resource to share? Any other suggestion to look at for CF Word integration? TIA! -- ~~~ OÄuz Demirkapı TeraTech Inc. | Senior Developer 405 East Gude Dr Suite 207, Rockville, MD 20850, USA Voice: +1 (301) 424-3903 ext 111 | Fax: +1 (301) 762-8185 Web: http://www.teratech.com | E-mail: oguz.demirkapi AT teratech.com Winner in CFDJ awards Best Consulting. Member Team Fusebox. ~~~ ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271146 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: upload multiple images
Okay, what you need to do is to check to see that the file#i# exists. You can do this by checking the form field first to see if it has content, but you should probably check that the file exists anyway, just in case the upload failed for some reason. Something like: cfloop from=1 to=3 index=i cfif len(trim(form[file#i#])) gt 0 cfif fileexists(#ExpandPath('users/uploads/')##cffile['file'i].serverFile#) . [do your stuff here] . /cfif /cfif cfloop Thanks Kris, the solution for the IsPrimary issue works well. I'm not sure I follow you on the first issue. If I only fill out the first upload field, I get an error stating, The form field 'file2' did not contain a file. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271147 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: upload multiple images
Ah, perfecto! Thanks. ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271148 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Show your support for CF - cfMaps.com
Whatever happened to the group on Frappr.com? -Original Message- From: Nicholas M Tunney [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 28, 2007 10:03 PM To: CF-Talk Subject: Show your support for CF - cfMaps.com I think this fits into the discussion over the last two days well (300k CF devs and gotcf.com): I've been putting together a community site for the last few weeks, and it is finally ready to be released. The site is called cfMaps.com http://www.cfmaps.com. Overall, it allows ColdFusion developers and ColdFusion sites to be geocoded and placed on a map of the world. I think I should be able to derive some pretty cool statistics in the long run. Companies can also search by zip code or country to find a CF developer. Check out the About http://www.cfmaps.com/index.cfm?event=main.showAbout page to see why I put this together and get a bigger picture of what the site does. My goal is to allow developers and managers to see how widespread ColdFusion really is. If you are a CF developer, I hope you register http://www.cfmaps.com/index.cfm?event=security.showUserForm. If you have a ColdFusion site, I hope you register the site http://www.cfmaps.com/index.cfm?event=website.showWebsite as well. - Nic ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271149 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Small change to CFEclipse behaviour...
Andy, I use the snippets. I too use cfabort almost without exception just after a cfdump. I've created a snippet called abort, that puts these two commands together for me. I really love snippets. They're very, very handy. For instance, since I know I see you over on the jQuery list, I've got a snippet called Ajax, that outputs the following: $.ajax({ type: POST, url: , datatype: html, data: , success: function(data){ }, error:function(data){ }, complete:function(data){ } }); I've got another one called ajaxcfc that does an ajaxCFC block similarly to the one above. I find this the perfect use of snippets. Cheers, Chris Andy Matthews wrote: Sure...but the functionality is already there with a keystroke. Just trying to see if I can add on to it. Good idea though. I might resort to that if I can't do it by changing the files. -Original Message- From: Lori Stone [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 11:01 AM To: CF-Talk Subject: RE: Small change to CFEclipse behaviour... You could create a snippet with a keycommand. ~~~ Lori Stone Web Developer RAFFA Embracing Your Vision 202.955.6533 http://www.raffa.com http://www.iknow.org -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 11:53 AM To: CF-Talk Subject: Small change to CFEclipse behaviour... I'm wondering if it's possible for me to make a small change to a built-in behaviour in CFEclipse. I've got a keycommand for dropping in a cfdump tag. That works beautifully. But whenever I drop in a cfdump I almost ALWAYS follow it with a cfabort. Is there something I can change somewhere in my eclipse directory to add this in? I tried locating it, but it seems like I'd have to get into the JAR file. Anyone know if this is possible? It's not a huge deal, but thought it would be nice if I could make this change. Andy Matthews Senior Coldfusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com http://www.dealerskins.com/ ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271150 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Small change to CFEclipse behaviour...
I had thought about that...I'd be okay with that as long as I could add it back in. Thanks for thinking of that though Sandra. -Original Message- From: Sandra Clark [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 12:09 PM To: CF-Talk Subject: RE: Small change to CFEclipse behaviour... The biggest problem I see by changing the files would be that each update re-writes those files (cfml7.xml). Which means that you would have to apply the files to each update. I think I would rely on snippets for these myself. Sandra Clark = http://www.shayna.com Training and Consulting in CSS and Accessibility Team Fusebox -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 12:18 PM To: CF-Talk Subject: RE: Small change to CFEclipse behaviour... Sure...but the functionality is already there with a keystroke. Just trying to see if I can add on to it. Good idea though. I might resort to that if I can't do it by changing the files. -Original Message- From: Lori Stone [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 11:01 AM To: CF-Talk Subject: RE: Small change to CFEclipse behaviour... You could create a snippet with a keycommand. ~~~ Lori Stone Web Developer RAFFA Embracing Your Vision 202.955.6533 http://www.raffa.com http://www.iknow.org -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 11:53 AM To: CF-Talk Subject: Small change to CFEclipse behaviour... I'm wondering if it's possible for me to make a small change to a built-in behaviour in CFEclipse. I've got a keycommand for dropping in a cfdump tag. That works beautifully. But whenever I drop in a cfdump I almost ALWAYS follow it with a cfabort. Is there something I can change somewhere in my eclipse directory to add this in? I tried locating it, but it seems like I'd have to get into the JAR file. Anyone know if this is possible? It's not a huge deal, but thought it would be nice if I could make this change. Andy Matthews Senior Coldfusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com http://www.dealerskins.com/ ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271151 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
xhtml file extension?
I've never seen anybody do this. Setup pages as .xhtml? Did I miss somethin? http://www.jonlauren.com/sweatshirts/wholesale/junior-sweatshirts.xhtml Will ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271152 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Suggestions on validating embed or object entries
Hi Tom. Thanks for the reply. I actually do have your suggestion already in place. To clarify my question: what I wanted to find out is if I can validate whether or not the submitted embed or object tags have proper syntax to display the source video. My concern is that if the user incompletely/partially pasted the tags, the page that displays it will error-out. Again, thanks. Michael -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 3:13 AM To: CF-Talk Subject: Re: Suggestions on validating embed or object entries On Wednesday 28 Feb 2007, Michael E. Carluen wrote: tags, but thought it will not be truly effective. Unlike URLs entries, I don't think there is a mask applicable to even perform a regex find on it. or does it? Why not offer the user boxes for just the bits that matter to them (type, URL), and then write the actual HTML yourself. -- Tom Chiverton Helping to efficiently facilitate real-time e-services On: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271153 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Show your support for CF - cfMaps.com
Frappr! That's the name of the blasted thing! I was trying to remember the name of that thing last month and wasn't having any luck. That's what this reminds me of is the Frappr.com thing (which I registered with and then promptly forgot). Everett, Al (NIH/NIGMS) [C] wrote: Whatever happened to the group on Frappr.com? -Original Message- From: Nicholas M Tunney [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 28, 2007 10:03 PM To: CF-Talk Subject: Show your support for CF - cfMaps.com I think this fits into the discussion over the last two days well (300k CF devs and gotcf.com): I've been putting together a community site for the last few weeks, and it is finally ready to be released. The site is called cfMaps.com http://www.cfmaps.com. Overall, it allows ColdFusion developers and ColdFusion sites to be geocoded and placed on a map of the world. I think I should be able to derive some pretty cool statistics in the long run. Companies can also search by zip code or country to find a CF developer. Check out the About http://www.cfmaps.com/index.cfm?event=main.showAbout page to see why I put this together and get a bigger picture of what the site does. My goal is to allow developers and managers to see how widespread ColdFusion really is. If you are a CF developer, I hope you register http://www.cfmaps.com/index.cfm?event=security.showUserForm. If you have a ColdFusion site, I hope you register the site http://www.cfmaps.com/index.cfm?event=website.showWebsite as well. - Nic ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271154 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Small change to CFEclipse behaviour...
Nice idea. Thanks Christopher...I've not gotten much into snippets yet. I suppose that will be the next thing I start using. -Original Message- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 12:29 PM To: CF-Talk Subject: Re: Small change to CFEclipse behaviour... Andy, I use the snippets. I too use cfabort almost without exception just after a cfdump. I've created a snippet called abort, that puts these two commands together for me. I really love snippets. They're very, very handy. For instance, since I know I see you over on the jQuery list, I've got a snippet called Ajax, that outputs the following: $.ajax({ type: POST, url: , datatype: html, data: , success: function(data){ }, error:function(data){ }, complete:function(data){ } }); I've got another one called ajaxcfc that does an ajaxCFC block similarly to the one above. I find this the perfect use of snippets. Cheers, Chris Andy Matthews wrote: Sure...but the functionality is already there with a keystroke. Just trying to see if I can add on to it. Good idea though. I might resort to that if I can't do it by changing the files. -Original Message- From: Lori Stone [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 11:01 AM To: CF-Talk Subject: RE: Small change to CFEclipse behaviour... You could create a snippet with a keycommand. ~~~ Lori Stone Web Developer RAFFA Embracing Your Vision 202.955.6533 http://www.raffa.com http://www.iknow.org -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 11:53 AM To: CF-Talk Subject: Small change to CFEclipse behaviour... I'm wondering if it's possible for me to make a small change to a built-in behaviour in CFEclipse. I've got a keycommand for dropping in a cfdump tag. That works beautifully. But whenever I drop in a cfdump I almost ALWAYS follow it with a cfabort. Is there something I can change somewhere in my eclipse directory to add this in? I tried locating it, but it seems like I'd have to get into the JAR file. Anyone know if this is possible? It's not a huge deal, but thought it would be nice if I could make this change. Andy Matthews Senior Coldfusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com http://www.dealerskins.com/ ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271155 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
MapPoint and CF / Java
Has anyone seen any classes to do this??? I cant believe I can make this work in PHP in 10 mins and it is like building a Highrise building to get it working with CF or Java?? I have a bunch of class files but the problem is doing Digest Auth with the SOAP request We would even buy a wrapper if it works -- ~Eric ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271156 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Show your support for CF - cfMaps.com
http://www.frappr.com/cfdevelopers Christopher Jordan wrote: Frappr! That's the name of the blasted thing! I was trying to remember the name of that thing last month and wasn't having any luck. That's what this reminds me of is the Frappr.com thing (which I registered with and then promptly forgot). -- ~~~ OÄuz Demirkapı TeraTech Inc. | Senior Developer 405 East Gude Dr Suite 207, Rockville, MD 20850, USA Voice: +1 (301) 424-3903 ext 111 | Fax: +1 (301) 762-8185 Web: http://www.teratech.com | E-mail: oguz.demirkapi AT teratech.com Winner in CFDJ awards Best Consulting. Member Team Fusebox. ~~~ ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271157 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: xhtml file extension?
It's my understanding that you can use whatever file extension you want in your pages. You could use .will if that's your fancy, provided the web server is configured to handle that the way you want. On 3/1/07, Will Tomlinson [EMAIL PROTECTED] wrote: I've never seen anybody do this. Setup pages as .xhtml? Did I miss somethin? http://www.jonlauren.com/sweatshirts/wholesale/junior-sweatshirts.xhtml Will ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271158 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: xhtml file extension?
As long as you set up your web server to serve up the files, you can give a file any extension you want. Same thing goes for ColdFusion. So you could have a ColdFusion page named index.cfrulez and as long as your web server and CF are configured to handle it, it will work. The .xhtml does not really tell you what is in the file, or even that its contents are indeed XHTML. On 3/1/07, Will Tomlinson [EMAIL PROTECTED] wrote: I've never seen anybody do this. Setup pages as .xhtml? Did I miss somethin? http://www.jonlauren.com/sweatshirts/wholesale/junior-sweatshirts.xhtml Will ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271159 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Ugly Verity
Does anyone else on the list use the Verity Unicode pack? I'm using it and the indexing performance is appallingly bad, perhaps 50 times (or more) slower than indexing an Englishx collection. If given a multiple row query to index it will consume way too much memory and eventually timeout. Indexing a 1000 row query would take hours. It's causing all sorts of problems (obviously) to the extent where I'm faced with writing hideous work-arounds to prevent it from killing the server. I can't find anything on the web about this so I wonder, could I be doing something wrong? Is anyone else using the Unicode pack? Can you confirm / deny the performance difference? Thanks Gareth ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271160 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: MG, CS Controller
On 3/1/07, Tom Chiverton wrote: I'm a little unclear on how you could have it only be in the xml file? You have get it in to the cfml somehow, right? Yeah. But then I'd feel like the XML file was just a copy of the dependencies I'd already documented / requested by writing a set method for them. So ALL you have is the setLogger(), say, and there is nothing in your XML that says bean id=logger... ? OR, and this is starting to make sense, : you've got bean id=logger... but you DON'T have something like: bean id=userService... property name=logService ref bean=logger / /property /bean Right? Dependency is documented in the CFML, vs. the XML? Ding! Light goes on. Thanks Tom, I appreciate it. ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271161 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: How Many CF Developers Are There: Dave Mendels Says 300K
Wow... that's reminds me of the days of Flash 3 when I heard a Java guy say that Flash would never touch the popularity of Java... Web 2.0 is the real deal and you can't touch Flex for RAD. !k -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 28, 2007 5:40 PM To: CF-Talk Subject: Re: How Many CF Developers Are There: Dave Mendels Says 300K And to add I very much doubt Flex users will ever suprecede ColdFusion users. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: greg h To: CF-Talk Sent: Wed Feb 28 23:05:41 2007 Subject: How Many CF Developers Are There: Dave Mendels Says 300K Just an fyi ... John Dowdell excerpted some comments that Dave Mendelshttp://www.adobe.com/aboutadobe/pressroom/executivebios/davidmendels ...htmlhad posted last month: http://weblogs.macromedia.com/jd/archives/2007/02/flex_adoption.cfm Specific quote from Dave Mendels: We have an active community of about 300K ColdFusion developers, well over a million Flash designer/developers, and several million Dreamweaver customers. The post that Dave was commenting on was written by Shashank Tiwarihttp://www.oreillynet.com/pub/au/2799who started his post out with: Today we have between 3 and 4 million Java developers. g ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271162 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Problem with Server Timing Out
I turned off pooling and I am still getting the time outs. I have upgraded the drivers. Ugh, any other suggestions? -JH Well, it's catch 22 then with the problem of bad performance on one hand and an obvious bug (which cannot be avoided AFAICS) in the other; which I think many have encountered but have been ill diagnosed). Knowing that it was just logged with DataDirect, I doubt that a fix will be shipped before Scorpio. I wonder if a different driver will provide better performance and stability that the DD set? Anyone using other drivers with good results? :-@ This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Steven Erat To: CF-Talk Sent: Wed Feb 28 22:13:51 2007 Subject: RE: Problem with Server Timing Out I expect it will go away since the problem involves attempting to reuse a stale or otherwise bad TCP connection. Turning off maintain connections will cause new connections for every request, at the cost of performance though. If you have full JRun you can use a JRun datasource in CF which permits configuration of some options such as validation-query which prevents situations like this. See my comment in http://ray.camdenfamily.com/index.cfm/2005/12/14/Ask-a-Jedi-Handling-a-D ead-Database ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271163 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Ugly Verity
What kind of data are you indexing? Is it just text? You might want to look into SQL Server Full Text Search or Lucene. It's fairly easy to write some wrapper CFC's around lucene's java classes, and you can achieve much better performance, I believe, then Full Text Search or Verity. Russ -Original Message- From: Gareth Hughes [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 2:28 PM To: CF-Talk Subject: Ugly Verity Does anyone else on the list use the Verity Unicode pack? I'm using it and the indexing performance is appallingly bad, perhaps 50 times (or more) slower than indexing an Englishx collection. If given a multiple row query to index it will consume way too much memory and eventually timeout. Indexing a 1000 row query would take hours. It's causing all sorts of problems (obviously) to the extent where I'm faced with writing hideous work-arounds to prevent it from killing the server. I can't find anything on the web about this so I wonder, could I be doing something wrong? Is anyone else using the Unicode pack? Can you confirm / deny the performance difference? Thanks Gareth ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271164 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Babylon Chat
Has anyone used Babylon Chat and if so what was / is your experience with it? http://www.visopsys.org/andy/babylon/ I'm looking to add a chat / whiteboard feature to my software and at the moment can't afford more than free. Mik Michael Muller Admin, MontagueMA.net Website work (413) 863-0030 cell (413) 320-5336 skype: michaelBmuller http://www.MontagueMA.net Eschew Obfuscation ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271165 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Formatting your SQL Statements
I just want a quick 'style survey' on how folks key in SQL inside of CF. Do you use a lot of white space for easy readability, or do you cram everything onto 1 line with no aliased tables for streamlined efficiency? For example, here is one of mine: cfquery name=getData datasource=#arguments.dsn# SELECT UNUNIT as TractorCode, UNSER as Vin, UNMAKE as Make, UNPLAT as Plate, UNDV## as Division, 'Company' as Type, UNSUPR as Supervisor FROM UNITS WHERE UNOWN IN ('','WC','ITDS','ATDS') AND UNDEL 'D' AND UNDV## '' UNION ALL SELECT UNUNIT as TractorCode, UNSER as Vin, UNMAKE as Make, UNPLAT as Plate, UNDV## as Division, 'Owner Operator' as Type, UNSUPR as Supervisor FROM UNITS WHERE UNOWN NOT IN ('','WC','ITDS','ATDS') AND UNTERM = 0 AND UNDEL 'D' AND UNSTAT 'U' AND UNDV## '' ORDER BY TractorCode ASC /cfquery ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271166 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Formatting your SQL Statements
I lean towards your example for all but the most simple queries. If it is truly simple, I will use a little less white space. SELECT aField FROM aTable WHERE bField = cfqueryParam value=atMostOneFilter ... But much more complex then that I start putting in more white space for read-ability. I find developer time more expensive then CPU cycles for the kind of intranet/very small internet applications I work on). -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Sudoku | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271167 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Formatting your SQL Statements
I go for the white space no matter what the query complexity. I consider it a coding standard and I'm really anal about that kind of stuff. -- [EMAIL PROTECTED] Janitor, The Robertson Team mysecretbase.com ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271168 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Formatting your SQL Statements
Chris, I am ALLL about the white space: SELECT t1.id, t1.name ( ISNULL( t1.foo, '' ) ) AS foo FROM table1 t1 INNER JOIN table2 t2 ON ( t1.fid = t2.id AND t2.date_createdd IS NOT NULL AND t2.id IN ( SELECT b.id FROM bar b ) ) WHERE t1.id IN ( 1, 2, 3, 4, 5 ) AND ( 1 = 0 OR (t1.id % 2) = 1 ) ORDER BY t1.id ASC, t2.id ASC Maybe this is totally crazy, but to me the indentation makes it look VERY OBVIOUS. Granted I am used to reading it but it is super easy for me to look at it and see how things are related (grouped together with parens, AND'ed OR'ed, sub query , etc). .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Peterson, Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 3:14 PM To: CF-Talk Subject: Formatting your SQL Statements I just want a quick 'style survey' on how folks key in SQL inside of CF. Do you use a lot of white space for easy readability, or do you cram everything onto 1 line with no aliased tables for streamlined efficiency? For example, here is one of mine: ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271169 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Formatting your SQL Statements
Yes, thats it! And I always mention also Don't forget to use Tab instead of Space!;-) Ben Nadel wrote: Chris, I am ALLL about the white space: SELECT t1.id, t1.name ( ISNULL( t1.foo, '' ) ) AS foo FROM table1 t1 INNER JOIN table2 t2 ON ( t1.fid = t2.id AND t2.date_createdd IS NOT NULL AND t2.id IN ( SELECT b.id FROM bar b ) ) WHERE t1.id IN ( 1, 2, 3, 4, 5 ) AND ( 1 = 0 OR (t1.id % 2) = 1 ) ORDER BY t1.id ASC, t2.id ASC Maybe this is totally crazy, but to me the indentation makes it look VERY OBVIOUS. Granted I am used to reading it but it is super easy for me to look at it and see how things are related (grouped together with parens, AND'ed OR'ed, sub query , etc). .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -- ~~~ OÄuz Demirkapı TeraTech Inc. | Senior Developer 405 East Gude Dr Suite 207, Rockville, MD 20850, USA Voice: +1 (301) 424-3903 ext 111 | Fax: +1 (301) 762-8185 Web: http://www.teratech.com | E-mail: oguz.demirkapi AT teratech.com Winner in CFDJ awards Best Consulting. Member Team Fusebox. ~~~ ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271170 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Formatting your SQL Statements
-Original Message- From: Peterson, Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 3:14 PM To: CF-Talk Subject: Formatting your SQL Statements I just want a quick 'style survey' on how folks key in SQL inside of CF. Do you use a lot of white space for easy readability, or do you cram everything onto 1 line with no aliased tables for streamlined efficiency? For example, here is one of mine: I agree with those that have responded. Long live whitespace and readability. -- Charlie Griefer ...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. But first they must catch you, digger, listener, runner, prince with a swift warning. Be cunning and full of tricks and your people shall never be destroyed. ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271171 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Formatting your SQL Statements
Here here! And riot against those who copy and paste out of SQL Server (worst formatting EVER!) .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 3:46 PM To: CF-Talk Subject: Re: Formatting your SQL Statements -Original Message- From: Peterson, Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 3:14 PM To: CF-Talk Subject: Formatting your SQL Statements I just want a quick 'style survey' on how folks key in SQL inside of CF. Do you use a lot of white space for easy readability, or do you cram everything onto 1 line with no aliased tables for streamlined efficiency? For example, here is one of mine: I agree with those that have responded. Long live whitespace and readability. -- Charlie Griefer ...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. But first they must catch you, digger, listener, runner, prince with a swift warning. Be cunning and full of tricks and your people shall never be destroyed. ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271172 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Image manipulation
What is the best tool in the market to resize/crop the uploaded images in coldfusion. The scnerio will be like the visitor will upload the image and then he/she should have resize, rotate, crop and the other smiliar kind of functionality available. I don't mind buying any commercial CFX, but like to know someone's experience. -- ... Regards, Asim Manzur ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271173 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Image manipulation
Look into ImageCFC. -Original Message- From: Asim Manzur [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 3:53 PM To: CF-Talk Subject: Image manipulation What is the best tool in the market to resize/crop the uploaded images in coldfusion. The scnerio will be like the visitor will upload the image and then he/she should have resize, rotate, crop and the other smiliar kind of functionality available. I don't mind buying any commercial CFX, but like to know someone's experience. -- Regards, Asim Manzur ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271174 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Image manipulation
We generally use Alagad image component (http://www.alagad.com/index.cfm/name-aic) but I think ImageCFC (http://www.opensourcecf.com/imagecfc/) must be enough for most of the job. Asim Manzur wrote: What is the best tool in the market to resize/crop the uploaded images in coldfusion. The scnerio will be like the visitor will upload the image and then he/she should have resize, rotate, crop and the other smiliar kind of functionality available. I don't mind buying any commercial CFX, but like to know someone's experience. -- ~~~ OÄuz Demirkapı TeraTech Inc. | Senior Developer 405 East Gude Dr Suite 207, Rockville, MD 20850, USA Voice: +1 (301) 424-3903 ext 111 | Fax: +1 (301) 762-8185 Web: http://www.teratech.com | E-mail: oguz.demirkapi AT teratech.com Winner in CFDJ awards Best Consulting. Member Team Fusebox. ~~~ ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271175 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Image manipulation
And thanks that we have a great archive! :) http://www.houseoffusion.com/groups/CF-Talk/thread.cfm/threadid:42585 Asim Manzur wrote: What is the best tool in the market to resize/crop the uploaded images in coldfusion. The scnerio will be like the visitor will upload the image and then he/she should have resize, rotate, crop and the other smiliar kind of functionality available. I don't mind buying any commercial CFX, but like to know someone's experience. ~~~ OÄuz Demirkapı TeraTech Inc. | Senior Developer 405 East Gude Dr Suite 207, Rockville, MD 20850, USA Voice: +1 (301) 424-3903 ext 111 | Fax: +1 (301) 762-8185 Web: http://www.teratech.com | E-mail: oguz.demirkapi AT teratech.com Winner in CFDJ awards Best Consulting. Member Team Fusebox. ~~~ ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271176 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Image manipulation
Great question, I've been playing with image manipulation tools in CF for years now... Building gallery applications is my thing. If you are willing and able to buy and install a CFX tag I would recommend ImageFlare or Image CR (Depending on the features you need). Both are made by Efflare http://www.efflare.com Nothing I've found works better. It has a ton of features and produces the highest quality jpgs of anything, and I've tied just about all of them (ImageMagik, ImageCFC, Alagad's Image CFC and even one I can't mention due to a current NDA). Nothing works better. -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, AZCFUG.org ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271177 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Formatting your SQL Statements
What do you mean? Out of like ... Firehose mode? I use query analyzer to write and it formats splendidly - as does the script generator... What part of SQL server are you rioting against :) -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 2:49 PM To: CF-Talk Subject: RE: Formatting your SQL Statements Here here! And riot against those who copy and paste out of SQL Server (worst formatting EVER!) ... Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 3:46 PM To: CF-Talk Subject: Re: Formatting your SQL Statements -Original Message- From: Peterson, Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 3:14 PM To: CF-Talk Subject: Formatting your SQL Statements I just want a quick 'style survey' on how folks key in SQL inside of CF. Do you use a lot of white space for easy readability, or do you cram everything onto 1 line with no aliased tables for streamlined efficiency? For example, here is one of mine: I agree with those that have responded. Long live whitespace and readability. -- Charlie Griefer ...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. But first they must catch you, digger, listener, runner, prince with a swift warning. Be cunning and full of tricks and your people shall never be destroyed. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271178 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Image manipulation
Asim Manzur wrote: What is the best tool in the market to resize/crop the uploaded images in coldfusion. The scnerio will be like the visitor will upload the image and then he/she should have resize, rotate, crop and the other smiliar kind of functionality available. I don't mind buying any commercial CFX, but like to know someone's experience. If speed is your primary qualifier, Efflare's ImageCR is hard to beat If price is, Rick Root's imageCFC does a good job. ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271179 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Image manipulation
one of the forum regulars over at Easycfm posted an overview of the various image manipulation options. http://www.lot-o-nothin.com/cfml/articles/index.cfm/id/3/ FWIW, i'll echo Alan's response. I haven't used any of the others, but i have used the efflare custom tag and not only does it work beautifully, the customer service from efflare is amazing. On 3/1/07, Alan Rother [EMAIL PROTECTED] wrote: Great question, I've been playing with image manipulation tools in CF for years now... Building gallery applications is my thing. If you are willing and able to buy and install a CFX tag I would recommend ImageFlare or Image CR (Depending on the features you need). Both are made by Efflare http://www.efflare.com Nothing I've found works better. It has a ton of features and produces the highest quality jpgs of anything, and I've tied just about all of them (ImageMagik, ImageCFC, Alagad's Image CFC and even one I can't mention due to a current NDA). Nothing works better. -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, AZCFUG.org ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271180 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Formatting your SQL Statements
And riot against those who copy and paste out of SQL Server (worst formatting EVER!) Are you sure! I have not seen SQL server generate queries in quite some time, but I would speculate that Crystal Reports generated SQL code can, at least, give it a run for its money. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Sudoku | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271181 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
clearing query cache
I'm trying to clear the query cache for one query. Do I have to clear the whole cache or is there a way to clear just one page? I tried ... 1) lowering the cache to cfquery datasource=#recipes# name=dessertsTab dbtype=ODBC cachedwithin=#CreateTimeSpan(0,0,0,1)# 2) hard coding ... cfobjectcache action = clear and it doesn't clear the cache. Do I have to clear it from the CFAdmin side? Is that my only other choice? Any suggestions? D ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271182 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Formatting your SQL Statements
Mine's pretty much like yours. I'll go simple for a simple query, but I indent everything everywhere for anything more than a simple SELECT statement. -Original Message- From: Peterson, Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 2:14 PM To: CF-Talk Subject: Formatting your SQL Statements I just want a quick 'style survey' on how folks key in SQL inside of CF. Do you use a lot of white space for easy readability, or do you cram everything onto 1 line with no aliased tables for streamlined efficiency? For example, here is one of mine: cfquery name=getData datasource=#arguments.dsn# SELECT UNUNIT as TractorCode, UNSER as Vin, UNMAKE as Make, UNPLAT as Plate, UNDV## as Division, 'Company' as Type, UNSUPR as Supervisor FROM UNITS WHERE UNOWN IN ('','WC','ITDS','ATDS') AND UNDEL 'D' AND UNDV## '' UNION ALL SELECT UNUNIT as TractorCode, UNSER as Vin, UNMAKE as Make, UNPLAT as Plate, UNDV## as Division, 'Owner Operator' as Type, UNSUPR as Supervisor FROM UNITS WHERE UNOWN NOT IN ('','WC','ITDS','ATDS') AND UNTERM = 0 AND UNDEL 'D' AND UNSTAT 'U' AND UNDV## '' ORDER BY TractorCode ASC /cfquery ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271183 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Image manipulation
I'll offer a third 'Yea' for imageCR3 from Efflare. When stacked up against the others, well, they just don't compare. Your server will thank you. Matt ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271184 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Formatting your SQL Statements
When people do that build-query thing they select tables and drag-drop to hook up foreign keys. The SQL code that that generates is almost offensive. It seems to randomly break lines and indent. Not sure where it is as I never use it. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 4:04 PM To: CF-Talk Subject: RE: Formatting your SQL Statements What do you mean? Out of like ... Firehose mode? I use query analyzer to write and it formats splendidly - as does the script generator... What part of SQL server are you rioting against :) ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271185 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Image manipulation
+1 for image.cfc. Works great. Easy to use. Completely free. What more could you want. Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Blue Dragon Alliance Member [EMAIL PROTECTED] Ray Champagne wrote: Look into ImageCFC. -Original Message- From: Asim Manzur [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 3:53 PM To: CF-Talk Subject: Image manipulation What is the best tool in the market to resize/crop the uploaded images in coldfusion. The scnerio will be like the visitor will upload the image and then he/she should have resize, rotate, crop and the other smiliar kind of functionality available. I don't mind buying any commercial CFX, but like to know someone's experience. ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271186 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Image manipulation
If your host has ASPImage COM object, I would also suggest it for quality. :) Here is a page that I created 4 years ago which still works with CF ASPImage. http://motorspor.com/index.cfm?fuseaction=foto.ilk For NDA note: I am sure it will be better! :) -- ~~~ OÄuz Demirkapı TeraTech Inc. | Senior Developer 405 East Gude Dr Suite 207, Rockville, MD 20850, USA Voice: +1 (301) 424-3903 ext 111 | Fax: +1 (301) 762-8185 Web: http://www.teratech.com | E-mail: oguz.demirkapi AT teratech.com Winner in CFDJ awards Best Consulting. Member Team Fusebox. ~~~ ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271187 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Ugly Verity
Or get a good search technology which, although will cost, will blow all of them out of the water! This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Russ To: CF-Talk Sent: Thu Mar 01 20:12:21 2007 Subject: RE: Ugly Verity What kind of data are you indexing? Is it just text? You might want to look into SQL Server Full Text Search or Lucene. It's fairly easy to write some wrapper CFC's around lucene's java classes, and you can achieve much better performance, I believe, then Full Text Search or Verity. Russ -Original Message- From: Gareth Hughes [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 2:28 PM To: CF-Talk Subject: Ugly Verity Does anyone else on the list use the Verity Unicode pack? I'm using it and the indexing performance is appallingly bad, perhaps 50 times (or more) slower than indexing an Englishx collection. If given a multiple row query to index it will consume way too much memory and eventually timeout. Indexing a 1000 row query would take hours. It's causing all sorts of problems (obviously) to the extent where I'm faced with writing hideous work-arounds to prevent it from killing the server. I can't find anything on the web about this so I wonder, could I be doing something wrong? Is anyone else using the Unicode pack? Can you confirm / deny the performance difference? Thanks Gareth ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271188 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Image manipulation
Hold up though, do you mean that the person who uploads the image should have the ability to resize, rotate, crop etc. through some sort of flash or javascript GUI? Or that you will control those aspects in the CF code? I'm pretty sure ImageCFC doesn't do that, I don't know about the others. -- Josh - Original Message - From: Asim Manzur [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, March 01, 2007 12:53 PM Subject: Image manipulation What is the best tool in the market to resize/crop the uploaded images in coldfusion. The scnerio will be like the visitor will upload the image and then he/she should have resize, rotate, crop and the other smiliar kind of functionality available. I don't mind buying any commercial CFX, but like to know someone's experience. -- ... Regards, Asim Manzur ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271189 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Image manipulation
Alan, I'm going to be doing an image gallery type thing soon, and I thought I'd use ImageCFC. I'm not willing to purchase a prepackaged CFX, so I think ImageCFC is my best choice, but I'm still very curious (since you seem to have lots of experience) what pros and cons ImageCFC has versus ImageFlare. What didn't you like about it, what didn't it do, or what didn't it do well. I'd like to benefit from your experience. :o) Thanks, Chris Alan Rother wrote: Great question, I've been playing with image manipulation tools in CF for years now... Building gallery applications is my thing. If you are willing and able to buy and install a CFX tag I would recommend ImageFlare or Image CR (Depending on the features you need). Both are made by Efflare http://www.efflare.com Nothing I've found works better. It has a ton of features and produces the highest quality jpgs of anything, and I've tied just about all of them (ImageMagik, ImageCFC, Alagad's Image CFC and even one I can't mention due to a current NDA). Nothing works better. -- http://www.cjordan.us ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271190 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4