RE: Ajax cfgrid bind problem
Yes, 69915 is the bug that is causing this to happen. We are aware of this issue and are working on it. Rakshith Adobe ColdFusion Team -Original Message- From: Mike Chabot [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 12:03 AM To: CF-Talk Subject: Re: Ajax cfgrid bind problem Fantastic Gary. Thanks for looking into this. Bug 69915 is what the problem is. Luckily my site is still under development, so I can live with a suboptimal setup while I wait for a hotfix. -Mike Chabot On 9/12/07, gary gilbert [EMAIL PROTECTED] wrote: Mike, But thats not your problem is it? Its the fact that as soon as you move your directory out of wwwroot/projects into c:/projects and point your virtual directory to that you code stops working and inspecting the url no matter what you try or what mappings you have in CF admin you still end up with http://mysite/myCFC instead of http://mysite/projects/mycfc right? with cfc:mysite.projects.mycfc.myfunction you still get the above? After I sent in that last email I re-read your first email again and set it up exactly as you have it and was able to produce the same results as you are getting. So at least I can replicate it. The only problem now is whats the solution... Creating a CF mapping doesn't seem work. I put in the correct path to the cfc in the cfajaxproxy tag and it passes without error but produces var _cf_mycfc=ColdFusion.AjaxProxy.init('/mycfc.cfc','myclass'); without the correct path info. I checked the known issues and found the following entry. 69915: The cfajaxproxy tag is not able to correctly locate CFCs that are in symbolically linked paths on the file system. Ensure that your CFCs are always available under hard linked paths. As a workaround or until someone comes up with a solution you could bind to a URL instead of a CFC. Regards, Gary Gilbert http://www.garyrgilber.com/blog ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288339 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Another cfwindow question...
Will, The CFWINDOW tag does have a dependency on each of the js file that is being included out there. If it did not, then that js file would not be included out there. Thanks, Rakshith Adobe ColdFusion Team -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 4:10 AM To: CF-Talk Subject: Another cfwindow question... I'm just using a simple window. How do I keep CF from adding all this JS? Seems like a bit of overkill for my needs. script type=text/javascript src=/CFIDE/scripts/ajax/messages/cfmessage.js/script script type=text/javascript src=/CFIDE/scripts/ajax/package/cfajax.js/script script type=text/javascript src=/CFIDE/scripts/ajax/yui/animation/animation-min.js/script script type=text/javascript src=/CFIDE/scripts/ajax/ext/adapter/yui/ext-yui-adapter.js/script script type=text/javascript src=/CFIDE/scripts/ajax/ext/ext-core.js/script script type=text/javascript src=/CFIDE/scripts/ajax/ext/package/resizable.js/script script type=text/javascript src=/CFIDE/scripts/ajax/ext/package/dragdrop/dragdrop.js/script script type=text/javascript src=/CFIDE/scripts/ajax/ext/package/util.js/script script type=text/javascript src=/CFIDE/scripts/ajax/ext/build/state/State-min.js/script script type=text/javascript src=/CFIDE/scripts/ajax/ext/package/widget-core.js/script script type=text/javascript src=/CFIDE/scripts/ajax/ext/package/dialog/dialogs.js/script script type=text/javascript src=/CFIDE/scripts/ajax/package/cfwindow.js/script Thanks, Will ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288340 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
displaying times on the screen
have a page in my application where I want to refresh the screen every 60 seconds without the user having to click enter - so I have used the meta http-equiv=refresh content=60 / and it seems to work well. Basically I want to display a clock of sessions with Gym instructors/Personal Trainers. In my db i have the field finishtime which is stored. I have 2 records in the file one has the finish time as 17:00:00 and the other has the finish time as 18:00:00 The system time is displayed on the screen as: 05:54:49 PM My results on the screen are: Finish Time Time Remaining 04:20:00 PM 10:25:11 06:00:00 PM 12:05:11 These time are somewhat out and I cant figure out why. I think I have taken the correct aproach but if anyone can advise on a better approach that would be much appreciated. I have checked the program again with the time now 06:00:30 PM and the time remaining now shows as 58:29 when it should simply say 1:30 overtime My code is: cfset timeremaining = 0 cfset timeremaining = Now() cfset timeremaining = qgetbookings.finishtime - TimeFormat(Now(), hh:mm:ss) #timeformat (timeremaining, hh:mm:ss)# Thanks in advance for any thoughts/feedback ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288341 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Very basic question about cfmail
I am sorry if this is the wrong place to post very basic question like this. my script is like this CFMAIL QUERY=mailinglist TO=#email# FROM=#webmaster# SUBJECT=#subject# CFMAILPARAM NAME=MIME-Version VALUE=1.0 CFMAILPARAM NAME=Content-Type VALUE=text/plain; charset=utf-8 #content# /CFMAIL The content of the email is written in database (in html format) because it is used for other purpose, viewed online by customers who want to read it online on our website) but when I send email .. and the content is outputing the query of those content. the emails I got... is like this. p/pThis is a sample emailbrbrbrcontent of the messagebrbryou receive this emailbr So... cfmail send the content of the query (including all the HTML code) How can I send email using cfmail... but stripping all the html code but still retain the basic formating (carriage return etc) Thanks for reading this basic question... ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288342 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: MSSQL Timeout (Connection: reset)
What's weird is this happens on three different VMWare machines running on the same server as the db (this is in a dev environment). I do know that the host machine, which also runs the db, was upgraded to SP2 for Windows 2003 server. Other CF boxes (eg developer machines) and MSSQL tools can connect fine, but not any of the virtual machines. Can you connect to any other service on the host machine from the VM? Can you see the database port as open from the VM using telnet or a port scanner? Which virtual network adapter are you using, vlance or vmxnet? Can you connect to services on other VMs or physical servers from the affected VMs? What does your vmware.log file have to say? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288343 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Help needed in finding a string within a cgi variable.
If you are only searching for the existence of _cache you could just use findNoCase('_cache',cgi.query_string) instead of listFindNoCase. I know they improved the speed of all the list functions for cf8 but using it in this case seems a little superfluous. -- Gary Gilbert http://www.garyrgilbert.com/blog ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288344 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Very basic question about cfmail
If you wnt a plain text email message, you will need to run the content from the DB through a function that strips the HTML. However you could just send an HTML email message - is that a problem? On 9/13/07, NUGROHO NOTO [EMAIL PROTECTED] wrote: I am sorry if this is the wrong place to post very basic question like this. my script is like this CFMAIL QUERY=mailinglist TO=#email# FROM=#webmaster# SUBJECT=#subject# CFMAILPARAM NAME=MIME-Version VALUE=1.0 CFMAILPARAM NAME=Content-Type VALUE=text/plain; charset=utf-8 #content# /CFMAIL The content of the email is written in database (in html format) because it is used for other purpose, viewed online by customers who want to read it online on our website) but when I send email .. and the content is outputing the query of those content. the emails I got... is like this. p/pThis is a sample emailbrbrbrcontent of the messagebrbryou receive this emailbr So... cfmail send the content of the query (including all the HTML code) How can I send email using cfmail... but stripping all the html code but still retain the basic formating (carriage return etc) Thanks for reading this basic question... ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288345 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: trigger to send xml via http to web service?
We have sql 2000 here and unfortunately I've read that you can do more w/ xml in 05'. I'm trying to send xml via http from the newly inserted record to an outside web service. Any ideas on how I should go about doing this? You should use ColdFusion to send the XML, instead of bringing your database into this - your database probably shouldn't be allowed to send messages to the outside world even if it can. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288346 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Very basic question about cfmail
http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_m-o_01.html#2355015 Add this parameter/value type=HTML in the cfmail tag Hope this helps William -Original Message- From: NUGROHO NOTO [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 2:01 AM To: CF-Talk Subject: Very basic question about cfmail I am sorry if this is the wrong place to post very basic question like this. my script is like this CFMAIL QUERY=mailinglist TO=#email# FROM=#webmaster# SUBJECT=#subject# CFMAILPARAM NAME=MIME-Version VALUE=1.0 CFMAILPARAM NAME=Content-Type VALUE=text/plain; charset=utf-8 #content# /CFMAIL The content of the email is written in database (in html format) because it is used for other purpose, viewed online by customers who want to read it online on our website) but when I send email .. and the content is outputing the query of those content. the emails I got... is like this. p/pThis is a sample emailbrbrbrcontent of the messagebrbryou receive this emailbr So... cfmail send the content of the query (including all the HTML code) How can I send email using cfmail... but stripping all the html code but still retain the basic formating (carriage return etc) Thanks for reading this basic question... ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288347 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Another cfwindow question...
Additionally those files are relatively small (all combined 256kb). Better to include only the files that are needed than the ext_all.js file which while only a single file contains everything that is needed by most of the new ajax tags (cftree excluded) and is quite a bit larger (447kb) and then you would need to additionally add the yui adapter and cf libraries too. -- Gary Gilbert http://www.garyrgilbert.com/blog ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288348 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Very basic question about lt;cfmail
Thanks for all the suggestion. sorry forget to mention... I could not use HTML version... because most of my customer (in Japan) read their email using their cell phone (cdma)... and some of these service do not accept html version... so... that's why we have to send a plain version from the html text. I am looking for those script which can strip the HTML part.. but still can retain the carriage return (otherwise my text will just continue without break) anybody knows where we can get / buy this custom tags ? Thanks in advance for any thought. ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288349 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Very basic question about cfmail
I'm assuming you don't really want out strip the html but simply have it evaluate on the emails. cfmail has an attribute called type, so you should only need to do cfmail.. Type=HTML.. John Mason [EMAIL PROTECTED] 770.337.8363 www.FusionLink.com - ColdFusion and Flex hosting Now offering ColdFusion 8 Enterprise hosting FREE Subversion hosting -Original Message- From: NUGROHO NOTO [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 5:01 AM To: CF-Talk Subject: Very basic question about cfmail I am sorry if this is the wrong place to post very basic question like this. my script is like this CFMAIL QUERY=mailinglist TO=#email# FROM=#webmaster# SUBJECT=#subject# CFMAILPARAM NAME=MIME-Version VALUE=1.0 CFMAILPARAM NAME=Content-Type VALUE=text/plain; charset=utf-8 #content# /CFMAIL The content of the email is written in database (in html format) because it is used for other purpose, viewed online by customers who want to read it online on our website) but when I send email .. and the content is outputing the query of those content. the emails I got... is like this. p/pThis is a sample emailbrbrbrcontent of the messagebrbryou receive this emailbr So... cfmail send the content of the query (including all the HTML code) How can I send email using cfmail... but stripping all the html code but still retain the basic formating (carriage return etc) Thanks for reading this basic question... ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288350 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Very basic question about lt;cfmail
Hi Mason. Thanks... at first... I thought type=HTML means to send email as an HTML. obviously I was wrong... Now... it works.. Thanks again. regards. ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288351 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Very basic question about lt;cfmail
It does. However, html email is also sent with a plain text version, which is what non-html enabled client will read. On 9/13/07, NUGROHO NOTO [EMAIL PROTECTED] wrote: Hi Mason. Thanks... at first... I thought type=HTML means to send email as an HTML. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288352 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: [CF-Dev] Adobe Max 2007
On Wednesday 12 Sep 2007, [EMAIL PROTECTED] wrote: On 9/12/07, Tom Chiverton [EMAIL PROTECTED] wrote: http://adobemax2007.com/europe/ No, even though it's on the same continent as me now, it's still too expensive to fund on my own (or reasonably expect my boss to agree to, given Scotch is 'only' 60 quid in comparison). See you at Scotch 2008 then? Almost certainly, I'd say. -- Tom Chiverton Helping to completely benchmark unique experiences on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288353 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 book by Ben Forta - release date?
Looks like the ship date has slipped on Amazon: (pre-ordered the first volume on Aug. 19th) Shipping estimate: September 17, 2007 Delivery estimate: September 19, 2007 On Sep 12, 2007, at 9:39 AM, Ben Forta wrote: Volume 1 is indeed shipping. Volumes 2 and 3 to follow shortly. --- Ben -Original Message- From: David Morgan [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 12:33 PM To: CF-Talk Subject: cf8 book by Ben Forta - release date? Amazon had the date as being today but I called my local store and they have the date as Oct 15th. Anyone know a real date when its available? thx :) David ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288354 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Very basic question about lt;cfmail
NUGROHO NOTO wrote: I am looking for those script which can strip the HTML part.. but still can retain the carriage return (otherwise my text will just continue without break) anybody knows where we can get / buy this custom tags ? Sounds like a three-step thing to me. First, find all occurances of break tags (searching for br to catch both old style br and newer xhtml-y br /) and insert a single carriage return character before said tags. Next, find all paragraph tags (searching for p because some tags may be like p style='styleName') and insert TWO carriage return characters before them (to properly visually separate one paragraph from another). Then, use a regex to strip out all HTML tags. Since you'll already have inserted carriage returns to replace the br and p tags, they can be stripped along with everything else and the remaining text should retain the format you're after. Regex to use: ReReplaceNoCase(yourVar, (.|\n)+?, , ALL) should strip out all content that starts with a to the next occuring . Give that a try. --Scott ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288355 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: MSSQL Timeout (Connection: reset)
On 9/13/07, Dave Watts [EMAIL PROTECTED] wrote: What's weird is this happens on three different VMWare machines running on the same server as the db (this is in a dev environment). I do know that the host machine, which also runs the db, was upgraded to SP2 for Windows 2003 server. Other CF boxes (eg developer machines) and MSSQL tools can connect fine, but not any of the virtual machines. Can you connect to any other service on the host machine from the VM? Ironically there were few other easy-to-test services on the host. I can't connect to the web server on it, nor can I connect from the host to the web server on the guest machines. Can you see the database port as open from the VM using telnet or a port scanner? On the list to check -- it seems like it's a problem with TCP traffic from the host to the client since ICMP (eg ping) and netbios work. I also can't connect to shares on the host, but can connect to shares on the NAS Which virtual network adapter are you using, vlance or vmxnet? Bridged networking using vmxnet (2.0.0.5 is the version). All of that information on all the machines looks correct and the router shows the MAC addresses all match the IPs/leases. Can you connect to services on other VMs or physical servers from the affected VMs? I can connect to the web servers from one vm to another, but not from host to vm or vm to host. What does your vmware.log file have to say? The debugging log has been pretty useless -- nothing network-related with errors, even when debug logging is turned on. Thanks for the reality check -- I'm a *longtime* VMWare user and have to say this is puzzling (for the record, it's VMWare Server 1.0.3) -- John Paul Ashenfelter CTO/Transitionpoint (blog) http://www.ashenfelter.com (email) [EMAIL PROTECTED] ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288356 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Spry: Two Forms on one page, validation tiggers on both
I have a content management tool that has a pull down of existing items and below the existing pull down list, it the add a new form. I've applied Spry/Ajax to thr form field to the add a new form, but I when I submit the form above it to edit an existing item, the spry validation is triggered in the add a new form below. How can I have two forms on the same page and control Spry from trying to validate my Spry form when I submit my non Spry form? I've named each form with different names and ids. Thanks D ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288357 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Odd database behavior: duplicate key error
Just to follow up on this thread, is the final verdict that you must use cflock to prevent these kinds of concurrency issues in the database, UNLESS you use CFTRANSACTION with the serializable isolation level? On 9/12/07, Dave Watts [EMAIL PROTECTED] wrote: They recently changed it to the current wording because I filed a bug against the previous wording that it used serializable. Ah! So I remembered a minor detail, but was completely wrong about the important part. Thanks for setting me straight! Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288358 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Very basic question about lt;cfmail
On Thursday 13 Sep 2007, [EMAIL PROTECTED] wrote: Regex to use: ReReplaceNoCase(yourVar, (.|\n)+?, , ALL) should strip out all content that starts with a to the next occuring . strip out all content that starts with a . :-) -- Tom Chiverton Helping to elementarily utilize back-end 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 St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288359 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Need help with CFMX 8 purchase
Has anyone had to wait for their online purchase to go through? I just used the company Amex card to buy two upgrades to MX8 Ent. The problem is they sent me an email telling me to wait until tomorrow for approval! Whats going on?? Why would they make me wait until tomorrow to download and install the upgrades? -- Phil ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288360 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Very basic question about amp;lt;cfmail
Thanks all, can you tell me the correct carriage return character should I use... without making this email content just displaying the code ? for example.. if I replace BR with \R... it will just show \R instead making a new line. Sorry ... for my stupidity question. ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288361 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFQuery wrapper tag to help with poor connections to sql..
Interesting. I might trying using the timeout before resorting to the nested try/catches. -Original Message- From: Wil Genovese [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 12:46 PM To: CF-Talk Subject: Re: CFQuery wrapper tag to help with poor connections to sql.. Also remember the timeout attribute for cfquery. It accepts integers as seconds. cfquery name=users datasource=#myDSN# timeout=2 SELECT user_id FROM users /cfquery -- Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. Rich wrote: I have an app that has to use a connection that sees a few seconds of disconnectivity from its SQL server occasionaly. Dan, You can nest CFTRY's to accomplish this. Something like: cftry cfquery name=users datasource=#myDSN# SELECT user_id FROM users /cfquery cfcatch type=database !--- This could be our timeout issue, sleep for 2 seconds and try again --- cfset thisThread = CreateObject(java, java.lang.Thread) / cfset thisThread.sleep(2000) / cftry cfquery name=users datasource=#myDSN# SELECT user_id FROM users /cfquery cfcatch type=any !--- Rethrow the error as we cannot recover --- cfrethrow / /cfcatch /cftry /cfcatch /cftry HTH, Rich ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288363 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: sql sever 2000 XP cf8 question
well i am trying to make a regular connection in cf admin to sql server 2000. i can do it with. Driver: ODBC Socket but not with Driver: Microsoft SQL Server Connection verification failed for data source: master An exception occurred when executing method verifydatasource. The cause of this exception was that: coldfusion.sql.Executive$ConnectionVerificationFailedException: java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]Error establishing socket to host and port: TARDIS:1433. Reason: Connection refused: connect. ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288362 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: displaying times on the screen
Use the CreateTimeSpan function, then format your result for output using TimeFormat. Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be . ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288365 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: sql sever 2000 XP cf8 question
Be sure that is the right port and that TCP/IP port connections are properly enabled on the SQL server? Chris Peterson Gainey IT Adobe Certified Advanced Coldfusion Developer -Original Message- From: Paul Ihrig [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 11:08 AM To: CF-Talk Subject: Re: sql sever 2000 XP cf8 question well i am trying to make a regular connection in cf admin to sql server 2000. i can do it with. Driver: ODBC Socket but not with Driver: Microsoft SQL Server Connection verification failed for data source: master An exception occurred when executing method verifydatasource. The cause of this exception was that: coldfusion.sql.Executive$ConnectionVerificationFailedException: java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]Error establishing socket to host and port: TARDIS:1433. Reason: Connection refused: connect. ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288364 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Odd database behavior: duplicate key error
I don't want to cloud this conversation but I have to say that in all my years of development, I've never had a database collision using ColdFusion. I put my multiple database calls into cftransaction and I use cflock when I'm trying to access a client's session or cookie. I've never put a single cflock around my cftransactions and I've been fine. Maybe, according to some theories on this thread, a better way to put it is that I've been lucky but I'm not so sure. I allow the database to control this which is what my MS SQL Servers are designed for. Maybe other databases are problematic? Maybe my applications aren't as busy? I'm really trying to understand the logic behind the need to use cflock in place of or in addition to cftransaction. Vince Collins http://www.vincentcollins.com ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288368 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
two actions in one form
Hi I've got an external shopping cart (over which I have very little control). I want to send a shopping order to the cart (very easy form) but also have (when the form is submitted) the data from the form fields entered into a database. Each task by itself is easy and I can get to work but combining them I can't do. I have thought that the form should go to another cf page where I insert the data into the database then submit the form details to the shopping cart. But I can't see how to submit the form details programatically without someone manually pressing a submit button?? can someone help please - this is driving me nuts Seamus ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288366 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: sql sever 2000 XP cf8 question
i have tried the example here http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=datasources_ADV_MJS_11.html with no luck ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288373 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
java classloader
Oh man I'm missing something here.. I'm using the javaclass loader to load a meta-data reader for some jpegs. It seems no matter where I put the .jar for the class loader I get the following exception: message: com.compoundtheory.classloader.NetworkClassLoader type: java.lang.ClassNotFoundException I am trying to do it like this page describes: http://www.leavethatthingalone.com/blog/index.cfm/2006/5/16/Using-ColdFusion -to-Read-EXIF-Information-from-JPEGs the line throwing the exception: networkClassLoaderClass = getServerURLClassLoader().loadClass(com.compoundtheory.classloader.NetworkC lassLoader); I have the classloader-20070406174551.jar in the same directory as the script. Whats really wierd is this was working and stopped! I'm banging my head against the desk on this one... Suggestions welcomed.. Dan ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288371 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Very basic question about amp;amp;lt;cfmail
cfset br = chr(13) chr(10) / then use #br# in cfmail (If I understood your question correctly) Seamus Thanks all, can you tell me the correct carriage return character should I use... without making this email content just displaying the code ? for example.. if I replace BR with \R... it will just show \R instead making a new line. Sorry ... for my stupidity question. ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288367 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: two actions in one form
look at Javascript form.submit() From: Seamus Campbell [mailto:[EMAIL PROTECTED] Sent: Thu 9/13/2007 12:05 PM To: CF-Talk Subject: two actions in one form Hi I've got an external shopping cart (over which I have very little control). I want to send a shopping order to the cart (very easy form) but also have (when the form is submitted) the data from the form fields entered into a database. Each task by itself is easy and I can get to work but combining them I can't do. I have thought that the form should go to another cf page where I insert the data into the database then submit the form details to the shopping cart. But I can't see how to submit the form details programatically without someone manually pressing a submit button?? can someone help please - this is driving me nuts Seamus ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288372 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: two actions in one form
It sounds like you're wanting to do your own action with your form data, using your own code, but then also pass the data onto a shopping cart app that you can't/don't want to hack. Point your main form at your own code - do your own jiggling with it - then simply output a new form with hidden vars and a JS call to submit the form, at the end of your own code. i.e. form name='formPart2' action='whatever' method='post' cfloop list='#form.fieldnames#' index='field' input type='hidden' name='#field#' value='#form[field]#' /cfloop /form script langauge='Javascript' document.formPart2.submit(); /script (Just threw that together real quick, may not be syntactically accurate :D) ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288374 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Very basic question about lt;cfmail
Tom Chiverton wrote: strip out all content that starts with a . :-) Heh, you saying the less-than character got stripped for you? Or that the regex is goofed? :/ ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288370 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cf8 book by Ben Forta - release date?
Since it looks like it's going to take a good while for us to get this book in our hands... A question to Ben - any chance folks can acquire the book directly from you quicker? :D ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288376 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: two actions in one form
You can do a post with cfhttp and render the results to the user in the browser. On 9/14/07, Seamus Campbell [EMAIL PROTECTED] wrote: But I can't see how to submit the form details programatically without someone manually pressing a submit button?? -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288369 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Very basic question about amp;lt;cfmail
I've been busy all morning and I haven't had time to respond to this. Most of the time to prevent your email from be caught as SPAM you want send either plain text or multi-part Test and HTML. If you send just as HTML that will start to trigger in SPAM filters. I user this function to create a nicely formated text message from an HTML message. The cfmailpart tag will let your create a separate text portion. cfscript /* # TextMessage # # Receive string and return string with any and all tags striped out # # 1. replace BR tags with CRLF # # 2. Strip all remaining html tags from a string # # 3. return plain text message # */ function TextMessage(string) { pattern = br; CRLF = chr(13) chr(10); message = ReplaceNoCase(#string#, #pattern#, #CRLF# , ALL); pattern = [^]*; return REReplaceNoCase(#message#, #pattern#, , ALL); } /cfscript cfmail query=mailinglist to=#email# from=#webmaster# subject=#subject# cfmailpart type=text/plain#TextMessage(content)#/cfmailpart #content# /cfmail -- Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. NUGROHO NOTO wrote: Thanks all, can you tell me the correct carriage return character should I use... without making this email content just displaying the code ? for example.. if I replace BR with \R... it will just show \R instead making a new line. Sorry ... for my stupidity question. ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288377 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: two actions in one form
On 9/13/07, Seamus Campbell [EMAIL PROTECTED] wrote: I have thought that the form should go to another cf page where I insert the data into the database then submit the form details to the shopping cart. You could do it like this, and just use a cfhttp to post it again in your external cart. Basically, you just need to mimic the form vars in a new post. ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288375 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Very basic question about cfmail
*** MADE CORRECTIONS TO MY CODE SAMPLE *** I've been busy all morning and I haven't had time to respond to this. Most of the time to prevent your email from be caught as SPAM you want send either plain text or multi-part Text and HTML. If you send just as HTML that will start to trigger in SPAM filters. I use this function to create a nicely formated text message from an HTML message. The cfmailpart tag will let your create a separate text portion. cfscript /* # TextMessage # # Receive string and return string with any and all tags striped out # # 1. replace BR tags with CRLF # # 2. Strip all remaining html tags from a string # # 3. return plain text message # */ function TextMessage(string) { pattern = br; CRLF = chr(13) chr(10); message = ReplaceNoCase(#string#, #pattern#, #CRLF# , ALL); pattern = [^]*; return REReplaceNoCase(#message#, #pattern#, , ALL); } /cfscript cfmail query=mailinglist to=#email# from=#webmaster# subject=#subject# type=HTML cfmailpart type=text/plain#TextMessage(content)#/cfmailpart #content# /cfmail -- Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. NUGROHO NOTO wrote: I am sorry if this is the wrong place to post very basic question like this. my script is like this CFMAIL QUERY=mailinglist TO=#email# FROM=#webmaster# SUBJECT=#subject# CFMAILPARAM NAME=MIME-Version VALUE=1.0 CFMAILPARAM NAME=Content-Type VALUE=text/plain; charset=utf-8 #content# /CFMAIL The content of the email is written in database (in html format) because it is used for other purpose, viewed online by customers who want to read it online on our website) but when I send email .. and the content is outputing the query of those content. the emails I got... is like this. p/pThis is a sample emailbrbrbrcontent of the messagebrbryou receive this emailbr So... cfmail send the content of the query (including all the HTML code) How can I send email using cfmail... but stripping all the html code but still retain the basic formating (carriage return etc) Thanks for reading this basic question... ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288380 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Spry: Two Forms on one page, validation tiggers on both
Sorry, I didn't review my enough, I was missing a top form tag, don't know how that happened. ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288381 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: java classloader
Did the java classpath on the machine change? I'm using the javaclass loader to load a meta-data reader for some jpegs. It seems no matter where I put the .jar for the class loader I get the following exception: message: com.compoundtheory.classloader.NetworkClassLoader type: java.lang.ClassNotFoundException I am trying to do it like this page describes: http://www.leavethatthingalone.com/blog/index.cfm/2006/5/16/Using-ColdFusion -to-Read-EXIF-Information-from-JPEGs the line throwing the exception: networkClassLoaderClass = getServerURLClassLoader().loadClass(com.compoundtheory.classloader.NetworkC lassLoader); I have the classloader-20070406174551.jar in the same directory as the script. Whats really wierd is this was working and stopped! I'm banging my head against the desk on this one... ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288382 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: XHTML Style CF?
As far as I know it's only an XHTML requirement to close all tags (e.g., br /) and not a CF issue. Since CF never outputs CFtags to the browser is this actually necessary? No. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288379 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Odd database behavior: duplicate key error
Just to follow up on this thread, is the final verdict that you must use cflock to prevent these kinds of concurrency issues in the database, UNLESS you use CFTRANSACTION with the serializable isolation level? That's not my final verdict, for what that's worth; depending on the specific queries and the granularity of locks (in databases that use locking) you may well be able to use REPEATABLE_READ or even READ_COMMITTED. But if you need a serializable transaction, you shouldn't be afraid to use one. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288385 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Odd database behavior: duplicate key error
Brian Kotek wrote: Just to follow up on this thread, is the final verdict that you must use cflock to prevent these kinds of concurrency issues in the database, UNLESS you use CFTRANSACTION with the serializable isolation level? There may be specific cases where the above holds true, but there is no general answer to that. Databases are just too different. Configuration parameters are just too different. Queries are just too different. Jochem ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288378 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: sql sever 2000 XP cf8 question
well i am trying to make a regular connection in cf admin to sql server 2000. i can do it with. Driver: ODBC Socket but not with Driver: Microsoft SQL Server Connection verification failed for data source: master An exception occurred when executing method verifydatasource. The cause of this exception was that: coldfusion.sql.Executive$ConnectionVerificationFailedException: java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]Error establishing socket to host and port: TARDIS:1433. Reason: Connection refused: connect. I would bet that SQL Server is not listening on TARDIS:1433. Perhaps SQL Server isn't set up to use that specific port, or perhaps it's not set up to use TCP/IP at all, or perhaps the name TARDIS doesn't resolve correctly from the CF server. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288384 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfform format=flash not appearing outside of firewall
We have a page with a cfform using the flash format. It works perfectly to all users inside the firewall, but does not work to any users outside the firewall. Do I have to open a special port to use flash forms? We found the following KB article, but I'm not sure it applies to cfforms: http://kb.adobe.com/selfservice/viewContent.do?externalID=tn_16499sliceId=2 You can see the form in question at: http://rentonnet.org/EstFinalUB/ ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288383 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: cfform format=flash not appearing outside of firewall
We have a page with a cfform using the flash format. It works perfectly to all users inside the firewall, but does not work to any users outside the firewall. Do I have to open a special port to use flash forms? We found the following KB article, but I'm not sure it applies to cfforms ... No, that KB article doesn't apply. Flash forms don't rely upon Flash Media Server, but they do require access to the /CFIDE/scripts directory, by default. Visiting this URL returns a permissions error: http://rentonnet.org/cfide/scripts/ Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288386 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CFSELECT with Binding and SelectedValue isn't selecting
Any ideas why this cfselect isn't automatically selecting the value? Any help is greatly appreciated! cfquery name=theParent datasource=nlr dbtype=ODBC SELECT * FROM gi_ApparelTypes WHERE apparelTypeID = '#theChild.parentID#' /cfquery cfselect name=theParent bind=cfc:Apparel.getParents() display=apparelType value=apparelTypeID selected=#theParent.apparelTypeID# bindonload=true class=FontSm1 style=width:100px/ -- Chris Martin --- Gandy Ink Information Technology Department [EMAIL PROTECTED] (325) 949-7864 X-364 --- www.gandyink.com ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288387 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: two actions in one form
If you don't have to grab any information from the shopping cart before dumping it into the DB, using the cfhttp tag would probably be your best bet. Just dump your info in the DB, then call the cfhttp and cfhttpparam tags within the same page. Chris Martin Seamus Campbell wrote: Hi I've got an external shopping cart (over which I have very little control). I want to send a shopping order to the cart (very easy form) but also have (when the form is submitted) the data from the form fields entered into a database. Each task by itself is easy and I can get to work but combining them I can't do. I have thought that the form should go to another cf page where I insert the data into the database then submit the form details to the shopping cart. But I can't see how to submit the form details programatically without someone manually pressing a submit button?? can someone help please - this is driving me nuts Seamus ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288389 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SPAM - java classloader
you tried putting the jar in your lib directory and cycling that instance? ~Simon Simon Horwith Adobe Community Expert Adobe Certified Master Instructor http://www.horwith.com Daniel Baughman wrote: Oh man I'm missing something here.. I'm using the javaclass loader to load a meta-data reader for some jpegs. It seems no matter where I put the .jar for the class loader I get the following exception: message: com.compoundtheory.classloader.NetworkClassLoader type: java.lang.ClassNotFoundException I am trying to do it like this page describes: http://www.leavethatthingalone.com/blog/index.cfm/2006/5/16/Using-ColdFusion -to-Read-EXIF-Information-from-JPEGs the line throwing the exception: networkClassLoaderClass = getServerURLClassLoader().loadClass(com.compoundtheory.classloader.NetworkC lassLoader); I have the classloader-20070406174551.jar in the same directory as the script. Whats really wierd is this was working and stopped! I'm banging my head against the desk on this one... Suggestions welcomed.. Dan ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288388 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: sql sever 2000 XP cf8 question
finnaly i just needed sp4 for mssql 2000 ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288390 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT: PURE apache configuration question
But I know many of you out there use apache with your ColdFusion. Where are attempting to restructure our site, we moved some directories around. To be considerate to our users out there that may have links or bookmarks to our content we put 301 redirects into an .htaccess file. This of course also required a modification to the apache httpd.conf file to set an appropriate AllowOverride value. This worked great on our development server and our QA|Prerelease server. Of course that means it completely bombed in the production server, bringing the entire site down. Our error log recorded pages of .htaccess: Redirect not allowed here errors. I have just confirmed that the production httpd.conf file has the same AllowOverride setting as the development and Prerelease server does. Any ideas on what can be at play here? ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288391 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: PURE apache configuration question
Different versions of apache in development and production? -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 1:18 PM To: CF-Talk Subject: OT: PURE apache configuration question But I know many of you out there use apache with your ColdFusion. Where are attempting to restructure our site, we moved some directories around. To be considerate to our users out there that may have links or bookmarks to our content we put 301 redirects into an .htaccess file. This of course also required a modification to the apache httpd.conf file to set an appropriate AllowOverride value. This worked great on our development server and our QA|Prerelease server. Of course that means it completely bombed in the production server, bringing the entire site down. Our error log recorded pages of .htaccess: Redirect not allowed here errors. I have just confirmed that the production httpd.conf file has the same AllowOverride setting as the development and Prerelease server does. Any ideas on what can be at play here? ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288392 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RESOLVED: MSSQL Timeout (Connection: reset)
On 9/12/07, John Paul Ashenfelter [EMAIL PROTECTED] wrote: Folks, Puzzled about this error message. ColdFusion 7.02/Std on Windows 2003/Web connecting to a different machine running MSSQL2000/Std on Windows 20003/Std. Rebooted everything after months of being fine and getting a timeout error The error message from the runtime log is SQLException while attempting to connect: java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]A problem occurred when attempting to contact the server (Server returned: Connection reset). Please ensure that the server parameters passed to the driver are correct and that the server is running. Also ensure that the maximum number of connections have not been exceeded for this server. [Macromedia][SQLServer JDBC Driver]A problem occurred when attempting to contact the server (Server returned: Connection reset) What's weird is this happens on three different VMWare machines running on the same server as the db (this is in a dev environment). I do know that the host machine, which also runs the db, was upgraded to SP2 for Windows 2003 server. Other CF boxes (eg developer machines) and MSSQL tools can connect fine, but not any of the virtual machines. Ideas? Wow. Finally got this fixed and is it a doozy. Turns out that Windows 2003 SP2 has some code it in that enables(?)/changes(?)/breaks some of the higher-end features (like TCP Offloading and RSS) in the Broadcom GBit controller that, among other machines, is onboard for Dell 29XX series servers. Directions to fix it are here using two registry tweaks are here http://www.vmware.com/community/thread.jspa?threadID=78606start=30tstart=0 Uninstalling SP2 apparently works, as does a routing trick, but disabling the features in the card seemed the best choice to me and worked on the first try. -- John Paul Ashenfelter CTO/Transitionpoint (blog) http://www.ashenfelter.com (email) [EMAIL PROTECTED] ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288393 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Getting error message on one page only
I have CFC's that I am using throughout our districts web site and they are all working fine except one. I keep getting the error message that a method cannot be found in the CFC, but the method is there. All works fine on my dev machine. It is when I put it all on my test machine that it does not work. And it is only certain methods in this component. There are other methods on this component that are working fine. Any suggestions? Everything worked fine a couple of days ago. Thanks, Bruce ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288394 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Getting error message on one page only
Bruce, Are you sure that you are not caching the components in the application scope? I find that sometime I forget to re instantiate my components when I add new methods to them. Dan On 9/13/07, Bruce Sorge [EMAIL PROTECTED] wrote: I have CFC's that I am using throughout our districts web site and they are all working fine except one. I keep getting the error message that a method cannot be found in the CFC, but the method is there. All works fine on my dev machine. It is when I put it all on my test machine that it does not work. And it is only certain methods in this component. There are other methods on this component that are working fine. Any suggestions? Everything worked fine a couple of days ago. Thanks, Bruce ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288395 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Getting error message on one page only
No I am not. And the methods that cannot be found were written last Thursday. I just moved everything to the test server yesterday and remembered that I did not check out the specific school sites that I am looking at today. I just find it strange that some of the methods are accessible but others on the same page, written on the same day are not. Strange indeed. Bruce -Original Message- From: Dan Vega Sent: Thursday, September 13, 2007 11:00 AM To: CF-Talk Subject: Re: Getting error message on one page only Bruce, Are you sure that you are not caching the components in the application scope? I find that sometime I forget to re instantiate my components when I add new methods to them. Dan ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288396 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Getting error message on one page only
If you dump the component do you the method? Is it just private and inaccessible? Dan On 9/13/07, Bruce Sorge [EMAIL PROTECTED] wrote: No I am not. And the methods that cannot be found were written last Thursday. I just moved everything to the test server yesterday and remembered that I did not check out the specific school sites that I am looking at today. I just find it strange that some of the methods are accessible but others on the same page, written on the same day are not. Strange indeed. Bruce -Original Message- From: Dan Vega Sent: Thursday, September 13, 2007 11:00 AM To: CF-Talk Subject: Re: Getting error message on one page only Bruce, Are you sure that you are not caching the components in the application scope? I find that sometime I forget to re instantiate my components when I add new methods to them. Dan ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288397 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Getting error message on one page only
No I am not. And the methods that cannot be found were written last Thursday. I just moved everything to the test server yesterday and remembered that I did not check out the specific school sites that I am looking at today. Bruce - make sure any mappings are pointing where you think they are. I had a situation recently where a mapping was pointing to my https (secure) directory. I was uploading cfcs to the http (non-secure) directory, so they didn't seem to be updating. -- Josh ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288399 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Getting error message on one page only
Can you refresh the components in the administrator? ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288400 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Getting error message on one page only
You will get a 'method cannot be found' if you are passing invalid arguments too it, because CF searches for a method with matching arguments. You could have 2 functions: New(int) And New(int, int) Based on if you invoked them as new(2) or new(2,2), Coldfusion would pick different ones to execute. Make sure the arguments you are passing match what is required for the function! Chris Peterson Gainey IT Adobe Certified Advanced Coldfusion Developer -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 2:04 PM To: CF-Talk Subject: RE: Getting error message on one page only No I am not. And the methods that cannot be found were written last Thursday. I just moved everything to the test server yesterday and remembered that I did not check out the specific school sites that I am looking at today. I just find it strange that some of the methods are accessible but others on the same page, written on the same day are not. Strange indeed. Bruce -Original Message- From: Dan Vega Sent: Thursday, September 13, 2007 11:00 AM To: CF-Talk Subject: Re: Getting error message on one page only Bruce, Are you sure that you are not caching the components in the application scope? I find that sometime I forget to re instantiate my components when I add new methods to them. Dan ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288398 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfform format=flash not appearing outside of firewall
No, that KB article doesn't apply. Flash forms don't rely upon Flash Media Server, but they do require access to the /CFIDE/scripts directory, by default. Visiting this URL returns a permissions error: http://rentonnet.org/cfide/scripts/ Yes, we have the CFIDE folder blocked by IP address. I found a work-around that mentions making a CFIDE folder containing a copy of the scripts folder in the virtual directory which is the default website in IIS. However, there is also the real CFIDE folder there as well. Obviously there is more to this puzzle. ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288401 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Getting error message on one page only
Josh, He mentioned though that he can call other methods from his CFC fine, just not a certain method. ;P Chris Peterson Gainey IT Adobe Certified Advanced Coldfusion Developer -Original Message- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 2:19 PM To: CF-Talk Subject: Re: Getting error message on one page only No I am not. And the methods that cannot be found were written last Thursday. I just moved everything to the test server yesterday and remembered that I did not check out the specific school sites that I am looking at today. Bruce - make sure any mappings are pointing where you think they are. I had a situation recently where a mapping was pointing to my https (secure) directory. I was uploading cfcs to the http (non-secure) directory, so they didn't seem to be updating. -- Josh ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288403 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Getting error message on one page only
I did not think that one could overload ColdFusion component (CFC) methods that way? ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288402 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: MySQL - corrupt table?
Will, one question: is InnoDB tables in your MySQL database? Corrupt table is a very old problem related to MyISAM tables. Hey, I just ran across my old thread here because this problem has crept up again. The table in question is a InnoDB table. It has FK's. It's really irritating because it's so intermittent. One request runs fine. the next, corrupt table error. Then the next runs fine again. This is enough to make me pull my hair out! I've never had it happen on my dev server... only up on CrystalTech's server. Thanks, Will ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288404 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Getting error message on one page only
Well the part that gets me is that it works fine on my dev box. No errors at all. -Original Message- From: Peterson, Chris Sent: Thursday, September 13, 2007 11:12 AM To: CF-Talk Subject: RE: Getting error message on one page only You will get a 'method cannot be found' if you are passing invalid arguments too it, because CF searches for a method with matching arguments. You could have 2 functions: New(int) And New(int, int) Based on if you invoked them as new(2) or new(2,2), Coldfusion would pick different ones to execute. Make sure the arguments you are passing match what is required for the function! Chris Peterson Gainey IT Adobe Certified Advanced Coldfusion Developer ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288405 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Best data type for comments using MySQL?
If I have user comments that could be 500-1000 characters, what datatype should I be using with mySQL 5.0? Thanks, Will ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288406 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Getting error message on one page only
It is a public component. It works on the dev box just fine. And there are about three other methods on this component that work fine. -Original Message- From: Dan Vega [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 11:14 AM To: CF-Talk Subject: Re: Getting error message on one page only If you dump the component do you the method? Is it just private and inaccessible? Dan On 9/13/07, Bruce Sorge [EMAIL PROTECTED] wrote: No I am not. And the methods that cannot be found were written last Thursday. I just moved everything to the test server yesterday and remembered that I did not check out the specific school sites that I am looking at today. I just find it strange that some of the methods are accessible but others on the same page, written on the same day are not. Strange indeed. Bruce -Original Message- From: Dan Vega Sent: Thursday, September 13, 2007 11:00 AM To: CF-Talk Subject: Re: Getting error message on one page only Bruce, Are you sure that you are not caching the components in the application scope? I find that sometime I forget to re instantiate my components when I add new methods to them. Dan ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288407 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Getting error message on one page only
OK, I just put everything on the live server and it works fine. So it is the test environment that is having issues apparently. Now the test environment is actually the live server, it is just in a folder called Test (they have not given me an actual staging server as of yet. Hopefully soon because I hate doing this). So now I have narrowed it down to the dev folder. I will investigate further. Bruce -Original Message- From: Dan Vega Sent: Thursday, September 13, 2007 11:14 AM To: CF-Talk Subject: Re: Getting error message on one page only If you dump the component do you the method? Is it just private and inaccessible? Dan ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288408 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Best data type for comments using MySQL?
Medtext I think. -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 3:05 PM To: CF-Talk Subject: Best data type for comments using MySQL? If I have user comments that could be 500-1000 characters, what datatype should I be using with mySQL 5.0? Thanks, Will ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288409 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cfform format=flash not appearing outside of firewall
Yes, we have the CFIDE folder blocked by IP address. I found a work-around that mentions making a CFIDE folder containing a copy of the scripts folder in the virtual directory which is the default website in IIS. However, there is also the real CFIDE folder there as well. Obviously there is more to this puzzle. No, not really. Whether it's a physical or a virtual directory, you need to allow public access to /CFIDE/scripts, or use the SCRIPTSRC attribute of CFFORM to get the scripts from another URL. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288410 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Best data type for comments using MySQL?
Medtext I think. Thanks andy! I was using longtext. Just making sure... Will ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288411 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Hey, if you had to create this interface, how would you do it?
http://www.flickr.com/photos/[EMAIL PROTECTED]/1374078518/ It's a form that has to stay in this little area (380px X 38px) and it has to be consistently displayed. It's just a small search form, but I'm having trouble getting it to lay out exactly like that using cfform format=flash. Is there an easy way to get a form to layout in that linear manner using flash forms with CF? Or would you just try to style a regular ol' form to fit into that spot? I'd love to do it as a flash form, but for some reason it just doesn't seem to be easy to get it to layout like that. Is there a trick to it? ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288412 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
[SOT] Downloading a zip file using web service
Hi all. we have a client with a zip file which we need to be downloaded to our network. That client provides only web service access to your network. Is it possible to download that zip file using web service? Or web service allows only binary content inserted(may be in a node) in a returned xml file? What do you think about? Cheers ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288413 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Best data type for comments using MySQL?
Med text allows for up to 65,535 characters so that should be plenty. Longtext allows for like millions. -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 3:32 PM To: CF-Talk Subject: Re: Best data type for comments using MySQL? Medtext I think. Thanks andy! I was using longtext. Just making sure... Will ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288414 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: [SOT] Downloading a zip file using web service
I can think of two ways, offhand. The first is, as you said, to insert the zip file as an encoded CDATA region in the XML. However, this seems cumbersome and increases the size of the data stream. What we are doing for providing PDFs via webservices is actually only providing a URL to the PDF via the webservice, then grabbing the PDF via a standard HTTP download. HTH. --Ben Doom Web Specialist wrote: Hi all. we have a client with a zip file which we need to be downloaded to our network. That client provides only web service access to your network. Is it possible to download that zip file using web service? Or web service allows only binary content inserted(may be in a node) in a returned xml file? What do you think about? Cheers ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288415 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
An edit and delete button
I've got an edit and a delete button and want to have a confirmation dialog box if the delete button is submittted. If the edit button is clicked, don't show the confirmation alert popup. Here's what I have. table width=719 border=0 cfoutputform name=form1 method=post action=#cgi.SCRIPT_NAME#/cfoutput tr td width=134 align=rightExisting Stores:/td td width=476 select name=storesid id=storesid option value=Choose Store/option cfoutput query=get_stores option value=#id##left(store, 30)# - !--- #Address# --- #City# #state# /option /cfoutput /select input name=editgogo type=hidden id=editgogo value=yes input type=submit name=edit id=edit value=Edit input name=delete type=submit value=Delete onClick=return verify()/td /tr tr td align=rightnbsp;/td td CFIF ISDEFINED (URL.MESSAGE) CFIF URL.MESSAGE EQ added span class=GreenWindThe store has been added/span CFELSEIF URL.MESSAGE EQ updated span class=GreenWindThe store has been updated/span CFELSEIF URL.MESSAGE EQ deleted span class=GreenWindThe store has been deleted/span /CFIF /CFIF /td /tr /form /table ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288416 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PHP or .Net?
On 9/6/07, John Paul Ashenfelter [EMAIL PROTECTED] wrote: On 9/6/07, Dinner [EMAIL PROTECTED] wrote: On 9/6/07, John Paul Ashenfelter wrote:... I don't know -- that summer class in LOGO really has paid off for me :) forward 100! That comment had me laughing inside, John. Great stuff. Did I mention I was 12 at the time :) I was 6! (or maybe 5) =] First school I ever got kicked out of... for being late, teach said. :-( (:]) ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288417 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfform format=flash not appearing outside of firewall
No, not really. Whether it's a physical or a virtual directory, you need to allow public access to /CFIDE/scripts, or use the SCRIPTSRC attribute of CFFORM to get the scripts from another URL. Honestly, I think I'm doing everything right, but somehow it doesn't seem to be working still. On the cfform on the following page, I set the scriptSrc=web_sites/scripts/cfform.js http://rentonnet.org/EstFinalUB/ A copy of the scripts folder is here and publicly accessible: http://rentonnet.org/web_sites/scripts/ What am I doing wrong? ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288418 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Best data type for comments using MySQL?
Med text allows for up to 65,535 characters so that should be plenty. Longtext allows for like millions. Fixed it! Thanks dude! ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288419 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: PHP or .Net?
Hey - someone should write a cf interperter for logo. Ie cf_logo name=foo commands here /cf_logo cfimage action=writeToBrowser source=#foo# On 9/13/07, Dinner [EMAIL PROTECTED] wrote: On 9/6/07, John Paul Ashenfelter [EMAIL PROTECTED] wrote: On 9/6/07, Dinner [EMAIL PROTECTED] wrote: On 9/6/07, John Paul Ashenfelter wrote:... I don't know -- that summer class in LOGO really has paid off for me :) forward 100! That comment had me laughing inside, John. Great stuff. Did I mention I was 12 at the time :) I was 6! (or maybe 5) =] First school I ever got kicked out of... for being late, teach said. :-( (:]) ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288420 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cfform format=flash not appearing outside of firewall
I just went to the site and I see the flash form. I assume it is the login form? Bruce -Original Message- From: Rebecca Wells Sent: Thursday, September 13, 2007 3:16 PM To: CF-Talk Subject: Re: cfform format=flash not appearing outside of firewall Honestly, I think I'm doing everything right, but somehow it doesn't seem to be working still. On the cfform on the following page, I set the scriptSrc=web_sites/scripts/cfform.js http://rentonnet.org/EstFinalUB/ A copy of the scripts folder is here and publicly accessible: http://rentonnet.org/web_sites/scripts/ What am I doing wrong? ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288421 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfform format=flash not appearing outside of firewall
It shows up. It's just really slow. Which is a different problem altogether. --Ben Doom Rebecca Wells wrote: No, not really. Whether it's a physical or a virtual directory, you need to allow public access to /CFIDE/scripts, or use the SCRIPTSRC attribute of CFFORM to get the scripts from another URL. Honestly, I think I'm doing everything right, but somehow it doesn't seem to be working still. On the cfform on the following page, I set the scriptSrc=web_sites/scripts/cfform.js http://rentonnet.org/EstFinalUB/ A copy of the scripts folder is here and publicly accessible: http://rentonnet.org/web_sites/scripts/ What am I doing wrong? ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288422 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: An edit and delete button
I assume the reason you posted this is because it isn't working. A better approach for this page of yours would be to change the delete 'submit' to a delete 'button'. A submit will automatically send the form, regardless of javascript errors, while a button does only what you tell it to do. In order to use a 'submit' successfully, you would want to put the verify in the form tag. (onSubmit=return verify()) input name=delete type=button value=Delete onClick=if(verify()) {this.form.submit();} let me know how it works for you. William -Original Message -From: [EMAIL PROTECTED] -Date: Sep 13, 2007 14:09 -To: CF-Talkcf-talk@houseoffusion.com -Subj: An edit and delete button - -I've got an edit and a delete button and want to have a confirmation dialog box if the delete button is submittted. If the edit button is clicked, don't show the confirmation alert popup. Here's what I have. -table width=719 border=0 -cfoutputform name=form1 method=post action=#cgi.SCRIPT_NAME# /cfoutput - tr -td width=134 align=rightExisting Stores:/td -td width=476 - select name=storesid id=storesid -option value=Choose Store/option -cfoutput query=get_stores -option value=#id##left(store, 30)# - !--- #Address# --- #City# #state# /option -/cfoutput - /select - - input name=editgogo type=hidden id=editgogo value=yes - input type=submit name=edit id=edit value=Edit - input name=delete type=submit value=Delete onClick=return verify()/td - /tr - tr -td align=rightnbsp;/td -td -CFIF ISDEFINED (URL.MESSAGE) - CFIF URL.MESSAGE EQ added -span class=GreenWindThe store has been added/span -CFELSEIF URL.MESSAGE EQ updated -span class=GreenWindThe store has been updated/span -CFELSEIF URL.MESSAGE EQ deleted -span class=GreenWindThe store has been deleted/span - /CFIF -/CFIF -/td - /tr - /form -/table - - ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288423 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Best data type for comments using MySQL?
My pleasure -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 5:19 PM To: CF-Talk Subject: Re: Best data type for comments using MySQL? Med text allows for up to 65,535 characters so that should be plenty. Longtext allows for like millions. Fixed it! Thanks dude! ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288424 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Resolved: cfform format=flash not appearing outside of firewall
The other things weren't working, enabled public access to the default scripts folder. ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288425 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Best data type for comments using MySQL?
Why not just use VARCHAR()? They can be up to 65,535 characters in length in MySQL 5.0.3 and later. http://dev.mysql.com/doc/refman/5.0/en/string-types.html - Original Message - From: Will Tomlinson [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, September 13, 2007 4:18 PM Subject: Re: Best data type for comments using MySQL? Med text allows for up to 65,535 characters so that should be plenty. Longtext allows for like millions. Fixed it! Thanks dude! ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288428 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: PURE apache configuration question
Well yes, but is there a real difference between 1.3.12 (dev/prerelease) and 1.3.26 (production). I still have not found a definitive answer to this. Is there a possibility that AllowOverrided All is not really 'All'? ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288427 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: java classloader
Dan - You shouldn't move the JavaLoader .jar files around, they should stay in the way they were originally downloaded in. Mark On 9/14/07, Kris Jones [EMAIL PROTECTED] wrote: Did the java classpath on the machine change? I'm using the javaclass loader to load a meta-data reader for some jpegs. It seems no matter where I put the .jar for the class loader I get the following exception: message: com.compoundtheory.classloader.NetworkClassLoader type: java.lang.ClassNotFoundException I am trying to do it like this page describes: http://www.leavethatthingalone.com/blog/index.cfm/2006/5/16/Using-ColdFusion -to-Read-EXIF-Information-from-JPEGs the line throwing the exception: networkClassLoaderClass = getServerURLClassLoader().loadClass(com.compoundtheory.classloader.NetworkC lassLoader); I have the classloader-20070406174551.jar in the same directory as the script. Whats really wierd is this was working and stopped! I'm banging my head against the desk on this one... ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288426 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
FCKEditor Revisited
I am able to enable the file manager / image uploading fuctions of FCKEditor within CF8. Adobe encrypted the config files for both the file manager and image uploading to be DISABLED. So by going to the main FCKEditor's site and downloading the current version, you can get those missing files and replace the ones Adobe locked out. Now the reason that I heard is that it was disabled in the first place is that the FCKEditor file manager isn't too good (which I can agree) and there is a potential security problem which can happen if you do this... what is the security problem? Besides seeing a bit of the directory structure of the site and overwriting image files that other people may have placed, I can't see what other security issue that might be present. My current project is an internal project (intranet) which means less chance of internal people trying to hack it. Is it safe to use the inbuilt features? ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288429 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: An edit and delete button
Onclick=var conf=confirm('You are about to delete this record. Are you sure you want to continue?');return conf; ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 5:10 PM To: CF-Talk Subject: An edit and delete button I've got an edit and a delete button and want to have a confirmation dialog box if the delete button is submittted. If the edit button is clicked, don't show the confirmation alert popup. Here's what I have. table width=719 border=0 cfoutputform name=form1 method=post action=#cgi.SCRIPT_NAME#/cfoutput tr td width=134 align=rightExisting Stores:/td td width=476 select name=storesid id=storesid option value=Choose Store/option cfoutput query=get_stores option value=#id##left(store, 30)# - !--- #Address# --- #City# #state# /option /cfoutput /select input name=editgogo type=hidden id=editgogo value=yes input type=submit name=edit id=edit value=Edit input name=delete type=submit value=Delete onClick=return verify()/td /tr tr td align=rightnbsp;/td td CFIF ISDEFINED (URL.MESSAGE) CFIF URL.MESSAGE EQ added span class=GreenWindThe store has been added/span CFELSEIF URL.MESSAGE EQ updated span class=GreenWindThe store has been updated/span CFELSEIF URL.MESSAGE EQ deleted span class=GreenWindThe store has been deleted/span /CFIF /CFIF /td /tr /form /table ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288430 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: An edit and delete button
http://www.foxytunes.com/artist/bassdrive+-+music+beyond/track/24+7+drum+and+bass+jungle+radio+featuring+live+shows On 9/13/07, Bobby Hartsfield [EMAIL PROTECTED] wrote: Onclick=var conf=confirm('You are about to delete this record. Are you sure you want to continue?');return conf; Then on delete, just mark it deleted, because I'm still surprised how many times I've had to go back and reactivate a record that's been deleted. I would prefer to delete the records than let the client/end user deleted the records because they alway find a way to need that items a minute / hour / day / week later... After that it's kinda dead... Delete it. ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288431 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: FCKEditor Revisited
Andy Chen wrote: Now the reason that I heard is that it was disabled in the first place is that the FCKEditor file manager isn't too good (which I can agree) and there is a potential security problem which can happen if you do this... what is the security problem? Besides seeing a bit of the directory structure of the site and overwriting image files that other people may have placed, I can't see what other security issue that might be present. Well, one thing you can do is to simply disallow folder creation and/or file upload from within FCKEditor instances. Allowing access to an existing file system isn't as big an issue, I'd think, than allowing someone to modify it. And yeah, the file browser could be better, but it's still not half-bad considering it's all HTML and Javascript. A Java applet has much greater ooh shiny potential here, naturally. --Scott ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288432 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfcontent - excel - numbers beginning with 0
Dunno how to do this from CF, but Excel allows you to set a format for a cell. So if you set the cell format as 'text', it won't strip the leading zeros. I just fired up Excel, set one column as a 'text' format, the next untouched, and typed in '01234' in both. The first one (text column) held the zero, the unformatted column stripped it. --Scott ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288435 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfcontent - excel - numbers beginning with 0
Within Excel itself, prefixing a numberish value with an apostrophe will make it render as a string (and be absolved from zero-trimming). Did you try that? cheers, barneyb On 9/13/07, andy mann [EMAIL PROTECTED] wrote: I am creating an excel file in cf7 and all works well except when a part number begins with a 0 - i need the number to always have 5 digits as in 01234 or 12345. i have tried doing a Numberformat(partnum, '0') to no avail. can i force using TabChar or something? noticed the the field in the created excel file will not accept a 0 even typed in manually. thanks in advance -- Barney Boisvert [EMAIL PROTECTED] http://www.barneyb.com/ Got Gmail? I have 100 invites. ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288434 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
cfcontent - excel - numbers beginning with 0
I am creating an excel file in cf7 and all works well except when a part number begins with a 0 - i need the number to always have 5 digits as in 01234 or 12345. i have tried doing a Numberformat(partnum, '0') to no avail. can i force using TabChar or something? noticed the the field in the created excel file will not accept a 0 even typed in manually. thanks in advance ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288433 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Very basic question about lt;cfmail
Thanks. I have tried using your function. replacing br with CRLF (which is chr(13) chr(10);) but still the plain text email I got... all text are continue without break. Hmm... I must have missed something here... ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288436 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Google Maps Tag - CF5
I apologize for being a Luddite on this list but does anyone know of a CF 5.x tag for interfacing Google maps for insertion and display on a local website? Everything I find is CFMX or later. Best Regards, Dennis Powers UXB Internet - A website design and Hosting Company 690 Wolcott Road P.O. Box 6029 Wolcott, CT 06716 Tel: (203)879-2844 http://www.uxbinternet.com/ http://www.uxb.net/ ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288437 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Replacing the CFDJ awards.... ?
The null set is an adequate and equally useful replacement. Dave Watts, CTO, Fig Leaf Software Elequent and to the point as always LOL Thank you for the belly laugh! Best Regards, Dennis Powers UXB Internet - A website design and Hosting Company 690 Wolcott Road P.O. Box 6029 Wolcott, CT 06716 Tel: (203)879-2844 http://www.uxbinternet.com/ http://www.uxb.net/ ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288438 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4