Re: How to Random Pick records from a 10k record table via SQL
Hi Michel, try the following query,i think this will help you. select * from myTable order by rand() limit 20; Thanks Srinivas On 3/22/07, Michael E. Carluen [EMAIL PROTECTED] wrote: Hello All, I am wondering how to randomly pick any 20 records from a table of 10,000+ records, directly from a cfquery? Currently using mySQL. Any suggestions will be appreciated. Michael ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273343 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 Random Pick records from a 10k record table via SQL
it is, prior to SQL 2005 which has a function to do this natively, this is the standard approach. 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: Andrew Scott To: CF-Talk Sent: Thu Mar 22 06:52:36 2007 Subject: Re: How to Random Pick records from a 10k record table via SQL Not sure how that works Russ, thats not very random? On 3/22/07, Russ [EMAIL PROTECTED] wrote: Not sure about mysql. In SQL server I would do something like this: Select top 20 * from table order by newId() Russ -Original Message- From: Michael E. Carluen [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 1:25 AM To: CF-Talk Subject: How to Random Pick records from a 10k record table via SQL Hello All, I am wondering how to randomly pick any 20 records from a table of 10,000+ records, directly from a cfquery? Currently using mySQL. Any suggestions will be appreciated. Michael ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273344 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 to Random Pick records from a 10k record table via SQL
By taking 2 seconds to use Google http://www.google.co.uk/search?hl=enq=select+random+rows+%2B+SQLbtnG=Googl e+Searchmeta= 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: srinivas ganta To: CF-Talk Sent: Thu Mar 22 07:10:47 2007 Subject: Re: How to Random Pick records from a 10k record table via SQL Hi Michel, try the following query,i think this will help you. select * from myTable order by rand() limit 20; Thanks Srinivas On 3/22/07, Michael E. Carluen [EMAIL PROTECTED] wrote: Hello All, I am wondering how to randomly pick any 20 records from a table of 10,000+ records, directly from a cfquery? Currently using mySQL. Any suggestions will be appreciated. Michael ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273345 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: strange . signs
Hi list, I wanted to let you know, that this fix: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=238944b1 brought the breakthrough. The strange .-signs dissappeared. Thanks for all, who tried to help. Uwe Also, when you perform a ColdFusion restart, also perform an iisreset. 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: [EMAIL PROTECTED] To: CF-Talk Sent: Sun Mar 04 21:14:46 2007 Subject: Re: strange . signs Hi Neil, thank you. Yes we are running IIS 6.x. I will try this. Sounds good to me. I have save class files on. I will change it. Uwe I have seen this error when an error occurs and save class files is on... Try stopping the ColdFusion service then delete the class files, then restart, are you IIS? 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: Claude_Schnéegans To: CF-Talk Sent: Sun Mar 04 18:13:48 2007 Subject: Re: strange . signs Any ideas what this might cause ? Have you looked at the source of the page? Sometimes with chars, the browser thinks it is some invalid HTML and won't display it. ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273346 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 Random Pick records from a 10k record table via SQL
To all- thanks for all your responses. Shucks, Neil; but of course, the most obvious answers is always just a google away. -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:Neil.Robertson- [EMAIL PROTECTED] Sent: Thursday, March 22, 2007 12:13 AM To: CF-Talk Subject: Re: How to Random Pick records from a 10k record table via SQL By taking 2 seconds to use Google http://www.google.co.uk/search?hl=enq=select+random+rows+%2B+SQLbtnG=Goo gl e+Searchmeta= 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: srinivas ganta To: CF-Talk Sent: Thu Mar 22 07:10:47 2007 Subject: Re: How to Random Pick records from a 10k record table via SQL Hi Michel, try the following query,i think this will help you. select * from myTable order by rand() limit 20; Thanks Srinivas On 3/22/07, Michael E. Carluen [EMAIL PROTECTED] wrote: Hello All, I am wondering how to randomly pick any 20 records from a table of 10,000+ records, directly from a cfquery? Currently using mySQL. Any suggestions will be appreciated. Michael ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273347 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CFX_IMG install problems
Dear All, I just tried to install CFX_IMG I must have done something wrong because now the CF server won't come back up and I'm seeing loads of the following message in cfserver.log. The problem is I can't now get into the CF server admin to remove the changes I made. Is there any way to do this manually or should I try reinstalling the cf server. Any help greatly appreciated, - Ed 22/03 10:11:21 user failed to load: coldfusion.CfmServlet 22/03 10:11:21 error [1]java.lang.ClassNotFoundException at coldfusion.bootstrap.BootstrapClassLoader.loadClass(BootstrapClassLoader.java:229) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:93) at coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:48) at jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:1242) at jrun.servlet.JRunRequestDispatcher.init(JRunRequestDispatcher.java:748) at jrun.servlet.JRunRequestDispatcher.init(JRunRequestDispatcher.java:98) at jrun.servlet.WebApplicationService.getDispatcher(WebApplicationService.java:865) at jrun.servlet.ServletEngineService$1.fetch(ServletEngineService.java:511) at jrunx.util.Cache.get(Cache.java:116) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:537) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) [0]javax.servlet.ServletException at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:102) at coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:48) at jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:1242) at jrun.servlet.JRunRequestDispatcher.init(JRunRequestDispatcher.java:748) at jrun.servlet.JRunRequestDispatcher.init(JRunRequestDispatcher.java:98) at jrun.servlet.WebApplicationService.getDispatcher(WebApplicationService.java:865) at jrun.servlet.ServletEngineService$1.fetch(ServletEngineService.java:511) at jrunx.util.Cache.get(Cache.java:116) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:537) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273348 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Open Source CF-based webmail client
Pete, Check out RoundCube Webmail Project: http://roundcube.net/ Its best webmail interface I've seen and since it's GPL I suppose working together with them (or forking it if necessary) to make CF version would be one option. Tero Pikala -Original Message- From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] Sent: 21 March 2007 18:56 To: CF-Talk Subject: RFC: Open Source CF-based webmail client There has been some discussion here recently about the lack of a good CF-based webmail client. I have been working on the basics of one over the past several weeks using cfmail/cfpop (for POP accounts) and imap.cfc, which I believe Rick Root has been refining from the version found on SourceForge. While I'm generally happy with the direction that my project is going, I'm more of a CF guy than a design front end guy and feel that this client could use some Web 2.0 POP (sorry, pun intended) as well as someone with some much heavier Java Mail experience than I have. Would there be any interest in this? I would be willing to present what I have put together already as the foundation for this project. It's neighter beautiful or mature, but it's a start. I can set up a SVN repository on my home server that would be accessible to anyone working on the project, and then once it is at a reasonably mature state, we can open it up under some open source license. I would say that, for starters, we would need the following players (a single individual can fill more than one role, if they have the skills): * CF developer(s) (of course) * Developer with extensive Java Mail experience (for the IMAP piece) * Front-end developer with cross-browser, cross-platform AJAX experience * Flash/ActionScript developer (for a Flash forms version) * UI/UX designer * PM/big picture person I can easily foresee some level of database development needed, but it wouldn't be anything extensive. If anyone has a sincere interest in participating in this project, please email me at pruckelshaus at gmaildotcom and I'll act as organizer until this thing achieves some level of critical mass. Pete ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273349 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
OT JS - Moving elements in page
I'm just about to get started with working out how to moving divs up and down a page so the divs below... div id=div1First/div div id=div2Second/div div id=div3Third/div appear like so... div id=div2Second/div!-- I was second, I'm now first -- div id=div1First/div div id=div3Third/div Anyone have any pointers or examples of DHTML ordering? Will it be a case of deleting and reinserting elements where needed? Cheers for any ideas. Adrian ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273350 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: WSDL Confusion
On Wednesday 21 Mar 2007, CF Newbie wrote: [EMAIL PROTECTED] That's what I get when I do a dump of cfdump var=#PropertyDesc.toString()# Any ideas going forward? You can look in the WSDL for a description of (ArrayOf)ClsProperty, or try cfdump var=#PropertyDesc[0].toString()# -- Tom Chiverton Helping to collaboratively disintermediate advanced environments 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 robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273351 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Missing .jsp templates redirect problem
Thanks so much for the suggestions guys, but I'm an almost complete newb when it comes to server things. What do you mean with rewrite rule? To cover our collective rear ends for now I set up individual redirects for each of the obvious jsp pages in the old site, but I'd rather have a general redirect going on. I looked into IIS and I don't think see where it is handling jsp at all at this point. Thanks again, Caroline On 3/21/07, Dinner [EMAIL PROTECTED] wrote: I was gonna suggest the same thing. Perhaps remove the .jsp mapping for CF from IIS? So it would be handled like the other random files? On 3/21/07, Russ wrote: I would set up a rewrite rule for the jsp templates and send it to your missing template handler. Russ ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273352 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: The dreaded question of intellectual property
On Wednesday 21 Mar 2007, Peter Tilbrook wrote: Have had an issue for an unyet finished project (despite working my arse off on it) where the client wants full ownership of the resultant code. This could be for 'worst case' planning - their business falls over because of a code fault, and they want to be able to fix it (even if you've fallen under a bus). Solutions include 'escrow' where a neutral 3rd party holds the source code. -- Tom Chiverton Helping to proactively integrate seamless IPOs 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/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273353 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: strange . signs
Hi list, I wanted to let you know, that this fix: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=238944b1 brought the breakthrough. The strange .-signs dissappeared. Thanks for all, who tried to help. Uwe So like I said originally, your server wasn't fully patched ;) Paul ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273354 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFX_IMG install problems
I just tried to install CFX_IMG I must have done something wrong because now the CF server won't come back up and I'm seeing loads of the following message in cfserver.log. The problem is I can't now get into the CF server admin to remove the changes I made. Is there any way to do this manually or should I try reinstalling the cf server. All of the configuration information is in a set of text files you can edit directly. On a multiserver install, the directory is \jrun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib. Off the top of my head, I think that the file you want to edit is neo-runtime.xml, but if not, it's almost certainly one of the other neo-*.xml files. 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! This email has been processed by SmoothZap - www.smoothwall.net ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273355 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFX_IMG install problems
Thanks Dave, I should have waited for your email. I couldn't get it working so I tried uninstalling and reinstalling the ColdFusion server, now I can't get the apache connectors working :-( What a nightmare day, and I'm supposed to be going on holiday tomorrow. I have a CF server that is taking over 500 seconds to restart and the apache connectors fail miserably, even though I've had it all working before. Do you know why it might take so long to restart? I just tried to install CFX_IMG I must have done something wrong because now the CF server won't come back up and I'm seeing loads of the following message in cfserver.log. The problem is I can't now get into the CF server admin to remove the changes I made. Is there any way to do this manually or should I try reinstalling the cf server. All of the configuration information is in a set of text files you can edit directly. On a multiserver install, the directory is \jrun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib. Off the top of my head, I think that the file you want to edit is neo-runtime.xml, but if not, it's almost certainly one of the other neo-*.xml files. 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! This email has been processed by SmoothZap - www.smoothwall.net ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273356 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFX_IMG install problems
Thanks Dave, I should have waited for your email. I couldn't get it working so I tried uninstalling and reinstalling the ColdFusion server, now I can't get the apache connectors working :-( What a nightmare day, and I'm supposed to be going on holiday tomorrow. I have a CF server that is taking over 500 seconds to restart and the apache connectors fail miserably, even though I've had it all working before. Do you know why it might take so long to restart? I just tried to install CFX_IMG I must have done something wrong because now the CF server won't come back up and I'm seeing loads of the following message in cfserver.log. The problem is I can't now get into the CF server admin to remove the changes I made. Is there any way to do this manually or should I try reinstalling the cf server. All of the configuration information is in a set of text files you can edit directly. On a multiserver install, the directory is \jrun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib. Off the top of my head, I think that the file you want to edit is neo-runtime.xml, but if not, it's almost certainly one of the other neo-*.xml files. 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! This email has been processed by SmoothZap - www.smoothwall.net ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273357 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
retrieving generated output
I can use cfcontent reset=yes / to reset the datastream to the webserver. Does anyone know how I can capture all that content into a variable first, for later use? This email message may contain privileged and/or confidential information. If you are not the intended recipient(s), you are hereby notified that any dissemination, distribution, or copying of this email message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this email message from your computer. CAUTION: The Agency of Human Services cannot ensure the confidentiality or security of email transmissions. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273358 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Training: C# ASP.NET 2.0 for ColdFusion Developers
We've been swamped for over the past year, so we haven't been able to schedule one of these classes until now. We've scheduled only one class, and we have only one seat left (the first two were taken right after we announced it last week), so if you're interested in adding C# and ASP.NET 2.0 to your repertoire then you should register ASAP. Here's the itinerary: http://www.productivityenhancement.com/training/Itinerary.cfm?coursecode=CSHARP Oh yeah -- students now have full-blown Herman-Miller Aeron Titanium C-size chairs with all the extra features like adjustable lumbar support, so you'll sit with as much comfort as the law allows. Though it's way outside the scope of this class, we're going to add an optional free session one evening to show a real world example of a Windows Workflow Foundation application hosted in ASP.NET, and how to use some of its more advanced features. If you've looked for an example of hosting WF on ASP.NET then you know how nothing exists beyond a simple Hello, world message displayed when someone posts a form. We've been building a rather large WF-based application, so we'll be in a unique position to show exactly how one works. We hope to see you in Atlanta in June. Respectfully, Adam Phillip Churvis Certified Advanced ColdFusion MX 7 Developer BlueDragon Alliance Founding Committee Get advanced intensive Master-level training in C# ASP.NET 2.0 for ColdFusion Developers at ProductivityEnhancement.com ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273359 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFX_IMG install problems
Thanks Dave, I should have waited for your email. I couldn't get it working so I tried uninstalling and reinstalling the ColdFusion server, now I can't get the apache connectors working :-( What a nightmare day, and I'm supposed to be going on holiday tomorrow. I have a CF server that is taking over 500 seconds to restart and the apache connectors fail miserably, even though I've had it all working before. Do you know why it might take so long to restart? A three-minute restart doesn't strike me as that long, actually. 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! This email has been processed by SmoothZap - www.smoothwall.net ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273360 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
application.cfm woes
Our team recently deployed a new version of application.cfm to our clustered production environment (with sticky sessions). The changes were load tested on our staging server (not clustered) and found to be error free. When we deployed to Production, the website completely stopped responding giving only an Internal Server Error - Read message. When we attempted to hit each one of the servers in the cluster the connection timed out. Our thoughts are that the issue is somehow related to the load balancer. The staging environment is not a clustered environment so is not a true duplicate of the production environment. The staging server issue is in the hands of the client who understandably isn't thrilled about the expense of setting up a dupliate hardware environment of the Production environment. Here are my thoughts... The application name on the new application.cfm is different from the old version. Would changing the application name mid session (for some users) cause this kind of problem? I noticed in the CF exception logs that there were a number of NullPointer exceptions referencing the old application name at the time we deployed the new application.cfm. Our thoughts at this point are 1) try keeping the same application name 2) making the application.cfm change while CF services are stopped and then restarting services after the file deployment is complete 3) attempt the deployment one server at a time instead of to the whole cluster. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273361 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: retrieving generated output
cfsavecontent variable=hoohah blah blah blah /cfsavecontent cfcontent reset=yes / cfoutput#hoohah#/cfoutput Make sure the cfcontent reset is OUTSIDE and AFTER the cfsavecontent tag Mik At 09:32 AM 3/22/2007, you wrote: I can use cfcontent reset=yes / to reset the datastream to the webserver. Does anyone know how I can capture all that content into a variable first, for later use? This email message may contain privileged and/or confidential information. If you are not the intended recipient(s), you are hereby notified that any dissemination, distribution, or copying of this email message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this email message from your computer. CAUTION: The Agency of Human Services cannot ensure the confidentiality or security of email transmissions. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273362 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: The dreaded question of intellectual property
Peter, Unless you have a contract or agreement with them specifically stating that they receive full ownership of the code, for example on completion or on payment in full, you retain all ownership of your original code. Take it easy. Book a meeting with a lawyer, pay them 1-2 hours to give you confirmation that you're good, and then let your client know your position. Perhaps offer them a non-exclusive license which allows them to use the code, but not to modify, resell or transfer, at a premium cost. Jack Have had an issue for an unyet finished project (despite working my arse off on it) where the client wants full ownership of the resultant code. ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273363 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT JS - Moving elements in page
Adrian Lynch wrote: Anyone have any pointers or examples of DHTML ordering? Will it be a case of deleting and reinserting elements where needed? i'd have a look at walter zorn's js libs: http://www.walterzorn.com/index.htm ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273364 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
New Features In Scorpio
Ben Forta just showed a demo at Spring lt;br /gt; Conference 2007 that Scorpio will include Ajax Wigits!!! He showed Text Field suggestion boxes, a calendar wigit and the mind blower was the Ajax Rich Text Editor!!! What a show! And we saw it first at Spring lt;br /gt; Conference 2007. Tim Buntel is showing it at MXDU on Friday Morning there, but that this afternoon here See, you should'a been at Spring br / Conference 2007 ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273365 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: retrieving generated output
In your example, the reset isn't actually clearing anything as nothing was ever written to the output stream. Actually, I assume the answer will be found in something like cfdump var=#getPageContext().getResponse()# /. -Original Message- From: Mik Muller [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 9:46 AM To: CF-Talk Subject: Re: retrieving generated output cfsavecontent variable=hoohah blah blah blah /cfsavecontent cfcontent reset=yes / cfoutput#hoohah#/cfoutput Make sure the cfcontent reset is OUTSIDE and AFTER the cfsavecontent tag Mik At 09:32 AM 3/22/2007, you wrote: I can use cfcontent reset=yes / to reset the datastream to the webserver. Does anyone know how I can capture all that content into a variable first, for later use? This email message may contain privileged and/or confidential information. If you are not the intended recipient(s), you are hereby notified that any dissemination, distribution, or copying of this email message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this email message from your computer. CAUTION: The Agency of Human Services cannot ensure the confidentiality or security of email transmissions. ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273366 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: OT JS - Moving elements in page
-Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 7:20 AM To: CF-Talk Subject: OT JS - Moving elements in page I'm just about to get started with working out how to moving divs up and down a page so the divs below... div id=div1First/div div id=div2Second/div div id=div3Third/div I've a soon-to-be-officially-released component that should help with this here: http://www.depressedpress.com/Content/Development/JavaScript/Extensions/DP_P anelManager/Index.cfm The documentation isn't complete (I've not yet added examples) but all of the component docs are done (methods and properties and such). This is a small (kinda - only 18kb), relatively simple object that offers a lot of DHTML help. Basically you set up a PanelManager (a container for all your panels) like so: MyPanels = new DP_PanelManager(); You then add panels (pretty much any HTML element - but Divs are the obvious choice). To add your DIVs do: div1 = MyPanels.addPanel(div1); div2 = MyPanels.addPanel(div2); div3 = MyPanels.addPanel(div3); Now every DIV you've added has access to the properties and methods listed under Panel Properties and Methods. You can simply manage content loading (with script activation), visibility, display, position, opacity and size. You can even do simple animations. I've created a reference to each panel by assigning the output of the addPanel method (which is a reference to element) to a variable but you could also just use document.getElementById() if you like. Remember the methods are now attached to element not to the manager! To swap two elements is pretty easy (this is off the top of my head code - I'm not in a position to test it). So, to swap div1 and div2 do something like this. You need to get the position of the divs: CurDiv1Pos = div1.getPosition(); CurDiv2Pos = div2.getPosition(); Now set the positions (in every case - opacity, position, size, etc - the output of the get method can be used as input to the set method): div1.setPosition(CurDiv2Pos); div2.setPosition(CurDiv1Pos); You could also easily animate the change: div1.shiftPosition(CurDiv2Pos); div2.shiftPosition(CurDiv1Pos); Note of course that all of this is pretty simplistic. There are several much more feature-rich libraries (such as Dojo or the YUI) that will offer significantly more. But they are also larger and more complex. My goal to create small, self-contained components that are simple to use and easy to integrate. As I said the component hasn't really been released yet. It's not been tested outside my house. If you do try it please let me know what you think or if you find any errors. Hope this helps. Jim Davis ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273367 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFX_IMG install problems
On 3/22/07, Dave Watts [EMAIL PROTECTED] wrote: going on holiday tomorrow. I have a CF server that is taking over 500 seconds to restart and the apache connectors fail miserably, even though I've had it all working before. Do you know why it might take so long to restart? A three-minute restart doesn't strike me as that long, actually. 500/60 = 8 minutes, 20 seconds. That's unreasonable for me. I actually had this problem and solved it be disabling on access scanning on the C:\Jrun4 folder... mcafee was causing the coldfusion startsup to be ridiculously slow. Now It takes like 20 seconds. An a slightly related note, I also had to disable on access scanning of my C:\Program Files\Adobe\Flex Builder\ folder... Flex Builder would take like 45 seconds to launch, now it launches in 6 seconds. Rick -- CFMBB - Coldfusion Message Boards, Version 1.21 Now Available! http://www.cfmbb.org ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273368 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFX_IMG install problems
500/60 = 8 minutes, 20 seconds. D'oh! 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! This email has been processed by SmoothZap - www.smoothwall.net ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273369 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT: RSS Selector Utiltiy
I have a client aiming to deploy a site that aggregates news from various RSS or XML feeds. Simple enough if they planned to use the entire feed but this client wants to cherry pick from various feeds. They asked me to build an admin tool for this. My thoughts were to find a RSS Reader or Aggregator to handle the cherry picking and from there have the client upload the xml file. Any thoughts about this. I currently use Pluck for RSS feeds but it does not allow for me to cherry pick and create my own feed. ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273370 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
binaryEncode(data, hex)
Hello all, It appears that based on Oblio's previous suggestion, binaryEncode(data, Hex) might be what I'm looking for. However, binaryEncode() appears to be new to CF 7. My client is still on 6.1 and doesn't have the funds (or will) to move to 7 yet (argh). Is there something like a binaryEncode(data, Hex) in CF 6.1 or another way to achieve this with cf 6.1? Thanks in advance Leitch, Oblio wrote: I can't offer any help with LDAP, but if your LDAP server can receive data in another way, you can use binaryEncode(data, [hex,base64]). Oblio -Original Message- From: Vince Collins (NHJobs.com) [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 3:20 PM To: CF-Talk Subject: CFLDAP uploading Image (binary) I've hit a wall and have a question. I have been able to write a form that allows the updating of all text fields within the LDAP directory using cfldap. What I need now is to provide the ability to upload an image and store that within LDAP. Here is where it breaks. !--- upload file --- cffile action=upload filefield=seljpegPhoto destination=#root#\update\upload nameconflict=makeunique !--- read file as binary --- cffile action=READBINARY file=#root#\update\upload\#file.serverfile# variable=BinaryImageContent !--- Replace with new image --- cfldap action=modify DN=#qry_get_one_emp.distinguishedName# attributes=jpegPhoto=#BinaryImageContent# modifytype=replace server=#LDAPServer# username=#LDAPUsername# password=#LDAPPassword# The resulting error: ByteArray objects cannot be converted to strings. If I change the above to attributes=jpegPhoto=#ToBinary(BinaryImageContent)# it is redundant and causes the same error. Is there some switch I am missing or something else I need to do in order to let CFLDAP know this is binary and to allow the update? I have found NO information on how to upload a binary object into LDAP using CFLDAP. Any help would be greatly appreciated! Vince ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273371 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: OT JS - Moving elements in page
Cheers for the advice all. This is what I've come up with so far: http://adrianlynch.co.uk/temp/reorder/reorder.html Only tested on IE 6.0 at this stage. If you look into the code you might come up with a better way of working out what elements can be moved with in a given parent. I'm not happy with using an ID prefix to determine the sibling elements but I can't think of a better way at this point. Adrian -Original Message- From: Jim Davis [mailto:[EMAIL PROTECTED] Sent: 22 March 2007 14:19 To: CF-Talk Subject: RE: OT JS - Moving elements in page -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 7:20 AM To: CF-Talk Subject: OT JS - Moving elements in page I'm just about to get started with working out how to moving divs up and down a page so the divs below... div id=div1First/div div id=div2Second/div div id=div3Third/div I've a soon-to-be-officially-released component that should help with this here: http://www.depressedpress.com/Content/Development/JavaScript/Extensions/DP_P anelManager/Index.cfm The documentation isn't complete (I've not yet added examples) but all of the component docs are done (methods and properties and such). This is a small (kinda - only 18kb), relatively simple object that offers a lot of DHTML help. Basically you set up a PanelManager (a container for all your panels) like so: MyPanels = new DP_PanelManager(); You then add panels (pretty much any HTML element - but Divs are the obvious choice). To add your DIVs do: div1 = MyPanels.addPanel(div1); div2 = MyPanels.addPanel(div2); div3 = MyPanels.addPanel(div3); Now every DIV you've added has access to the properties and methods listed under Panel Properties and Methods. You can simply manage content loading (with script activation), visibility, display, position, opacity and size. You can even do simple animations. I've created a reference to each panel by assigning the output of the addPanel method (which is a reference to element) to a variable but you could also just use document.getElementById() if you like. Remember the methods are now attached to element not to the manager! To swap two elements is pretty easy (this is off the top of my head code - I'm not in a position to test it). So, to swap div1 and div2 do something like this. You need to get the position of the divs: CurDiv1Pos = div1.getPosition(); CurDiv2Pos = div2.getPosition(); Now set the positions (in every case - opacity, position, size, etc - the output of the get method can be used as input to the set method): div1.setPosition(CurDiv2Pos); div2.setPosition(CurDiv1Pos); You could also easily animate the change: div1.shiftPosition(CurDiv2Pos); div2.shiftPosition(CurDiv1Pos); Note of course that all of this is pretty simplistic. There are several much more feature-rich libraries (such as Dojo or the YUI) that will offer significantly more. But they are also larger and more complex. My goal to create small, self-contained components that are simple to use and easy to integrate. As I said the component hasn't really been released yet. It's not been tested outside my house. If you do try it please let me know what you think or if you find any errors. Hope this helps. Jim Davis ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273372 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: OT JS - Moving elements in page
There are a lot of ajax libs out there which do parts of this... YUI's drag/drop sortable lists is one I'd recommend taking a look at http://developer.yahoo.com/yui/examples/dragdrop/list.html?mode=dist -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 10:39 AM To: CF-Talk Subject: RE: OT JS - Moving elements in page Cheers for the advice all. This is what I've come up with so far: http://adrianlynch.co.uk/temp/reorder/reorder.html Only tested on IE 6.0 at this stage. If you look into the code you might come up with a better way of working out what elements can be moved with in a given parent. I'm not happy with using an ID prefix to determine the sibling elements but I can't think of a better way at this point. Adrian -Original Message- From: Jim Davis [mailto:[EMAIL PROTECTED] Sent: 22 March 2007 14:19 To: CF-Talk Subject: RE: OT JS - Moving elements in page -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 7:20 AM To: CF-Talk Subject: OT JS - Moving elements in page I'm just about to get started with working out how to moving divs up and down a page so the divs below... div id=div1First/div div id=div2Second/div div id=div3Third/div I've a soon-to-be-officially-released component that should help with this here: http://www.depressedpress.com/Content/Development/JavaScript/Extensions/ DP_P anelManager/Index.cfm The documentation isn't complete (I've not yet added examples) but all of the component docs are done (methods and properties and such). This is a small (kinda - only 18kb), relatively simple object that offers a lot of DHTML help. Basically you set up a PanelManager (a container for all your panels) like so: MyPanels = new DP_PanelManager(); You then add panels (pretty much any HTML element - but Divs are the obvious choice). To add your DIVs do: div1 = MyPanels.addPanel(div1); div2 = MyPanels.addPanel(div2); div3 = MyPanels.addPanel(div3); Now every DIV you've added has access to the properties and methods listed under Panel Properties and Methods. You can simply manage content loading (with script activation), visibility, display, position, opacity and size. You can even do simple animations. I've created a reference to each panel by assigning the output of the addPanel method (which is a reference to element) to a variable but you could also just use document.getElementById() if you like. Remember the methods are now attached to element not to the manager! To swap two elements is pretty easy (this is off the top of my head code - I'm not in a position to test it). So, to swap div1 and div2 do something like this. You need to get the position of the divs: CurDiv1Pos = div1.getPosition(); CurDiv2Pos = div2.getPosition(); Now set the positions (in every case - opacity, position, size, etc - the output of the get method can be used as input to the set method): div1.setPosition(CurDiv2Pos); div2.setPosition(CurDiv1Pos); You could also easily animate the change: div1.shiftPosition(CurDiv2Pos); div2.shiftPosition(CurDiv1Pos); Note of course that all of this is pretty simplistic. There are several much more feature-rich libraries (such as Dojo or the YUI) that will offer significantly more. But they are also larger and more complex. My goal to create small, self-contained components that are simple to use and easy to integrate. As I said the component hasn't really been released yet. It's not been tested outside my house. If you do try it please let me know what you think or if you find any errors. Hope this helps. Jim Davis ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273373 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: OT: RSS Selector Utiltiy
You could ingest all the feeds directly into a db on a regular basis, then you can query and cherry pick the db when you feed it back out. It allows you to query the db instead of the feed stream and then you could just create your feeds directly based on the queries you create. Just make sure you link and credit the original sources when outputting the feeds. I would only do a snippet and then link directly to the source to be safe since I didn't write the articles and their sites may be depending on advertising etc. I do this on my little hobby site cfblogs.com Vince Dwayne Cole wrote: I have a client aiming to deploy a site that aggregates news from various RSS or XML feeds. Simple enough if they planned to use the entire feed but this client wants to cherry pick from various feeds. They asked me to build an admin tool for this. My thoughts were to find a RSS Reader or Aggregator to handle the cherry picking and from there have the client upload the xml file. Any thoughts about this. I currently use Pluck for RSS feeds but it does not allow for me to cherry pick and create my own feed. ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273374 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: RSS Selector Utiltiy
Sounds a little like what Yahoo! Pipes is already doing. Selectively grabbing items from a feed may be troublesome just because of the mutable nature of feeds. On 3/22/07, Dwayne Cole [EMAIL PROTECTED] wrote: I have a client aiming to deploy a site that aggregates news from various RSS or XML feeds. Simple enough if they planned to use the entire feed but this client wants to cherry pick from various feeds. They asked me to build an admin tool for this. My thoughts were to find a RSS Reader or Aggregator to handle the cherry picking and from there have the client upload the xml file. Any thoughts about this. I currently use Pluck for RSS feeds but it does not allow for me to cherry pick and create my own feed. ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273375 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: New Features In Scorpio
While I'm really excited about this stuff, you realize this means you're going to have to use CFFORM to gain access to these new features. Does Adobe have any plans to allow these features to be used with plain HTML elements? Obviously you could simply view source and copy and paste, but it would be much nice to just use a function or something. Andy Matthews Senior Coldfusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com -Original Message- From: David Hannum [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 8:56 AM To: CF-Talk Subject: New Features In Scorpio Ben Forta just showed a demo at Spring lt;br /gt; Conference 2007 that Scorpio will include Ajax Wigits!!! He showed Text Field suggestion boxes, a calendar wigit and the mind blower was the Ajax Rich Text Editor!!! What a show! And we saw it first at Spring lt;br /gt; Conference 2007. Tim Buntel is showing it at MXDU on Friday Morning there, but that this afternoon here See, you should'a been at Spring br / Conference 2007 ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273376 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: OT JS - Moving elements in page
As well as the Interface Plugin for the JQuery library http://interface.eyecon.ro/ Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Katz, Dov B (IT) wrote: There are a lot of ajax libs out there which do parts of this... YUI's drag/drop sortable lists is one I'd recommend taking a look at http://developer.yahoo.com/yui/examples/dragdrop/list.html?mode=dist -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 10:39 AM To: CF-Talk Subject: RE: OT JS - Moving elements in page Cheers for the advice all. This is what I've come up with so far: http://adrianlynch.co.uk/temp/reorder/reorder.html Only tested on IE 6.0 at this stage. If you look into the code you might come up with a better way of working out what elements can be moved with in a given parent. I'm not happy with using an ID prefix to determine the sibling elements but I can't think of a better way at this point. Adrian -Original Message- From: Jim Davis [mailto:[EMAIL PROTECTED] Sent: 22 March 2007 14:19 To: CF-Talk Subject: RE: OT JS - Moving elements in page -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 7:20 AM To: CF-Talk Subject: OT JS - Moving elements in page I'm just about to get started with working out how to moving divs up and down a page so the divs below... div id=div1First/div div id=div2Second/div div id=div3Third/div I've a soon-to-be-officially-released component that should help with this here: http://www.depressedpress.com/Content/Development/JavaScript/Extensions/ DP_P anelManager/Index.cfm The documentation isn't complete (I've not yet added examples) but all of the component docs are done (methods and properties and such). This is a small (kinda - only 18kb), relatively simple object that offers a lot of DHTML help. Basically you set up a PanelManager (a container for all your panels) like so: MyPanels = new DP_PanelManager(); You then add panels (pretty much any HTML element - but Divs are the obvious choice). To add your DIVs do: div1 = MyPanels.addPanel(div1); div2 = MyPanels.addPanel(div2); div3 = MyPanels.addPanel(div3); Now every DIV you've added has access to the properties and methods listed under Panel Properties and Methods. You can simply manage content loading (with script activation), visibility, display, position, opacity and size. You can even do simple animations. I've created a reference to each panel by assigning the output of the addPanel method (which is a reference to element) to a variable but you could also just use document.getElementById() if you like. Remember the methods are now attached to element not to the manager! To swap two elements is pretty easy (this is off the top of my head code - I'm not in a position to test it). So, to swap div1 and div2 do something like this. You need to get the position of the divs: CurDiv1Pos = div1.getPosition(); CurDiv2Pos = div2.getPosition(); Now set the positions (in every case - opacity, position, size, etc - the output of the get method can be used as input to the set method): div1.setPosition(CurDiv2Pos); div2.setPosition(CurDiv1Pos); You could also easily animate the change: div1.shiftPosition(CurDiv2Pos); div2.shiftPosition(CurDiv1Pos); Note of course that all of this is pretty simplistic. There are several much more feature-rich libraries (such as Dojo or the YUI) that will offer significantly more. But they are also larger and more complex. My goal to create small, self-contained components that are simple to use and easy to integrate. As I said the component hasn't really been released yet. It's not been tested outside my house. If you do try it please let me know what you think or if you find any errors. Hope this helps. Jim Davis ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273377 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: 404 error under CFMX and RDS
The same happens to me CF version:7.0Windows Professional SP2. Any help would be appreciated. Thanks. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273378 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Numberformat not working
That did it. Thanks Peter. On 3/21/07, Peter Boughton [EMAIL PROTECTED] wrote: Try setting type to currency. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273379 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: New Features In Scorpio
Yep, you are going to need cfform for this, and any related from controls. And I know that many loathe cfform because of the JavaScript it created way back when, but if you've not looked at it in a while, do so. It's not the same animal, and is far more usable and configurable than is used to be. Of course, it is not for everyone, just as the embedded rich text editor is not for everyone. There will always be CF developers who want more control and who thus prefer to do things themselves, but for many CFers, cfform is a great set of shortcuts. --- Ben -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 11:18 AM To: CF-Talk Subject: RE: New Features In Scorpio While I'm really excited about this stuff, you realize this means you're going to have to use CFFORM to gain access to these new features. Does Adobe have any plans to allow these features to be used with plain HTML elements? Obviously you could simply view source and copy and paste, but it would be much nice to just use a function or something. Andy Matthews Senior Coldfusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com -Original Message- From: David Hannum [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 8:56 AM To: CF-Talk Subject: New Features In Scorpio Ben Forta just showed a demo at Spring lt;br /gt; Conference 2007 that Scorpio will include Ajax Wigits!!! He showed Text Field suggestion boxes, a calendar wigit and the mind blower was the Ajax Rich Text Editor!!! What a show! And we saw it first at Spring lt;br /gt; Conference 2007. Tim Buntel is showing it at MXDU on Friday Morning there, but that this afternoon here See, you should'a been at Spring br / Conference 2007 ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273380 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: New Features In Scorpio
Awesome ben!! Thanks for the input. I can't WAIT to try out the beta. I have no problem whatsoever with cfform as long as it works well and doesn't produce bloated js. andy -Original Message- From: Ben Forta [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 10:30 AM To: CF-Talk Subject: RE: New Features In Scorpio Yep, you are going to need cfform for this, and any related from controls. And I know that many loathe cfform because of the JavaScript it created way back when, but if you've not looked at it in a while, do so. It's not the same animal, and is far more usable and configurable than is used to be. Of course, it is not for everyone, just as the embedded rich text editor is not for everyone. There will always be CF developers who want more control and who thus prefer to do things themselves, but for many CFers, cfform is a great set of shortcuts. --- Ben -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 11:18 AM To: CF-Talk Subject: RE: New Features In Scorpio While I'm really excited about this stuff, you realize this means you're going to have to use CFFORM to gain access to these new features. Does Adobe have any plans to allow these features to be used with plain HTML elements? Obviously you could simply view source and copy and paste, but it would be much nice to just use a function or something. Andy Matthews Senior Coldfusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com -Original Message- From: David Hannum [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 8:56 AM To: CF-Talk Subject: New Features In Scorpio Ben Forta just showed a demo at Spring lt;br /gt; Conference 2007 that Scorpio will include Ajax Wigits!!! He showed Text Field suggestion boxes, a calendar wigit and the mind blower was the Ajax Rich Text Editor!!! What a show! And we saw it first at Spring lt;br /gt; Conference 2007. Tim Buntel is showing it at MXDU on Friday Morning there, but that this afternoon here See, you should'a been at Spring br / Conference 2007 ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273381 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: New Features In Scorpio
Are there any plans to smooth-out cfdump? -Original Message- From: Ben Forta [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 11:30 AM To: CF-Talk Subject: RE: New Features In Scorpio Yep, you are going to need cfform for this, and any related from controls. And I know that many loathe cfform because of the JavaScript it created way back when, but if you've not looked at it in a while, do so. It's not the same animal, and is far more usable and configurable than is used to be. Of course, it is not for everyone, just as the embedded rich text editor is not for everyone. There will always be CF developers who want more control and who thus prefer to do things themselves, but for many CFers, cfform is a great set of shortcuts. This email message may contain privileged and/or confidential information. If you are not the intended recipient(s), you are hereby notified that any dissemination, distribution, or copying of this email message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this email message from your computer. CAUTION: The Agency of Human Services cannot ensure the confidentiality or security of email transmissions. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273382 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: New Features In Scorpio
Leitch, Oblio said: Are there any plans to smooth-out cfdump? Have you filed any bugs against cfdump? Jochem ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273383 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: New Features In Scorpio
How do you mean? Cfdump seems pretty complete to me. -Original Message- From: Leitch, Oblio [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 10:44 AM To: CF-Talk Subject: RE: New Features In Scorpio Are there any plans to smooth-out cfdump? -Original Message- From: Ben Forta [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 11:30 AM To: CF-Talk Subject: RE: New Features In Scorpio Yep, you are going to need cfform for this, and any related from controls. And I know that many loathe cfform because of the JavaScript it created way back when, but if you've not looked at it in a while, do so. It's not the same animal, and is far more usable and configurable than is used to be. Of course, it is not for everyone, just as the embedded rich text editor is not for everyone. There will always be CF developers who want more control and who thus prefer to do things themselves, but for many CFers, cfform is a great set of shortcuts. This email message may contain privileged and/or confidential information. If you are not the intended recipient(s), you are hereby notified that any dissemination, distribution, or copying of this email message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this email message from your computer. CAUTION: The Agency of Human Services cannot ensure the confidentiality or security of email transmissions. ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273384 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: New Features In Scorpio
Isn't the mind blowing rich text editor just the FCK(?) free editor that could be integrated into any online form regardless of CF being there or not? On 3/22/07, David Hannum [EMAIL PROTECTED] wrote: Ben Forta just showed a demo at Spring lt;br /gt; Conference 2007 that Scorpio will include Ajax Wigits!!! He showed Text Field suggestion boxes, a calendar wigit and the mind blower was the Ajax Rich Text Editor!!! What a show! And we saw it first at Spring lt;br /gt; Conference 2007. Tim Buntel is showing it at MXDU on Friday Morning there, but that this afternoon here See, you should'a been at Spring br / Conference 2007 ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273385 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: New Features In Scorpio
No - I haven't found any. But I think there are ways to improve it. -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 11:49 AM To: CF-Talk Subject: RE: New Features In Scorpio Leitch, Oblio said: Are there any plans to smooth-out cfdump? Have you filed any bugs against cfdump? Jochem ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273386 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: New Features In Scorpio
No - I haven't found any. But I think there are ways to improve it. Unless Adobe has perfected the use of telepathy, your best bet is to submit feature requests to them: http://www.adobe.com/go/wish 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! This email has been processed by SmoothZap - www.smoothwall.net ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273387 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Expandpath issue...
Ok here's a weird on for you. I'm debugging a 3rd partied custom tag and they are doing on an expand path on a file which may or may not exist. The issue is that when it doesn't exist it returns a struct which is empty. Shouldn't expandpath throw an error if it can't find the file? How I can I check to see if the file exists if I don't know it's full path (to use file exist)? ---_ Eric R. Jones Senior Web Application Developer, AFNOC/NCD Barksdale AFB, LA DSN 781-7784 Comm (318) 456-7784 NIPRNET: [EMAIL PROTECTED] SIPRNET: [EMAIL PROTECTED] ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273388 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Expandpath issue...
fileExists(expandPath(relative/path)) expandPath just does an expansion of the relative path. If it did a filesystem check and raised an exception, it'd be impossible to use it in CFFILE to create new files (among various other things). cheers, barneyb On 3/22/07, Jones Eric R Ctr 8 AF Det 1/AFNOC [EMAIL PROTECTED] wrote: Ok here's a weird on for you. I'm debugging a 3rd partied custom tag and they are doing on an expand path on a file which may or may not exist. The issue is that when it doesn't exist it returns a struct which is empty. Shouldn't expandpath throw an error if it can't find the file? How I can I check to see if the file exists if I don't know it's full path (to use file exist)? ---_ Eric R. Jones Senior Web Application Developer, AFNOC/NCD -- Barney Boisvert [EMAIL PROTECTED] http://www.barneyb.com/ Got Gmail? I have 100 invites. ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273389 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Expandpath issue...
Never mind the original creator of the custom tag used a reserved word and that was causing the issue. ---_ Eric R. Jones Senior Web Application Developer, AFNOC/NCD Barksdale AFB, LA DSN 781-7784 Comm (318) 456-7784 NIPRNET: [EMAIL PROTECTED] SIPRNET: [EMAIL PROTECTED] ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273390 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Expandpath issue...
Eric, ExpandPath doesn't actually do anything with the file. It simply returns a string based on the relative path of the file that is callling the ExpandPath function. You will need to the test for the file using FileExists() and pop in the string that is created by the ExpandPath Function. Dean On 3/22/07, Jones Eric R Ctr 8 AF Det 1/AFNOC [EMAIL PROTECTED] wrote: Ok here's a weird on for you. I'm debugging a 3rd partied custom tag and they are doing on an expand path on a file which may or may not exist. The issue is that when it doesn't exist it returns a struct which is empty. Shouldn't expandpath throw an error if it can't find the file? How I can I check to see if the file exists if I don't know it's full path (to use file exist)? ---_ Eric R. Jones Senior Web Application Developer, AFNOC/NCD Barksdale AFB, LA DSN 781-7784 Comm (318) 456-7784 NIPRNET: [EMAIL PROTECTED] SIPRNET: [EMAIL PROTECTED] ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273391 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: New Features In Scorpio
I'd personally like to see two additional switches. One that allows you to tell cfdump whether you want to include the JavaScript functionality, and another that allows the user to tell cfdump to show results in a separate window. Chris Leitch, Oblio wrote: No - I haven't found any. But I think there are ways to improve it. -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 11:49 AM To: CF-Talk Subject: RE: New Features In Scorpio Leitch, Oblio said: Are there any plans to smooth-out cfdump? Have you filed any bugs against cfdump? Jochem ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273392 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: New Features In Scorpio
Unless Adobe has perfected the use of telepathy, your best bet is to submit feature requests to them: http://www.adobe.com/go/wish Cool. I just requested that all Adobe products include Adobe Patented Telepathy Technology. It's like Ajax, but it works. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273393 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: New Features In Scorpio
Right - that was sort of what I was thinking. More-over, what I meant by smooth-out was things like including the js once, and point to it rather than including it. This is already the case with cfform. -Original Message- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 12:44 PM To: CF-Talk Subject: Re: New Features In Scorpio I'd personally like to see two additional switches. One that allows you to tell cfdump whether you want to include the JavaScript functionality, and another that allows the user to tell cfdump to show results in a separate window. Chris Leitch, Oblio wrote: No - I haven't found any. But I think there are ways to improve it. -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 11:49 AM To: CF-Talk Subject: RE: New Features In Scorpio Leitch, Oblio said: Are there any plans to smooth-out cfdump? Have you filed any bugs against cfdump? Jochem ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273394 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: New Features In Scorpio
How do you mean? Cfdump seems pretty complete to me. Well, there's one major issue with it, it doesn't product XHTML compliant code. For instance, I use cfdump commonly to create error dumps. If the page has an XHTML doctype, none of the styles show up. They really should fix that. --- Mary Jo ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273395 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: New Features In Scorpio
On Thursday 22 Mar 2007, Aaron Rouse wrote: Isn't the mind blowing rich text editor just the FCK(?) free editor that could be integrated into any online form regardless of CF being there or not? Yup. But not having to write any javascript, having it Be Supported and Just Work are great winners for some people. -- Tom Chiverton Helping to economically improve strategic deliverables 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?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273396 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: New Features In Scorpio
One that allows you to tell cfdump whether you want to include the JavaScript functionality, Plus one here. It would be nice to see something like this added into an all inclusive cfdump http://www.netgrow.com.au/files/javascript_dump.cfm -Original Message- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 9:44 AM To: CF-Talk Subject: Re: New Features In Scorpio I'd personally like to see two additional switches. One that allows you to tell cfdump whether you want to include the JavaScript functionality, and another that allows the user to tell cfdump to show results in a separate window. Chris Leitch, Oblio wrote: No - I haven't found any. But I think there are ways to improve it. -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 11:49 AM To: CF-Talk Subject: RE: New Features In Scorpio Leitch, Oblio said: Are there any plans to smooth-out cfdump? Have you filed any bugs against cfdump? Jochem ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273397 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: New Features In Scorpio
I was going to register the cfreadmind tag... but it seems you beat me to it. :o( Chris Jeff Small wrote: Unless Adobe has perfected the use of telepathy, your best bet is to submit feature requests to them: http://www.adobe.com/go/wish Cool. I just requested that all Adobe products include Adobe Patented Telepathy Technology. It's like Ajax, but it works. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273398 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: New Features In Scorpio
I'd be curious how supported it really ends up being. Seems like a lot of CF support is just in the community anyway. I know the few times we have tried using official support that was paid for by our company we usually still got no solution or discovered the community could provide quicker or better support. On 3/22/07, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 22 Mar 2007, Aaron Rouse wrote: Isn't the mind blowing rich text editor just the FCK(?) free editor that could be integrated into any online form regardless of CF being there or not? Yup. But not having to write any javascript, having it Be Supported and Just Work are great winners for some people. -- Tom Chiverton Helping to economically improve strategic deliverables On: http://thefalken.livejournal.com ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273399 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: New Features In Scorpio
I've had similar experiences. It's also been my experience that when the problem is related to the CF services crashing, that it's hard to get someone who really (and I mean *really*) knows what the hell they're talking about. I spent two years on an intermittent problem like that, and it was like pulling teeth to get someone worth their salt to help us. Chris Aaron Rouse wrote: I'd be curious how supported it really ends up being. Seems like a lot of CF support is just in the community anyway. I know the few times we have tried using official support that was paid for by our company we usually still got no solution or discovered the community could provide quicker or better support. On 3/22/07, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 22 Mar 2007, Aaron Rouse wrote: Isn't the mind blowing rich text editor just the FCK(?) free editor that could be integrated into any online form regardless of CF being there or not? Yup. But not having to write any javascript, having it Be Supported and Just Work are great winners for some people. -- Tom Chiverton Helping to economically improve strategic deliverables On: http://thefalken.livejournal.com ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273400 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Consultancy
So, with talk of help/support What are peoples recommendations on ColdFusion consultancy for things like performance monitoring/tweaking etc. Especially UK based but not essential. 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 ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273401 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Can't get to CF Administrator
We are having the exact same problem. Did you ever find a resolution? Any help would be greatly appreciated! Kristin Coyne On our main production server, we can no longer get to the administrator. Going to the admin gives the following runtime error: 500 coldfusion.runtime.CFPage.SetEncoding(Ljava/lang/String;Ljava/lang/String;)V coldfusion.runtime.CFPage.SetEncoding(Ljava/lang/String;Ljava/lang/String;)V I haven't found any references to this via a google search. I saw one post on cf-talk back in October or so that looks a little similar, but no one responded to it. Has anyone seen this before? We're running CF7.0 on Windows 2003. A restart of CF didn't fix the problem. We're planning on updating to 7.0.1 and the latest cumulative hotfix on Friday night (we updated all of our other servers to that already), and we're hoping that fixes it. But, if anyone has seen this before, it might give us a head start on fixing it. -- - Scott Brady http://www.scottbrady.net/ ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273402 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Consultancy
http://www.carehart.org/askcharlie/ -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 1:48 PM To: CF-Talk Subject: Consultancy So, with talk of help/support What are peoples recommendations on ColdFusion consultancy for things like performance monitoring/tweaking etc. Especially UK based but not essential. 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 ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273403 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: OT JS - Moving elements in page
Anyone have any pointers or examples of DHTML ordering? Will it be a case of deleting and reinserting elements where needed? I messed around with doing something similar a lot lately, and I came up with two different approaches: If the elements you want to move only contain one or two simple elements (like text or hyperlinks), you can simply swap the text or values of those child elements instead of actually moving the position of the elements in the DOM hierarchy. I actually just made a UI tool that does just that in the Downloads box on the right-hand side of my blog (there's a working example on that download page as well): http://www.swartzfager.org/blog the purpose of the tool is really to _record_ the rearrangement of the elements (usually the elements of a list or table), not just visually rearrange them, but the JS techniques are the same. It works in all the major browsers (including Safari). The other approach is more like what you did with your reorder.html: I had to build a bookmark portlet for our portal system, and I wanted users to not only be able to nest bookmarks and folders, but to be able to reorder two folders at the same level in the hierarchy...which meant moving all of the bookmarks and folders contained in the folder. I ended up writing some functions that would clone the elements, remove the original elements, and then place the clones in the proper position of the document by figuring out which page element the clone should appear before and then using the insertBefore method. It works in Netscape, IE, FireFox, and Opera, but not in Safari: one of the functions involves reassigning element ids and Safari doesn't seem to like that for whatever reason. If you're interested in seeing the code for the second approach, I could probably clean it up for public consumption. -- Brian Swartzfager [EMAIL PROTECTED] http://www.swartzfager.org/blog ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273404 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: OT JS - Moving elements in page
Anyone have any pointers or examples of DHTML ordering? Will it be a case of deleting and reinserting elements where needed? I messed around with doing something similar a lot lately, and I came up with two different approaches: If the elements you want to move only contain one or two simple elements (like text or hyperlinks), you can simply swap the text or values of those child elements instead of actually moving the position of the elements in the DOM hierarchy. I actually just made a UI tool that does just that in the Downloads box on the right-hand side of my blog (there's a working example on that download page as well): http://www.swartzfager.org/blog the purpose of the tool is really to _record_ the rearrangement of the elements (usually the elements of a list or table), not just visually rearrange them, but the JS techniques are the same. It works in all the major browsers (including Safari). The other approach is more like what you did with your reorder.html: I had to build a bookmark portlet for our portal system, and I wanted users to not only be able to nest bookmarks and folders, but to be able to reorder two folders at the same level in the hierarchy...which meant moving all of the bookmarks and folders contained in the folder. I ended up writing some functions that would clone the elements, remove the original elements, and then place the clones in the proper position of the document by figuring out which page element the clone should appear before and then using the insertBefore method. It works in Netscape, IE, FireFox, and Opera, but not in Safari: one of the functions involves reassigning element ids and Safari doesn't seem to like that for whatever reason. If you're interested in seeing the code for the second approach, I could probably clean it up for public consumption. -- Brian Swartzfager [EMAIL PROTECTED] http://www.swartzfager.org/blog ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273405 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
ColdFusion Pluin and Flex 2.0
Just watched an Adobe online seminar and they said if you have CFMX v7.02, the CF plugin for Flex will be installed. I've got the following in my developer's edition of CFMX but I still can't find the plugin and rds panels in Flex. Where can I find the CF plugin panels? System Information Server Details Server Product ColdFusion MX Version 7,0,2,142559 Edition Developer Serial Number Developer Operating System Windows XP OS Version 5.1 ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273406 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT JS - Moving elements in page
What about using Prototype / Script.Aculo.Us? (or on all the other JS/DHTML libs) 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: Brian Swartzfager To: CF-Talk Sent: Thu Mar 22 18:08:26 2007 Subject: Re: OT JS - Moving elements in page Anyone have any pointers or examples of DHTML ordering? Will it be a case of deleting and reinserting elements where needed? I messed around with doing something similar a lot lately, and I came up with two different approaches: If the elements you want to move only contain one or two simple elements (like text or hyperlinks), you can simply swap the text or values of those child elements instead of actually moving the position of the elements in the DOM hierarchy. I actually just made a UI tool that does just that in the Downloads box on the right-hand side of my blog (there's a working example on that download page as well): http://www.swartzfager.org/blog .the purpose of the tool is really to _record_ the rearrangement of the elements (usually the elements of a list or table), not just visually rearrange them, but the JS techniques are the same. It works in all the major browsers (including Safari). The other approach is more like what you did with your reorder.html: I had to build a bookmark portlet for our portal system, and I wanted users to not only be able to nest bookmarks and folders, but to be able to reorder two folders at the same level in the hierarchy...which meant moving all of the bookmarks and folders contained in the folder. I ended up writing some functions that would clone the elements, remove the original elements, and then place the clones in the proper position of the document by figuring out which page element the clone should appear before and then using the insertBefore method. It works in Netscape, IE, FireFox, and Opera, but not in Safari: one of the functions involves reassigning element ids and Safari doesn't seem to like that for whatever reason. If you're interested in seeing the code for the second approach, I could probably clean it up for public consumption. -- Brian Swartzfager [EMAIL PROTECTED] http://www.swartzfager.org/blog ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273407 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: OT JS - Moving elements in page
I agree, this effect is done in all of these JS libs. I've been using mooTools lately, but that's just my preference. IMO, Script.aculo.us seems to cater solely to RoR(at least they did, haven't looked lately) -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 2:23 PM To: CF-Talk Subject: Re: OT JS - Moving elements in page What about using Prototype / Script.Aculo.Us? (or on all the other JS/DHTML libs) 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: Brian Swartzfager To: CF-Talk Sent: Thu Mar 22 18:08:26 2007 Subject: Re: OT JS - Moving elements in page Anyone have any pointers or examples of DHTML ordering? Will it be a case of deleting and reinserting elements where needed? I messed around with doing something similar a lot lately, and I came up with two different approaches: If the elements you want to move only contain one or two simple elements (like text or hyperlinks), you can simply swap the text or values of those child elements instead of actually moving the position of the elements in the DOM hierarchy. I actually just made a UI tool that does just that in the Downloads box on the right-hand side of my blog (there's a working example on that download page as well): http://www.swartzfager.org/blog ..the purpose of the tool is really to _record_ the rearrangement of the elements (usually the elements of a list or table), not just visually rearrange them, but the JS techniques are the same. It works in all the major browsers (including Safari). The other approach is more like what you did with your reorder.html: I had to build a bookmark portlet for our portal system, and I wanted users to not only be able to nest bookmarks and folders, but to be able to reorder two folders at the same level in the hierarchy...which meant moving all of the bookmarks and folders contained in the folder. I ended up writing some functions that would clone the elements, remove the original elements, and then place the clones in the proper position of the document by figuring out which page element the clone should appear before and then using the insertBefore method. It works in Netscape, IE, FireFox, and Opera, but not in Safari: one of the functions involves reassigning element ids and Safari doesn't seem to like that for whatever reason. If you're interested in seeing the code for the second approach, I could probably clean it up for public consumption. -- Brian Swartzfager [EMAIL PROTECTED] http://www.swartzfager.org/blog ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273408 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion Plugin and Flex 2.0
The plugin, in and of itself, is totally unrelated to the CF 7.0.2 updater, other than requiring it on the server side to properly function. It is included, separately, in the Flex Builder install, as a ..zip file you install in Eclipse. Help - Software Updates - Find and Install... - Search for new features to install - New Archived Site... - [the zip file] After installation you go have to enable the view, as well as configure your server properties. Server prop config: Window - Preferences - RDS Configuration Enable view: Window - Show View - Other - ColdFusion - [several options] Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com [EMAIL PROTECTED] wrote: Just watched an Adobe online seminar and they said if you have CFMX v7.02, the CF plugin for Flex will be installed. I've got the following in my developer's edition of CFMX but I still can't find the plugin and rds panels in Flex. Where can I find the CF plugin panels? System Information Server Details Server Product ColdFusion MX Version 7,0,2,142559 Edition Developer Serial Number Developer Operating System Windows XP OS Version 5.1 ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273409 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT JS - Moving elements in page
Nah, Script.aclu.us can be used with anything. It is just included with RoR. 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: Turetsky, Seth To: CF-Talk Sent: Thu Mar 22 18:40:18 2007 Subject: RE: OT JS - Moving elements in page I agree, this effect is done in all of these JS libs. I've been using mooTools lately, but that's just my preference. IMO, Script.aculo.us seems to cater solely to RoR(at least they did, haven't looked lately) -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 2:23 PM To: CF-Talk Subject: Re: OT JS - Moving elements in page What about using Prototype / Script.Aculo.Us? (or on all the other JS/DHTML libs) 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: Brian Swartzfager To: CF-Talk Sent: Thu Mar 22 18:08:26 2007 Subject: Re: OT JS - Moving elements in page Anyone have any pointers or examples of DHTML ordering? Will it be a case of deleting and reinserting elements where needed? I messed around with doing something similar a lot lately, and I came up with two different approaches: If the elements you want to move only contain one or two simple elements (like text or hyperlinks), you can simply swap the text or values of those child elements instead of actually moving the position of the elements in the DOM hierarchy. I actually just made a UI tool that does just that in the Downloads box on the right-hand side of my blog (there's a working example on that download page as well): http://www.swartzfager.org/blog ...the purpose of the tool is really to _record_ the rearrangement of the elements (usually the elements of a list or table), not just visually rearrange them, but the JS techniques are the same. It works in all the major browsers (including Safari). The other approach is more like what you did with your reorder.html: I had to build a bookmark portlet for our portal system, and I wanted users to not only be able to nest bookmarks and folders, but to be able to reorder two folders at the same level in the hierarchy...which meant moving all of the bookmarks and folders contained in the folder. I ended up writing some functions that would clone the elements, remove the original elements, and then place the clones in the proper position of the document by figuring out which page element the clone should appear before and then using the insertBefore method. It works in Netscape, IE, FireFox, and Opera, but not in Safari: one of the functions involves reassigning element ids and Safari doesn't seem to like that for whatever reason. If you're interested in seeing the code for the second approach, I could probably clean it up for public consumption. -- Brian Swartzfager [EMAIL PROTECTED] http://www.swartzfager.org/blog ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273410 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: OT JS - Moving elements in page
I just looked again, it was just that their AJAX demos are done in RoR, not sure why that was enough to send me away to mooTools though. Especially that the mooTools site has very basic documentation with no demos. Well, I also read that mooTools was much smaller, but I don't have any more info than that. -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 2:49 PM To: CF-Talk Subject: Re: OT JS - Moving elements in page Nah, Script.aclu.us can be used with anything. It is just included with RoR. 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: Turetsky, Seth To: CF-Talk Sent: Thu Mar 22 18:40:18 2007 Subject: RE: OT JS - Moving elements in page I agree, this effect is done in all of these JS libs. I've been using mooTools lately, but that's just my preference. IMO, Script.aculo.us seems to cater solely to RoR(at least they did, haven't looked lately) -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 2:23 PM To: CF-Talk Subject: Re: OT JS - Moving elements in page What about using Prototype / Script.Aculo.Us? (or on all the other JS/DHTML libs) 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: Brian Swartzfager To: CF-Talk Sent: Thu Mar 22 18:08:26 2007 Subject: Re: OT JS - Moving elements in page Anyone have any pointers or examples of DHTML ordering? Will it be a case of deleting and reinserting elements where needed? I messed around with doing something similar a lot lately, and I came up with two different approaches: If the elements you want to move only contain one or two simple elements (like text or hyperlinks), you can simply swap the text or values of those child elements instead of actually moving the position of the elements in the DOM hierarchy. I actually just made a UI tool that does just that in the Downloads box on the right-hand side of my blog (there's a working example on that download page as well): http://www.swartzfager.org/blog the purpose of the tool is really to _record_ the rearrangement of the elements (usually the elements of a list or table), not just visually rearrange them, but the JS techniques are the same. It works in all the major browsers (including Safari). The other approach is more like what you did with your reorder.html: I had to build a bookmark portlet for our portal system, and I wanted users to not only be able to nest bookmarks and folders, but to be able to reorder two folders at the same level in the hierarchy...which meant moving all of the bookmarks and folders contained in the folder. I ended up writing some functions that would clone the elements, remove the original elements, and then place the clones in the proper position of the document by figuring out which page element the clone should appear before and then using the insertBefore method. It works in Netscape, IE, FireFox, and Opera, but not in Safari: one of the functions involves reassigning element ids and Safari doesn't seem to like that for whatever reason. If you're interested in seeing the code for the second approach, I could probably clean it up for public consumption. -- Brian Swartzfager [EMAIL PROTECTED] http://www.swartzfager.org/blog ~| Create Web Applications With ColdFusion MX7
Re: OT JS - Moving elements in page
Again though, any of those demos is technology agnostic. Could be done with anything using it. 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: Turetsky, Seth To: CF-Talk Sent: Thu Mar 22 18:57:26 2007 Subject: RE: OT JS - Moving elements in page I just looked again, it was just that their AJAX demos are done in RoR, not sure why that was enough to send me away to mooTools though. Especially that the mooTools site has very basic documentation with no demos. Well, I also read that mooTools was much smaller, but I don't have any more info than that. -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 2:49 PM To: CF-Talk Subject: Re: OT JS - Moving elements in page Nah, Script.aclu.us can be used with anything. It is just included with RoR. 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: Turetsky, Seth To: CF-Talk Sent: Thu Mar 22 18:40:18 2007 Subject: RE: OT JS - Moving elements in page I agree, this effect is done in all of these JS libs. I've been using mooTools lately, but that's just my preference. IMO, Script.aculo.us seems to cater solely to RoR(at least they did, haven't looked lately) -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 2:23 PM To: CF-Talk Subject: Re: OT JS - Moving elements in page What about using Prototype / Script.Aculo.Us? (or on all the other JS/DHTML libs) 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: Brian Swartzfager To: CF-Talk Sent: Thu Mar 22 18:08:26 2007 Subject: Re: OT JS - Moving elements in page Anyone have any pointers or examples of DHTML ordering? Will it be a case of deleting and reinserting elements where needed? I messed around with doing something similar a lot lately, and I came up with two different approaches: If the elements you want to move only contain one or two simple elements (like text or hyperlinks), you can simply swap the text or values of those child elements instead of actually moving the position of the elements in the DOM hierarchy. I actually just made a UI tool that does just that in the Downloads box on the right-hand side of my blog (there's a working example on that download page as well): http://www.swartzfager.org/blog .the purpose of the tool is really to _record_ the rearrangement of the elements (usually the elements of a list or table), not just visually rearrange them, but the JS techniques are the same. It works in all the major browsers (including Safari). The other approach is more like what you did with your reorder.html: I had to build a bookmark portlet for our portal system, and
Quickly configuring ColdFusion MX6.1
Hi folks, I'm trying to configure two brand new servers to be the same as my existing production server. A buddy of mine said that I could just copy the registry keys for the configuration over to the registries on the new boxes and that'd be that. It turns out that he's only done this on CF5.0, and it doesn't seem to work that way on CFMX6.1 I know that BlueDragon's configuration runs entirely off of one single XML file. Copy that file to a new server with BD installed, and BAM! Two identically configured BD servers. Does anyone know of a way to do this in CFMX6.1? I'm going to continue hunting through the CF directory structure looking for something like this, but I thought I'd ask the community as well. Thanks heaps! Chris ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273413 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: New Features In Scorpio
And I know that many loathe cfform because of the JavaScript it created way back when, but if you've not looked at it in a while, do so. It's not the same animal, and is far more usable and configurable than is used to be. +1 for cfform. I don't use it for everything, but it sure comes in handy sometimes. -- My Sites: http://www.techfeed.net/blog/ http://www.cfquickdocs.com/ http://cfformprotect.riaforge.org/ ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273414 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
i hope they fix cfcache in scorpio
Dear the CF Product team, Please make sure the cfcach'ed pages do not have an HTML comment as the first line in the cfcach'ed page. That' breaks CSS. Thank you, Jon ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273415 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
OT: Movie listings in my web application?
What's the best approach to integrating movie listings into your web application. Are there any good web services or feeds you can tap into? Thanks, Jon ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273416 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Quickly configuring ColdFusion MX6.1
Just use the Settings Summary and copy/paste add them. There is not exactly a load of them to do. 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: Christopher Jordan To: CF-Talk Sent: Thu Mar 22 19:01:19 2007 Subject: Quickly configuring ColdFusion MX6.1 Hi folks, I'm trying to configure two brand new servers to be the same as my existing production server. A buddy of mine said that I could just copy the registry keys for the configuration over to the registries on the new boxes and that'd be that. It turns out that he's only done this on CF5.0, and it doesn't seem to work that way on CFMX6.1 I know that BlueDragon's configuration runs entirely off of one single XML file. Copy that file to a new server with BD installed, and BAM! Two identically configured BD servers. Does anyone know of a way to do this in CFMX6.1? I'm going to continue hunting through the CF directory structure looking for something like this, but I thought I'd ask the community as well. Thanks heaps! Chris ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273417 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Quickly configuring ColdFusion MX6.1
Maybe ask on a BD list as well. 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: Christopher Jordan To: CF-Talk Sent: Thu Mar 22 19:01:19 2007 Subject: Quickly configuring ColdFusion MX6.1 Hi folks, I'm trying to configure two brand new servers to be the same as my existing production server. A buddy of mine said that I could just copy the registry keys for the configuration over to the registries on the new boxes and that'd be that. It turns out that he's only done this on CF5.0, and it doesn't seem to work that way on CFMX6.1 I know that BlueDragon's configuration runs entirely off of one single XML file. Copy that file to a new server with BD installed, and BAM! Two identically configured BD servers. Does anyone know of a way to do this in CFMX6.1? I'm going to continue hunting through the CF directory structure looking for something like this, but I thought I'd ask the community as well. Thanks heaps! Chris ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273418 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
You think you know OOP.. but you don't
Why do so many articles get published in the CFMX world about OOP. I've read though several, not going to mention names here... but you read it and it makes you think.. wow .. i thought I understood OOP but maybe I don't. Factories... abstraction... models... patterns... that's too much crap for someone to learn. I feel like anybody who's trying to learn CFMX need not worry about whether or not they know OOP or any of these crazy buzzwords. If we think OOP is important, or any other buzz word for that matter, we really aught to make a simple application that shows you the recommended way to do something in CFMX. Is there such a resource? Jon ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273419 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Movie listings in my web application?
What's the best approach to integrating movie listings into your web application. Are there any good web services or feeds you can tap into? I had to do this several years ago and there wasn't anything publicly available at that time aside from scraping from someone else's web site. We ended up subscribing to a data feed from a company that provides listings to many newspapers (I don't remember the company off hand, I believe it was a part of Zap2It at the time or something). I may be in a position to need movie data again in the near future, so if anyone knows of something better I would like to know as well. -Justin Scott ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273420 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: i hope they fix cfcache in scorpio
Dear the CF Product team, Please make sure the cfcach'ed pages do not have an HTML comment as the first line in the cfcach'ed page. That' breaks CSS. If you want to report features or bugs, you're more likely to get the result you want if you use the channel they provide. http://www.adobe.com/go/wish 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! This email has been processed by SmoothZap - www.smoothwall.net ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273421 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Quickly configuring ColdFusion MX6.1
I'm trying to configure two brand new servers to be the same as my existing production server. A buddy of mine said that I could just copy the registry keys for the configuration over to the registries on the new boxes and that'd be that. It turns out that he's only done this on CF5.0, and it doesn't seem to work that way on CFMX6.1 I know that BlueDragon's configuration runs entirely off of one single XML file. Copy that file to a new server with BD installed, and BAM! Two identically configured BD servers. Does anyone know of a way to do this in CFMX6.1? You can use the CAR functionality included in CFMX Enterprise, or you can copy the neo-*.xml configuration files from one server to another. 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! This email has been processed by SmoothZap - www.smoothwall.net ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273422 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Quickly configuring ColdFusion MX6.1
I think I may have just found the answer to my own question. There are a bunch of .xml files. For instance CFusionMX/lib/neo-cron.xml appears to hold all of the scheduled tasks. I'm still groping a bit in the darkness, so if anyone has any tried and true experience with configuring a new server from an existing servers xml files. I'd love any advice/help. Cheers, Chris Christopher Jordan wrote: Hi folks, I'm trying to configure two brand new servers to be the same as my existing production server. A buddy of mine said that I could just copy the registry keys for the configuration over to the registries on the new boxes and that'd be that. It turns out that he's only done this on CF5.0, and it doesn't seem to work that way on CFMX6.1 I know that BlueDragon's configuration runs entirely off of one single XML file. Copy that file to a new server with BD installed, and BAM! Two identically configured BD servers. Does anyone know of a way to do this in CFMX6.1? I'm going to continue hunting through the CF directory structure looking for something like this, but I thought I'd ask the community as well. Thanks heaps! Chris ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273423 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Movie listings in my web application?
I talked to the IT people at Kerasotes and they are sending me a CSV file every day. I just started by contacting a cinema's regular support email and was passed around until I found the right person. I haven't seen any other feeds. There is another cinema company in our town, but they were reluctant to put their movie listings anywhere except their own, crappy web site. So, Kerasotes will get their movies listed on our intranet and Showplace won't. Their loss. ;^) M!ke -Original Message- From: Jonathan Block [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 2:10 PM To: CF-Talk Subject: OT: Movie listings in my web application? What's the best approach to integrating movie listings into your web application. Are there any good web services or feeds you can tap into? Thanks, Jon ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273424 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: You think you know OOP.. but you don't
Why do so many articles get published in the CFMX world about OOP. Because, for many CF programmers who don't know other languages, it's a new (and potentially powerful) thing. I've read though several, not going to mention names here... but you read it and it makes you think.. wow .. i thought I understood OOP but maybe I don't. Factories... abstraction... models... patterns... that's too much crap for someone to learn. I feel like anybody who's trying to learn CFMX need not worry about whether or not they know OOP or any of these crazy buzzwords. If we think OOP is important, or any other buzz word for that matter, we really aught to make a simple application that shows you the recommended way to do something in CFMX. That too much crap is what people using practically every other mainstream programming language learn as a matter of course. So it can't be that hard! If you're trying to learn CFML, and don't know OOP, and haven't learned any other languages, that can be tough. But these aren't just crazy buzzwords, they're useful descriptions for how to solve problems. If, for example, I wanted to explain to you how a web application works, I wouldn't say you don't need to understand HTTP or forms or HTML or any of these crazy buzzwords. 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! This email has been processed by SmoothZap - www.smoothwall.net ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273425 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: You think you know OOP.. but you don't
On 3/22/07, Jonathan Block [EMAIL PROTECTED] wrote: Why do so many articles get published in the CFMX world about OOP. I've read though several, not going to mention names here... but you read it and it makes you think.. wow .. i thought I understood OOP but maybe I don't. Factories... abstraction... models... patterns... that's too much crap for someone to learn. I feel like anybody who's trying to learn CFMX need not worry about whether or not they know OOP or any of these crazy buzzwords. If we think OOP is important, or any other buzz word for that matter, we really aught to make a simple application that shows you the recommended way to do something in CFMX. Is there such a resource? I think the problem is that recommended is a very subjective term. There's no one right way to do anything. There are a number of good OO intro resources... off the top of my head: http://www.cfoop.org/ http://www.dougboude.com/documents/dougboudeslexicon.cfm Volume 1 Issue 2 of the FAQU (http://fusionauthority.com/quarterly/) and basically just reading (and asking) questions on forums. this forum, model-glue, fusebox, etc. Nobody can sit down and say here's the exact right way to do this specific task. Trust me, I wish that they could :) -- 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. ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273426 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: You think you know OOP.. but you don't
It's funny that you mention that, we've started a discussion about just that on the Model-Glue list. Want to put together a good (and usable/useful) sample application built upon some 'best practices' concepts that is a) easy to understand, b) well documented, and c) can be extended and attached to an existing application. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Jonathan Block wrote: Why do so many articles get published in the CFMX world about OOP. I've read though several, not going to mention names here... but you read it and it makes you think.. wow .. i thought I understood OOP but maybe I don't. Factories... abstraction... models... patterns... that's too much crap for someone to learn. I feel like anybody who's trying to learn CFMX need not worry about whether or not they know OOP or any of these crazy buzzwords. If we think OOP is important, or any other buzz word for that matter, we really aught to make a simple application that shows you the recommended way to do something in CFMX. Is there such a resource? Jon ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273427 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Miss CF days / seriously considering getting back to it
Greetings to all, Have gone to another planet for the past two years plus. Seriously, have not used CF for a little over two years, miss it and am seriously considering getting back to it. Started from late yesterday, I've downloaded the CFMX7 documentation (1108 pages), browsed through it, checked out Ben Forta's web site a little bit and of course this site very quickly as well. By looking at directory/file datetime stamp, I noticed I wrote some cfc as well as before departure, even back then already got started with object-oriented direction ... Broadly speaking, am I miss something critical in the CF world for the following sketch? Many thanks. [NOW] CFMX 7 Key Features/Functions * business reports (cfreport: chart/bar etc.) * printable/portal web content (cfdocument: PDF, Flash) * rich forms * app events/control: session,application,request,client, error * better server management * J2EE (Jrun server) EAR (Enterprise App Archive) WAR (Web App Archive) sourceless deployment Advanced cf features/functions - Advanced Data Structures like query of query vs. temp tbl approach XML cfmxl, p.448 XML Forms Application.CFC Advanced Caching Performance Monitoring Leveraging Java Custom Tags Components Error Handling Frameworks Web Services Code Structuring TAGS (app framework) CFapplication CFassociate (db) CFquery/cfqueryparam CFtransaction (ecommerce) CFstoreProc/CFprocParam/CFprocResult (output) CFoutput CFcontent CFdocument CFchart/CFreport (file) CFfile CFdirectory CFftp (flow-control) cfif cfelse cfcase/cfswitch/cfbreak cfloop cfinclude cflocation cfabort cfexit (out of current custom tag) (user-interaction/form) CFform CFgrid CFtree (security) CFlogin/CFloginUser (used to use application/session/cookie to take care of it) ... Server box security is critical to any CF app or any other app on the box for that matter CFlock (var mgr) CFset (error/exception handling) CFerror, CFtry/cfcatch (more complex) CFobject CFmodule (esp. dot notation) (gradually replaced with cfc ...) CFcomponent (cfc), within it CFfunction within it CFargument CFxml (other) CFhttp CFftp CFmail/CFpop (debug) FUNCTIONS - (set of data elements) List ... Array ... Structure ... (decision) IsDefined ... IsDate/IsObject (data type) IIF (query) QueryNew, QueryAddRow, ValueList (evaluation) Evaluate (XML[parent/child]/SOAP[Request/Responde]) Others such as (string manipulation) left/mid/right/len find/replace ucase/lcase tobinary/tostring/toBase64 (store binary data to db) createODBCdateTime (math) min/max/rand/ceiling/round (system) duplicate (for complex structure) return clone, no reference to original var vs. StructCopy (has reference to original var) so, if the var's value change, StructCopy's value change as well while for duplicate it is not catch: can't duplicate a cfc can't duplicate COM, CORBA, Java Obj by CFobject/CreateObject (display/format) DateFormat HTMLcodeFormat YesNoFormat (search w/ Verity) CFindex/CFcollection/CFsearch (debug) CFdump, CFtrace, CFerror, CFtry, CFthrow More Power -- CFMX and Java WDDX Javascript Objects More Presenation Impact --- CF Flash ActionScript [FUTURE] CFMX 8 (Scorpio) Possible new features In a nutshell, it seems the following * better support for open source software like Tomcat * better performance for CFC * better user interaction with CFform * fix/beef up reporting The above is the extraction/summarization from the following text. Things that customers are looking for: 1. Ability to kill certain Request threads using Administrator or command-line 2. Ability to make certain Cold Fusion pages run only on a particular Server Instance while clustering 3. Official support for Debian 3.1/Ubuntu 6.06 and later (x86 and AMD64) 4. Linux installation via rpm/deb package, with yum and apt-get repositories to check for updates 5. Ability to deploy Standard Edition on alternate servlet engines (e.g. Tomcat/JBoss) 6. Faster Component instantiation. 7. Improvements in CF Report Builder (poor charting options in current version - horizontal bar chart, scatter graph. When opening main subreport at the same time, if changes are made to the subreport and the save option is chosen, the subreport takes the same name as the main report. Need much more advanced options and powerful features in Report Builder.) 8. CF Report Builder with Custom Page Break options not just page break after Report Header and before Report Footer. And creating of custom bands other than Group and other standard bands. 9. Multiple levels of Reporting including mutiple subreports in the main report. 10. Ability to install the standard version on an alternate servlet engine (e.g. Tomcat or JBoss) rather than forcing an integrated install. Don't
Re: You think you know OOP.. but you don't
Why do so many articles get published in the CFMX world about OOP. Because OOP rocks. I would dispute your statement though; OOP is less prevalent in CF than in other languages (from what I hear anyway). I feel like anybody who's trying to learn CFMX need not worry about whether or not they know OOP or any of these crazy buzzwords. I think CF is pretty friendly for beginners, moreso than a lot of other languages...just my opinion though. If we think OOP is important, or any other buzz word for that matter, we really aught to make a simple application that shows you the recommended way to do something in CFMX. Is there such a resource? For cf/oop, check out cfoop.org. It's a good place to get started. -- Josh ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273429 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: You think you know OOP.. but you don't
I've always felt that learning OO for a specific language isn't the best way. To learn the theories and concepts behind it and than find guidance how to implement it properly in whatever language you're using makes for a more solid grasp of the basics. @@ two cents !k -Original Message- From: Jonathan Block [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 1:16 PM To: CF-Talk Subject: You think you know OOP.. but you don't Why do so many articles get published in the CFMX world about OOP. I've read though several, not going to mention names here... but you read it and it makes you think.. wow .. i thought I understood OOP but maybe I don't. Factories... abstraction... models... patterns... that's too much crap for someone to learn. I feel like anybody who's trying to learn CFMX need not worry about whether or not they know OOP or any of these crazy buzzwords. If we think OOP is important, or any other buzz word for that matter, we really aught to make a simple application that shows you the recommended way to do something in CFMX. Is there such a resource? Jon ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273430 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: i hope they fix cfcache in scorpio
Heh... not to be the cynic, but it only took 2 full versions to listen to me. Who would've thought video would be such a big deal in Flash? =] !k -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 2:27 PM To: CF-Talk Subject: RE: i hope they fix cfcache in scorpio Dear the CF Product team, Please make sure the cfcach'ed pages do not have an HTML comment as the first line in the cfcach'ed page. That' breaks CSS. If you want to report features or bugs, you're more likely to get the result you want if you use the channel they provide. http://www.adobe.com/go/wish 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! This email has been processed by SmoothZap - www.smoothwall.net ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273431 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: You think you know OOP.. but you don't
If you're trying to learn CFML, and don't know OOP, and haven't learned any other languages, that can be tough. But these aren't just crazy buzzwords, they're useful descriptions for how to solve problems. I agree with most of your post, Dave. But one thing that bothers me about the 100 CF frameworks out there is that often times these guys make up their own dialect instead of trying to use existing terms that mean the same thing. I'm not a frameworks expert, but from the reading I've done, Fusebox and Model Glue each introduce new terms for concepts that have been around for a long time (for example, fuse and all of its variants). I really wish people would stop trying to be cool, and just use existing standard language. -- My Sites: http://www.techfeed.net/blog/ http://www.cfquickdocs.com/ http://cfformprotect.riaforge.org/ ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273432 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion Plugin and Flex 2.0
Great thanks! I've never installed an Eclipse extension before. Where do i find/download the Flex/CF Plugin zip file? The plugin, in and of itself, is totally unrelated to the CF 7.0.2 updater, other than requiring it on the server side to properly function. It is included, separately, in the Flex Builder install, as a .zip file you install in Eclipse. Help - Software Updates - Find and Install... - Search for new features to install - New Archived Site... - [the zip file] After installation you go have to enable the view, as well as configure your server properties. Server prop config: Window - Preferences - RDS Configuration Enable view: Window - Show View - Other - ColdFusion - [several options] Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com [EMAIL PROTECTED] wrote: ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273433 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Quickly configuring ColdFusion MX6.1
I'm on Standard not Enterprise... maybe next year! :o) I ended up copying all the .xml files in the lib directory. When I didn't find anything in the registry I knew it had to be something like this... too bad it's not one file though. I dunno, maybe it's more efficient as separate files. Cheers, Chris Dave Watts wrote: I'm trying to configure two brand new servers to be the same as my existing production server. A buddy of mine said that I could just copy the registry keys for the configuration over to the registries on the new boxes and that'd be that. It turns out that he's only done this on CF5.0, and it doesn't seem to work that way on CFMX6.1 I know that BlueDragon's configuration runs entirely off of one single XML file. Copy that file to a new server with BD installed, and BAM! Two identically configured BD servers. Does anyone know of a way to do this in CFMX6.1? You can use the CAR functionality included in CFMX Enterprise, or you can copy the neo-*.xml configuration files from one server to another. 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! This email has been processed by SmoothZap - www.smoothwall.net ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273434 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Just a tidbit for those who might not have use iif before
I have never really used iif before, I was aware it existed but didn't really see a good place for it. Until today. =) Check this out: dollarformat(iif(Cost, cost, 0)) That says, evaluate cost as a Boolean, if its true (anything but 0 or null) then return cost, otherwise return 0 (so the dollarFormat does not break) This is great instead of a cfif around the whole thing. Kinda cool =) Chris ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273435 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Just a tidbit for those who might not have use iif before
Uh oh. You're probably about to get hammered with responses related to the performance cost... On 3/22/07, Peterson, Chris [EMAIL PROTECTED] wrote: I have never really used iif before, I was aware it existed but didn't really see a good place for it. Until today. =) Check this out: dollarformat(iif(Cost, cost, 0)) That says, evaluate cost as a Boolean, if its true (anything but 0 or null) then return cost, otherwise return 0 (so the dollarFormat does not break) This is great instead of a cfif around the whole thing. Kinda cool =) Chris ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273436 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Just a tidbit for those who might not have use iif before
Here come the Iif police. -Original Message- From: Peterson, Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 3:10 PM To: CF-Talk Subject: Just a tidbit for those who might not have use iif before I have never really used iif before, I was aware it existed but didn't really see a good place for it. Until today. =) Check this out: dollarformat(iif(Cost, cost, 0)) That says, evaluate cost as a Boolean, if its true (anything but 0 or null) then return cost, otherwise return 0 (so the dollarFormat does not break) This is great instead of a cfif around the whole thing. Kinda cool =) Chris ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273437 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Just a tidbit for those who might not have use iif before
and about whether Cost is truly a Boolean... -Original Message- From: Rob Wilkerson [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 3:15 PM To: CF-Talk Subject: Re: Just a tidbit for those who might not have use iif before Uh oh. You're probably about to get hammered with responses related to the performance cost... On 3/22/07, Peterson, Chris [EMAIL PROTECTED] wrote: I have never really used iif before, I was aware it existed but didn't really see a good place for it. Until today. =) Check this out: dollarformat(iif(Cost, cost, 0)) That says, evaluate cost as a Boolean, if its true (anything but 0 or null) then return cost, otherwise return 0 (so the dollarFormat does not break) This is great instead of a cfif around the whole thing. Kinda cool =) Chris ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273438 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Just a tidbit for those who might not have use iif before
Quick, someone find a way to make that need an evaluate(). -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 4:17 PM To: CF-Talk Subject: RE: Just a tidbit for those who might not have use iif before Here come the Iif police. -Original Message- From: Peterson, Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 3:10 PM To: CF-Talk Subject: Just a tidbit for those who might not have use iif before I have never really used iif before, I was aware it existed but didn't really see a good place for it. Until today. =) Check this out: dollarformat(iif(Cost, cost, 0)) That says, evaluate cost as a Boolean, if its true (anything but 0 or null) then return cost, otherwise return 0 (so the dollarFormat does not break) This is great instead of a cfif around the whole thing. Kinda cool =) Chris ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273439 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Quickly configuring ColdFusion MX6.1
don't forget if you copy the xml files you need to restart the CF services. Editing via the administrator you don't have to, but copying them in needs a service/instance restart. i copy these around for backup purposes. john. On 3/22/07, Christopher Jordan [EMAIL PROTECTED] wrote: I'm on Standard not Enterprise... maybe next year! :o) I ended up copying all the .xml files in the lib directory. When I didn't find anything in the registry I knew it had to be something like this... too bad it's not one file though. I dunno, maybe it's more efficient as separate files. Cheers, Chris Dave Watts wrote: I'm trying to configure two brand new servers to be the same as my existing production server. A buddy of mine said that I could just copy the registry keys for the configuration over to the registries on the new boxes and that'd be that. It turns out that he's only done this on CF5.0, and it doesn't seem to work that way on CFMX6.1 I know that BlueDragon's configuration runs entirely off of one single XML file. Copy that file to a new server with BD installed, and BAM! Two identically configured BD servers. Does anyone know of a way to do this in CFMX6.1? You can use the CAR functionality included in CFMX Enterprise, or you can copy the neo-*.xml configuration files from one server to another. 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! This email has been processed by SmoothZap - www.smoothwall.net ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273440 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: You think you know OOP.. but you don't
If you're trying to learn CFML, and don't know OOP, and haven't learned any other languages, that can be tough. But these aren't just crazy buzzwords, they're useful descriptions for how to solve problems. I agree with most of your post, Dave. But one thing that bothers me about the 100 CF frameworks out there is that often times these guys make up their own dialect instead of trying to use existing terms that mean the same thing. I'm not a frameworks expert, but from the reading I've done, Fusebox and Model Glue each introduce new terms for concepts that have been around for a long time (for example, fuse and all of its variants). I really wish people would stop trying to be cool, and just use existing standard language. All the more reason to learn the crazy buzzwords. It's important to understand terms of art in programming just like any other profession. That said, I haven't seen any examples of this with Model-Glue that I can think of. 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! This email has been processed by SmoothZap - www.smoothwall.net ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273441 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Just a tidbit for those who might not have use iif before
dollarformat(iif(Cost, cost, 0)) You could also use the val() function around the cost variable to do the same thing more efficiently. It will also correct for unexpected non-integer characters in the variable as well. I've found that in almost any situation where iif() looks like it's needed, there's a better way. There are exceptions, but I don't think this is one of them. -Justin Scott ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273442 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4