Re: Variable Amount of text in a Fixed Size Box
Is there any way that you can have the client enter the teaser text seperately from the main article body, i.e. 'teaser copy'. This could be used for page meta description, search results, etc. and will hand responsibility to the client for ensuring it fits. Hopefully, they'll be so frustrated that they'll hire a web designer... :p Dominic On 1 June 2010 05:06, Les Mizzell lesm...@bellsouth.net wrote: Client configured fonts are a PAIN in these situations. Plus you have to account for HTML in your count. First thing I do to the text is strip all HTML!! The client cuts/pastes from Word like CRAZY, and we all know what that crap looks like ... I clean it on the way into the database to start with, then strip all the HTML on output for this particular box... __ Information from ESET NOD32 Antivirus, version of virus signature database 5160 (20100531) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334169 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Comma delimited list
Hi Bill, looks like you just need to reference your getlistings query: !--- Loop through all listings --- cfloop query=getlistings !--- Display listing details here --- !--- Display feature codes --- cfloop index=code list=#getlistings.FEATURE_CODES# delimiters=#chr(44)# cfif structKeyExists(featureCodes,code) #featureCodes[code]# cfelse #code# /cfif /cfloop /cfloop On 1 June 2010 14:17, Bill Hartley b...@whdservices.com wrote: THIS IS REALLY CLOSE - THANK YOU SO FAR :-) The actual list inf feature codes come from a different query and for that matter a different table...here is the code for the first queryI almost had this working and then went through a block So it needs to read the list of feature_codes from the first query then display the matching feature_description in the second querystill with me? :-/ is this really easier than I'm making it out to be? --- CFQUERY name=getlistings datasource=flidx_data MAXROWS=10 SELECT * FROM listings WHERE listings.TLN_FIRM_ID = '2014415' OR listings.TLN_FIRM_ID = '242913' OR listings.TLN_FIRM_ID = '2010937' ORDER BY sale_price DESC /CFQUERY !--- Get the feature codes --- cfquery name=featureCodesQuery ... select feature_code, feature_description from featureCodes /cfquery !--- Put the feature codes into a struct --- cfset featureCodes = {} cfloop query=featureCodes cfset featureCodes[feature_code] = feature_description /cfloop !--- Display the feature codes --- cfloop index=code list=#FEATURE_CODES# delimiters=#chr(44)# cfif structKeyExists(featureCodes,code) #featureCodes[code]# cfelse #code# /cfif /cfloop - On Mon, May 31, 2010 at 8:12 PM, Kevan Stannard ke...@stannard.net.au wrote: Hi Bill, this is the idea I was getting at: !--- Get the feature codes --- cfquery name=featureCodesQuery ... select feature_code, feature_description from featureCodes /cfquery !--- Put the feature codes into a struct --- cfset featureCodes = {} cfloop query=featureCodes cfset featureCodes[feature_code] = feature_description /cfloop !--- Display the feature codes --- cfloop index=code list=#FEATURE_CODES# delimiters=#chr(44)# cfif structKeyExists(featureCodes,code) #featureCodes[code]# cfelse #code# /cfif /cfloop On 1 June 2010 09:43, Bill Hartley b...@whdservices.com wrote: Is there a way I can do it with in the CF code on the page itself and not in the select statement in the query? Something like cfset fullname=#MLS_AGENT_NAME# #gettoken(fullname,2,,)# #gettoken(fullname,1,,)# HRBR/CFOUTPUT cfset codelist=#FEATURE_CODES# cfloop index=code list=#codelist# delimiters=#chr(44)# CFIF code EQ #featurecodes.feature_codes# #featurecodes.description# CFELSE #code# /CFIF /cfloop I know this this code is totally wrong but thats the situation that would help me the mostanybody know the correct way to concieve of this? On Sat, May 29, 2010 at 1:45 AM, Kevan Stannard kevan.stann...@gmail.com wrote: A simple option for you is to load all of your feature codes into a structure then loop through your feature codes list and just pull the feature code descriptions from the struct. On 29/05/2010 12:37 PM, Bill Hartley b...@whdservices.com wrote: I am trying to display feature codes from a comma delimited list inside a database. Here is my setup: Table: Listings has a column called FEATURE_CODES and example of the data in this column is B01,E09,E20,G12,J07 Then I have another table inside the same database called FeatureCodes the data inside this table is arranged FEATURE_CODE FEATURE_DESCRIPTION B01 Sold As Is E09 Frame and Stucco and so on I need to display the feature description from the FeatureCodes table on the display page by reading the feature_codes from the listing table Any Suggestions?? Please!! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334170 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: REgarding SQL Server (express vs full)
On 2010-05-31, at 23:49, Dave Watts wrote: Without knowing any more than you've mentioned, I think you'd be fine with Express as long as you conform to whatever its license limitations happen to be. It doesn't come with a management console, but if you don't need that you should be just fine. If by management console you mean SQL Server Management Studio, there is a free Express version. It's missing some features, like the ability to copy a database, but you can download it at http://www.microsoft.com/downloads/details.aspx?FamilyId=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796displaylang=en . I have quite a few clients who use SQL Server Express and as long as your database can run on 1 CPU, in 1GB of RAM and is 4GB in size it works great. For most intranet sites, these wouldn't be practical limitations. - Andrew. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334171 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Variable Amount of text in a Fixed Size Box
Done that one too... It seems like every one that came up had a different solution. Some clients didn't care about html in the boxes, some did. I say start holding the designers accountable. Bring them in and make them help with a solution. I've been away from client to client development for a while and work with a single product daily. Now instead of designers doing such things, we deal with the sales people selling things that don't exist yet... If we can get either of them to stop putting such things in front of clients, BEFORE telling us, life would be too easy :-) -Original Message- From: Les Mizzell [mailto:lesm...@bellsouth.net] Sent: Tuesday, June 01, 2010 12:06 AM To: cf-talk Subject: Re: Variable Amount of text in a Fixed Size Box Client configured fonts are a PAIN in these situations. Plus you have to account for HTML in your count. First thing I do to the text is strip all HTML!! The client cuts/pastes from Word like CRAZY, and we all know what that crap looks like ... I clean it on the way into the database to start with, then strip all the HTML on output for this particular box... __ Information from ESET NOD32 Antivirus, version of virus signature database 5160 (20100531) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334172 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: REgarding SQL Server (express vs full)
Aqua Data studio should work fine as a front end. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334173 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Coldfusion Builder Stored Procedures
Hi, Does anyone know if there's a way to view a databases stored procedures from inside CF builder's RDS Dataview pane? From what I see it displays tables, views, synonyms and system tables but no way to display stored procedures for easy use. This seems like a major flaw to me. Any ideas? Paul Alkema http://paulalkema.com/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334174 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Coldfusion Builder Stored Procedures
I don't believe it is supported. I did a quick search on the CFBuilder public bug tracker and this was the closest related bug: http://cfbugs.adobe.com/bugreport/flexbugui/cfbugtracker/main.html#bugId=75148 It seems a bit broad though. I'd consider adding a very specific bug. I'd vote for it. On Tue, Jun 1, 2010 at 10:13 AM, Paul Alkema paulalkemadesi...@gmail.com wrote: Hi, Does anyone know if there's a way to view a databases stored procedures from inside CF builder's RDS Dataview pane? From what I see it displays tables, views, synonyms and system tables but no way to display stored procedures for easy use. This seems like a major flaw to me. Any ideas? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334175 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Homesite 9 project
I'll be updating Homesite to the latest (CF9) docs. If anyone has any suggestions, requests, whatever, please let me know. I'll also try and update some of the tag controls. I have a program to do this visually but it'll be a long process. Thanks -- Michael Dinowitz Lead Author - Adobe Coldfusion Anthology http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334176 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Homesite 9 project
I'm willing to help. Just let me know what you want me to do! -Original Message- From: Michael Dinowitz [mailto:mdino...@houseoffusion.com] Sent: Tuesday, June 01, 2010 11:31 AM To: cf-talk Subject: Homesite 9 project I'll be updating Homesite to the latest (CF9) docs. If anyone has any suggestions, requests, whatever, please let me know. I'll also try and update some of the tag controls. I have a program to do this visually but it'll be a long process. Thanks -- Michael Dinowitz Lead Author - Adobe Coldfusion Anthology http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/143 0272155/?tag=houseoffusion ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334177 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Homesite 9 project
When done, you should also consider hosting it on RIAForge. We have a misc category. On Tue, Jun 1, 2010 at 10:31 AM, Michael Dinowitz mdino...@houseoffusion.com wrote: I'll be updating Homesite to the latest (CF9) docs. If anyone has any suggestions, requests, whatever, please let me know. I'll also try and update some of the tag controls. I have a program to do this visually but it'll be a long process. Thanks -- Michael Dinowitz Lead Author - Adobe Coldfusion Anthology http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334178 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Homesite 9 project
Michael, Let me know how I can help there are 2 of us here that still use homesite quite a bit. -Mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Michael Dinowitz [mailto:mdino...@houseoffusion.com] Sent: Tuesday, June 01, 2010 10:31 AM To: cf-talk Subject: Homesite 9 project I'll be updating Homesite to the latest (CF9) docs. If anyone has any suggestions, requests, whatever, please let me know. I'll also try and update some of the tag controls. I have a program to do this visually but it'll be a long process. Thanks -- Michael Dinowitz Lead Author - Adobe Coldfusion Anthology http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272 155/?tag=houseoffusion ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334179 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Homesite 9 project
That was the plan. :) On Tue, Jun 1, 2010 at 11:43 AM, Raymond Camden rcam...@gmail.com wrote: When done, you should also consider hosting it on RIAForge. We have a misc category. On Tue, Jun 1, 2010 at 10:31 AM, Michael Dinowitz mdino...@houseoffusion.com wrote: I'll be updating Homesite to the latest (CF9) docs. If anyone has any suggestions, requests, whatever, please let me know. I'll also try and update some of the tag controls. I have a program to do this visually but it'll be a long process. Thanks -- Michael Dinowitz Lead Author - Adobe Coldfusion Anthology http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334180 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Homesite 9 project
Is the homesite docs format the same as CF Studio (html files in these folders: Help\htmldocs, Extensions\Docs\CFMLTags, and Extensions\Docs\CFMLFunctions)? I have an automated process to convert the official help web site to files in this format, but I haven't done it for CF9 yet (since I use CF8). I usually have to tweak the program a bit to handle the latest web site, but for the most part it is pretty easy. Would creating these files for CF9 help? (Do you want the files that I have for CF8?) Thanks Mark -Original Message- From: Michael Dinowitz [mailto:mdino...@houseoffusion.com] Sent: Tuesday, June 01, 2010 11:31 AM To: cf-talk Subject: Homesite 9 project I'll be updating Homesite to the latest (CF9) docs. If anyone has any suggestions, requests, whatever, please let me know. I'll also try and update some of the tag controls. I have a program to do this visually but it'll be a long process. Thanks -- Michael Dinowitz Lead Author - Adobe Coldfusion Anthology http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/143 0272155/?tag=houseoffusion ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334181 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
PDF multi-line input
I have a PDF with a text field that is Multi-Line. You can type into it and use carriage return to write paragraphs of text. So I type in it and use a carriage return. Submit the form to a CFQuery and insert the data into a varchar field. I use CFPDF and CFPDFformparam to take the field from the database and put it back into the PDF form. Everything looks fine. Submit the form again to a CFQuery and update the database. When I go to view the PDF again with the data I have two carriage returns instead of just one. If I keep updating the database I keep getting even more carriage returns. They almost seem to double with each update. How can I prevent this? Do I need to search for LF and replace with CR? Or something similar? I tried this on the update query and it does not help. #replace(FORM.Contact_Name, chr(10), chr(13))# Thanks, Chad ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334182 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: PDF multi-line input
#replace(FORM.Contact_Name, #chr(10)#, #chr(13)#)# You need the ## around the characters. Otherwise you're looking to replace the literal string 'chr(10)'. Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 5164 (20100601) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334183 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: PDF multi-line input
On 6/1/2010 11:48 AM, Robert Harrison wrote: #replace(FORM.Contact_Name, #chr(10)#, #chr(13)#)# You need the ## around the characters. Otherwise you're looking to replace the literal string 'chr(10)'. No you don't. #replace(FORM.Contact_Name, chr(10), chr(13))# Is perfectly fine and clean code. If you where to enclose the chr() functions in quotes, making them stings, then you would need hash characters, but there is little reason to do that, unless you have other characters in your string. #replace(FORM.Contact_Name, #chr(10)#, #chr(13)#)# ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334184 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CF CAPTCHA?
Before I go writing my own CAPTCHA generating method I just want to check to see if CF has something to offer along those lines. I see in CFIMAGE there is a way to generate a CAPTCHA image. Is the rest of the handling there or will I need to write that? Thanks, Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 5164 (20100601) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334185 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
HTML 5, has anyone done anything more than played with it
I'm starting to dig into HTML 5, and so far, apart from some of the CSS3 attributes, I don't see anything that jumps out and says ready for prime time. The browser support is spotty at best, let's be real does it really matter if Opera supports something? If IE and Firefox don't have support for something then it's not mainstream, am I wrong here? Is anyone implementing any of this on a public facing production site? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334186 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF CAPTCHA?
Lyla Captcha http://lyla.maestropublishing.com/ 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. On Jun 1, 2010, at 2:06 PM, Robert Harrison wrote: Before I go writing my own CAPTCHA generating method I just want to check to see if CF has something to offer along those lines. I see in CFIMAGE there is a way to generate a CAPTCHA image. Is the rest of the handling there or will I need to write that? Thanks, Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 5164 (20100601) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334187 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: PDF multi-line input
Either way, it seems to be when I pull the data from the database and use CFPDFFORM and insert it back into the PDF. If I submit the PDF there are extra carriage returns in the data. Using the replace of chr(10) and chr(13) did not help either. It is like the PDF displays single carriage returns, but it submits to the update as double carriage returns. Im stumped! Chad -Original Message- From: Ian Skinner [mailto:h...@ilsweb.com] Sent: Tuesday, June 01, 2010 3:05 PM To: cf-talk Subject: Re: PDF multi-line input On 6/1/2010 11:48 AM, Robert Harrison wrote: #replace(FORM.Contact_Name, #chr(10)#, #chr(13)#)# You need the ## around the characters. Otherwise you're looking to replace the literal string 'chr(10)'. No you don't. #replace(FORM.Contact_Name, chr(10), chr(13))# Is perfectly fine and clean code. If you where to enclose the chr() functions in quotes, making them stings, then you would need hash characters, but there is little reason to do that, unless you have other characters in your string. #replace(FORM.Contact_Name, #chr(10)#, #chr(13)#)# ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334188 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: HTML 5, has anyone done anything more than played with it
While I agree with you that it's not ready, one of the benefits to using it is that if a browser doesn't understand something, then it'll just skip it. And if you're deadset on running your code as fully HTML 5, you could always output it as XML then render it with your own XSLT doc while you wait until it's ready: http://ishtml5readyyet.com/ andy -Original Message- From: Scott Stewart [mailto:webmas...@sstwebworks.com] Sent: Tuesday, June 01, 2010 2:11 PM To: cf-talk Subject: HTML 5, has anyone done anything more than played with it I'm starting to dig into HTML 5, and so far, apart from some of the CSS3 attributes, I don't see anything that jumps out and says ready for prime time. The browser support is spotty at best, let's be real does it really matter if Opera supports something? If IE and Firefox don't have support for something then it's not mainstream, am I wrong here? Is anyone implementing any of this on a public facing production site? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334189 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: HTML 5, has anyone done anything more than played with it
On a side note, here's a dissenting viewpoint: http://ishtml5ready.com/ -Original Message- From: Scott Stewart [mailto:webmas...@sstwebworks.com] Sent: Tuesday, June 01, 2010 2:11 PM To: cf-talk Subject: HTML 5, has anyone done anything more than played with it I'm starting to dig into HTML 5, and so far, apart from some of the CSS3 attributes, I don't see anything that jumps out and says ready for prime time. The browser support is spotty at best, let's be real does it really matter if Opera supports something? If IE and Firefox don't have support for something then it's not mainstream, am I wrong here? Is anyone implementing any of this on a public facing production site? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334190 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: PDF multi-line input
AH HA! Found it. replace(FORM.Customer_Name, Chr(13) Chr(10), chr(13), ALL) Apprently chr(13) chr(10) represents a Windows newline. Looks like this works. I will keep testing. Chad -Original Message- From: Chad Gray [mailto:cg...@careyweb.com] Sent: Tuesday, June 01, 2010 3:32 PM To: cf-talk Subject: RE: PDF multi-line input Either way, it seems to be when I pull the data from the database and use CFPDFFORM and insert it back into the PDF. If I submit the PDF there are extra carriage returns in the data. Using the replace of chr(10) and chr(13) did not help either. It is like the PDF displays single carriage returns, but it submits to the update as double carriage returns. Im stumped! Chad -Original Message- From: Ian Skinner [mailto:h...@ilsweb.com] Sent: Tuesday, June 01, 2010 3:05 PM To: cf-talk Subject: Re: PDF multi-line input On 6/1/2010 11:48 AM, Robert Harrison wrote: #replace(FORM.Contact_Name, #chr(10)#, #chr(13)#)# You need the ## around the characters. Otherwise you're looking to replace the literal string 'chr(10)'. No you don't. #replace(FORM.Contact_Name, chr(10), chr(13))# Is perfectly fine and clean code. If you where to enclose the chr() functions in quotes, making them stings, then you would need hash characters, but there is little reason to do that, unless you have other characters in your string. #replace(FORM.Contact_Name, #chr(10)#, #chr(13)#)# ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334191 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: HTML 5, has anyone done anything more than played with it
So is this the official opinion? ALl I get when I hit that page is the following error. Content Encoding Error The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression. * Please contact the website owners to inform them of this problem. Humorous at least. Wil Genovese Sr. Web Application Developer/ Systems Administrator Wil Genovese Consulting wilg...@trunkful.com www.trunkful.com On Jun 1, 2010, at 2:33 PM, Andy Matthews wrote: On a side note, here's a dissenting viewpoint: http://ishtml5ready.com/ -Original Message- From: Scott Stewart [mailto:webmas...@sstwebworks.com] Sent: Tuesday, June 01, 2010 2:11 PM To: cf-talk Subject: HTML 5, has anyone done anything more than played with it I'm starting to dig into HTML 5, and so far, apart from some of the CSS3 attributes, I don't see anything that jumps out and says ready for prime time. The browser support is spotty at best, let's be real does it really matter if Opera supports something? If IE and Firefox don't have support for something then it's not mainstream, am I wrong here? Is anyone implementing any of this on a public facing production site? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334192 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: HTML 5, has anyone done anything more than played with it
I've seen a couple of Javascript libraries that create support for the semantic tags (header, footer etc), but support for canvas, video and audio won't be mainstream unitl IE9 comes out (I'm not a M$ fanboy, but it is the most widely used browser). On Tue, Jun 1, 2010 at 3:32 PM, Andy Matthews li...@commadelimited.com wrote: While I agree with you that it's not ready, one of the benefits to using it is that if a browser doesn't understand something, then it'll just skip it. And if you're deadset on running your code as fully HTML 5, you could always output it as XML then render it with your own XSLT doc while you wait until it's ready: http://ishtml5readyyet.com/ andy -Original Message- From: Scott Stewart [mailto:webmas...@sstwebworks.com] Sent: Tuesday, June 01, 2010 2:11 PM To: cf-talk Subject: HTML 5, has anyone done anything more than played with it I'm starting to dig into HTML 5, and so far, apart from some of the CSS3 attributes, I don't see anything that jumps out and says ready for prime time. The browser support is spotty at best, let's be real does it really matter if Opera supports something? If IE and Firefox don't have support for something then it's not mainstream, am I wrong here? Is anyone implementing any of this on a public facing production site? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334193 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
cfgrid refresh
I have a bindable cfgrid in cf8 that updates just fine (I see the red triangle in the cell). What I need to know is how to refresh the grid after the update so the original cfc that fills the grid runs again to show new updated information. I found these commands but not sure where to put them or how to call them. Should they be in the page or the cfc? ColdFusion.Grid.refresh('mygrid', true) ColdFusion.Grid.getGridObject('MyGrid').render(); ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334194 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF CAPTCHA?
You need to write the code to pick the string and then do the validation. cfimage simply handles taking your text and making it look funky. This article may help: http://www.coldfusionjedi.com/index.cfm/2008/3/29/Quick-and-Dirty-ColdFusion-8-CAPTCHA-Guide On Tue, Jun 1, 2010 at 2:06 PM, Robert Harrison rob...@austin-williams.com wrote: Before I go writing my own CAPTCHA generating method I just want to check to see if CF has something to offer along those lines. I see in CFIMAGE there is a way to generate a CAPTCHA image. Is the rest of the handling there or will I need to write that? Thanks, Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 5164 (20100601) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334195 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Query Results sent from search engines CGI variable?
I have a client who wants to make their site more user friendly when someone is sent to them from a search engine. What they want is when someone comes from a search engine link that we obtain the original search query (if sent) and in addition to showing the requested page present a list of other items from their site matching an internal search result using that criteria. I know that many search engines send the original search query over to the website I am assuming in the header because I can obtain that information from the web-server log reports. What I don't know is if it is available in the CGI variables Cold Fusion can get from IIS6. Does anyone know if they are available and how to programmatically extract them for use within Cold Fusion? Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334196 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Query Results sent from search engines CGI variable?
Try parsing the cgi.http_referer variable. It won't always have a value, but when it does, you can extract the keywords used when querying the search engine. Regards, Che -Original Message- From: UXB Internet [mailto:denn...@uxbinternet.com] Sent: Tuesday, June 01, 2010 4:35 PM To: cf-talk Subject: Query Results sent from search engines CGI variable? I have a client who wants to make their site more user friendly when someone is sent to them from a search engine. What they want is when someone comes from a search engine link that we obtain the original search query (if sent) and in addition to showing the requested page present a list of other items from their site matching an internal search result using that criteria. I know that many search engines send the original search query over to the website I am assuming in the header because I can obtain that information from the web-server log reports. What I don't know is if it is available in the CGI variables Cold Fusion can get from IIS6. Does anyone know if they are available and how to programmatically extract them for use within Cold Fusion? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334197 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Query Results sent from search engines CGI variable?
What I don't know is if it is available in the CGI variables Cold Fusion can get from IIS6. The few times I've had to do this I parsed out the original query from the CGI.HTTP_Referer variable (URL string of the page that linked to yours). The format is slightly different depending on which engine the user came from, but it's not too hard to get the string out in a usable form. -Justin Scott ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334198 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Query Results sent from search engines CGI variable?
It'll be in the referrer, if present, which is sent by the browser. cgi.http_referer, split it up, check the domain to identify the search engine, and then check the query string to find the search query under the corresponding variable. cheers, barneyb On Tue, Jun 1, 2010 at 1:34 PM, UXB Internet denn...@uxbinternet.com wrote: I have a client who wants to make their site more user friendly when someone is sent to them from a search engine. What they want is when someone comes from a search engine link that we obtain the original search query (if sent) and in addition to showing the requested page present a list of other items from their site matching an internal search result using that criteria. I know that many search engines send the original search query over to the website I am assuming in the header because I can obtain that information from the web-server log reports. What I don't know is if it is available in the CGI variables Cold Fusion can get from IIS6. Does anyone know if they are available and how to programmatically extract them for use within Cold Fusion? Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334199 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Query Results sent from search engines CGI variable?
Try using cfdump to output the CGI scope. Then you will be able to see all the CGI variable available to you. cfdump var=#cgi# Wil Genovese Sr. Web Application Developer/ Systems Administrator Wil Genovese Consulting wilg...@trunkful.com www.trunkful.com On Jun 1, 2010, at 3:34 PM, UXB Internet wrote: I have a client who wants to make their site more user friendly when someone is sent to them from a search engine. What they want is when someone comes from a search engine link that we obtain the original search query (if sent) and in addition to showing the requested page present a list of other items from their site matching an internal search result using that criteria. I know that many search engines send the original search query over to the website I am assuming in the header because I can obtain that information from the web-server log reports. What I don't know is if it is available in the CGI variables Cold Fusion can get from IIS6. Does anyone know if they are available and how to programmatically extract them for use within Cold Fusion? Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334200 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Capturing a Flash Site Screen Shot
I apologize if this information is not applicable since I have come into this thread late. But If you are looking for a screenshot program that captures flash websites and can be accessed via a cfexecute command I have had very good luck with SiteShoter from Nir Sofer. It has been more stable than any other screenshot program we have ever tested and we tested a dozen of them and beast of all it is offered as freeware. http://www.nirsoft.net/utils/web_site_screenshot.html -Original Message- From: Jibu S [mailto:jib...@gmail.com] Sent: Friday, May 28, 2010 4:27 AM To: cf-talk Subject: Re: Capturing a Flash Site Screen Shot ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334201 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Can anyone see what's wrong with this cfc method?
I'm getting this error: Context validation error for the cffunction tag. The start tag must have a matching end tag. An explicit end tag can be provided by adding /cffunction. ... For this cffunction, and I cannot figure out why: cfcomponent displayName=properties hint=Handles Property Data output=false cffunction name = mGetFeaturedProperty displayName = mGetFeaturedProperty hint = Gets Featured Property output= false returnType= query cfset var qGetFeaturedProperty = / cfargument name = dsn2 type = string required = yes / cfquery name = qGetFeaturedProperty datasource=#arguments.dsn2# selectp.property_id, p.property_type, p.street_number, p.street_name, p.city, p.remarks, p.state, p.rental, pl.propertyPhotoLink, pl.photoLabel, fp.featured_property_id from properties p, hmls_property_photo_links pl, cbhr.featured_properties_cbhr fp where p.mls_number = fp.mls_number and substring_index(p.mls_number, '_', 1) = pl.mlsNumber and pl.photoLabel = 'Main View' group by p.property_id order by rand() limit 1 /cfquery cfreturn qGetFeaturedProperty / /cffunction /cfcomponent ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334202 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Can anyone see what's wrong with this cfc method?
Move cfargument above the cfset -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Tuesday, June 01, 2010 5:00 PM To: cf-talk Subject: Can anyone see what's wrong with this cfc method? I'm getting this error: Context validation error for the cffunction tag. The start tag must have a matching end tag. An explicit end tag can be provided by adding /cffunction. ... For this cffunction, and I cannot figure out why: cfcomponent displayName=properties hint=Handles Property Data output=false cffunction name = mGetFeaturedProperty displayName = mGetFeaturedProperty hint = Gets Featured Property output= false returnType= query cfset var qGetFeaturedProperty = / cfargument name = dsn2 type = string required = yes / cfquery name = qGetFeaturedProperty datasource=#arguments.dsn2# selectp.property_id, p.property_type, p.street_number, p.street_name, p.city, p.remarks, p.state, p.rental, pl.propertyPhotoLink, pl.photoLabel, fp.featured_property_id from properties p, hmls_property_photo_links pl, cbhr.featured_properties_cbhr fp where p.mls_number = fp.mls_number and substring_index(p.mls_number, '_', 1) = pl.mlsNumber and pl.photoLabel = 'Main View' group by p.property_id order by rand() limit 1 /cfquery cfreturn qGetFeaturedProperty / /cffunction /cfcomponent ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334203 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Can anyone see what's wrong with this cfc method?
You must put var statements (and other CFML) after any cfargument tag. On Tue, Jun 1, 2010 at 4:00 PM, Rick Faircloth r...@whitestonemedia.com wrote: I'm getting this error: Context validation error for the cffunction tag. The start tag must have a matching end tag. An explicit end tag can be provided by adding /cffunction. ... For this cffunction, and I cannot figure out why: cfcomponent displayName=properties hint=Handles Property Data output=false cffunction name = mGetFeaturedProperty displayName = mGetFeaturedProperty hint = Gets Featured Property output = false returnType = query cfset var qGetFeaturedProperty = / cfargument name = dsn2 type = string required = yes / cfquery name = qGetFeaturedProperty datasource=#arguments.dsn2# select p.property_id, p.property_type, p.street_number, p.street_name, p.city, p.remarks, p.state, p.rental, pl.propertyPhotoLink, pl.photoLabel, fp.featured_property_id from properties p, hmls_property_photo_links pl, cbhr.featured_properties_cbhr fp where p.mls_number = fp.mls_number and substring_index(p.mls_number, '_', 1) = pl.mlsNumber and pl.photoLabel = 'Main View' group by p.property_id order by rand() limit 1 /cfquery cfreturn qGetFeaturedProperty / /cffunction /cfcomponent ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334204 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Can anyone see what's wrong with this cfc method?
Dang! It's always the simplest things! Thanks, Ray and Bobby! Rick -Original Message- From: Raymond Camden [mailto:rcam...@gmail.com] Sent: Tuesday, June 01, 2010 5:11 PM To: cf-talk Subject: Re: Can anyone see what's wrong with this cfc method? You must put var statements (and other CFML) after any cfargument tag. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334205 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: HTML 5, has anyone done anything more than played with it
I've seen a couple of Javascript libraries that create support for the semantic tags (header, footer etc), but support for canvas, video and audio won't be mainstream unitl IE9 comes out (I'm not a M$ fanboy, but it is the most widely used browser). It won't even be mainstream then. There's still an awful lot of people out there running XP who won't be able to upgrade to IE9. Plus remember that at least 15% of web traffic (a hair over by my stats actually) is still on IE6. It's going to be years before IE9 peaks over the 50% mark, and that assumes that Firefox/Chrome/Opera haven't gotten to half market share by that point, which they may at the rate they're growing. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334206 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: HTML 5, has anyone done anything more than played with it
Kris, But don't you think that HTML over smart phones is an up and coming market - as the small screen becomes more and more important it seems like an important item to learn. -Mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Kris Sisk [mailto:ks...@gckschools.com] Sent: Tuesday, June 01, 2010 4:23 PM To: cf-talk Subject: Re: HTML 5, has anyone done anything more than played with it I've seen a couple of Javascript libraries that create support for the semantic tags (header, footer etc), but support for canvas, video and audio won't be mainstream unitl IE9 comes out (I'm not a M$ fanboy, but it is the most widely used browser). It won't even be mainstream then. There's still an awful lot of people out there running XP who won't be able to upgrade to IE9. Plus remember that at least 15% of web traffic (a hair over by my stats actually) is still on IE6. It's going to be years before IE9 peaks over the 50% mark, and that assumes that Firefox/Chrome/Opera haven't gotten to half market share by that point, which they may at the rate they're growing. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334207 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Coldfusion Builder Stored Procedures
I'm pretty sure the data tools plungin from eclipse has this functionality, if you are looking for a better integrated database experience in eclipse. Sent from my mobile device On 2 Jun 2010 01:29, Raymond Camden rcam...@gmail.com wrote: I don't believe it is supported. I did a quick search on the CFBuilder public bug tracker and this was the closest related bug: http://cfbugs.adobe.com/bugreport/flexbugui/cfbugtracker/main.html#bugId=75148 It seems a bit broad though. I'd consider adding a very specific bug. I'd vote for it. On Tue, Jun 1, 2010 at 10:13 AM, Paul Alkema paulalkemadesi...@gmail.com wrote: Hi, Does... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334208 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF CAPTCHA?
Before I go writing my own CAPTCHA generating method I just want to check to see if CF has something to offer along those lines. Frankly, I'd dump the user-unfriendly captcha and use cfformprotect http://cfformprotect.riaforge.org/ --- Mary Jo ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334209 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF CAPTCHA?
Yeah, I'll +1 this. When I switched to it on my blog (and used akismet/honeypot), I was able to turn off captcha completely. I still get spam, but maybe one or two a week. On Tue, Jun 1, 2010 at 5:20 PM, Mary Jo Sminkey mary...@cfwebstore.com wrote: Before I go writing my own CAPTCHA generating method I just want to check to see if CF has something to offer along those lines. Frankly, I'd dump the user-unfriendly captcha and use cfformprotect http://cfformprotect.riaforge.org/ --- Mary Jo ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334210 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: HTML 5, has anyone done anything more than played with it
That's one of the big selling points with smart phones like the Droid and iPhone... -Original Message- From: Mark A. Kruger [mailto:mkru...@cfwebtools.com] Sent: Tuesday, June 01, 2010 4:36 PM To: cf-talk Subject: RE: HTML 5, has anyone done anything more than played with it Kris, But don't you think that HTML over smart phones is an up and coming market - as the small screen becomes more and more important it seems like an important item to learn. -Mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Kris Sisk [mailto:ks...@gckschools.com] Sent: Tuesday, June 01, 2010 4:23 PM To: cf-talk Subject: Re: HTML 5, has anyone done anything more than played with it I've seen a couple of Javascript libraries that create support for the semantic tags (header, footer etc), but support for canvas, video and audio won't be mainstream unitl IE9 comes out (I'm not a M$ fanboy, but it is the most widely used browser). It won't even be mainstream then. There's still an awful lot of people out there running XP who won't be able to upgrade to IE9. Plus remember that at least 15% of web traffic (a hair over by my stats actually) is still on IE6. It's going to be years before IE9 peaks over the 50% mark, and that assumes that Firefox/Chrome/Opera haven't gotten to half market share by that point, which they may at the rate they're growing. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334211 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: HTML 5, has anyone done anything more than played with it
On Tue, Jun 1, 2010 at 12:10 PM, Scott Stewart webmas...@sstwebworks.com wrote: I'm starting to dig into HTML 5, and so far, apart from some of the CSS3 attributes, I don't see anything that jumps out and says ready for prime time. The browser support is spotty at best, let's be real does it really matter if Opera supports something? If IE and Firefox don't have support for something then it's not mainstream, am I wrong here? This page has demos of various features with indicators of which browsers support what: http://html5demos.com/ IE8 supports some HTML5 stuff already and Microsoft appear to be strongly behind HTML5 based on a recent presentation I saw that talked about HTML5/CSS3 support in IE8 and IE9. Given how laggardly they've been in the past about standards, I was pleasantly surprised by their (apparent) stance on this. A number of companies are pushing HTML5/CSS3 pretty hard... As for production work, it's going to depend on your target audience. Some people are still constrained to support IE6, some people are able to push the envelope. The support for HTML5/CSS3 in browsers on mobile devices will probably be the key issue here. -- Sean A Corfield -- (904) 302-SEAN Railo Technologies, Inc. -- http://getrailo.com/ An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334212 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: HTML 5, has anyone done anything more than played with it
The great thing (or not so great, depending on your view) is that older browsers will simply ignore the markup they don't understand. That allows you to gracefully fallback for older legacy browsers. -Dan On Tuesday, June 1, 2010, Sean Corfield seancorfi...@gmail.com wrote: On Tue, Jun 1, 2010 at 12:10 PM, Scott Stewart webmas...@sstwebworks.com wrote: I'm starting to dig into HTML 5, and so far, apart from some of the CSS3 attributes, I don't see anything that jumps out and says ready for prime time. The browser support is spotty at best, let's be real does it really matter if Opera supports something? If IE and Firefox don't have support for something then it's not mainstream, am I wrong here? This page has demos of various features with indicators of which browsers support what: http://html5demos.com/ IE8 supports some HTML5 stuff already and Microsoft appear to be strongly behind HTML5 based on a recent presentation I saw that talked about HTML5/CSS3 support in IE8 and IE9. Given how laggardly they've been in the past about standards, I was pleasantly surprised by their (apparent) stance on this. A number of companies are pushing HTML5/CSS3 pretty hard... As for production work, it's going to depend on your target audience. Some people are still constrained to support IE6, some people are able to push the envelope. The support for HTML5/CSS3 in browsers on mobile devices will probably be the key issue here. -- Sean A Corfield -- (904) 302-SEAN Railo Technologies, Inc. -- http://getrailo.com/ An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334213 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
imageRead plus imagepaste plus imageGetBlob issue
I've got this issue that is driving me batty. I have a random rotating watermarked image as the masthead on my site. I have all of the images that can be used in a single directory. I query that directory to get the list of images then pick a random one to use. Once I have the image, the fun begins. I load that image into an object with imageRead(), then I load a small PNG watermark into another object with imageRead() (ive tried imageRead() and imagenew(). Then, with a basic imagepaste(), I put the watermark on the image and use imageGetBlob() and cfcontent to display it. Sounds simple enough right? So now I have a .cfm template that watermarks a random image on the fly and serves it up. So in my style sheet, I just did something like: #masthead {background: url(/images/masthead.cfm) no-repeat;} There is an image in this article that shows an example of the bug I'm getting with this process (and maybe any detail I've left out): http://acoderslife.com/index.cfm/blog/Mast-head-image-bug It is also the site with the masthead in question as well so you may very well see the issue first hand with enough refreshing. Here is the entire code for the image processing template: cfdirectory name=variables.mastImages action=list directory=#expandPath('/images/mastimages/')# filter=*.jpg / cfset variables.mastImg = randRange(1,variables.mastImages.recordcount) / cfset variables.objImage = imageRead(expandPath('/images/mastimages/' variables.mastImages['name'][variables.mastImg])) / cfset variables.objWatermark = imageNew(expandPath('/images/watermark.png')) / cfset imageSetAntialiasing(variables.objImage,on) / cfset imageSetDrawingTransparency(variables.objImage,40) / cfset imagePaste(variables.objImage, variables.objWatermark, (variables.objImage.getWidth() - (variables.objWatermark.getWidth() + 5)), (variables.objImage.getHeight() - (variables.objWatermark.getHeight() + 5))) / cfcontent type=image/jpg reset=true variable=#imageGetBlob(variables.objImage)# / If I remove the imagePaste() line, the image loads fine every time, but then, I don't get the dynamic watermark that I'm rather partial to. A couple other things worth noting are - I only see the issue if I do a normal refresh (control+r) but if I do a hard refresh (contorl+shift+r), I never see the issue. - I never see the issue if I got to the template directly. It only happens when it is in the layout through the CSS template. Here is the URL directly to the image template: http://acoderslife.com/images/masthead.cfm You will notice some serious pixilation in some of the images. I've tried lowering the image quality in order to make the file size smaller in hopes that it might help. It did not. Has anyone else run into this or have any ideas for a solution? I like the dynamic watermarking and would rather not put it in the images permanently if I can avoid it. Thanks for any input or assistance you can offer on this. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334214 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: imageRead plus imagepaste plus imageGetBlob issue
browser css/images caching? i did see the problem you described on the link you posted... what if you put the css declaration into the page (instead of external stylesheet) and add a random url param to the bg image url? style type=text/css #masthead {background: url(/images/masthead.cfm?x=cfoutput#createuuid()#/cfoutput) no-repeat;} /style i did a very similar thing on a a couple of site, but i had random url params added to img urls and never saw the problem you see... i also served the images using a script like this instead of cfcontent tag: cfscript oImg = toBinary(toBase64(objImage)); // can probably use oImg = imagegetblob(objImage); in your case context = getPageContext(); context.setFlushOutput(false); response = context.getResponse().getResponse(); out = response.getOutputStream(); response.setContentType(image/jpeg); response.setContentLength(arrayLen(oImg)); out.write(oImg); out.flush(); //response.reset(); //optional for problems out.close(); /cfscript hth Azadi On 02/06/2010 11:02, Bobby Hartsfield wrote: I've got this issue that is driving me batty. ... ... ... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334215 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: referencing #application.applicationname#
The appropriate use of locks can be really important. Here's a case in point that cost me a LOT: I did an application for a client where to save processing time, I put a couple of variables used many times into the application scope. In this case I wasnt allowed to deploy the application to the production server myself, their staff programmer was going to do it. I had to write the code, demonstrate, test it and prove it on a dev server, then give them the code to deploy on production. Nothing too unusual there. Except the person who did the deployment to production didnt listen to what I told him, didn't read my installation notes, and didnt know much about modern ColdFusion. His knowledge was based back in CF5. He looked at my code, scoffed at all my unlocked reads of application variables and corrected it by putting locks around every access of application vars. In this application that was about 50 places in 5 files. For good measure he put locks on every datasource access as well. When 400 users started using this application (it was something they all access many times a day) all these locks brought the entire system to its knees.Instead of doing what normal people would do and calling me to tell me to come and sort out the problem, they decided that my code had brought their system to its knees, they dumped my application and set their staff guy to re-writing what I'd done and told me i wasnt needed any more. If they'd have called me, I'd have been there in 30 minutes, looked at the changes their staff guy had made, fixed them, and it would have been up and rolling inside an hour. Sadly, I wasn't given the opportunity to have a say, or correct what they had already decided was my mistake. My point here is that locks, if used incorrectly, can wreck an application, or as in this case bring an entire server and database to a crawl. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month p.s. when I last heard, they were still putting locks around every application scope and database access, and had decided that ColdFusion ran too slow, so they were re-writing their whole system in dotnet instead. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334216 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: HTML 5, has anyone done anything more than played with it
It won't even be mainstream then. There's still an awful lot of people out there running XP XP isn't broke. I've seen no reason to fix it myself so far. Guess I'm one of those awful lot of people. If MS had given me an upgrade path from XP instead of a delete everything start from scratch install all your crap from the beginning path, I might have made the move to Win 7 already. But, I can't afford the down time to upgrade. Maybe dual boot at some point so I can keep running and slowly over everything over. Later. Sometime. remember that at least 15% of web traffic (a hair over by my stats actually) is still on IE6. My main client is an office building full of attorneys using IE6. They don't care if it works in anything else AT ALL, but it damn well better work in IE 6!! Drives me crazy. that assumes that Firefox/Chrome/Opera haven't gotten to half market share by that point, which they may at the rate they're growing. Please great and powerful Cthulhu grant us a standards complaint browser that maketh the entire IE line vanish from this plain of existance. __ Information from ESET NOD32 Antivirus, version of virus signature database 5164 (20100601) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334217 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: HTML 5, has anyone done anything more than played with it
On Wed, Jun 2, 2010 at 2:24 PM, Les Mizzell lesm...@bellsouth.net wrote: It won't even be mainstream then. There's still an awful lot of people out there running XP XP isn't broke. I've seen no reason to fix it myself so far. Guess I'm one of those awful lot of people. If MS had given me an upgrade path from XP instead of a delete everything start from scratch install all your crap from the beginning path, I might have made the move to Win 7 already. Check out Windows Easy Transfer: http://www.microsoft.com/windows/windows-vista/features/easy-transfer.aspx It's actually really good stuff. Mark -- E: mark.man...@gmail.com T: http://www.twitter.com/neurotic W: www.compoundtheory.com cf.Objective(ANZ) - Nov 18, 19 - Melbourne Australia http://www.cfobjective.com.au Hands-on ColdFusion ORM Training www.ColdFusionOrmTraining.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334218 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm