AW: cffile read charset Shift_JIS
if your server is windows, maybe you didn't install language extentions for far-east languages -Ursprüngliche Nachricht- Von: Randy Messer [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 4. März 2008 22:55 An: CF-Talk Betreff: Re: cffile read charset Shift_JIS Using CF MX6 on both dev and prod, moving from a development server to production ran into problem. On development server, cffile action=read charset=Shift_JIS file=myfilePath variable=MyVar (works) On production the same code fails. If I remove the charset=Shift_JIS, tag will read files without problem, but of course I need it to recognize Shift_JIS for the japanese files. More Information: The prod server burps on the following charsets: shift_jis iso-2022-jp euc-jp euc-kr big5 euc-cn ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300486 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC, OOP I have another acronym for you.. WTF?
On Tuesday 04 Mar 2008, Greg Morphis wrote: Tom.. you mean something like this... ? Yes. What timeout should it have? is 5 seconds good enough? Thanks! It depends. On my machine here, a typical app takes about 5 seconds to set all the application scope'd stuff up from scratch. I've set the lock timeout to 30 seconds, on the grounds that if the much beefier live system takes that long, Something Is Up. -- Tom Chiverton Helping to carefully coordinate holistic segments 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300487 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 datasource problem
On Tuesday 04 Mar 2008, Richard Meredith-Hardy wrote: I believe so, yes. Unfortunately if you do a search on SAGE line 100 and ODBC and 'flaky' or 'unreliable' you get a suprising lot of answers for what is supposed to be 'Britain's No. 1 accounts software'. You get the same for the 'ubreakable' Oracle RDBMS :-) If not, then I'll have to keep CF5 going, doing regular loads into an intermediate mssql db. Not ideal, but workable. That sounds like a good workaround. VENDORERRORCODE 2217 What does this code mean ? I've absolutely no idea. SAGE charge £1500 for the SDK. And they wont even tell you what the error codes mean ? Bonkers... What's that .exe ? Why is Studio running/installed ? swsoc.exe is a process associated with the Cold Fusion server from Macromedia *Really* ? Well, CF5 on Windows was a long time ago, I've probably forgotten. Studio: I don't really know, something to do with MSSQL server perhaps? This is my dev box, the 'Business intelligence development studio' is all part of the studio empire isn't it? Oh, right, I thought you meant on the server. Could you be running an attached debug session or something ? -- Tom Chiverton Helping to preemptively strategize eigth-generation schemas 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300488 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Need full path file browser
On Tuesday 04 Mar 2008, Casey Dougall wrote: I could write a web application that could root around your file system They have a new word for this (A.I.R.) AIR isn't a web application. -- Tom Chiverton Helping to carefully transition innovative infomediaries on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300489 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: cfexecute and dr web or avg - permissions problem
OK, thanks Dave. Presumably the other option is to give CF the correct permissions to run dr web? Will -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: 05 March 2008 03:22 To: CF-Talk Subject: RE: cfexecute and dr web or avg - permissions problem Thanks for the reply Dave. I've not played with runas before, and I'm uncertain as to how to pass the arguments to drweb32w.exe using runas. Any pointers? I think I'd write a batch file to run all this. You'd use CFEXECUTE to invoke CMD.EXE, and pass it everything else as an argument. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Training: Adobe/Google/Paperthin Certified Partners http://training.figleaf.com/ WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers! http://www.webmaniacsconference.com/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300490 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Need query help
SELECT t.groupid, t.groupname FROM @tblgroups t INNER JOIN @tblgrouptypes gt ON gt.groupid = t.groupid WHERE gt.grouptype in ('College','Jewish') -- This would be dynamic GROUP BY t.groupid, t.groupname HAVING count(*) = 2 -- This would be dynamic ORDER BY t.groupname ~Brad This looks sweet! I'm havin to move along on his project but will revisit the query and test it out! Thanks brad! Will ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300492 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Need full path file browser
On Tuesday 04 Mar 2008, Claude Schneegans wrote: Is this possible? With cross compatible code, the answer is no. The CF administrator has a Java applet that allows the user to pick a path. -- Tom Chiverton Helping to efficiently industrialize efficient e-business 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300491 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: cfexecute and dr web or avg - permissions problem
Presumably the other option is to give CF the correct permissions to run dr web? Yes, that should also work. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Training: Adobe/Google/Paperthin Certified Partners http://training.figleaf.com/ WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers! http://www.webmaniacsconference.com/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300493 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Find/Replace for Eclipse
You may have closed the view, but there should be a search pane available. It very closely matches the one in Dreameweaver. It shows items in a tree view and how many times your search term appears in a file. It also has up and down arrows to traverse the search list to move to the next instance of the search term. The view is under Window-Show View-Other-General-Search. To use it, you usually click on the folder you wish to search in the file navigation pane and click ctrl-h. If you don't select anything in this pane, it defaults to searching the entire workspace. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300494 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFGRID ajax loading icon
You can define the CSS directory for the ajax calls using; cfajaximport csssrc=../pathtoyourCSS/ I normally just copy the \CFIDE\scripts\ajax folder and place it within the site I am developing and then use cfajaximport to specify the CSS directory. Thanks I am using HTML CFGRID using the ajax calls, and wondering that if there is any way to replace the loading image, (the one which is right beside the paging buttons) or any other way to display some kind of animation while the grid is being loading. Thanks, ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300495 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: IVR / Faxback solutions
One possible solution for building the IVR yourself is setting up a voice browser on a server(s) with TTS (text to speech) and speech recognition software (if your solution would require speech) and build the application in VoiceXML using coldfusion to generate the VXML. Some considerations when building the IVR would be how many ports, concurrent phone calls, and whether it would be VOIP or PSTN (Publicly Switched Telephone Network). There are many other considerations. The software that I have used in the past for TTS and Speech Recognition was from Nuance, which makes Dragon Naturally Speaking software. There are others, and when doing research on which one to use, you may want to consider which languages will be supported. If the application is a voice enabled application, you may need to tune the application after it has been deployed. Tuning the application improves the speech recognition. Some Voice Browsers Genesys GVP Genesys Voice Genie Avaya IQ (I think it is the IQ product) On 3/4/08, James Wolfe [EMAIL PROTECTED] wrote: for IVR, check out angel.com I am hoping that maybe someone on here has some experience with this and can point me in the right direction. I am working on setting up a system where a doctor's office would call an IVR system, put in a bit of information on a patient and get the eligibility and information faxed back to them. I have a dedicated windows 2003 server with CF and SQL 2000 that has all the information I need, but I don't have a lot of experience with IVR or faxing solutions. So I am hoping someone on here may have done something similar or maybe can point me in the right direction. In order to save money, we would like to be able to build as much of this ourselves if possible. Whether or not that is possible, I dont really know. I am guessing we would need to purchase the IVR software, but if we could do the actual faxing from ColdFusion, that would be great. Thanks, Dan ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300496 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cffile read charset Shift_JIS
Randy Messer wrote: Using CF MX6 on both dev and prod, moving from a development server to production ran into problem. On development server, cffile action=read charset=Shift_JIS file=myfilePath variable=MyVar (works) depends on the JDK version. go here: http://www.sustainablegis.com/projects/i18n/charsetTB.cfm and get the CFC run on your server to see what charsets it supports. if it's linux maybe watch out for case (so maybe try one of these Shift_JIS, shift-jis, Ran the CFC on Prod server and shift_jis is supported. Thank you for the CFC. Still seeking solution. x-sjis, ms_kanji, shift_jis, csShiftJIS, sjis, pck). ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300497 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cffile read charset Shift_JIS
Randy Messer wrote: linux maybe watch out for case (so maybe try one of these Shift_JIS, shift-jis, and is it linux? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300498 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Find/Replace for Eclipse
Aaron, The built in find tool is the one thing I cannot adjust myself too, it works fine on one page although I would really like to find all instances of something in that page and have a preview pane that I can click on to go to/from each instance. Perhaps I am just using it incorrectly, not really had the time to mess with it, tried the ctrl-f and Search Search. The latter gets close although it will say something like FileName.cfm (9 matches) instead of giving 9 separate links, this is where I figure I am doing something wrong and there is someway to expand that out. If you highlight a phrase, you can use CTRL+K and SHIFT+CTRL+K to cycle through instances of that phrase/word within a document. No need to even bring up the Find dialog. Also, when you do the Search feature it will automatically place gutter markers that you can click on to jump to specific points in the document (those are the little squares to the right of the editor.) You can also use the arrow keys to cycle through the instances in the Search View. -Dan ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300499 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Find/Replace for Eclipse
Quite honestly... Use CF Studio. I use Find/Replace on CFS all the time. It makes shotgun surgery almost tolerable. I never liked any of the Find/Replace tools on Eclipse very much. -- As an adolescent I aspired to lasting fame, I craved factual certainty, and I thirsted for a meaningful vision of human life - so I became a scientist. This is like becoming an archbishop so you can meet girls. - M. Cartmill ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300500 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: VPN and 2 NICs
It really depends on what client you are running. With the windows VPN client you can alter the route table after making the VPN connection to allow local traffic. I happen to use a Nortel client, which is a pain. If the route table is modified after the VPN connection is made, the Nortel client detects that and drops the VPN connection. I've just learned to live with it. I'm generally developing remotely or locally; not both. If I need to move data from remote to my local vmware machine I will VPN from within the virtual machine and migrate the data. That allows my host PC to continue to have local access. Hey All, I'm trying to setup a Win 2k3 server (standard) in the following way: Connect 1 NIC to a Cisco VPN and keep the other NIC free for local LAN access. A few things: 1) I know this is doable, but don't know how in Windows. I currently use Linux and have setup alternate routes for the VPN using a single NIC...works great! 2) Yes I understand the security implications...no speeches required...but thanks for thinking of me ;-) 3) I really need click this and enter this kind of instructions. Although I'm quite technically competent, networking hurts my brain ;-) I've had too many other explanations that assume I know certain things...and I don't. Thanks in advance for any help Cheers -- Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300501 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Bots URL Strings...
Take the following query string from an error report I recieve: Template: /index.cfm Query String: Mode=ScoresByWeekClassID=http%3A%2F%2Fsahel55.com%2Farticles%2Fomaduro%2Fki mumid%2F When a bot hits the site and passes their spam in the URL, an error is generated and an error page is presented and an email is generated with all of the error details. Great, right? Well, I get like 2-300 of these a day. That means 2-300 emails that I don't want to go through. On the flip side, I still want to receive legitimate error messages via email. That said, what do *you* do to fail gracefully but not to receive hundreds of spammy emails every day on your web sites? Thanks, Che ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300502 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Find/Replace for Eclipse
On Wednesday 05 Mar 2008, Russ wrote: What exactly is wrong with Eclipse's search? I've never had any issues with it. Additionally, the new version of Aptana has multiline search. Eclipse's allows reg. exp. to do this. -- Tom Chiverton Helping to assertively lead collaborative partnerships 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300504 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Bots URL Strings...
On Wednesday 05 Mar 2008, Che Vilnonis wrote: That said, what do *you* do to fail gracefully but not to receive hundreds of spammy emails every day on your web sites? cfif cgi.query_string contains 'http://' -- Tom Chiverton Helping to adaptively implement scalable partnerships 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300505 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Find/Replace for Eclipse
What exactly is wrong with Eclipse's search? I've never had any issues with it. Additionally, the new version of Aptana has multiline search. Russ -Original Message- From: Gerald Guido [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 9:39 AM To: CF-Talk Subject: Re: Find/Replace for Eclipse Quite honestly... Use CF Studio. I use Find/Replace on CFS all the time. It makes shotgun surgery almost tolerable. I never liked any of the Find/Replace tools on Eclipse very much. -- As an adolescent I aspired to lasting fame, I craved factual certainty, and I thirsted for a meaningful vision of human life - so I became a scientist. This is like becoming an archbishop so you can meet girls. - M. Cartmill ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300503 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cffile read charset Shift_JIS
Randy Messer wrote: ...and is it linux? Running Windows IIS ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300507 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Add form fields dynamically
Wow! Happy Birthday to me! 8-) Thank you very very much Charlie! On Tue, Mar 4, 2008 at 2:11 PM, Charlie Griefer [EMAIL PROTECTED] wrote: On Tue, Mar 4, 2008 at 1:31 PM, [EMAIL PROTECTED] wrote: i'm sure this can be cleaned up quite a bit... but this should do it http://www.nomorepasting.com/getpaste.php?pasteid=12545 ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300508 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Slow machine - JRun?
I posted about this a few weeks ago (JRun pegging for ten to twenty seconds then dropping back down, etc), and the issue seemed to have gone away when we moved everything to another machine. However, in the past week our new machine has become unbelievably slow again, but with the performance meters doing normal work, jumping around from 0 to 20 to 0 to 30 to 0 to 5 to 0 to 40, etc. Every once in a while it pops up above 60 but for the most part it's pretty low. However, there is a lot of I/O going on, and the box itself is sluggish when I log in via RDS, to the point where typing in the login name is an excerise in moon lander control response sluggishness. I just took snapshots of the Task Manager and uploaded them here: http://support.mullertech.com/images.cfm?gpt=3g=88vcid=9 This site is hosted on the box so let me know if it takes a while to load the images. Any advice would be appreciated. BTW, are there any tools that anyone knows about that can diagnose what all the I/O work *is*? Like, is this all http loads (image and video files being directly accessed via http) or some internal virtual memory swap fest? Thanks, Michael Michael Muller Muller Technologies 24 3rd Street Turners Falls, MA 01376 work: (413) 863-0030 cell: (413) 320-5336 skype: michaelBmuller http://support.MullerTech.com Information is not knowlege Knowlege is not wisdom Eschew Obfuscation ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300509 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Find/Replace for Eclipse
What exactly is wrong with Eclipse's search? Nothing. I just don't like it. I prefer CFS's search. Mostly for the *.bak feature. I never really liked Peter Gabriel. That doesn't mean there is anything wrong with his music. On Wed, Mar 5, 2008 at 9:47 AM, Russ [EMAIL PROTECTED] wrote: What exactly is wrong with Eclipse's search? I've never had any issues with it. Additionally, the new version of Aptana has multiline search. Russ -Original Message- From: Gerald Guido [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 9:39 AM To: CF-Talk Subject: Re: Find/Replace for Eclipse Quite honestly... Use CF Studio. I use Find/Replace on CFS all the time. It makes shotgun surgery almost tolerable. I never liked any of the Find/Replace tools on Eclipse very much. -- As an adolescent I aspired to lasting fame, I craved factual certainty, and I thirsted for a meaningful vision of human life - so I became a scientist. This is like becoming an archbishop so you can meet girls. - M. Cartmill ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300506 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Find/Replace for Eclipse
Nothing. I just don't like it. I prefer CFS's search. Mostly for the *.bak feature. What exactly is the *.bak feature? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300510 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Bots URL Strings...
That said, what do *you* do to fail gracefully I do not fail gracefully, I counter-attack aggressively ;-) This is my code at the beginning of any template that relies on some numeric url parameter. but it can be easily adapted for any kind of string parameter. !--- Check if id contains a numeric value --- !--- if not, http means a SPAM attack, user means an SQL injection attempt --- CFIF val(id) EQ 0 AND (id CONTAINS http OR id CONTAINS user) !--- Store IP address in any ban IP table --- CFABORT CFELSE CFSET id = val(id) /CFIF I use a datasource common to all my applications to store banned IPs. I also use a table to store dumps of sessions, application, url, form scopes in case of error, instead of sending an eMail. Then the only thing the visitor (or bot) sees is something like ps, sorry for the errror. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300511 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 CFFILE under a load
JRun Connection Closed Errors and missing files--where there isn't an error and the name of the file is successfully produced and stored in the database, but if you physically go out to the server, the file is no where to be found. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300512 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Coping a directory
I'm attempting to copy a microsoft publisher directory which will automatically create the webpage. Within the cfform tag, I'm choosing the webpage thats already been created. I'm also trying to copy the directory from one server to another server. Does anyone have any suggestions on how to code this? Thanks ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300513 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Find/Replace for Eclipse
The view is there for me and the view is what I do not like. I would much rather have a view like what DW gives because it gives you all instances of the found search term and not a summary per file that you can then drill through via next/prev. I do not think it very closes matches DW because I routinely will fire up DW to do my find/replace needs and I know a lot of other people who do the exact same thing. On Wed, Mar 5, 2008 at 6:23 AM, Matthew Williams [EMAIL PROTECTED] wrote: You may have closed the view, but there should be a search pane available. It very closely matches the one in Dreameweaver. It shows items in a tree view and how many times your search term appears in a file. It also has up and down arrows to traverse the search list to move to the next instance of the search term. The view is under Window-Show View-Other-General-Search. To use it, you usually click on the folder you wish to search in the file navigation pane and click ctrl-h. If you don't select anything in this pane, it defaults to searching the entire workspace. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300514 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
qForms Question
I've inherited a form that is using qForms for validation. The form includes a series of three checkboxes, all with the same name but different values, further down there is a textarea. The client has asked for a validation rule that requires either one of the checkboxes to be checked, the textarea to contain a value or both. If the user does not check a box or enter something in the texarea, a validation message needs to appear. I know I can do this in Javascript but I'm hesitant to roll my own when qForms is already validating the rest of the form (some 15 other required fields). Is there a way to do this in qForms? Thanks! Hatton ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300515 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Find/Replace for Eclipse
I would like that too. One of the things that I miss is being able to search and replace the entire site...I used that feature quite often. I find eclipse's search functionality quite lacking. Eric /*-Original Message- /*From: j s [mailto:[EMAIL PROTECTED] /*Sent: Tuesday, March 04, 2008 9:11 PM /*To: CF-Talk /*Subject: Find/Replace for Eclipse /* /*Does a plugin exist for Find/Replace that is as good as the one for /*Dreamweaver? I like the option of searching the entire site or folder. /* /* ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300516 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: qForms Question
Is there a way to do this in qForms? The short answer is yes. Here are the qForms docs: http://www.pengoworks.com/qforms/docs/. If you're still stuck, there's a qForms forum/list, which the author often answers. If you still want to roll your own, just add an onsubmit statement to your form for return myNewFunc(). It will fire along with the normal qForms validations. But qForms has ways to create pretty much whatever you need. -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560 ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300517 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Find/Replace for Eclipse
I routinely do a search through the entire project or set of folders. I also do a search and replace quite routinely too. Are you just not aware of how to do it in eclipse? Russ -Original Message- From: Eric Roberts [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 11:11 AM To: CF-Talk Subject: RE: Find/Replace for Eclipse I would like that too. One of the things that I miss is being able to search and replace the entire site...I used that feature quite often. I find eclipse's search functionality quite lacking. Eric /*-Original Message- /*From: j s [mailto:[EMAIL PROTECTED] /*Sent: Tuesday, March 04, 2008 9:11 PM /*To: CF-Talk /*Subject: Find/Replace for Eclipse /* /*Does a plugin exist for Find/Replace that is as good as the one for /*Dreamweaver? I like the option of searching the entire site or folder. /* /* ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300518 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Find/Replace for Eclipse
Ah, yes, I see what you're saying now. I've had to ditch DW since it doesn't play nice with my dual core AMD in my laptop. You'd like to see the line of code that the search term is in displayed in the search windwo? I guess I just don't miss it enough to care about it ;). Sorry for misunderstanding the question. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300519 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Find/Replace for Eclipse
Yeah, more or less that, and there might be a plugin for Eclipse that gives what I am looking for but I honestly have not invested the time to look for it. The only reason I even use CFEclipse is because my current home workstation and DW CS3 do not get along for some reason. I still use DW 8 on my work laptop though. On Wed, Mar 5, 2008 at 10:20 AM, Matthew Williams [EMAIL PROTECTED] wrote: Ah, yes, I see what you're saying now. I've had to ditch DW since it doesn't play nice with my dual core AMD in my laptop. You'd like to see the line of code that the search term is in displayed in the search windwo? I guess I just don't miss it enough to care about it ;). Sorry for misunderstanding the question. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300520 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Coping a directory
I do not understand what you are asking. You can copy dir's using this. http://cflib.org/udf.cfm?ID=1251 On Wed, Mar 5, 2008 at 10:45 AM, sarah smith [EMAIL PROTECTED] wrote: I'm attempting to copy a microsoft publisher directory which will automatically create the webpage. Within the cfform tag, I'm choosing the webpage thats already been created. I'm also trying to copy the directory from one server to another server. Does anyone have any suggestions on how to code this? Thanks ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300521 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Find/Replace for Eclipse
Eclipse lets you easily navigate through each match. The only gripe I have with it is that once you make a change, if there are multiple matches in the same file, the next match would be a bit off (depending on how big a change you've made). Russ -Original Message- From: Matthew Williams [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 11:21 AM To: CF-Talk Subject: Re: Find/Replace for Eclipse Ah, yes, I see what you're saying now. I've had to ditch DW since it doesn't play nice with my dual core AMD in my laptop. You'd like to see the line of code that the search term is in displayed in the search windwo? I guess I just don't miss it enough to care about it ;). Sorry for misunderstanding the question. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300522 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
The value returned from function init() is not of type ...
What usually causes this error? I have a bean Query.cfc, named of course Query.. When I init the bean I get the following error message... The value returned from function init() is not of type Query. If the component name is specified as a return type, the reason for this error might be that a definition file for such component cannot be found or is not accessible. brThe error occurred on line 2. I've compared it to another bean and they're almost identical (aside from name, variables, etc).. The init() function looks like cfcomponent name=Query hint = I am the Query Bean output=false cfset variables.instance.query_id = 0 / cfset variables.instance.query_name = / cfset variables.instance.descr = / cffunction name=init displayname=init hint=Bean for CF_Query access=public output=false returntype=Query cfargument name=Query_id type=numeric required=false default=0 hint=QUERY_ID / cfargument name=Query_name type=string required=false default= hint=QUERY_NAME / cfargument name=Descr type=string required=false default= hint=DESCR / cfset variables.instance = structNew() / cfset setQuery_id(arguments.Query_id) / cfset setQuery_name(arguments.Query_name) / cfset setDescr(arguments.Descr) / cfreturn this / /cffunction and I'm testing it like cfset query = createObject(component, com.queries.Query).init( QUERY_ID = 1 ) / cfoutput Query_id = #query.getQuery_id#br / /cfoutput I expect no pizazz but Query_id = 1 but that's not even working.. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300523 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 value returned from function init() is not of type ...
Greg Morphis wrote: I have a bean Query.cfc, named of course Query.. When I init the bean I get the following error message... The value returned from function init() is not of type Query. cfcomponent name=Query hint = I am the Query Bean output=false Query is a reserved word. You shouldn't name you component query. Jochem ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300524 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Coping a directory
I do not understand what you are asking. You can copy dir's using this. http://cflib.org/udf.cfm?ID=1251 On Wed, Mar 5, 2008 at 10:45 AM, sarah smith [EMAIL PROTECTED] wrote: I'll give it a try. Thanks! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300525 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: The value returned from function init() is not of type ...
Greg Morphis wrote: What usually causes this error? cffunction name=init displayname=init hint=Bean for CF_Query access=public output=false *returntype=Query* *cfreturn this /* You are declaring that you will return a query and then trying to return a component. These should agree or do not delcare what you will return. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300526 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 value returned from function init() is not of type ...
It's not a reserved word, just a well-known type name. If you set the return type to com.queries.Query, it should work. cheers, barneyb On Wed, Mar 5, 2008 at 8:56 AM, Jochem van Dieten [EMAIL PROTECTED] wrote: Greg Morphis wrote: I have a bean Query.cfc, named of course Query.. When I init the bean I get the following error message... The value returned from function init() is not of type Query. cfcomponent name=Query hint = I am the Query Bean output=false Query is a reserved word. You shouldn't name you component query. Jochem ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300527 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Find/Replace for Eclipse
That only list the pages the search criteria is found and doesn't expand to the instances in each page like Dreamweaver does...that is what he is referring to. I think the problem is that most of us are used to a richer editor. To me, this is akin to going from Word to Wordpad. While it has a lot of the same functions, it is significantly pared down. In some ways that is good as it make it more efficient to run, we also loose a lot of good features that are widely used in the process. /*-Original Message- /*From: Matthew Williams [mailto:[EMAIL PROTECTED] /*Sent: Wednesday, March 05, 2008 6:23 AM /*To: CF-Talk /*Subject: Re: Find/Replace for Eclipse /* /*You may have closed the view, but there should be a search pane available. /*It very closely matches the one in Dreameweaver. It shows items in a tree /*view and how many times your search term appears in a file. It also has /*up and down arrows to traverse the search list to move to the next /*instance of the search term. The view is under Window-Show View-Other- /*General-Search. To use it, you usually click on the folder you wish to /*search in the file navigation pane and click ctrl-h. If you don't select /*anything in this pane, it defaults to searching the entire workspace. /* /* /*Matthew Williams /*Geodesic GraFX /*www.geodesicgrafx.com/blog /* /* ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300528 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 value returned from function init() is not of type ...
A Query being a reserved work.. I knew it was going to bite me eventually.. Better caught now then later. Thanks!!.. I changed it to QueryB and viola.. it worked! On Wed, Mar 5, 2008 at 11:56 AM, Ian Skinner [EMAIL PROTECTED] wrote: Greg Morphis wrote: What usually causes this error? cffunction name=init displayname=init hint=Bean for CF_Query access=public output=false *returntype=Query* *cfreturn this /* You are declaring that you will return a query and then trying to return a component. These should agree or do not delcare what you will return. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300529 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 value returned from function init() is not of type ...
But will I run into the name issue later? If so, I can change it now and be done with it.. On Wed, Mar 5, 2008 at 11:58 AM, Barney Boisvert [EMAIL PROTECTED] wrote: It's not a reserved word, just a well-known type name. If you set the return type to com.queries.Query, it should work. cheers, barneyb On Wed, Mar 5, 2008 at 8:56 AM, Jochem van Dieten [EMAIL PROTECTED] wrote: Greg Morphis wrote: I have a bean Query.cfc, named of course Query.. When I init the bean I get the following error message... The value returned from function init() is not of type Query. cfcomponent name=Query hint = I am the Query Bean output=false Query is a reserved word. You shouldn't name you component query. Jochem ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300530 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: The value returned from function init() is not of type ...
But will I run into the name issue later? If so, I can change it now and be done with it.. Possibly though probably not. Regardless, I would change the name to something more descriptive; perhaps 'recordset' if it is a bean for wrapping a cfquery object or 'QueryBuilder' if it is a generic query builder kind of thing. I'd say QueryB was a little obscure and 'Query' perhaps too broad. My tuppence, Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300531 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Find/Replace for Eclipse
What do you mean it doesn't expand the instances? There's a little arrow in the search pane that takes you through each of the instances and highlights it for you... I have not used dreamweaver excessively, as in my opinion, that hog is unusable. Russ -Original Message- From: Eric Roberts [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 12:05 PM To: CF-Talk Subject: RE: Find/Replace for Eclipse That only list the pages the search criteria is found and doesn't expand to the instances in each page like Dreamweaver does...that is what he is referring to. I think the problem is that most of us are used to a richer editor. To me, this is akin to going from Word to Wordpad. While it has a lot of the same functions, it is significantly pared down. In some ways that is good as it make it more efficient to run, we also loose a lot of good features that are widely used in the process. /*-Original Message- /*From: Matthew Williams [mailto:[EMAIL PROTECTED] /*Sent: Wednesday, March 05, 2008 6:23 AM /*To: CF-Talk /*Subject: Re: Find/Replace for Eclipse /* /*You may have closed the view, but there should be a search pane available. /*It very closely matches the one in Dreameweaver. It shows items in a tree /*view and how many times your search term appears in a file. It also has /*up and down arrows to traverse the search list to move to the next /*instance of the search term. The view is under Window-Show View- Other- /*General-Search. To use it, you usually click on the folder you wish to /*search in the file navigation pane and click ctrl-h. If you don't select /*anything in this pane, it defaults to searching the entire workspace. /* /* /*Matthew Williams /*Geodesic GraFX /*www.geodesicgrafx.com/blog /* /* ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300532 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 value returned from function init() is not of type ...
QueryB for QueryBean was what I was thinking.. On Wed, Mar 5, 2008 at 12:14 PM, Dominic Watson [EMAIL PROTECTED] wrote: But will I run into the name issue later? If so, I can change it now and be done with it.. Possibly though probably not. Regardless, I would change the name to something more descriptive; perhaps 'recordset' if it is a bean for wrapping a cfquery object or 'QueryBuilder' if it is a generic query builder kind of thing. I'd say QueryB was a little obscure and 'Query' perhaps too broad. My tuppence, Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300533 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 value returned from function init() is not of type ...
QueryB for QueryBean was what I was thinking.. ;) What's wrong with 'QueryBean'? What does the component do/represent? Personally, I like the name of the component to tell you that (without being unusably long either). The word 'Query' has very broad implications I think, there could be a better name. Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300534 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Find/Replace for Eclipse
What do you mean it doesn't expand the instances? There's a little arrow in the search pane that takes you through each of the instances and highlights it for you... I have missed that till now aswell. I wouldn't say eclipse was a pared down DW at all. But, as this example proves, the features are often obfuscated. This discussion has proved very useful in exposing it :) Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300535 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Find/Replace for Eclipse
In DW you get something like: File Column |Matched Text MyFileOne.cfm | cfset blah = foo / MyFileTwo.cfm | cfset foo = 1 / MyFileOne.cfm | cfset blah = foo + foo / In Eclipse done you get something like: MyFileOne.cfm (2) MyFileTwo.cfm (1) I do not have Eclipse handy to fire up so just doing that from memory. I personally have times, such as right now where I searched on text that shows up 37 times. I can see in the Matched Text column a brief bit of code for the line it was found. I can scroll through that pane and figure out where to double click and do the change I want to do. My experience thus far with Eclipse is I have to Next/Prev through things to see if I wanted to change something or not since I get no preview of the instances but just of the files containing. On Wed, Mar 5, 2008 at 11:19 AM, Russ [EMAIL PROTECTED] wrote: What do you mean it doesn't expand the instances? There's a little arrow in the search pane that takes you through each of the instances and highlights it for you... I have not used dreamweaver excessively, as in my opinion, that hog is unusable. Russ -Original Message- From: Eric Roberts [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 12:05 PM To: CF-Talk Subject: RE: Find/Replace for Eclipse That only list the pages the search criteria is found and doesn't expand to the instances in each page like Dreamweaver does...that is what he is referring to. I think the problem is that most of us are used to a richer editor. To me, this is akin to going from Word to Wordpad. While it has a lot of the same functions, it is significantly pared down. In some ways that is good as it make it more efficient to run, we also loose a lot of good features that are widely used in the process. /*-Original Message- /*From: Matthew Williams [mailto:[EMAIL PROTECTED] /*Sent: Wednesday, March 05, 2008 6:23 AM /*To: CF-Talk /*Subject: Re: Find/Replace for Eclipse /* /*You may have closed the view, but there should be a search pane available. /*It very closely matches the one in Dreameweaver. It shows items in a tree /*view and how many times your search term appears in a file. It also has /*up and down arrows to traverse the search list to move to the next /*instance of the search term. The view is under Window-Show View- Other- /*General-Search. To use it, you usually click on the folder you wish to /*search in the file navigation pane and click ctrl-h. If you don't select /*anything in this pane, it defaults to searching the entire workspace. /* /* /*Matthew Williams /*Geodesic GraFX /*www.geodesicgrafx.com/blog /* /* ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300536 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 value returned from function init() is not of type ...
there's nothing wrong with it.. but from what I've seen Beans are just named what they are.. User bean is User.cfc Group bean is Group.cfc etc.. I'm still learning the whole OO concept so I'm following a couple online tutorials.. Anyways the Query bean holds queries, their Id, name, and description.. (building something simple as I learn to help the concepts stick). On Wed, Mar 5, 2008 at 12:29 PM, Dominic Watson [EMAIL PROTECTED] wrote: QueryB for QueryBean was what I was thinking.. ;) What's wrong with 'QueryBean'? What does the component do/represent? Personally, I like the name of the component to tell you that (without being unusably long either). The word 'Query' has very broad implications I think, there could be a better name. Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300537 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Find/Replace for Eclipse
I find that clicking next/previous is fairly fast for going through all the entries. I guess having something similar to DW would be cool. The cool thing about Eclipse is that you can extend it. If someone hasn't already written a search function the way you like it, you can do it yourself, or ask someone else to do it for you. This could make a nice suggestion to the CFEClipse project. Russ -Original Message- From: Aaron Rouse [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 12:35 PM To: CF-Talk Subject: Re: Find/Replace for Eclipse In DW you get something like: File Column |Matched Text MyFileOne.cfm | cfset blah = foo / MyFileTwo.cfm | cfset foo = 1 / MyFileOne.cfm | cfset blah = foo + foo / In Eclipse done you get something like: MyFileOne.cfm (2) MyFileTwo.cfm (1) I do not have Eclipse handy to fire up so just doing that from memory. I personally have times, such as right now where I searched on text that shows up 37 times. I can see in the Matched Text column a brief bit of code for the line it was found. I can scroll through that pane and figure out where to double click and do the change I want to do. My experience thus far with Eclipse is I have to Next/Prev through things to see if I wanted to change something or not since I get no preview of the instances but just of the files containing. On Wed, Mar 5, 2008 at 11:19 AM, Russ [EMAIL PROTECTED] wrote: What do you mean it doesn't expand the instances? There's a little arrow in the search pane that takes you through each of the instances and highlights it for you... I have not used dreamweaver excessively, as in my opinion, that hog is unusable. Russ -Original Message- From: Eric Roberts [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 12:05 PM To: CF-Talk Subject: RE: Find/Replace for Eclipse That only list the pages the search criteria is found and doesn't expand to the instances in each page like Dreamweaver does...that is what he is referring to. I think the problem is that most of us are used to a richer editor. To me, this is akin to going from Word to Wordpad. While it has a lot of the same functions, it is significantly pared down. In some ways that is good as it make it more efficient to run, we also loose a lot of good features that are widely used in the process. /*-Original Message- /*From: Matthew Williams [mailto:[EMAIL PROTECTED] /*Sent: Wednesday, March 05, 2008 6:23 AM /*To: CF-Talk /*Subject: Re: Find/Replace for Eclipse /* /*You may have closed the view, but there should be a search pane available. /*It very closely matches the one in Dreameweaver. It shows items in a tree /*view and how many times your search term appears in a file. It also has /*up and down arrows to traverse the search list to move to the next /*instance of the search term. The view is under Window-Show View- Other- /*General-Search. To use it, you usually click on the folder you wish to /*search in the file navigation pane and click ctrl-h. If you don't select /*anything in this pane, it defaults to searching the entire workspace. /* /* /*Matthew Williams /*Geodesic GraFX /*www.geodesicgrafx.com/blog /* /* ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300538 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Find/Replace for Eclipse
Actually is more to the Find/Replace differences that I have not explained and like. For example in DW you hit ctrl-f and then window that comes up will let you define a few things like search in just that document or all documents across that site/project and so on. Just things you work with for awhile and get so used to that it is hard to make a switch to something that works very differently. I am just going to guess but I would think the request for this has already been made. Just guessing because this is not the first time people have brought it up on just this mailing list. On Wed, Mar 5, 2008 at 11:56 AM, Russ [EMAIL PROTECTED] wrote: I find that clicking next/previous is fairly fast for going through all the entries. I guess having something similar to DW would be cool. The cool thing about Eclipse is that you can extend it. If someone hasn't already written a search function the way you like it, you can do it yourself, or ask someone else to do it for you. This could make a nice suggestion to the CFEClipse project. Russ -Original Message- From: Aaron Rouse [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 12:35 PM To: CF-Talk Subject: Re: Find/Replace for Eclipse In DW you get something like: File Column |Matched Text MyFileOne.cfm | cfset blah = foo / MyFileTwo.cfm | cfset foo = 1 / MyFileOne.cfm | cfset blah = foo + foo / In Eclipse done you get something like: MyFileOne.cfm (2) MyFileTwo.cfm (1) I do not have Eclipse handy to fire up so just doing that from memory. I personally have times, such as right now where I searched on text that shows up 37 times. I can see in the Matched Text column a brief bit of code for the line it was found. I can scroll through that pane and figure out where to double click and do the change I want to do. My experience thus far with Eclipse is I have to Next/Prev through things to see if I wanted to change something or not since I get no preview of the instances but just of the files containing. On Wed, Mar 5, 2008 at 11:19 AM, Russ [EMAIL PROTECTED] wrote: What do you mean it doesn't expand the instances? There's a little arrow in the search pane that takes you through each of the instances and highlights it for you... I have not used dreamweaver excessively, as in my opinion, that hog is unusable. Russ -Original Message- From: Eric Roberts [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 12:05 PM To: CF-Talk Subject: RE: Find/Replace for Eclipse That only list the pages the search criteria is found and doesn't expand to the instances in each page like Dreamweaver does...that is what he is referring to. I think the problem is that most of us are used to a richer editor. To me, this is akin to going from Word to Wordpad. While it has a lot of the same functions, it is significantly pared down. In some ways that is good as it make it more efficient to run, we also loose a lot of good features that are widely used in the process. /*-Original Message- /*From: Matthew Williams [mailto:[EMAIL PROTECTED] /*Sent: Wednesday, March 05, 2008 6:23 AM /*To: CF-Talk /*Subject: Re: Find/Replace for Eclipse /* /*You may have closed the view, but there should be a search pane available. /*It very closely matches the one in Dreameweaver. It shows items in a tree /*view and how many times your search term appears in a file. It also has /*up and down arrows to traverse the search list to move to the next /*instance of the search term. The view is under Window-Show View- Other- /*General-Search. To use it, you usually click on the folder you wish to /*search in the file navigation pane and click ctrl-h. If you don't select /*anything in this pane, it defaults to searching the entire workspace. /* /* /*Matthew Williams /*Geodesic GraFX /*www.geodesicgrafx.com/blog /* /* ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300539 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Slow machine - JRun?
Michael, you are not alone. Many of us have dealt with JRun suddenly hitting the ceiling, typically from increased traffic or changes to our systems or application architecture. Have you, as yet, spent any time tuning your JVM? Heavily searched through your application for possible memory leaks? In our continued efforts to optimize our application's performance, I've started collecting some bookmarks of interesting posts across the blogosphere. Especially interesting was this posting from Jason Sheedy, and the comments that follow: http://www.jmpj.net/jason/index.cfm/2007/4/14/Cold-Fusion-Memory-Leak There was a follow up that he put out in the middle of those comments: http://www.jmpj.net/jason/index.cfm/2007/5/11/Cold-Fusion-Memory-Leak-Continued And some additional reads after that might be: http://www.petefreitag.com/articles/gctuning/ http://www.webapper.net/index.cfm/2006/6/8/20060606021131 http://www.robisen.com/index.cfm/2006/5/26/More-on-ColdFusion-tuning-and-clarifying-JRUNXML-settings http://www.talkingtree.com/blog/index.cfm?mode=aliasalias=ContextSwitchingBad Some of this is dated, but almost all of it still applies. Another item to consider is what version of the JVM you are using. If you are running CF8, which ships with 1.6, there are several reports of improved performance when dropping back to using the 1.5 JVM. Details on how to change which JVM CF utilizes can be found here: http://www.forta.com/blog/index.cfm?mode=entryentry=A61BAA93-3048-80A9-EF7306C155FD29F4 None of the things talked about in the above posts are for the uninitiated or the faint of heart. Back up everything. There are also several organizations/contractors who might assist you with your issues. Charlie Arehart can provide phone, and higher level, support. Webapper has been doing that sort of work for quite some time. The guys at Alagad have an extremely talented staff. If you happen to ask one of these folks for help then please let them know I sent ya;) Hope some of this helps. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300541 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Find/Replace for Eclipse
Actually is more to the Find/Replace differences that I have not explained and like. For example in DW you hit ctrl-f and then window that comes up will let you define a few things like search in just that document or all documents across that site/project and so on. Eclipse works in much the same way, when you use (the default) ctrl-f shortcut, you get a very simple search / replace dialog for only the current document. Using the (again, default) ctrl-h shortcut, you get a more advanced search dialog. This interface will allow you to search (and/or replace) by workspace, project, or even just selected files. The search results pane allows you to drill into the found results and by double clicking an entry, you are taken directly to the line where the search term was found. HTH, Rich Kroll ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300542 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Find/Replace for Eclipse
Well you've guessed wrong. I am not seeing anything on their trac site relating to this... http://trac.cfeclipse.org/cfeclipse/report/6 Russ -Original Message- From: Aaron Rouse [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 1:04 PM To: CF-Talk Subject: Re: Find/Replace for Eclipse Actually is more to the Find/Replace differences that I have not explained and like. For example in DW you hit ctrl-f and then window that comes up will let you define a few things like search in just that document or all documents across that site/project and so on. Just things you work with for awhile and get so used to that it is hard to make a switch to something that works very differently. I am just going to guess but I would think the request for this has already been made. Just guessing because this is not the first time people have brought it up on just this mailing list. On Wed, Mar 5, 2008 at 11:56 AM, Russ [EMAIL PROTECTED] wrote: I find that clicking next/previous is fairly fast for going through all the entries. I guess having something similar to DW would be cool. The cool thing about Eclipse is that you can extend it. If someone hasn't already written a search function the way you like it, you can do it yourself, or ask someone else to do it for you. This could make a nice suggestion to the CFEClipse project. Russ -Original Message- From: Aaron Rouse [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 12:35 PM To: CF-Talk Subject: Re: Find/Replace for Eclipse In DW you get something like: File Column |Matched Text MyFileOne.cfm | cfset blah = foo / MyFileTwo.cfm | cfset foo = 1 / MyFileOne.cfm | cfset blah = foo + foo / In Eclipse done you get something like: MyFileOne.cfm (2) MyFileTwo.cfm (1) I do not have Eclipse handy to fire up so just doing that from memory. I personally have times, such as right now where I searched on text that shows up 37 times. I can see in the Matched Text column a brief bit of code for the line it was found. I can scroll through that pane and figure out where to double click and do the change I want to do. My experience thus far with Eclipse is I have to Next/Prev through things to see if I wanted to change something or not since I get no preview of the instances but just of the files containing. On Wed, Mar 5, 2008 at 11:19 AM, Russ [EMAIL PROTECTED] wrote: What do you mean it doesn't expand the instances? There's a little arrow in the search pane that takes you through each of the instances and highlights it for you... I have not used dreamweaver excessively, as in my opinion, that hog is unusable. Russ -Original Message- From: Eric Roberts [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 12:05 PM To: CF-Talk Subject: RE: Find/Replace for Eclipse That only list the pages the search criteria is found and doesn't expand to the instances in each page like Dreamweaver does...that is what he is referring to. I think the problem is that most of us are used to a richer editor. To me, this is akin to going from Word to Wordpad. While it has a lot of the same functions, it is significantly pared down. In some ways that is good as it make it more efficient to run, we also loose a lot of good features that are widely used in the process. /*-Original Message- /*From: Matthew Williams [mailto:[EMAIL PROTECTED] /*Sent: Wednesday, March 05, 2008 6:23 AM /*To: CF-Talk /*Subject: Re: Find/Replace for Eclipse /* /*You may have closed the view, but there should be a search pane available. /*It very closely matches the one in Dreameweaver. It shows items in a tree /*view and how many times your search term appears in a file. It also has /*up and down arrows to traverse the search list to move to the next /*instance of the search term. The view is under Window-Show View- Other- /*General-Search. To use it, you usually click on the folder you wish to /*search in the file navigation pane and click ctrl-h. If you don't select /*anything in this pane, it defaults to searching the entire workspace. /* /* /*Matthew Williams /*Geodesic GraFX /*www.geodesicgrafx.com/blog /* /* ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300540
Re: Find/Replace for Eclipse
I know about the ctrl-h and at least in my version of Eclipse when I get FileName.cfm (6) or whatever it shows when it found the thing 6 times in a file, if I double click it just takes me to the first found instance and I can use next/prev to cycle through them. As I have stated more than once, what I want is something like what DW has where the pane shows me a preview of the 6 instances and I can then click on which one I want to go to. An example of 6 instances is a poor one but when searching for something across an entire project and knowing that you want to only edit say the third occurrence on each file, I just personally find it not user friendly in Eclipse. On Wed, Mar 5, 2008 at 12:21 PM, Rich [EMAIL PROTECTED] wrote: Actually is more to the Find/Replace differences that I have not explained and like. For example in DW you hit ctrl-f and then window that comes up will let you define a few things like search in just that document or all documents across that site/project and so on. Eclipse works in much the same way, when you use (the default) ctrl-f shortcut, you get a very simple search / replace dialog for only the current document. Using the (again, default) ctrl-h shortcut, you get a more advanced search dialog. This interface will allow you to search (and/or replace) by workspace, project, or even just selected files. The search results pane allows you to drill into the found results and by double clicking an entry, you are taken directly to the line where the search term was found. HTH, Rich Kroll ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300543 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Slow machine - JRun?
Cutter, Thanks for the heads up. This is quite a bit to read, but I'll make sure to peruse it all. And I'll see what kind of support I have inside before contracting people. I agree -- this is not something to take lightly. Thanks again, Michael At 01:13 PM 3/5/2008, Cutter (CFRelated) wrote: Michael, you are not alone. Many of us have dealt with JRun suddenly hitting the ceiling, typically from increased traffic or changes to our systems or application architecture. Have you, as yet, spent any time tuning your JVM? Heavily searched through your application for possible memory leaks? Michael Muller Admin, MontagueMA.net Website work (413) 863-0030 cell (413) 320-5336 skype: michaelBmuller http://www.MontagueMA.net Eschew Obfuscation ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300544 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Slow machine - JRun?
I have a recent one one to add to this list: http://www.coldfusionmuse.com/index.cfm/2008/2/12/leaky.heap.jvm Good luck.. -Mark -Original Message- From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 12:14 PM To: CF-Talk Subject: Re: Slow machine - JRun? Michael, you are not alone. Many of us have dealt with JRun suddenly hitting the ceiling, typically from increased traffic or changes to our systems or application architecture. Have you, as yet, spent any time tuning your JVM? Heavily searched through your application for possible memory leaks? In our continued efforts to optimize our application's performance, I've started collecting some bookmarks of interesting posts across the blogosphere. Especially interesting was this posting from Jason Sheedy, and the comments that follow: http://www.jmpj.net/jason/index.cfm/2007/4/14/Cold-Fusion-Memory-Leak There was a follow up that he put out in the middle of those comments: http://www.jmpj.net/jason/index.cfm/2007/5/11/Cold-Fusion-Memory-Leak-Contin ued And some additional reads after that might be: http://www.petefreitag.com/articles/gctuning/ http://www.webapper.net/index.cfm/2006/6/8/20060606021131 http://www.robisen.com/index.cfm/2006/5/26/More-on-ColdFusion-tuning-and-cla rifying-JRUNXML-settings http://www.talkingtree.com/blog/index.cfm?mode=aliasalias=ContextSwitchingB ad Some of this is dated, but almost all of it still applies. Another item to consider is what version of the JVM you are using. If you are running CF8, which ships with 1.6, there are several reports of improved performance when dropping back to using the 1.5 JVM. Details on how to change which JVM CF utilizes can be found here: http://www.forta.com/blog/index.cfm?mode=entryentry=A61BAA93-3048-80A9-EF73 06C155FD29F4 None of the things talked about in the above posts are for the uninitiated or the faint of heart. Back up everything. There are also several organizations/contractors who might assist you with your issues. Charlie Arehart can provide phone, and higher level, support. Webapper has been doing that sort of work for quite some time. The guys at Alagad have an extremely talented staff. If you happen to ask one of these folks for help then please let them know I sent ya;) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300545 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Find/Replace for Eclipse
can use next/prev to cycle through them. As I have stated more than once, what I want is something like what DW has where the pane shows me a preview of the 6 instances and I can then click on which one I want to go to. I'm currently using eclipse 3.4 and it does exactly what you are requesting. For example, if it found 5 matches within fileA.cfm, I have the ability to expand the matches and jump directly to the 3rd match. HTH, Rich Kroll ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300546 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: qForms Question
Hatton, I've inherited a form that is using qForms for validation. The form includes a series of three checkboxes, all with the same name but different values, further down there is a textarea. The client has asked for a validation rule that requires either one of the checkboxes to be checked, the textarea to contain a value or both. If the user does not check a box or enter something in the texarea, a validation message needs to appear. I know I can do this in Javascript but I'm hesitant to roll my own when qForms is already validating the rest of the form (some 15 other required fields). Is there a way to do this in qForms? This should do what you want: http://www.pengoworks.com/qforms/ext/atLeastOne.htm You can use it like: oForm.textareaName.validateAtLeastOne(checkboxName); That should enforce that at least the textarea is filled in or one of the checkboxes is checked. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300547 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 value returned from function init() is not of type ...
there's nothing wrong with it.. but from what I've seen Beans are just named what they are. Yes absolutely, I'd prefer not to call something 'querybean' but better than 'queryb' was my point ;) Anyways the Query bean holds queries, their Id, name, and description.. (building something simple as I learn to help the concepts stick). Ah yes, it kind of makes sense to call it 'query' in that case, 'almost' in that I think CF has blurred the definition of 'query'. Please someone correct me if I am wrong here, but I think it is clearer to define a query as the SQL code you use to QUERY the database. The data you get back is better defined as a recordset, or resultset and not a query. I think the term has become abused through CF language (cfloop query=). I'm open to correction on that though. Regardless, ambiguity exists in the term so I would say that if the bean contains the results of queries then it should be called something along the lines of recordset, if it contains SQL strings that will be query a database, 'Query' is an apt name. Anyone disagree? Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300548 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Slow machine - JRun?
Michael, If and when you are looking for some outside help, Mike Brunt is one of THE people out there in terms server and JVM tuning. He was on board with the ColdFusion team at Allaire and Macromedia, before leaving to help start Webapper. He is now with Alagad and is leading our performance tuning work. You can reach him at mbrunt at alagad do com if you need some help. Good luck! -- Jeff -Original Message- From: Michael Muller [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 9:32 AM To: CF-Talk Subject: Slow machine - JRun? I posted about this a few weeks ago (JRun pegging for ten to twenty seconds then dropping back down, etc), and the issue seemed to have gone away when we moved everything to another machine. However, in the past week our new machine has become unbelievably slow again, but with the performance meters doing normal work, jumping around from 0 to 20 to 0 to 30 to 0 to 5 to 0 to 40, etc. Every once in a while it pops up above 60 but for the most part it's pretty low. However, there is a lot of I/O going on, and the box itself is sluggish when I log in via RDS, to the point where typing in the login name is an excerise in moon lander control response sluggishness. I just took snapshots of the Task Manager and uploaded them here: http://support.mullertech.com/images.cfm?gpt=3g=88vcid=9 This site is hosted on the box so let me know if it takes a while to load the images. Any advice would be appreciated. BTW, are there any tools that anyone knows about that can diagnose what all the I/O work *is*? Like, is this all http loads (image and video files being directly accessed via http) or some internal virtual memory swap fest? Thanks, Michael Michael Muller Muller Technologies 24 3rd Street Turners Falls, MA 01376 work: (413) 863-0030 cell: (413) 320-5336 skype: michaelBmuller http://support.MullerTech.com Information is not knowlege Knowlege is not wisdom Eschew Obfuscation ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300549 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: qForms Question
Dan, oForm.textareaName.validateAtLeastOne(checkboxName); That is extremely cool. I've been using qForms for a long time, but I didn't realize you could relate validations across elements that way. Thanks for the tip. -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560 ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300550 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Slow machine - JRun?
Ah ha! Sorry Mark, I had forgotten that one (which eventually led me to most of the others mentioned). There were some really interesting finds in that first post I listed from Jason Sheedy, especially in the comments. If you haven't read them you really should, especially if you use CFCs in development. Great post though, Mark, thanks for reminding me! Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Mark Kruger wrote: I have a recent one one to add to this list: http://www.coldfusionmuse.com/index.cfm/2008/2/12/leaky.heap.jvm Good luck.. -Mark ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300551 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: qForms Question
Tom, oForm.textareaName.validateAtLeastOne(checkboxName); That is extremely cool. I've been using qForms for a long time, but I didn't realize you could relate validations across elements that way. Thanks for the tip. It's not a perfect solution--since you need to attach the validation to one of the fields, but that custom method will do the trick for those validate either a or b type of situations. -Dan ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300552 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Find/Replace for Eclipse
Cool, I didn't even know 3.4 was out. Is that europa-winter? Are all the plugins working ok with it? CFEclipse/Subclipse, etc? Russ It's europa, not sure if it was a part of the winter maintenance though. I've been using Java / J2EE / CFE / Subclipse all without problem. HTH, Rich Kroll ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300554 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Find/Replace for Eclipse
I'm currently using eclipse 3.4 and it does exactly what you are requesting. Excellent. Is 3.4 a production release? I know this is OT but what is best way to upgrade to 3.4? Update manager? I have my install tweaked to the gills and the prospect of a reinstall makes me hesitant... given how finicky eclipse can be when it comes to plugins. My Aptana plugin committed suicide today. On Wed, Mar 5, 2008 at 1:52 PM, Rich [EMAIL PROTECTED] wrote: can use next/prev to cycle through them. As I have stated more than once, what I want is something like what DW has where the pane shows me a preview of the 6 instances and I can then click on which one I want to go to. I'm currently using eclipse 3.4 and it does exactly what you are requesting. For example, if it found 5 matches within fileA.cfm, I have the ability to expand the matches and jump directly to the 3rd match. HTH, Rich Kroll ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300555 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
problem with cfdocument and font size
Okay I'm having this very strange issue with cfdocument. My document has a couple of pages, and there is a header and footer. I can't seem to get the font size in my footer to do what I want. footer code: -- cfdocumentitem type=footer div style=font-size: 10px; ol CFLOOP LIST=#FOOTNOTE# DELIMITERS=#Chr(10)# INDEX=ThisFootnote CFOUTPUTCFIF Left(Trim(ThisFOOTNOTE),12) eq CONFIDENTIALPCFELSELI/CFIF#ThisFOOTNOTE#/CFOUTPUT /CFLOOP /ol img src=/include/black-spacer.gif width=100% height=2 border=0 cfoutput table width=100% tr td nowrap align=left width=25% style=font-size: 11px; font-weight: bold#dateFormat(Now(),', d, ')# #TimeFormat(Now(),h:mm tt)#/td td nowrap align=center width=50% style=font-size: 11px; font-weight: boldCONFIDENTIAL - OFFICIAL DUKE UNIVERSITY USE ONLY/td td nowrap align=right width=25% style=font-size: 11px; font-weight: boldPage #cfdocument.currentpagenumber# of #cfdocument.totalpagecount#/td /tr /table /div /cfoutput /cfdocumentitem -- So I'm trying to change the font size of my ordered list up there, so I change the style definition on the div to 14 px.. 18px.. 24px... each time, the visible font actually gets SMALLER. so I tried settign it to something small, and it also got smaller (5px) Tried putting in font tags and that didn't seem to help either. What the hell is going on? CF8/Windows -- Rick Root New Brian Vander Ark Album, songs in the music player and cool behind the scenes video at www.myspace.com/brianvanderark ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300556 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Slow machine - JRun?
Thanks I'll stop pouting :) -Original Message- From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 1:20 PM To: CF-Talk Subject: Re: Slow machine - JRun? Ah ha! Sorry Mark, I had forgotten that one (which eventually led me to most of the others mentioned). There were some really interesting finds in that first post I listed from Jason Sheedy, especially in the comments. If you haven't read them you really should, especially if you use CFCs in development. Great post though, Mark, thanks for reminding me! Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Mark Kruger wrote: I have a recent one one to add to this list: http://www.coldfusionmuse.com/index.cfm/2008/2/12/leaky.heap.jvm Good luck.. -Mark ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300557 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cf_classes
We have Dev and Prod CF servers on IIS - both CFMX Version: 6,1,0,83762 While trying to resolve why Prod version will not allow cffile to read/write charset =Shift_JIS, we came across file differences between Prod and Dev in the WEB-INF/cf_classes directory. Prod missing several .class that referenced Shift_JIS. We copied these files from dev to prod and restarted CF. Still unable to read/write charset=shift_js. Is there another action required to initiate the .class files? Grasping at straws. Note previous post regarding Charsert Shift_JIS ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300558 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Find/Replace for Eclipse
Eclipse 3.4 is at Milestone 5. Eclipse has yearly releases in July, so the answer is no, 3.4 won't be production until July. On Wed, Mar 5, 2008 at 2:48 PM, Gerald Guido [EMAIL PROTECTED] wrote: I'm currently using eclipse 3.4 and it does exactly what you are requesting. Excellent. Is 3.4 a production release? I know this is OT but what is best way to upgrade to 3.4? Update manager? I have my install tweaked to the gills and the prospect of a reinstall makes me hesitant... given how finicky eclipse can be when it comes to plugins. My Aptana plugin committed suicide today. On Wed, Mar 5, 2008 at 1:52 PM, Rich [EMAIL PROTECTED] wrote: can use next/prev to cycle through them. As I have stated more than once, what I want is something like what DW has where the pane shows me a preview of the 6 instances and I can then click on which one I want to go to. I'm currently using eclipse 3.4 and it does exactly what you are requesting. For example, if it found 5 matches within fileA.cfm, I have the ability to expand the matches and jump directly to the 3rd match. HTH, Rich Kroll ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300559 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Find/Replace for Eclipse
Cool, I didn't even know 3.4 was out. Is that europa-winter? Are all the plugins working ok with it? CFEclipse/Subclipse, etc? Russ -Original Message- From: Rich [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 1:52 PM To: CF-Talk Subject: RE: Find/Replace for Eclipse can use next/prev to cycle through them. As I have stated more than once, what I want is something like what DW has where the pane shows me a preview of the 6 instances and I can then click on which one I want to go to. I'm currently using eclipse 3.4 and it does exactly what you are requesting. For example, if it found 5 matches within fileA.cfm, I have the ability to expand the matches and jump directly to the 3rd match. HTH, Rich Kroll ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300553 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Find/Replace for Eclipse
http://download.eclipse.org/eclipse/downloads/ On Wed, Mar 5, 2008 at 3:04 PM, Sonny Savage [EMAIL PROTECTED] wrote: Eclipse 3.4 is at Milestone 5. Eclipse has yearly releases in July, so the answer is no, 3.4 won't be production until July. On Wed, Mar 5, 2008 at 2:48 PM, Gerald Guido [EMAIL PROTECTED] wrote: I'm currently using eclipse 3.4 and it does exactly what you are requesting. Excellent. Is 3.4 a production release? I know this is OT but what is best way to upgrade to 3.4? Update manager? I have my install tweaked to the gills and the prospect of a reinstall makes me hesitant... given how finicky eclipse can be when it comes to plugins. My Aptana plugin committed suicide today. On Wed, Mar 5, 2008 at 1:52 PM, Rich [EMAIL PROTECTED] wrote: can use next/prev to cycle through them. As I have stated more than once, what I want is something like what DW has where the pane shows me a preview of the 6 instances and I can then click on which one I want to go to. I'm currently using eclipse 3.4 and it does exactly what you are requesting. For example, if it found 5 matches within fileA.cfm, I have the ability to expand the matches and jump directly to the 3rd match. HTH, Rich Kroll ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300560 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cf_classes
Randy, we've run into similar in the past, especially with 6.1. You probably should test the following at dev first (and back everything up), but you should be able to delete all of your .class files from that cf_classes directory, and the server will rebuild them on initial page load after restarting the server. You should stop the CF instance prior to deleting the files. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Randy Messer wrote: We have Dev and Prod CF servers on IIS - both CFMX Version: 6,1,0,83762 While trying to resolve why Prod version will not allow cffile to read/write charset =Shift_JIS, we came across file differences between Prod and Dev in the WEB-INF/cf_classes directory. Prod missing several .class that referenced Shift_JIS. We copied these files from dev to prod and restarted CF. Still unable to read/write charset=shift_js. Is there another action required to initiate the .class files? Grasping at straws. Note previous post regarding Charsert Shift_JIS ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300561 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Find/Replace for Eclipse
Ok, that would explain why I do not have it, was wondering on that but had no way to check things since not near that computer. On Wed, Mar 5, 2008 at 2:04 PM, Sonny Savage [EMAIL PROTECTED] wrote: Eclipse 3.4 is at Milestone 5. Eclipse has yearly releases in July, so the answer is no, 3.4 won't be production until July. On Wed, Mar 5, 2008 at 2:48 PM, Gerald Guido [EMAIL PROTECTED] wrote: I'm currently using eclipse 3.4 and it does exactly what you are requesting. Excellent. Is 3.4 a production release? I know this is OT but what is best way to upgrade to 3.4? Update manager? I have my install tweaked to the gills and the prospect of a reinstall makes me hesitant... given how finicky eclipse can be when it comes to plugins. My Aptana plugin committed suicide today. On Wed, Mar 5, 2008 at 1:52 PM, Rich [EMAIL PROTECTED] wrote: can use next/prev to cycle through them. As I have stated more than once, what I want is something like what DW has where the pane shows me a preview of the 6 instances and I can then click on which one I want to go to. I'm currently using eclipse 3.4 and it does exactly what you are requesting. For example, if it found 5 matches within fileA.cfm, I have the ability to expand the matches and jump directly to the 3rd match. HTH, Rich Kroll ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300562 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: problem with cfdocument and font size
Try styling the li instead of the containing div. --Ben Doom Rick Root wrote: Okay I'm having this very strange issue with cfdocument. My document has a couple of pages, and there is a header and footer. I can't seem to get the font size in my footer to do what I want. footer code: -- cfdocumentitem type=footer div style=font-size: 10px; ol CFLOOP LIST=#FOOTNOTE# DELIMITERS=#Chr(10)# INDEX=ThisFootnote CFOUTPUTCFIF Left(Trim(ThisFOOTNOTE),12) eq CONFIDENTIALPCFELSELI/CFIF#ThisFOOTNOTE#/CFOUTPUT /CFLOOP /ol img src=/include/black-spacer.gif width=100% height=2 border=0 cfoutput table width=100% tr td nowrap align=left width=25% style=font-size: 11px; font-weight: bold#dateFormat(Now(),', d, ')# #TimeFormat(Now(),h:mm tt)#/td td nowrap align=center width=50% style=font-size: 11px; font-weight: boldCONFIDENTIAL - OFFICIAL DUKE UNIVERSITY USE ONLY/td td nowrap align=right width=25% style=font-size: 11px; font-weight: boldPage #cfdocument.currentpagenumber# of #cfdocument.totalpagecount#/td /tr /table /div /cfoutput /cfdocumentitem -- So I'm trying to change the font size of my ordered list up there, so I change the style definition on the div to 14 px.. 18px.. 24px... each time, the visible font actually gets SMALLER. so I tried settign it to something small, and it also got smaller (5px) Tried putting in font tags and that didn't seem to help either. What the hell is going on? CF8/Windows ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300563 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: qForms Question
Dan, It's not a perfect solution--since you need to attach the validation to one of the fields, but that custom method will do the trick for those validate either a or b type of situations. Seems pretty good to me. So -- the method you specified will validate that EITHER one of the checkboxes is checked OR there is content in the textarea? That's the sort of thing where I always added a custom validator or at least used an Expression. Are there other examples on your site, or elsewhere, that go into this sort of validation of related fields? I must have missed them. -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560 ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300564 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: problem with cfdocument and font size
On 3/5/08, Ben Doom [EMAIL PROTECTED] wrote: Try styling the li instead of the containing div. I did, same issue. I figured it out though finally. I set the bottom margin of the page to 1.5 so CF was scaling the header to fit underneath that 1.5 margin. Set the margin to 2.0 and everything got bigger =) Rick -- Rick Root New Brian Vander Ark Album, songs in the music player and cool behind the scenes video at www.myspace.com/brianvanderark ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300565 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Find/Replace for Eclipse
That's sweet. Thanks. I just grabbed the 3.4M5 build from the eclipse site. Unzipped the folder, and away we go. Shows the line number, and code snippet with the highlighted text. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300566 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: qForms Question
BTW - Thanks for the quick answers! Hatton On Wed, Mar 5, 2008 at 3:21 PM, Tom McNeer [EMAIL PROTECTED] wrote: Dan, It's not a perfect solution--since you need to attach the validation to one of the fields, but that custom method will do the trick for those validate either a or b type of situations. Seems pretty good to me. So -- the method you specified will validate that EITHER one of the checkboxes is checked OR there is content in the textarea? That's the sort of thing where I always added a custom validator or at least used an Expression. Are there other examples on your site, or elsewhere, that go into this sort of validation of related fields? I must have missed them. -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560 ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300567 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Find/Replace for Eclipse
That is excellent news! -Original Message- From: Matthew Williams [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 3:34 PM To: CF-Talk Subject: Re: Find/Replace for Eclipse That's sweet. Thanks. I just grabbed the 3.4M5 build from the eclipse site. Unzipped the folder, and away we go. Shows the line number, and code snippet with the highlighted text. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300568 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Find/Replace for Eclipse
IIRC, you can setup CFS to create a backup version of the original file(s) before it applies an automated replace. This helped back when most of us didn't use source control. FWIW, I touched on Aptana's multiline SR here: http://www.iknowkungfoo.com/blog/index.cfm/2008/2/24/Multiline-Search-and-Replace-in-Eclipse -- Adrian Nothing. I just don't like it. I prefer CFS's search. Mostly for the *.bak feature. What exactly is the *.bak feature? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300569 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Find/Replace for Eclipse
Ok, I should type things out more often, I see just right click and use Next/Prev matches, but still something I wish I could get some sort of drilled down navigation to/from matches with. It's still a big peeve with Eclipse for me... In Dreamweaver I can glance across the results pane and see immediately whether the search produced the kind of results I expected or I need to refine the search criteria and try again. Eclipse forces me to do more work by manually coming through the results one by one to determine if the search produced what I was hoping for. -- s. isaac dealey ^ new epoch isn't it time for a change? ph: 503.236.3691 http://onTap.riaforge.org/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300570 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Find/Replace for Eclipse
That's sweet. Thanks. I just grabbed the 3.4M5 build from the eclipse site. Unzipped the folder, and away we go. Shows the line number, and code snippet with the highlighted text. Ah, that's a good step in the right direction. -- s. isaac dealey ^ new epoch isn't it time for a change? ph: 503.236.3691 http://onTap.riaforge.org/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300571 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: qForms Question
Tom, It's not a perfect solution--since you need to attach the validation to one of the fields, but that custom method will do the trick for those validate either a or b type of situations. Seems pretty good to me. So -- the method you specified will validate that EITHER one of the checkboxes is checked OR there is content in the textarea? Correct. In a nutshell it's Make sure at least one of these fields has a value. That's the sort of thing where I always added a custom validator or at least used an Expression. Are there other examples on your site, or elsewhere, that go into this sort of validation of related fields? I must have missed them. Someone paid me to write that extension, but I had the stipulation that I be allowed to post it on my website. It's the only extension that's not in the download. -Dan ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300572 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Find/Replace for Eclipse
And Aptana, Subclipse, and CFeclipse all seem to be fine at this point. I'll get to play with it more tonight. However, the expandable code things is a nice addition... and I'm going to rate it better than DW at this point. I like the fact that it shows in tree view. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300573 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Find/Replace for Eclipse
feel like posting some screenshots? curious if it's worth making the upgrade for (i'm a wuss about upgrading and worrying about plugin compatibility) :) On Wed, Mar 5, 2008 at 1:06 PM, Matthew Williams [EMAIL PROTECTED] wrote: And Aptana, Subclipse, and CFeclipse all seem to be fine at this point. I'll get to play with it more tonight. However, the expandable code things is a nice addition... and I'm going to rate it better than DW at this point. I like the fact that it shows in tree view. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300574 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
ongoing problem with newsletter-eMail-actions: CF is hanging
Hi list, we have an ongoing problem with newsletter-eMail-actions. We use CFMX 7.02 Entperprise on Win 2003 Server. (between 100.000 and 200.000 receivers). The deep links into the shops are of the following structure: http://www.xyz.com/shop.cfm?ml=171,92560,21,24,1,nhs1381639,03081,nsletter,03081-138163966958-nl-3eb938532a4be8b9e94cb5002154789e In the highest hours we have between 80 and 200 current users/connections per second. We are running two HP 380, 3 GB, CF-Servers in a static loadsharing. From time to time CF gets unresponsive and I don't know why. We use fusion reactor and there are now long running requests from what I have seen, when CF is hanging. There is nothing in the logfiles which is obvious to what it could be related what is casing it. Does anybody have any idea what else to look into ? Uwe ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300575 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
setClientCookies and clientmanagement
Can I setClientcookies to yes and make clientmanagement to no in cfapplication tag and still use cookie variables? Where can I find some info on this? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300576 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Find/Replace for Eclipse
Or from the menu... Search-file On 3/5/08, Jaime Metcher [EMAIL PROTECTED] wrote: Folder: Click on the folder you want in the Navigator view, then choose Selected Resources in the search dialog. Site: Ditto, but start at the site root Jaime -Original Message- From: j s [mailto:[EMAIL PROTECTED] Sent: Wednesday, 5 March 2008 1:11 PM To: CF-Talk Subject: Find/Replace for Eclipse Does a plugin exist for Find/Replace that is as good as the one for Dreamweaver? I like the option of searching the entire site or folder. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300577 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CFC Best practices question
If I have an object loaded in the Application scope and want to use it in another object/component ,should I pass it in as a variable or should I call it directly from the Application scope. Assume that the object will always be loaded in memory. TIA G -- As an adolescent I aspired to lasting fame, I craved factual certainty, and I thirsted for a meaningful vision of human life - so I became a scientist. This is like becoming an archbishop so you can meet girls. - M. Cartmill ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300578 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFC Best practices question
If I have an object loaded in the Application scope and want to use it in another object/component ,should I pass it in as a variable or should I call it directly from the Application scope. Assume that the object will always be loaded in memory. TIA G I would advise against accessing the component directly. As a general rule, you should not have any CFC access a scope outside of itself. I would suggest one of the following two approaches: 1. Use a façade to the application scope By using a façade, only one component is tied directly to the application scope. 2. Injection Using either constructor or setter injection, pass the object in as a variable. HTH, Rich Kroll ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300579 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFC Best practices question
Also dont forget to var your variables. Bad things happen when you don't var variables that are meant to stay private to the function and you cache your component. RUss -Original Message- From: Rich [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 4:53 PM To: CF-Talk Subject: RE: CFC Best practices question If I have an object loaded in the Application scope and want to use it in another object/component ,should I pass it in as a variable or should I call it directly from the Application scope. Assume that the object will always be loaded in memory. TIA G I would advise against accessing the component directly. As a general rule, you should not have any CFC access a scope outside of itself. I would suggest one of the following two approaches: 1. Use a façade to the application scope By using a façade, only one component is tied directly to the application scope. 2. Injection Using either constructor or setter injection, pass the object in as a variable. HTH, Rich Kroll ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300580 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Find/Replace for Eclipse
Are you using the beta Subclipse or the latest production version? I'm wondering if the beta subclipse works with it (it has a new working copy format that seems to be much faster on our codebase). Russ -Original Message- From: Matthew Williams [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 4:07 PM To: CF-Talk Subject: Re: Find/Replace for Eclipse And Aptana, Subclipse, and CFeclipse all seem to be fine at this point. I'll get to play with it more tonight. However, the expandable code things is a nice addition... and I'm going to rate it better than DW at this point. I like the fact that it shows in tree view. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300581 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC Best practices question
On Wed, Mar 5, 2008 at 3:43 PM, Gerald Guido [EMAIL PROTECTED] wrote: If I have an object loaded in the Application scope and want to use it in another object/component ,should I pass it in as a variable or should I call it directly from the Application scope. Assume that the object will always be loaded in memory. I vote for passing it in. It makes the component that will use it less couple to application scope and therefore more reusable. If several methods within the component are going to need access to various methods in the application.myCFC object, then it would make more sense to do what Rich says in step 2. Basically when the component that is dependent on app.myCFC is instantiated, it should get that instance in variables scope cfcomponent name=myDependentCFC cffunction name=init cfreturn this / /cffunction cffunction name=setAppCFC cfargument name=AppCFC / cfset variables.instance.AppCFC = arguments.AppCFC / /cffunction /cfcomponent cfset myDependentCFC = createObject('component','myDependentCFC').init() / cfset myDependentCFC.setAppCFC(application.AppCFC) / -- Matt Williams It's the question that drives us. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300582 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC Best practices question
Also don't forget to var your variables. Why is it that when you ask a CFC question people assume that you aren't scoping your variables? On Wed, Mar 5, 2008 at 5:01 PM, Russ [EMAIL PROTECTED] wrote: Also don't forget to var your variables. Bad things happen when you don't var variables that are meant to stay private to the function and you cache your component. RUss -Original Message- From: Rich [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 4:53 PM To: CF-Talk Subject: RE: CFC Best practices question If I have an object loaded in the Application scope and want to use it in another object/component ,should I pass it in as a variable or should I call it directly from the Application scope. Assume that the object will always be loaded in memory. TIA G I would advise against accessing the component directly. As a general rule, you should not have any CFC access a scope outside of itself. I would suggest one of the following two approaches: 1. Use a façade to the application scope By using a façade, only one component is tied directly to the application scope. 2. Injection Using either constructor or setter injection, pass the object in as a variable. HTH, Rich Kroll ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300583 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Having problems with simple cfgrid test
I'm trying out some of the new CF8 ajax functionality (finally) and running into problems with a simple example. This worked fine pulling in the query directly but I want to do paging asyncronously and such so I'm hitting a CFC remotely. The grid loads with no records and the top entry in the ajax debugging window says error:http: Error invoking CFC /dataManager.cfc : Not Found Here is the code cfform cfgrid name=AccountGrid format=html bind=cfc:dataManager.getAccounts({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection}) cfgridcolumn name=CustNbr cfgridcolumn name=OrgName cfgridcolumn name=Expiration cfgridcolumn name=Active /cfgrid /cfform I thought it was a CFC problem so I ran a cfinvoke test page in the same folder and it ran with no problem with the parameters that the ajax debugger logged as being requested. I then thought it was a problem accessing the CFC through the web. However one of the entries in the ajax debugger shows the URL for the JSON request and it works fine if point my browser to it directly. This leads me to believe it isn't a problem with or about the CFC but rather something in my cfgrid code or in the javascript files. I'm at a dead end. Anyone have a clue what might be going on? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300584 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC Best practices question
I have seen it set in the init and set to the variables scope. and then called from individual functions. So if the passed object is local to *only one* function should I pass it to just that one function? Or if it used multiple times in the object I should store it as part of the object (in the init function) in the variables scope so it can be avalible to multiple functions. Does that sound right... make sense? Thanx G On Wed, Mar 5, 2008 at 5:07 PM, Matt Williams [EMAIL PROTECTED] wrote: On Wed, Mar 5, 2008 at 3:43 PM, Gerald Guido [EMAIL PROTECTED] wrote: If I have an object loaded in the Application scope and want to use it in another object/component ,should I pass it in as a variable or should I call it directly from the Application scope. Assume that the object will always be loaded in memory. I vote for passing it in. It makes the component that will use it less couple to application scope and therefore more reusable. If several methods within the component are going to need access to various methods in the application.myCFC object, then it would make more sense to do what Rich says in step 2. Basically when the component that is dependent on app.myCFC is instantiated, it should get that instance in variables scope cfcomponent name=myDependentCFC cffunction name=init cfreturn this / /cffunction cffunction name=setAppCFC cfargument name=AppCFC / cfset variables.instance.AppCFC = arguments.AppCFC / /cffunction /cfcomponent cfset myDependentCFC = createObject('component','myDependentCFC').init() / cfset myDependentCFC.setAppCFC(application.AppCFC) / -- Matt Williams It's the question that drives us. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300585 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4