Re: displaying times on the screen
Hi there I tried that and still not with any degree of luck. This is proving a little frustrating - I'm close to getting it done but still miles away so it seems. Toby On 9/14/07, Robert Harrison [EMAIL PROTECTED] wrote: 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 . ~| 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:288453 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?
Will Tomlinson wrote: If I have user comments that could be 500-1000 characters, what datatype should I be using with mySQL 5.0? Some type that accepts unicode. 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:288452 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Simple .NET Class
Hi Did you have the Empty Constructor in .Net. also have u used Namespace for ur Class library . if u used namespace u have to call like namespace.classname in the CF If u still face any issue can u send me the .Net source code to wrvishnu (at)Gmail(dot)(com) I'm trying to invoke a simple .NET class from CF8 Can't get it to work, just get Detail The assembly that contains the class must be provided to the assembly attribute. Message Class CfTest not found in the specified assembly list. cfobject action=create type=.net name=test class=CfTest assembly=D:/Test.dll / The dll I wrote, really simple just has a method to return a fixed integer. The reason I wrote this is to try to trouble shoot why I can't get another .NET sample working. Any ideas. Regards Dale Fraser http://learncf.com ~| 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:288454 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
On Thursday 13 Sep 2007, [EMAIL PROTECTED] wrote: 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? :/ I've not tested on CF, but in kRegExpEditor, (.)+ would match that portion of the string, so I'd expect it to vanish as indicated. -- Tom Chiverton Helping to quickly engineer industry-wide 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. ~| 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:288455 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: HomeSite Freezes and kills file
On Friday 14 Sep 2007, [EMAIL PROTECTED] wrote: Anyone know how to fix this problem? Use CFEclipse :-) -- Tom Chiverton Helping to seamlessly exploit third-generation metrics on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Create robust enterprise, web RIAs. Upgrade 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:288456 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: [CF-Dev] Adobe Max 2007
I've heard that there are discount tix avail for education employees... william -Original Message- From: Eric Roberts [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: 9/13/2007 6:07 PM Subject: RE: [CF-Dev] Adobe Max 2007 I am in the same boat...I can't afford to go to either adobe max or CFUnited express here in Chicago *pout* Eric -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 6:10 AM To: CF-Talk Subject: Re: [CF-Dev] Adobe Max 2007 On Wednesday 12 Sep 2007, [EMAIL PROTECTED] wrote: I meant the Europe one 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). -- Tom Chiverton Helping to dynamically engineer mission-critical users 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 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:288457 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
Hi Thanks for all suggestion... but still I cannot find solution. Okay... let me describe once again. We have 3 kinds of members... type 1 : want to receive news by ordinary email (html) type 2 : want to receive news by cellphone email (Plain text only) type 3 : by fax. (later.. will try to send fax from those HTML page) I make the message content in database, so that from here.. we can send automatically to ordinary email (html), cellphone email (plain text) and later by fax (using fax server). So... I try to avoid making separate content for separate members... just from this one type of content I can send to all members. (html, plain, and fax) The problem is... How can I send plain text email taken from a HTML content. page for example... the actual content are as follows. Pline1BRline2BRline3/P How can I send those above in plain text but still have break line ? If I just replace those BR with chr(13) chr(10); the result would be just like this : line1 line2 line3 Notice above.. that the line is just continue in one line what I want is : (with line break) line1 line2 line3 What is the character code to mimic the carriage return button so that those plain text message understand ? ~| 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:288459 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: [CF-Dev] Adobe Max 2007
On Friday 14 Sep 2007, [EMAIL PROTECTED] wrote: I've heard that there are discount tix avail for education employees... Even if I was, or took up the TA offer, it's still over a grand (so two grand in US dollers) for flights. -- Tom Chiverton Helping to professionally visualize synergistic 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. ~| 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:288458 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: [CF-Dev] Adobe Max 2007
I guess I got lucky. I sold it to my boss as educational and told him that I would take the time off from work as vacation if he paid for the trip. I mean it is educational.. I will be in sessions from 9 am to 6pm every day and signed up for the full day hands on training. I certainly wouldnt qualify it as a vacation. -- Gary Gilbert http://www.garyrgilbert.com/blog ~| 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:288460 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: HomeSite Freezes and kills file
Is there TAG Help for CFMX7 and CFMX8 for CFE? -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Friday, September 14, 2007 4:43 AM To: CF-Talk Subject: Re: HomeSite Freezes and kills file On Friday 14 Sep 2007, [EMAIL PROTECTED] wrote: Anyone know how to fix this problem? Use CFEclipse :-) -- Tom Chiverton Helping to seamlessly exploit third-generation metrics 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. ~| 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:288461 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Please Help - deploying CF 7.2 enterprise on Jrun 4 / unix
Hi All I'm having some problems with an install of CF 7. I was running a deply script that had previously worked fine but this time it messed up CF server. When I opened a page it said: There is no web application configured to service your request When I look at the JRun Management Console Cold Fision is no longer listed for the site I am using. Before I have re-deployed CF which worked fine and maintained all of the settings. This time I am having to deploy it from scratch. I found an ear to use: /rootdirname/jrun4/servers/warsears/adobe/cf7_2.ear and it seemed to deploy fine. However when I try to load a file from the server it says it can't find the file. Cf is looking in /rootdirname/jrun4/servers/apt/cfflex-ear/cfflex-war instead of /rootdirname/jrun4/servers/apt/cfusion-ear/cfusion-war in Jrun ADmin I've noticed that all teh other sites have the root directory set to: file:/rootdirname/jrun4/servers/app name/cfusion-ear/ but after I have deployed the new build it is: file:/rootdirname/jrun4/servers/warsears/adobe/cf7_2.ear I really jsut wnat to know how I can deploy it to the cfusion-war directory instead of the cfflex-war directory. Working out how to re-setup the directories will be the next challenge! I really hope someone can help. Thanks Giles. ~| 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:288462 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: HomeSite Freezes and kills file
Sure, is and Railo and Blue Dragon. On 9/14/07, ColdFusion [EMAIL PROTECTED] wrote: Is there TAG Help for CFMX7 and CFMX8 for CFE? -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Friday, September 14, 2007 4:43 AM To: CF-Talk Subject: Re: HomeSite Freezes and kills file On Friday 14 Sep 2007, [EMAIL PROTECTED] wrote: Anyone know how to fix this problem? Use CFEclipse :-) -- Tom Chiverton Helping to seamlessly exploit third-generation metrics 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 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:288463 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
http://www.foxytunes.com/artist/bassdrive+-+music+beyond/track/24+7+drum+and+bass+jungle+radio+featuring+live+showsOn 9/13/07, Bobby Hartsfield [EMAIL PROTECTED] wrote: ? ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com Instead of cfquery datasource=dsn Delete from table where id = #id# /cfquery I use cfquery datasource=dsn Update table set IsDeleted = 1 where id = #id# /cfquery IsDeleted or isActive is an extra column I create in all of my tables. The all of my database extractions have an extra and statement in them. cfquery datasource=dsn name=rsGetRecords Select cols from table Where id = #id# and IsDeleted = 0 /cfquery I've found that even with the javascript popup box, people still continue to delete records they really want. This is a sure fire way to become the hero when they call wondering if there is a way for you to restore something they deleted. You might be able to get this record from a backup tape but this would be a great deal quicker. Casey ~| 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:288465 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
submit are form variables... NOT URL On 9/14/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: 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:288466 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Links in CFDOCUMENT
Hi Mikkel, I have posted this on adobe forum but i will post here too. There is an argument keepBookmark. By default its false. Keep it to true and it will solve this problem. A little more about keepBookmark: This variable tells us whether user wants to retain/merge bookmarks,page labels, structure, OCC etc in the merged pdf. Somehow links in pdf's generated through cfdocument require this to honor them. So as a thumb rule unless required otherwise keep it true I am not sure if internal links( by adding #page=2) will work.I shall check upon that but creating an anchor and pointing that should work though. ~chandan ~| 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:288464 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
Tom, You can always flight to Barcelona and attend MAX Europe. Not only the flight is cheaper but also to attend MAX is cheaper. The costs my company spent sending me each year to MAX US, is enough to send can now be 3 at MAX this year. -- João Fernandes www.onflexwithcf.org www.riapt.org ~| 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:288467 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: [CF-Dev] Adobe Max 2007
On Friday 14 Sep 2007, [EMAIL PROTECTED] wrote: You can always flight to Barcelona and attend MAX Europe. Not only the flight is cheaper but also to attend MAX is cheaper. The costs my company spent sending me each year to MAX US, is enough to send can now be 3 at MAX this year. Indeed. But even with the increased size and time span this year, I expect Scotch will be very very much cheaper. We'll see. -- Tom Chiverton Helping to ambassadorially network B2C partnerships on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at 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. ~| 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:288468 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
Whilst we haven't announced pricing, yes, we will be much cheaper than MAX even with all the changes. Andy On 14/09/2007, Tom Chiverton [EMAIL PROTECTED] wrote: On Friday 14 Sep 2007, [EMAIL PROTECTED] wrote: You can always flight to Barcelona and attend MAX Europe. Not only the flight is cheaper but also to attend MAX is cheaper. The costs my company spent sending me each year to MAX US, is enough to send can now be 3 at MAX this year. Indeed. But even with the increased size and time span this year, I expect Scotch will be very very much cheaper. We'll see. -- Tom Chiverton Helping to ambassadorially network B2C partnerships on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at 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 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:288469 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
The code I sent you via this forum is actual working production code that we use in many places daily. Maybe the difference can be with character sets? 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: Hi Thanks for all suggestion... but still I cannot find solution. Okay... let me describe once again. We have 3 kinds of members... type 1 : want to receive news by ordinary email (html) type 2 : want to receive news by cellphone email (Plain text only) type 3 : by fax. (later.. will try to send fax from those HTML page) I make the message content in database, so that from here.. we can send automatically to ordinary email (html), cellphone email (plain text) and later by fax (using fax server). So... I try to avoid making separate content for separate members... just from this one type of content I can send to all members. (html, plain, and fax) The problem is... How can I send plain text email taken from a HTML content. page for example... the actual content are as follows. Pline1BRline2BRline3/P How can I send those above in plain text but still have break line ? If I just replace those BR with chr(13) chr(10); the result would be just like this : line1 line2 line3 Notice above.. that the line is just continue in one line what I want is : (with line break) line1 line2 line3 What is the character code to mimic the carriage return button so that those plain text message understand ? ~| 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:288470 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
capturing barcode keystrokes
Anyone have tips on capturing the keystrokes that come off of a barcode scanner? I would have the user clink into a text area, but that is clunky. I suppose this is more of a javascript thing. ~| 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:288471 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: capturing barcode keystrokes
You'll need to set the focus of the text input via javascript. On 9/14/07, Chad Gray [EMAIL PROTECTED] wrote: Anyone have tips on capturing the keystrokes that come off of a barcode scanner? I would have the user clink into a text area, but that is clunky. I suppose this is more of a javascript thing. -- 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:288473 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Simple .NET Class
See if this helps you: http://wrvishnu.wordpress.com/2007/09/12/coldfusion-net-integeration/ M!ke -Original Message- From: Dale Fraser [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 10:18 PM To: CF-Talk Subject: Simple .NET Class I'm trying to invoke a simple .NET class from CF8 ~| 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:288472 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
handling missing files in IIS 7
In the older version of IIS there was a check that files exists checkbox that could be used to find requests for .cfm files that didn't exists and specify a redirect page. Does anyone know how to handle this with IIS 7? The custom errors page still misses out on requests for missing .cfm page and I get the error: File not found: /bob.cfm How can I take care of this? ~| 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:288474 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
This works, cfset finishtime = 11:00:00 cfset timeremaining = Now() cfset hoursremaining = DateDiff(h, TimeFormat(Now(), hh:mm:ss), finishtime) cfset minutesremaining = DateDiff(n, TimeFormat(Now(), hh:mm:ss), finishtime) cfif minutesremaining gte 60 cfset minutesremaining = minutesremaining - 60 /cfif cfset timeremaining = hoursremaining : minutesremaining cfoutput #finishtime# #timeremaining#br / /cfoutput - Wil Genoveses 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 ~| 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:288476 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: capturing barcode keystrokes
Still kind of clunky... Anyway to not have to worry about focus on the text input at all? Just capture the keys and submit them to the action page? Thanks for the reply! Chad -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Friday, September 14, 2007 10:14 AM To: CF-Talk Subject: Re: capturing barcode keystrokes You'll need to set the focus of the text input via javascript. On 9/14/07, Chad Gray [EMAIL PROTECTED] wrote: Anyone have tips on capturing the keystrokes that come off of a barcode scanner? I would have the user clink into a text area, but that is clunky. I suppose this is more of a javascript thing. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| 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:288475 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: capturing barcode keystrokes
There's no way of knowing whether the keys come from the barcode scanner or the user's keyboard, unless you have a special character programmed into the scanner as the start and end of the barcode sequence (a character that can't be typed by the user with any ease - have a look at the ascii set for these). On 9/14/07, Chad Gray [EMAIL PROTECTED] wrote: Still kind of clunky... Anyway to not have to worry about focus on the text input at all? Just capture the keys and submit them to the action page? Thanks for the reply! Chad -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Friday, September 14, 2007 10:14 AM To: CF-Talk Subject: Re: capturing barcode keystrokes You'll need to set the focus of the text input via javascript. On 9/14/07, Chad Gray [EMAIL PROTECTED] wrote: Anyone have tips on capturing the keystrokes that come off of a barcode scanner? I would have the user clink into a text area, but that is clunky. I suppose this is more of a javascript thing. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| 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:288477 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: I've not tested on CF, but in kRegExpEditor, (.)+ would match that portion of the string, so I'd expect it to vanish as indicated. Ahh - because that's not what I sent. I wonder if it didn't get mucked with in transition. (.|\n)+?, or more spelled out to be safe, LTsymbol - left parenthesis - period - pipe - backslash - lowercase n - right parenthesis - plus sign - question mark - GTsymbol in case it gets mucked in transition again. :) ~| 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:288478 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
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) Do you mean one function with two arguments, one of which that is not required? You cannot overload methods in CF, and will encounter an error that you cannot define a method with the same name twice if you attempt it. Rich ~| 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:288479 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
Kris, Dan, Thanks for feedback. I'm understanding that the javaloader.cfc and the classloader .jar should be in the working directory of the script, right? I have classloader-20070406174551.jar, JavaLoader.cfc, and metadata-extractor-2.3.1.jar all in the same directory as the script and I'm using the following code to use them: photoFile = createObject(java,java.io.File).init(photo); //set the path paths = ArrayNew(1); paths[1] = expandPath(metadata-extractor-2.3.1.jar); //create the loader loader = createObject(component, JavaLoader).init(paths); //create the JpegMetadataReader instace JpegMetadataReader = loader.create(com.drew.imaging.jpeg.JpegMetadataReader); //Read jpg file JpegMetadata = JpegMetadataReader.readMetadata(photoFile); //get directory iterator JpegDirectories = jpegMetadata.getDirectoryIterator(); Does the classloader jar need to be in the lib/ext dirs or soemthing? I've tried a few different things on two different servers. Regards, -Original Message- From: Mark Mandel [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 4:00 PM To: CF-Talk Subject: 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-Co ldFusion -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:288480 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
Many thanks to all replies ended up doing it with JavaScript document.send_to_cart.submit(); Thanks again Seamus 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 ~| 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:288481 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Google Maps Tag - CF5
Michael, Try this http://www.blayter.com/john/cf_googlemap/ Thank you I was afraid I would have to roll my own. 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/ -Original Message- From: Michael E. Carluen [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 7:53 PM To: CF-Talk Subject: RE: Google Maps Tag - CF5 Try this http://www.blayter.com/john/cf_googlemap/ It's a custom tag, not a cfc. -Original Message- From: Dennis Powers [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 4:42 PM To: CF-Talk Subject: 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/ ~| 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:288482 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
default for Jrunconfig Ssl false
If the entry for JRunConfig Ssl {value} is commented out, what is the default? ~| 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:288484 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
Is there any easy to way to determine whether or not the 'mod_alias module needed for the redirect directive is or is not correctly installed? ~| 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:288485 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
How to write files to a local hard disk?
We are trying to figure out a way to right text files to a user's local hard disk via a coldfusion page. Anyone have suggestions? Is this possible if the user trusts our website. Thanks for the input. ~| 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:288486 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How to write files to a local hard disk?
We are trying to figure out a way to right text files to a user's local hard That is almost certainly not possible because browsers are designed to stop this kind of thing. That's for malware and viruses. Your best option would be to write the file to a temp directory on your server, then make the resulting file available as a downloadable file. 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 . ~| 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:288487 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Google Maps Tag - CF5
Hi Dennis The Google map API maybe the answer here is a demo script I did a while back as an example of integrating a google map into a page: !-- Developer: J.Diaz Date: 14 July 2007 Script: Dynamic Mapping Utilising GoogleMaps API --- !--- * SETTINGS * --- cfset settings.Logo =Graphic.gif cfset settings.Exhibition =My Adress cfset settings.Address =Some Address cfset settings.Postcode =SO1 cfset settings.Tel =tel: 023 80111 222 cfset settings.title=Google Maps Util cfset settings.key=YOU NEED A KEY !--- * SETTINGS * --- !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; head style type=text/css !-- body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } -- /style meta http-equiv=content-type content=text/html; charset=UTF-8/ titlecfoutput#settings.title#/cfoutput/title script src= http://maps.google.com/maps?file=apiamp;v=2.xamp;key=cfoutput#settings.key#/cfoutput type=text/javascript/script script type=text/javascript //![CDATA[ var map = null; var geocoder = null; function load() { if (GBrowserIsCompatible()) { map = new GMap2(document.getElementById(map)); map.addControl(new GSmallMapControl()); map.addControl(new GMapTypeControl()); //map.setCenter(new GLatLng(37.4419, -122.1419), 13); geocoder = new GClientGeocoder(); showAddress(cfoutput#url.pc#/cfoutput); } } function showAddress(address) { if (geocoder) { geocoder.getLatLng( address, function(point) { if (!point) { alert(address + not found); } else { map.setCenter(point, 13); var marker = new GMarker(point); map.addOverlay(marker); marker.openInfoWindowHtml(cfoutputimg src=#settings.Logo#br/font face=arial size=1#settings.Exhibition#br/#settings.Address#br/#settings.Postcode#br/#settings.Tel#/font/cfoutput); } } ); } } //]] /script /head body onload=load() onunload=GUnload() div id=map style=width: 500px; height: 300px/div /body /html Obviously the data is hardcoded and would idelly be called from a db. To include this script within another page you could maybe utilse a iframe: div align=center iframe src =PATH TO YOUR SCRIPT width=550px height=350px frameborder= 0 /iframe /div You will need to get a google map api key from google maps they are free. Hope this helps. Thanks Jose Diaz On 9/14/07, Dennis Powers [EMAIL PROTECTED] wrote: Michael, Try this http://www.blayter.com/john/cf_googlemap/ Thank you I was afraid I would have to roll my own. 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/ -Original Message- From: Michael E. Carluen [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 7:53 PM To: CF-Talk Subject: RE: Google Maps Tag - CF5 Try this http://www.blayter.com/john/cf_googlemap/ It's a custom tag, not a cfc. -Original Message- From: Dennis Powers [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 4:42 PM To: CF-Talk Subject: 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/ ~| 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:288488 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Simple .NET Class
Hi Dawson Its nice and gr8 to see some one is refering my blog . Your post encourage me to write more stuff on coldfusion and .net part also more CF 8 concepts W.R.Vishnuprasad See if this helps you: http://wrvishnu.wordpress.com/2007/09/12/coldfusion-net-integeration/ M!ke I'm trying to invoke a simple .NET class from CF8 ~| 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:288483 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFWindow Refresh problem
Having issue with cfwindow. Created the function called function makeWindow(windowname, windowTitle,goWhere,width4window, height4window) { ColdFusion.Window.create(windowname,windowTitle,goWhere, {refreshOnShow:true,center:true,modal:true,width:width4window,height:height4window}); } and making a call to the function cfoutputmakeWindow('summary','Project Summary','#request.self#?fuseaction=#attributes.XFA.btnSummary#project_id='+MyProjID,700,500);/cfoutput The problem is when this window opens its not refreshOnShow. if i open this window. Inside that window I have a form, i submit the form saw the confirmation page, and closed the window. now if ever I come back to same window, it shows me the confirmation page, not the form page. Also is there any way to get the window name from Javascript? Any trick to close the window if you don't know the name of the window? or just to check if this window is open or not? Thanks. ~| 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:288489 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: How to write files to a local hard disk?
JB Cameron wrote: We are trying to figure out a way to right text files to a user's local hard disk via a coldfusion page. Anyone have suggestions? Is this possible if the user trusts our website. Thanks for the input. Write vs right? :D Can't be done, as far as I know, like the other fellow said - but the next best thing is to write the file out to your webserver's file system, then automatically kick over to a page that serves up said file as a download with cfcontent. ~| 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:288490 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: How to write files to a local hard disk?
While this is an very bad idea for reasons already clarified. It could be possible if the server and client are on a common network, such as a corporate intranet. If the two computers can be made to share file resources over this network with proper configurations and permissions, then ColdFusion could write a file to the client's shared drive. Other then this very special and specific scenario, then no this is not possible for very good reasons. Ian ~| 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:288491 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: How to write files to a local hard disk?
We are trying to figure out a way to right text files to a user's local hard disk via a coldfusion page. Anyone have suggestions? Is this possible if the user trusts our website. Thanks for the input. Thanks for all the responses, I was afraid the answer was going to be no. I understand the reasons and agree. It just would have been helpful. JB ~| 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:288492 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: capturing barcode keystrokes
I have an app I wrote in PHP that scans pharmaceuticals in and I used the above javascript method to always set focus to the text box I dont know of any other way for the browser to see the keys. I guess you could use a javascript event listener to watch for keystrokes but even then how would you determine it was the scanner or the user typing?? Eric Haskins On 9/14/07, James Holmes [EMAIL PROTECTED] wrote: There's no way of knowing whether the keys come from the barcode scanner or the user's keyboard, unless you have a special character programmed into the scanner as the start and end of the barcode sequence (a character that can't be typed by the user with any ease - have a look at the ascii set for these). On 9/14/07, Chad Gray [EMAIL PROTECTED] wrote: Still kind of clunky... Anyway to not have to worry about focus on the text input at all? Just capture the keys and submit them to the action page? Thanks for the reply! Chad -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Friday, September 14, 2007 10:14 AM To: CF-Talk Subject: Re: capturing barcode keystrokes You'll need to set the focus of the text input via javascript. On 9/14/07, Chad Gray [EMAIL PROTECTED] wrote: Anyone have tips on capturing the keystrokes that come off of a barcode scanner? I would have the user clink into a text area, but that is clunky. I suppose this is more of a javascript thing. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/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:288493 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Simple .NET Class
No problem. Your blog is very helpful! Here is one for you... Show us how to call a .NET method that expects an object. Specifically, how to create an Active Directory account using the DirectoryServices assembly. cfset parent = createObject(dotnet, System.DirectoryServices.DirectoryEntry, C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.directoryservices. dll) I can get about this far, but I can't call the methods that require object parameters. I can also do this in VB.NET inside a SQL 2005 SSIS package, but I can't figure out how to convert it to CF8. If you can figure this out, you will the hero of many, many people. M!ke -Original Message- From: vishnu prasad [mailto:[EMAIL PROTECTED] Sent: Friday, September 14, 2007 12:24 PM To: CF-Talk Subject: Re: Simple .NET Class Hi Dawson Its nice and gr8 to see some one is refering my blog . Your post encourage me to write more stuff on coldfusion and .net part also more CF 8 concepts W.R.Vishnuprasad ~| 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:288494 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
The most likely difference is in permissions, particularly groups, depending on how your apache is installed and how you copied things over. There's a good chance that your htaccess file has the wrong permissions/ownership depending on the details of how it was uploaded and tweaked once there. On 9/14/07, Ian Skinner [EMAIL PROTECTED] wrote: Is there any easy to way to determine whether or not the 'mod_alias module needed for the redirect directive is or is not correctly installed? ~| 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:288495 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?
Isn't that pretty much the same as Flash ;) On 9/13/07, Raymond Camden [EMAIL PROTECTED] wrote: 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. :-( (:]) ~| 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:288496 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CFXML and reference to entity ... must end with the ';'
I am trying using cfxml to output the results of a query into valid xml but keep getting the Reference to entity must end with the ';' error. I know that it is because I have an or double quotes in there somewhere.Is there a function I can use to replace all these invalid characters with the correct syntax? I would hate to search each record for each one.. Thank you in advance My code is as follows.. cfxml variable=GetCases Cases CIID=671222 cfoutput query=GetCases QuestID#trim(QuestID)#/QuestID StatusCode#trim(StatusCode)#/StatusCode CreateDate#trim(CreateDate)#/CreateDate ContactName#trim(ContactName)#/ContactName ContactPhone#trim(ContactPhone)#/ContactPhone TimeZone#trim(TimeZone)#/TimeZone ContactDate#trim(ContactDate)#/ContactDate ContactTime#trim(ContactTime)#/ContactTime /cfoutput /Cases /cfxml ~| 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:288497 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
The most likely difference is in permissions, particularly groups, depending on how your apache is installed and how you copied things over. There's a good chance that your htaccess file has the wrong permissions/ownership depending on the details of how it was uploaded and tweaked once there. That would be cool, that is a problem I can easily deal with. Can you give a quick insight into the proper permissions for the .htaccess file? TIA Ian Skinner ~| 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:288498 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFXML and reference to entity ... must end with the ';'
Why aren't you using xmlFormat()? cheers, barneyb On 9/14/07, Shane Trahan [EMAIL PROTECTED] wrote: I am trying using cfxml to output the results of a query into valid xml but keep getting the Reference to entity must end with the ';' error. I know that it is because I have an or double quotes in there somewhere.Is there a function I can use to replace all these invalid characters with the correct syntax? I would hate to search each record for each one.. Thank you in advance My code is as follows.. cfxml variable=GetCases Cases CIID=671222 cfoutput query=GetCases QuestID#trim(QuestID)#/QuestID StatusCode#trim(StatusCode)#/StatusCode CreateDate#trim(CreateDate)#/CreateDate ContactName#trim(ContactName)#/ContactName ContactPhone#trim(ContactPhone)#/ContactPhone TimeZone#trim(TimeZone)#/TimeZone ContactDate#trim(ContactDate)#/ContactDate ContactTime#trim(ContactTime)#/ContactTime /cfoutput /Cases /cfxml -- Barney Boisvert [EMAIL PROTECTED] http://www.barneyb.com/ Got Gmail? I have 100 invites. ~| 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:288500 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFXML and reference to entity ... must end with the ';'
I believe the XMLFormat() function is designed for this purpose. ~| 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:288499 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFXML and reference to entity quot;...quot; must end with the ';'
I figured it out.. use XMLFormat.. ~| 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:288501 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
was(webservice issues) Protocol problems
Ok...got the webservice running. Now we are running into an issue that is butting heads with our security policies. SOAP is still considered html for this, so we cannot use it. What I was thinking was using RMI via java to do essentially what the web service is doing. I was thinking of it calling to a cfc (if this is possible...keep in mind I am still atthe thoretical level) that resides in our trusted zone that creates a java object that is called by a java object on our DMZ. I am blazing new territory for myself here. If this isn't possible, then I am just going to havbe to learn EJB's. Is this even feasable? Our main problem is that we don;t have the Java resources to do this. I know java somewhat...mainly from a java in cf perspective, so we are looking ofr a mainly CF solution. Any help, again, would be appreciated (and thanks to everyone who piped in earlier..you guys were a lot of help!) It's amazing how after 10 years of doing this you can feel like such a noob hehehhe *grin* Eric ~| 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:288502 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFXML and reference to entity quot;...quot; must end with the ';'
Ahhh Yes, XMLFormat.. Thank you ~| 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:288503 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
You state that you are creating an Excel file... Is that an actual Excel binary file or is it a CSV file? As Barney stated, Excel isn't going to allow a number with leading zeros. You can format to display zeros in any app including Excel, but formatting and actual data content are 2 different beasts. If your users will be importing the data into their accounting software as a true number, then who cares if it has leading zeros. I'm sure that the accounting database will not store a number with leading zeros anyway. If it does, then it is text, not numeric. If you are creating CSV content that is streamed and opened in Excel, you can use =0001234 and Excel will display the leading zeros. Keep in mind that even though Excel displays it as you wish, the CSV content still contains =0001234. So... col1,col2 1,=001 will display as you wish in Excel, but sure won't import straight into the accounting package. If the users are reviewing the data and possibly modifying before importing, then they can open in Excel using the above format, make their changes and save. When Excel save the file, the equal and double quotes are stripped and the new CSV content will be: col1,col2 1,001 which should import into most anything. But guess what? If they reopen the file in Excel, the leading zeros are gone! I think you really need to decide on what your requirement is; text formatted with leading zeros or an actual numeric value. Terry 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 ~| 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:288504 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?
Bah. More fun to write it in CF. So I did. ;) http://www.coldfusionjedi.com/index.cfm/2007/9/14/Logo-for-ColdFusion--CFImage-Demo On 9/14/07, John Paul Ashenfelter [EMAIL PROTECTED] wrote: Isn't that pretty much the same as Flash ;) On 9/13/07, Raymond Camden [EMAIL PROTECTED] wrote: 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. :-( (:]) ~| 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:288505 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?
My gosh-- that kicks butt. I seriously don't think I would be a programmer if it hadn't been for LogoWriter. But, how do I get to the flip side? I don't have an open-apple key on this PC? :) ~Brad -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Friday, September 14, 2007 2:26 PM To: CF-Talk Subject: Re: PHP or .Net? Bah. More fun to write it in CF. So I did. ;) http://www.coldfusionjedi.com/index.cfm/2007/9/14/Logo-for-ColdFusion--C FImage-Demo ~| 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:288506 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
Check out CFFM as an alternative file manager. Its easy to integrate into FCKEditor and doesn't suffer from some of the BS that the included system does. I see the FCK author has a Finder that is really slick... but no CF version yet. A couple versions back I helped write a better file manager for FCK with one or two other CF guys via the FCK forum. What I did was mostly plug loopholes and try to put in tests that checked to see if some clown had managed to get to a folder they shouldn't be in, and if they were to deal with them. IIRC the early v2 file managers could allow folder traversal to forbidden lands. I haven't gotten too deep into the current code base as I chucked it out in favor of CFFM. -- [EMAIL PROTECTED] Janitor, The Robertson Team mysecretbase.com ~| 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:288507 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: capturing barcode keystrokes
Can you configure the scanner software to prepend the barcode input with an ASCII code not corresponding to a key on the keyboard? -Original Message- From: Eric Haskins [mailto:[EMAIL PROTECTED] Sent: Friday, September 14, 2007 12:34 PM To: CF-Talk Subject: Re: capturing barcode keystrokes I have an app I wrote in PHP that scans pharmaceuticals in and I used the above javascript method to always set focus to the text box I dont know of any other way for the browser to see the keys. I guess you could use a javascript event listener to watch for keystrokes but even then how would you determine it was the scanner or the user typing?? Eric Haskins On 9/14/07, James Holmes [EMAIL PROTECTED] wrote: There's no way of knowing whether the keys come from the barcode scanner or the user's keyboard, unless you have a special character programmed into the scanner as the start and end of the barcode sequence (a character that can't be typed by the user with any ease - have a look at the ascii set for these). On 9/14/07, Chad Gray [EMAIL PROTECTED] wrote: Still kind of clunky... Anyway to not have to worry about focus on the text input at all? Just capture the keys and submit them to the action page? Thanks for the reply! Chad -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Friday, September 14, 2007 10:14 AM To: CF-Talk Subject: Re: capturing barcode keystrokes You'll need to set the focus of the text input via javascript. On 9/14/07, Chad Gray [EMAIL PROTECTED] wrote: Anyone have tips on capturing the keystrokes that come off of a barcode scanner? I would have the user clink into a text area, but that is clunky. I suppose this is more of a javascript thing. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| 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:288508 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Get Next Scheduled Date
Didnt' how else to put in the subject. Here is the scenario.. Given a date, say you have to calculate the corresponding date in the next month, 'corresponding' as in, if 'theDate' is say third wednesday, then 'finalDate' should be third wednesday of next month. I think you got the idea. Ofcourse we cann't do this for 'extra' days like the 'fifth' ones, but for all reasonable dates we should be able to. Below is what I wrote.. and it works ( I think..) I WANT TO KNOW IF THERE IS ANY BETTER/CONCISE WAY of doing this. Please help. cfparam name=theDate default=09/16/2007 cfset fDate=CreateDate(Year(theDate),Month(theDate),1) cfset nmfDate=dateadd(m,1,fDate) cfset ddiff=(dayofweek(fDate)-dayofweek(nmfDate)) cfset finalDate=dateadd(d,ddiff,dateadd(m,1,theDate)) cfif Month(finalDate) eq Month(theDate) cfset finalDate=dateadd(d,-2*ddiff,finalDate) /cfif cfoutput#theDate# is a #DayofWeekasString(DayofWeek(theDate))#/cfoutputbr cfoutput#finalDate# is a #DayofWeekasString(DayofWeek(finalDate))#/cfoutput ~| 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:288509 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Get Next Scheduled Date
Didnt' how else to put in the subject. Here is the scenario.. Given a date, say you have to calculate the corresponding date in the next month, 'corresponding' as in, if 'theDate' is say third wednesday, then 'finalDate' should be third wednesday of next month. I think you got the idea. Ofcourse we cann't do this for 'extra' days like the 'fifth' ones, but for all reasonable dates we should be able to. Below is what I wrote.. and it works ( I think..) I WANT TO KNOW IF THERE IS ANY BETTER/CONCISE WAY of doing this. Please help. cfparam name=theDate default=09/16/2007 cfset fDate=CreateDate(Year(theDate),Month(theDate),1) cfset nmfDate=dateadd(m,1,fDate) cfset ddiff=(dayofweek(fDate)-dayofweek(nmfDate)) cfset finalDate=dateadd(d,ddiff,dateadd(m,1,theDate)) cfif Month(finalDate) eq Month(theDate) cfset finalDate=dateadd(d,-2*ddiff,finalDate) /cfif cfoutput#theDate# is a #DayofWeekasString(DayofWeek(theDate))#/cfoutputbr cfoutput#finalDate# is a #DayofWeekasString(DayofWeek(finalDate))#/cfoutput I realized I don't really have to take the 'first day' of the months to get the diff, I can just add one month to the given date dateadd('m',..) and get the diff. So what better way is there. ~| 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:288510 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: capturing barcode keystrokes
Erik, Many scanners out there allow you to set up custom strings that appear at the beginning of the scan or after the scan, or both. It's a firmware think within the scanners. I use Metrologic scanners and they allow me to set all sorts of parameters. Good luck. Sincerely, Nick Call [EMAIL PROTECTED] -Original Message- From: Billy Cox [mailto:[EMAIL PROTECTED] Sent: Friday, September 14, 2007 1:58 PM To: CF-Talk Subject: RE: capturing barcode keystrokes Can you configure the scanner software to prepend the barcode input with an ASCII code not corresponding to a key on the keyboard? -Original Message- From: Eric Haskins [mailto:[EMAIL PROTECTED] Sent: Friday, September 14, 2007 12:34 PM To: CF-Talk Subject: Re: capturing barcode keystrokes I have an app I wrote in PHP that scans pharmaceuticals in and I used the above javascript method to always set focus to the text box I dont know of any other way for the browser to see the keys. I guess you could use a javascript event listener to watch for keystrokes but even then how would you determine it was the scanner or the user typing?? Eric Haskins On 9/14/07, James Holmes [EMAIL PROTECTED] wrote: There's no way of knowing whether the keys come from the barcode scanner or the user's keyboard, unless you have a special character programmed into the scanner as the start and end of the barcode sequence (a character that can't be typed by the user with any ease - have a look at the ascii set for these). On 9/14/07, Chad Gray [EMAIL PROTECTED] wrote: Still kind of clunky... Anyway to not have to worry about focus on the text input at all? Just capture the keys and submit them to the action page? Thanks for the reply! Chad -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Friday, September 14, 2007 10:14 AM To: CF-Talk Subject: Re: capturing barcode keystrokes You'll need to set the focus of the text input via javascript. On 9/14/07, Chad Gray [EMAIL PROTECTED] wrote: Anyone have tips on capturing the keystrokes that come off of a barcode scanner? I would have the user clink into a text area, but that is clunky. I suppose this is more of a javascript thing. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| 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:288511 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfgrid row highlight color
I want to change the highlight color that you see when you roll your mouse over rows in an HTML cfgrid. The default color is cyan, but I don't see any attribute for modifying this highlight color. Can anyone point me in the right direction? Thanks, Mike ~| 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:288512 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Cffeed - creating RSS Feeds and guid
I'm trying to use cffeed in ColdFusion 8 to create an RSS 2.0 feed. I basically lifted the example from the docs.I'm running into problems with the guid field. I used Feed validator to check what I had (http://feedvalidator.org/docs/warning/MissingGuid.html) and it told me I was missing a GUID field. I added the field in my code: cfset myStruct.item[i].guid = qryRSS.permalink And CF told me it had to be a struct. So if I create a new struct for guid, what do I use as names to refer to the fields? I don't think it is clear in the docs. Can someone correct me? I'm not entirely comfortable with structures so if I'm being daft please point that out gently. Thanks. -Nate ~| 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:288513 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cffeed - creating RSS Feeds and guid
Don't feel too bad. The docs for CFFEED leave a _lot_ out. This blog article is a good example: http://www.coldfusionjedi.com/index.cfm/2007/8/22/Metadata-properties-for-CFFEED So as to your problem, I looked here: http://feedvalidator.org/docs/rss2.html#ltguidgtSubelementOfLtitemgt and I see one example has guid as a simple value. One has it like so: http://feedvalidator.org/docs/rss2.html#ltguidgtSubelementOfLtitemgt So this is what I'd try. cfset myStruct.item[i].guid = structNew() cfset myStruct.item[i].guid.href = qrtRSS.permalink I believe href will then be used for the value. If not, try link perhaps. On 9/14/07, Nathan C. Smith [EMAIL PROTECTED] wrote: I'm trying to use cffeed in ColdFusion 8 to create an RSS 2.0 feed. I basically lifted the example from the docs.I'm running into problems with the guid field. I used Feed validator to check what I had (http://feedvalidator.org/docs/warning/MissingGuid.html) and it told me I was missing a GUID field. I added the field in my code: cfset myStruct.item[i].guid = qryRSS.permalink And CF told me it had to be a struct. So if I create a new struct for guid, what do I use as names to refer to the fields? I don't think it is clear in the docs. Can someone correct me? I'm not entirely comfortable with structures so if I'm being daft please point that out gently. Thanks. -Nate ~| 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:288514 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Cffeed - creating RSS Feeds and guid
-Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Friday, September 14, 2007 5:13 PM To: CF-Talk Subject: Re: Cffeed - creating RSS Feeds and guid Don't feel too bad. The docs for CFFEED leave a _lot_ out. This blog article is a good example: http://www.coldfusionjedi.com/index.cfm/2007/8/22/Metadata-pro perties-for-CFFEED So as to your problem, I looked here: http://feedvalidator.org/docs/rss2.html#ltguidgtSubelementOfLtitemgt and I see one example has guid as a simple value. One has it like so: http://feedvalidator.org/docs/rss2.html#ltguidgtSubelementOfLtitemgt So this is what I'd try. cfset myStruct.item[i].guid = structNew() cfset myStruct.item[i].guid.href = qrtRSS.permalink I believe href will then be used for the value. If not, try link perhaps. Gave those a try. Cfdump shows the values are making it into the struct, but something goes wrong in cffeed. The error: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. I assume that means that the name of the vlue they expect is empty and different from the one I have given them. I tried url, href, permalink, link, guid, value and among others. -Nate ~| 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:288515 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Cffeed - creating RSS Feeds and guid
I believe href will then be used for the value. If not, try link perhaps. If I work backwards and read a feed into cffeed there is a linkhref in the guid struct. I'm pretty sure I tried that one going the other direction though. -Nate ~| 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:288516 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 be messing around with the structure of the cfc's and the .jar files for JavaLoader. This is why it isn't working for you. The best option is to put Javaloader in your web root, and invoke it as per normal. Mark On 9/15/07, Daniel Baughman [EMAIL PROTECTED] wrote: Kris, Dan, Thanks for feedback. I'm understanding that the javaloader.cfc and the classloader .jar should be in the working directory of the script, right? I have classloader-20070406174551.jar, JavaLoader.cfc, and metadata-extractor-2.3.1.jar all in the same directory as the script and I'm using the following code to use them: photoFile = createObject(java,java.io.File).init(photo); //set the path paths = ArrayNew(1); paths[1] = expandPath(metadata-extractor-2.3.1.jar); //create the loader loader = createObject(component, JavaLoader).init(paths); //create the JpegMetadataReader instace JpegMetadataReader = loader.create(com.drew.imaging.jpeg.JpegMetadataReader); //Read jpg file JpegMetadata = JpegMetadataReader.readMetadata(photoFile); //get directory iterator JpegDirectories = jpegMetadata.getDirectoryIterator(); Does the classloader jar need to be in the lib/ext dirs or soemthing? I've tried a few different things on two different servers. Regards, -Original Message- From: Mark Mandel [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 4:00 PM To: CF-Talk Subject: 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-Co ldFusion -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... ~| 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:288517 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CF Developers Edition SMTP Server
Is there a way to have an SMTP server on a Windows XP machine or are there free SMTP servers out there that can be used to test email functionality along side Coldfusion's developer edition? If anyone has any other ideas, I would appreciate it very much. 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:288518 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 Developers Edition SMTP Server
I have been using this one http://www.argosoft.com/RootPages/MailServer/Default.aspx I see there is a .net version now http://www.argosoft.com/RootPages/MailServerNET/Default.aspx On 9/15/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is there a way to have an SMTP server on a Windows XP machine or are there free SMTP servers out there that can be used to test email functionality along side Coldfusion's developer edition? If anyone has any other ideas, I would appreciate it very much. Thanks D ~| 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:288519 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: charting solution for using with CF
Hi there I'm trying to find a good charting tool to use with CF and also with a MSSQL database to produce graphs and also dashboard style reports/graphs. Wondering what tools software people have used for doing this. Look forward to seeing replies. Many thanks Toby You may also try FusionCharts. It can easily be integrated with ColdFusion. The online documentation of FusionCharts has a separate section on how to use it with ColdFusion. You can get more information at: http://www.fusioncharts.com/ To read the documentation, visit: http://www.fusioncharts.com/Docs/index.html and then drill down to Guide for Web Developers Using with ColdFusion. ~| 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:288520 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4