Re: cf 7.0.2 freezes on install
+ make sure windows firewall (or any other firewall you may be using) is turned off or at least not blocking ports required by installation (there is a list of those somewhere on abode website... i prefer to just turn firewalls off). Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Brad Wood wrote: For starters, can you re-download the installation (make sure you have the correct 32 bit or 64 bit version) and verify the file size to ensure you downloaded the entire file. Also, shut down any other programs during the install and make sure you have installation rights as well as making sure there are no anti-virus programs messing with you. ~Brad - Original Message - From: Greg Morphis [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, September 15, 2008 5:30 PM Subject: Re: cf 7.0.2 freezes on install I finally cancelled after nearly 3 hours... ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312562 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF8 cfc problem
On Wednesday 10 Sep 2008, erik tom wrote: this code get executed on CF7 , but display blank in cf8 Which bit is blank ? Does any but by itself run ? Do you have error squished by a setting in Application.cfc or the admin ? What happens if you turn robust exception information on, or set a break point ? -- Tom Chiverton Helping to centrally maximize back-end environments This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312563 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Using Google Maps API
Hi, I was trying to use the Google Maps API in a template called from a border type cflayoutarea with no luck. The maps simply doesn't show up: cfif isdefined(url.lat) cfset lat=#url.lat# cfset lng=#url.lng# /cfif head script src= http://maps.google.com/maps?file=apiamp;v=2amp;key=x; type=text/javascript load=function(lat,lng){ if (GBrowserIsCompatible()) { alert(browser ok); var map = new GMap2(document.getElementById(map_canvas)); map.setCenter(new GLatLng(lat,lng), 18,G_HYBRID_MAP); map.addOverlay(new GMarker(pt)); } } /script /head cfoutput body Map:br cfdiv id=map_canvas bind=javaScript:load(#lat#,#lng#) style=width: 500px; height: 300px/ /body /cfoutput Firebug returns that GBrowserIsCompatible() is not defined thus cannot be evaluated. Do I need to adjust settings on the Coldfusion server in order for it to work? Any suggestions is appreciated. Using CF 8.01 and Dreamweaver 8 ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312564 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, Ajax and Autocomplete Problems
Hi I'm trying to incorporate an Ajax autosuggest feature into a Coldfusion search page I have. The example I have found is for PHP, and I'm trying to get this to work with Coldfusion The original autocomplete script and working example can be found athttp://www.brandspankingnew.net/archive/2007/02/ajax_auto_suggest_v2.h tml When trying the search form, I am not getting any errors, but the autocomplete box is not appearing. Any ideas on what is causing the autocomplete not working correctly? Ian --- SEARCH FORM--- div form method=get action= label for=testinput_xmlPerson/label input type=text id=testinput_xml name=surname value= style=width:300px / br /br / input type=submit value=submit / /form /div script type=text/javascript var options_xml = { script: function (input) { return include.cfm+input++document.getElementsByTagname('rs')[0].getAttribu te('info').value; }, varname:input }; var as_xml = new bsn.AutoSuggest('testinput_xml', options_xml); /script - INCLUDE.CFM - cfsetting enablecfoutputonly=yes cfquery name=getNames datasource=dsn SELECT surname FROM ourtablename WHERE surname LIKE cfqueryparam cfsqltype=cf_sql_varchar value=#form.surname# ORDER by surname ASC /cfquery cfsavecontent variable=theXML cfoutput?xml version=1.0 encoding=UTF-8?results/cfoutput cfloop from=1 to=#getNames.recordcount# index=ctr cfoutput !--- add the XML config entry --- rs id= info=#getNames.surname[ctr]##getNames.surname[ctr]#/rs /cfoutput /cfloop cfoutput /results /cfoutput /cfsavecontent cfoutput#theXML#/cfoutput -- ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312565 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, Ajax and Autocomplete Problems
Perhaps the js code is wanting the response format to have an xml type header and/or dislikes whitespace at the top of the output. Try this: cfcontent type=text/xml; charset=UTF-8 reset=yes /cfoutput#theXML#/cfoutput You may also want to take a look at cfinput autosuggest=... and http://betterautosuggest.riaforge.org for native ColdFusion/YUI solutions if things get messy with your current solution. HTH Dominic 2008/9/16 Ian Vaughan [EMAIL PROTECTED]: Hi I'm trying to incorporate an Ajax autosuggest feature into a Coldfusion search page I have. The example I have found is for PHP, and I'm trying to get this to work with Coldfusion The original autocomplete script and working example can be found athttp://www.brandspankingnew.net/archive/2007/02/ajax_auto_suggest_v2.h tml When trying the search form, I am not getting any errors, but the autocomplete box is not appearing. Any ideas on what is causing the autocomplete not working correctly? Ian --- SEARCH FORM--- div form method=get action= label for=testinput_xmlPerson/label input type=text id=testinput_xml name=surname value= style=width:300px / br /br / input type=submit value=submit / /form /div script type=text/javascript var options_xml = { script: function (input) { return include.cfm+input++document.getElementsByTagname('rs')[0].getAttribu te('info').value; }, varname:input }; var as_xml = new bsn.AutoSuggest('testinput_xml', options_xml); /script - INCLUDE.CFM - cfsetting enablecfoutputonly=yes cfquery name=getNames datasource=dsn SELECT surname FROM ourtablename WHERE surname LIKE cfqueryparam cfsqltype=cf_sql_varchar value=#form.surname# ORDER by surname ASC /cfquery cfsavecontent variable=theXML cfoutput?xml version=1.0 encoding=UTF-8?results/cfoutput cfloop from=1 to=#getNames.recordcount# index=ctr cfoutput !--- add the XML config entry --- rs id= info=#getNames.surname[ctr]##getNames.surname[ctr]#/rs /cfoutput /cfloop cfoutput /results /cfoutput /cfsavecontent cfoutput#theXML#/cfoutput -- ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312566 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfmail no longer working AND scheduled tasks arent being run
I logged in and check both The tasks are still there and the mail server settings are there. i'd probably log into the cf admin and verify the mail server settings, as well as take a look at the specific tasks that aren't running, to see how they're configured (or if they're even still there). ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312567 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Using Google Maps API
Hi, Lawrence, Before you do anything else, I would suggest changing your cfdiv into a regular div (and launch the JavaScript function with a hyperlink or something) just to make sure that there isn't something about the way cfdivs are rendered that the Google API doesn't like. If you get the same error when you use a regular div, then I'd suggest posting this question in the Google Group forum for the Google Map API (http://groups.google.je/group/Google-Maps-API). I looked there briefly and saw a number of posts about that error: one of them may be relevant to your situation. -- Brian Swartzfager [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312568 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
SQL Server 2005 permission problems
Hi there, I'm trying to setup an exported 2000 server DB on my local SQL Server (2005 Express) and getting a permissions problem when I try and set things up in ColdFusion. The error I'm getting is: Connection verification failed for data source: myDB java.sql.SQLException: [Macromedia][SQLServer JDBC Driver][SQLServer]Cannot open database myDB requested by the login. The login failed. The root cause was that: java.sql.SQLException: [Macromedia][SQLServer JDBC Driver][SQLServer]Cannot open database myDB requested by the login. The login failed. I have a couple of other SQL Server DBs setup and they work fine which is what's confusing me a bit. I've got a global user account within my DB for Coldfusion and I'm trying to use this, the datasources that are working are using this as well! As I say the only difference with this DB is that it's been built from an SQL script rather than manually by me. I've changed the owner of the tables to DBO and apart from that I can think what else would be different. There isn't a lot on Google about this error message so I thought I'd see if anybody else on here has had this issue. Thanks a lot, James ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312569 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF, JQuery and IE
Hey all, i think I've got multiple issues going on here, but I'll try to explain this as best as I can... I. Using JQuery and cfdiv on the same page. I've got a page that loads content into a cfdiv, inside the loaded content is a call to the JQuery popupwindow plugin. Is the JQuery call negated by the Ajax libraries that CF uses? II. JQuery in IE vs. FF I thought JQuery was fully compatible in both, but I'm having fits trying to get plugins to work in IE III. Has anyone gotten this to work HLLP!!! -- Scott Stewart ColdFusion Developer Office of Research Information Systems Research amp; Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312570 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 7.0.2 freezes on install
I tried 3 different versions, they all did the same. I'll get with the LAN people tomorrow and see what's up. On Tue, Sep 16, 2008 at 3:47 AM, Azadi Saryev [EMAIL PROTECTED] wrote: + make sure windows firewall (or any other firewall you may be using) is turned off or at least not blocking ports required by installation (there is a list of those somewhere on abode website... i prefer to just turn firewalls off). Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Brad Wood wrote: For starters, can you re-download the installation (make sure you have the correct 32 bit or 64 bit version) and verify the file size to ensure you downloaded the entire file. Also, shut down any other programs during the install and make sure you have installation rights as well as making sure there are no anti-virus programs messing with you. ~Brad - Original Message - From: Greg Morphis [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, September 15, 2008 5:30 PM Subject: Re: cf 7.0.2 freezes on install I finally cancelled after nearly 3 hours... ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312571 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Custom Tag Paths
We are load testing one of our internal apps and seeing some odd errors. We defined a cutomtag path in the Application.cfc with 100,000 requests in just under an hour (these request call different pages but 80% use the custom tag, it's a portlet) we see 1-1.5% returning a customtag not found error. It is important to note we are pushing about 7000 users through the system in an hour each hitting only a couple of pages and most users make it through with no error, so not its not configured wrong. We've run the test 3 times now and seen a similar pattern of failure each time. For me the most interesting one was our final running that continued to present this error even with the cutomtag itself was not only on the customtag path but also in the same directory of the calling cfml template. I was curious if anyone else has ever seen this odd behaviour before? We're going to put together a simplified application later this week to see if we can replicate it with a trivial application as well. I'm suspecting sever issues but not sure at this point. Adam Haskell ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312572 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
SQL Help
I've got a table (MySQL) with about 20k records. I'd like to be able to get all fields from the table with distinct email addresses. Essentially, I'm weeding out records with duplicate email addresses. What I'm trying does not work: SELECT mytable.lastname, mytable.firstname, mytable.city, mytable.state FROM mytable WHERE mytable.email in (select distinct mytable.email) What am I missing?? -Johny B ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312573 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfmail no longer working AND scheduled tasks arent being run
What do the log files for the mail indicate. Usually they will give a reason as to why they are undeliverable. What authentication is the mail server using? I mean, when it hits your mail server what are the credentials supplied? Rob On Tue, Sep 16, 2008 at 7:44 AM, Torrent Girl [EMAIL PROTECTED] wrote: I logged in and check both The tasks are still there and the mail server settings are there. i'd probably log into the cf admin and verify the mail server settings, as well as take a look at the specific tasks that aren't running, to see how they're configured (or if they're even still there). ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312574 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SQL Help
Assuming your PK is named customerID you can do the following: SELECT mytable.lastname, mytable.firstname, mytable.city, mytable.state FROM mytable WHERE mytable.customerID in (select min(customerID) from mytable group by email) There is at least one problem in your query. The in () statement is missing a From statement so that it should read: SELECT mytable.lastname, mytable.firstname, mytable.city, mytable.state FROM mytable WHERE mytable.email in (select distinct mytable.email from mytable) But this will not work since all records (even the doublettes) match the criteria. Gert Jeff F schrieb: I've got a table (MySQL) with about 20k records. I'd like to be able to get all fields from the table with distinct email addresses. Essentially, I'm weeding out records with duplicate email addresses. What I'm trying does not work: SELECT mytable.lastname, mytable.firstname, mytable.city, mytable.state FROM mytable WHERE mytable.email in (select distinct mytable.email) What am I missing?? -Johny B ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312575 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: SQL Help
To view all your records with duplicate email addresses, you might try something like this: cfquery name=select_distinct_email datasource=dsn select distinct email from mytable /cfquery cfloop query=select_distinct_email cfquery name=get_records_with_duplicate_email datasource=dsn select lastname, firstname, city, state from mytable where email = '#select_distinct_email.email#' /cfquery cfoutput query=get_offices_with_duplicate_cities #city_state# #office_name#br br /cfoutput /cfloop Check that output and see if that's what you're looking for... Rick -Original Message- From: Jeff F [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 8:58 AM To: CF-Talk Subject: SQL Help I've got a table (MySQL) with about 20k records. I'd like to be able to get all fields from the table with distinct email addresses. Essentially, I'm weeding out records with duplicate email addresses. What I'm trying does not work: SELECT mytable.lastname, mytable.firstname, mytable.city, mytable.state FROM mytable WHERE mytable.email in (select distinct mytable.email) What am I missing?? -Johny B ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312576 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SQL Server 2005 permission problems
Well I got this up and running through ODBC but unforunately when I did Transfer ORM, which I'm using to manage my DAO, throws an error message. How do permissions work in SQL Server in terms of CF. From what I can all I need is the datawriter and datareader roles applied to that user. This is what I've got on my working DBs and it's fine! Any help would be appreciated. Cheers, James ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312578 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SQL Help
On Tue, Sep 16, 2008 at 8:58 AM, Jeff F [EMAIL PROTECTED] wrote: I've got a table (MySQL) with about 20k records. I'd like to be able to get all fields from the table with distinct email addresses. Essentially, I'm weeding out records with duplicate email addresses. What I'm trying does not work: SELECT mytable.lastname, mytable.firstname, mytable.city, mytable.state FROM mytable WHERE mytable.email in (select distinct mytable.email) What you are doing there will return every record in the table. If you really want to eliminate any records where there are duplicate emails, you could do this: SELECT mytable.lastname, mytable.firstname, mytable.city, mytable.state, mytable.email FROM mytable GROUP BY mytable.email HAVING count(mytable.email) = 1 ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312579 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, Ajax and Autocomplete Problems
Hi Dominic Just tried what you suggested, but its still the same? This is the original php script, perhaps Coldfusion can't offer the same functionality as PHP, that's why there are problems implementing it in CF? --- ?php //arrays are hard coded, but these could be populated from a database $aUsers = array( Ädams, Egbert, Altman, Alisha, Archibald, Janna, ); $aInfo = array( Bedfordshire, Buckinghamshire, Cambridgeshire, Cheshire, Cornwall, Cumbria, Derbyshire, ); $input = strtolower( $_GET['input'] ); $len = strlen($input); $aResults = array(); if ($len) { for ($i=0;$icount($aUsers);$i++) { // had to use utf_decode, here // not necessary if the results are coming from mysql // if (strtolower(substr(utf8_decode($aUsers[$i]),0,$len)) == $input) $aResults[] = array( id=($i+1) ,value=htmlspecialchars($aUsers[$i]), info=htmlspecialchars($aInfo[$i]) ); //if (stripos(utf8_decode($aUsers[$i]), $input) !== false) // $aResults[] = array( id=($i+1) ,value=htmlspecialchars($aUsers[$i]), info=htmlspecialchars($aInfo[$i]) ); } } header (Expires: Mon, 26 Jul 1997 05:00:00 GMT); // Date in the past header (Last-Modified: . gmdate(D, d M Y H:i:s) . GMT); // always modified header (Cache-Control: no-cache, must-revalidate); // HTTP/1.1 header (Pragma: no-cache); // HTTP/1.0 { header(Content-Type: text/xml); echo ?xml version=\1.0\ encoding=\utf-8\ ?results; for ($i=0;$icount($aResults);$i++) { echo rs id=\.$aResults[$i]['id'].\ info=\.$aResults[$i]['info'].\.$aResults[$i]['value']./rs; } echo /results; } ? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312580 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, Ajax and Autocomplete Problems
Ian Vaughan wrote: Just tried what you suggested, but its still the same? Do you mean that as a question Is it still the same? or do you mean that as a statement It is still the same.? This is the original php script, perhaps Coldfusion can't offer the same functionality as PHP, that's why there are problems implementing it in CF? Funny. I wonder if you believe that or if you are just trolling. :) What are you trying to do here? I'm sure CF can handle it (in less lines even). ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312581 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, JQuery and IE
Scott, though I don't think this is the case with the CF ajax stuff but I know that when we used prototype and jquery together the use of the $ sign conflicted. jQuery has a great function you can run that changes that to anything. it is called noConflict() var $j = jQuery.noConflict(); that then allows you to do $j(#id) instead of just $( As far as the plugins is this happening on all plugins? Remember that jQuery the core is fairly well tested and that the plugins are written in javascript and may have IE bugs in them nonetheless. J.J. On Tue, Sep 16, 2008 at 7:28 AM, Scott Stewart [EMAIL PROTECTED] wrote: Hey all, i think I've got multiple issues going on here, but I'll try to explain this as best as I can... I. Using JQuery and cfdiv on the same page. I've got a page that loads content into a cfdiv, inside the loaded content is a call to the JQuery popupwindow plugin. Is the JQuery call negated by the Ajax libraries that CF uses? II. JQuery in IE vs. FF I thought JQuery was fully compatible in both, but I'm having fits trying to get plugins to work in IE III. Has anyone gotten this to work HLLP!!! -- Scott Stewart ColdFusion Developer Office of Research Information Systems Research amp; Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312582 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, Ajax and Autocomplete Problems
Sorry man. Just got a bit annoyed that someone came onto a CF list and starting saying PHP can do something that CF can't (which is a lie). http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_i_07.html Read that over and try it out. Pay special attention to autosuggest. Your code there may be shortened to 1 line. :) Phillip M. Vector wrote: Ian Vaughan wrote: Just tried what you suggested, but its still the same? Do you mean that as a question Is it still the same? or do you mean that as a statement It is still the same.? This is the original php script, perhaps Coldfusion can't offer the same functionality as PHP, that's why there are problems implementing it in CF? Funny. I wonder if you believe that or if you are just trolling. :) What are you trying to do here? I'm sure CF can handle it (in less lines even). ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312583 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, Ajax and Autocomplete Problems
My suggestion would be to create a .cfm page with no dynamic code. Have it ONLY output pure XML. Heck, even take the XML generated by the PHP page and paste it into the .cfm page. As with the original poster, however, make sure there is no white space above the first XML tag. Also, us the CFCONTENT tag to ensure that you are sending it as an XML MIME type. AJAX does not care what application server sends the XML. It only cares that it is valid XML. Mike -Original Message- From: Ian Vaughan [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 8:53 AM To: CF-Talk Subject: RE: CF, Ajax and Autocomplete Problems Hi Dominic Just tried what you suggested, but its still the same? This is the original php script, perhaps Coldfusion can't offer the same functionality as PHP, that's why there are problems implementing it in CF? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312584 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: SQL Help
Sorry about the output part in the bottom; that was from my test query. Should be: cfquery name=select_distinct_email datasource=dsn select distinct email from mytable /cfquery cfloop query=select_distinct_email cfquery name=get_records_with_duplicate_email datasource=dsn select lastname, firstname, city, state from mytable where email = '#select_distinct_email.email#' /cfquery cfoutput query=get_records_with_duplicate_email #lastname# #firstname# #city# #state#br br /cfoutput /cfloop -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 9:42 AM To: CF-Talk Subject: RE: SQL Help To view all your records with duplicate email addresses, you might try something like this: cfquery name=select_distinct_email datasource=dsn select distinct email from mytable /cfquery cfloop query=select_distinct_email cfquery name=get_records_with_duplicate_email datasource=dsn select lastname, firstname, city, state from mytable where email = '#select_distinct_email.email#' /cfquery cfoutput query=get_offices_with_duplicate_cities #city_state# #office_name#br br /cfoutput /cfloop Check that output and see if that's what you're looking for... Rick -Original Message- From: Jeff F [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 8:58 AM To: CF-Talk Subject: SQL Help I've got a table (MySQL) with about 20k records. I'd like to be able to get all fields from the table with distinct email addresses. Essentially, I'm weeding out records with duplicate email addresses. What I'm trying does not work: SELECT mytable.lastname, mytable.firstname, mytable.city, mytable.state FROM mytable WHERE mytable.email in (select distinct mytable.email) What am I missing?? -Johny B ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312577 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SQL Help
Jim, At first glance that seems to work, however the recordcounts appear to be off. What I did was a simple query to find the total number of distinct email addresses: SELECT distinct mytable.email FROM mytable I get 19588 as a recordcount. When I run SELECT mytable.lastname, mytable.email FROM mytable GROUP BY mytable.email HAVING count(mytable.email) = 1 I get 19162 as a recordcount. ?? I don't understand where the difference is? -John ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312585 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, Ajax and Autocomplete Problems
Hi Mike I have surrounded it with a cfsilent tag to remove the white space, and its still the same, no errors but no results appear? And I'm using cfcontent as below. cfsilent /cfsilentcfsetting enablecfoutputonly=yes cfquery name=getNames datasource=dsn SELECT surname FROM tablename WHERE surname LIKE cfqueryparam cfsqltype=cf_sql_varchar value=#form.surname# ORDER by surname ASC /cfquery cfcontent type=text/xml; charset=UTF-8 reset=yes/cfoutput#theXML#/cfoutput cfloop from=1 to=#getNames.recordcount# index=ctr cfoutput !--- add the XML config entry --- rs id= info=#getNames.surname[ctr]##getNames.surname[ctr]#/rs /cfoutput /cfloop cfoutput /results /cfoutput /cfsavecontent cfoutput#theXML#/cfoutput /cfsilent -Original Message- From: Dawson, Michael [mailto:[EMAIL PROTECTED] Sent: 16 September 2008 15:00 To: CF-Talk Subject: RE: CF, Ajax and Autocomplete Problems My suggestion would be to create a .cfm page with no dynamic code. Have it ONLY output pure XML. Heck, even take the XML generated by the PHP page and paste it into the .cfm page. As with the original poster, however, make sure there is no white space above the first XML tag. Also, us the CFCONTENT tag to ensure that you are sending it as an XML MIME type. AJAX does not care what application server sends the XML. It only cares that it is valid XML. Mike -Original Message- From: Ian Vaughan [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 8:53 AM To: CF-Talk Subject: RE: CF, Ajax and Autocomplete Problems Hi Dominic Just tried what you suggested, but its still the same? This is the original php script, perhaps Coldfusion can't offer the same functionality as PHP, that's why there are problems implementing it in CF? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312586 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SQL Help
On Tue, Sep 16, 2008 at 10:13 AM, Jeff F [EMAIL PROTECTED] wrote: SELECT distinct mytable.email FROM mytable I get 19588 as a recordcount. This number would include email addresses that are duplicated in the table (but only a count of 1 for each distinct address). SELECT mytable.lastname, mytable.email FROM mytable GROUP BY mytable.email HAVING count(mytable.email) = 1 I get 19162 as a recordcount. ?? This recordcount eliminates any email addresses that are duplicated in the table. Note that any email addresses that are duplicated are NOT INCLUDED in the results using this method. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312587 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: SQL Help
Thanks Jim. Now I see. I guess what I'm looking for would be something like this then: SELECT mytable.lastname,mytable.email FROM mytable GROUP BY mytable.email HAVING distinct(mytable.email) Which of course does not work. When there are records with duplicate emails addresses, I need to include one of them. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312588 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, JQuery and IE
As far as it happening in all plugins, the answer is yes. It'll work like a champ in FF3 and fail completely in IE7 J.J. Merrick wrote: Scott, though I don't think this is the case with the CF ajax stuff but I know that when we used prototype and jquery together the use of the $ sign conflicted. jQuery has a great function you can run that changes that to anything. it is called noConflict() var $j = jQuery.noConflict(); that then allows you to do $j(#id) instead of just $( As far as the plugins is this happening on all plugins? Remember that jQuery the core is fairly well tested and that the plugins are written in javascript and may have IE bugs in them nonetheless. J.J. On Tue, Sep 16, 2008 at 7:28 AM, Scott Stewart [EMAIL PROTECTED] wrote: Hey all, i think I've got multiple issues going on here, but I'll try to explain this as best as I can... I. Using JQuery and cfdiv on the same page. I've got a page that loads content into a cfdiv, inside the loaded content is a call to the JQuery popupwindow plugin. Is the JQuery call negated by the Ajax libraries that CF uses? II. JQuery in IE vs. FF I thought JQuery was fully compatible in both, but I'm having fits trying to get plugins to work in IE III. Has anyone gotten this to work HLLP!!! -- Scott Stewart ColdFusion Developer Office of Research Information Systems Research amp; Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312589 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CF8 Report Builder - Report Format Error
I'm trying out Report Builder for the first time to generate a report. While I can output the file to the screen without any problems (by leaving out the filename attribute), I am getting an error when trying to save it. If I place a document in the location where I've specified with the filename attribute, I can read it just fine from the browser...I'm just missing something here that's eluding me. Any ideas? The error: Report format error. The filename, directory name, or volume label syntax is incorrect The code: cfreport filename=http://dtsc-dev/temp/SBA_Temp.pdf; format = PDF template = c:\\inetpub\wwwroot\Database\Military_Billings\CFR_Templates\SBA.cfr overwrite = yes cfreportparam name=pINVOICE_ID value=#variables.Invoice_ID# /cfreport ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312590 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 Report Builder - Report Format Error
Hi Jim, the filename attribute requires an absolute system path, you might try expandpath(). bye, marcus Jim Gabler schrieb: cfreport filename=http://dtsc-dev/temp/SBA_Temp.pdf; format = PDF template = c:\\inetpub\wwwroot\Database\Military_Billings\CFR_Templates\SBA.cfr overwrite = yes ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312591 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Custom Tag Paths
Hey Adam, You probably have a good handle on what's going on in your environment... certainly better than I do, given that I'm only hearing about it second hand. I just thought I'd throw out that I was a bit confused when I first discovered that CF will throw a template not found error if you get some *other* kind of error like a db or syntax error occuring while executing the Application.cfc onMissingTemplate() method. I'm thinking it's possible (although I would think unlikely) that something like this might be happening in your environment with the custom tags. -- s. isaac dealey ^ new epoch isn't it time for a change? ph: 781.769.0723 http://onTap.riaforge.org/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312592 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, Ajax and Autocomplete Problems
Can you provide us with the link to this page? Mike -Original Message- From: Ian Vaughan [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 9:28 AM To: CF-Talk Subject: RE: CF, Ajax and Autocomplete Problems Hi Mike I have surrounded it with a cfsilent tag to remove the white space, and its still the same, no errors but no results appear? And I'm using cfcontent as below. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312593 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, Ajax and Autocomplete Problems
Also, I see an ending /results tag, but no beginning results tag. Mike -Original Message- From: Ian Vaughan [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 9:28 AM To: CF-Talk Subject: RE: CF, Ajax and Autocomplete Problems Hi Mike I have surrounded it with a cfsilent tag to remove the white space, and its still the same, no errors but no results appear? And I'm using cfcontent as below. cfsilent /cfsilentcfsetting enablecfoutputonly=yes cfquery name=getNames datasource=dsn SELECT surname FROM tablename WHERE surname LIKE cfqueryparam cfsqltype=cf_sql_varchar value=#form.surname# ORDER by surname ASC /cfquery cfcontent type=text/xml; charset=UTF-8 reset=yes/cfoutput#theXML#/cfoutput cfloop from=1 to=#getNames.recordcount# index=ctr cfoutput !--- add the XML config entry --- rs id= info=#getNames.surname[ctr]##getNames.surname[ctr]#/rs /cfoutput /cfloop cfoutput /results /cfoutput /cfsavecontent cfoutput#theXML#/cfoutput /cfsilent ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312594 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CSS Question
cfoutput query=getHexID option value=#hex_id# cfif hex_id eq get_category.hex_idselectedcfelse/cfif span style=background-color:#hex_id#; border:medium; width:10px; height:10px;nbsp;/span#hex_id# /option /cfoutput any reason why the span tag shouldn't produce a small box colored with the dynamic hex value -- Scott Stewart ColdFusion Developer Office of Research Information Systems Research amp; Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312595 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Using Google Maps API
Hi, Lawrence, Before you do anything else, I would suggest changing your cfdiv into a regular div (and launch the JavaScript function with a hyperlink or something) just to make sure that there isn't something about the way cfdivs are rendered that the Google API doesn't like. If you get the same error when you use a regular div, then I'd suggest posting this question in the Google Group forum for the Google Map API (http://groups.google.je/group/Google-Maps-API). I looked there briefly and saw a number of posts about that error: one of them may be relevant to your situation. -- Brian Swartzfager [EMAIL PROTECTED] Hi Brian, Thanks for the advice - will try what you suggested. Lawrence ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312596 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SQL Help
Are the other fields in your table the same when the email is the same? Meaning, are the records really duplicate? Or is it just the email that is duplicate and the other fields may have varying values for two rows that have the same email? If they do vary, do you care which of the duplicate rows you return? Judah On Tue, Sep 16, 2008 at 7:50 AM, Jeff F [EMAIL PROTECTED] wrote: Thanks Jim. Now I see. I guess what I'm looking for would be something like this then: SELECT mytable.lastname,mytable.email FROM mytable GROUP BY mytable.email HAVING distinct(mytable.email) Which of course does not work. When there are records with duplicate emails addresses, I need to include one of them. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312597 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: SQL Help
When there are records with duplicate emails addresses, I need to include one of them. So you are trying to display one record for each email address? You could try something like this. Not tested, but the idea is to select a single PK for each email. Then use a JOIN to display the details for those PK's. SELECT m.lastname, m.firstname, m.city, m.state FROM mytable AS m INNER JOIN ( SELECT email, max(YourPK) AS YourPK FROMmyTable GROUP BY email ) as e ON m.YourPK = e.YourPK ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312598 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SQL Help
You could try something like this. Not tested, but the idea is to select a single PK for each email. Then use a JOIN to display the details for those PK's. Note, the previous query assumes it does not matter which record is returned. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312599 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CSS Question
Because a span is an inline element and cannot have a width applied to it. If you want a block you're either going to have to put more non-breaking spaces inside your span, use a div, or set display: block on your span. -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 11:07 AM To: CF-Talk Subject: CSS Question cfoutput query=getHexID option value=#hex_id# cfif hex_id eq get_category.hex_idselectedcfelse/cfif span style=background-color:#hex_id#; border:medium; width:10px; height:10px;nbsp;/span#hex_id# /option /cfoutput any reason why the span tag shouldn't produce a small box colored with the dynamic hex value -- Scott Stewart ColdFusion Developer Office of Research Information Systems Research amp; Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312600 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CSS Question
Put the style attribute in the option tag and get rid of the span. Chuck -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:07 PM To: CF-Talk Subject: CSS Question cfoutput query=getHexID option value=#hex_id# cfif hex_id eq get_category.hex_idselectedcfelse/cfif span style=background-color:#hex_id#; border:medium; width:10px; height:10px;nbsp;/span#hex_id# /option /cfoutput any reason why the span tag shouldn't produce a small box colored with the dynamic hex value -- Scott Stewart ColdFusion Developer Office of Research Information Systems Research amp; Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312601 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CSS Question
this colors the entire option tag here's the rendered html with a div in place, still no love select name=hex_id id=hex_id option value=#CC selecteddiv style=display: block; background-color:#CC; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#CC/option option value=#66CC66 div style=display: block; background-color:#66CC66; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#66CC66/option option value=#CC6699 div style=display: block; background-color:#CC6699; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#CC6699/option /select Weidler, Wilfred C. wrote: Put the style attribute in the option tag and get rid of the span. Chuck -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:07 PM To: CF-Talk Subject: CSS Question cfoutput query=getHexID option value=#hex_id# cfif hex_id eq get_category.hex_idselectedcfelse/cfif span style=background-color:#hex_id#; border:medium; width:10px; height:10px;nbsp;/span#hex_id# /option /cfoutput any reason why the span tag shouldn't produce a small box colored with the dynamic hex value -- Scott Stewart ColdFusion Developer Office of Research Information Systems Research amp; Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312602 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CSS Question
If you can live without support for IE6, you can set the display for the span to inline-block which (as best I can tell) makes it behave the way an image behaves with regard to its surface area. That will let you give it a width without needing to float it left or the like. -- s. isaac dealey ^ new epoch isn't it time for a change? ph: 781.769.0723 http://onTap.riaforge.org/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312603 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CSS Question
I don't believe that option tags can contain children. -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 11:30 AM To: CF-Talk Subject: Re: CSS Question this colors the entire option tag here's the rendered html with a div in place, still no love select name=hex_id id=hex_id option value=#CC selecteddiv style=display: block; background-color:#CC; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#CC/option option value=#66CC66 div style=display: block; background-color:#66CC66; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#66CC66/option option value=#CC6699 div style=display: block; background-color:#CC6699; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#CC6699/option /select Weidler, Wilfred C. wrote: Put the style attribute in the option tag and get rid of the span. Chuck -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:07 PM To: CF-Talk Subject: CSS Question cfoutput query=getHexID option value=#hex_id# cfif hex_id eq get_category.hex_idselectedcfelse/cfif span style=background-color:#hex_id#; border:medium; width:10px; height:10px;nbsp;/span#hex_id# /option /cfoutput any reason why the span tag shouldn't produce a small box colored with the dynamic hex value -- Scott Stewart ColdFusion Developer Office of Research Information Systems Research amp; Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312604 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CSS Question
cfoutput query=getHexID option value=#hex_id# cfif hex_id eq get_category.hex_idselectedcfelse/cfif span style=background-color:#hex_id#; border:medium; width:10px; height:10px;nbsp;/span#hex_id# /option /cfoutput any reason why the span tag shouldn't produce a small box colored with the dynamic hex value Oh I read the other replies first before I noticed that it was inside an option box... I've not done much with styling option elements, but I've heard that the support for it is pretty eratic. -- s. isaac dealey ^ new epoch isn't it time for a change? ph: 781.769.0723 http://onTap.riaforge.org/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312605 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CSS Question
Ok, I get what you are trying to do now. You want a colored box beside the hex value in the option tag. Correct? Chuck -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:30 PM To: CF-Talk Subject: Re: CSS Question this colors the entire option tag here's the rendered html with a div in place, still no love select name=hex_id id=hex_id option value=#CC selecteddiv style=display: block; background-color:#CC; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#CC/option option value=#66CC66 div style=display: block; background-color:#66CC66; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#66CC66/option option value=#CC6699 div style=display: block; background-color:#CC6699; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#CC6699/option /select Weidler, Wilfred C. wrote: Put the style attribute in the option tag and get rid of the span. Chuck -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:07 PM To: CF-Talk Subject: CSS Question cfoutput query=getHexID option value=#hex_id# cfif hex_id eq get_category.hex_idselectedcfelse/cfif span style=background-color:#hex_id#; border:medium; width:10px; height:10px;nbsp;/span#hex_id# /option /cfoutput any reason why the span tag shouldn't produce a small box colored with the dynamic hex value -- Scott Stewart ColdFusion Developer Office of Research Information Systems Research amp; Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312606 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: SQL Help
The records are from contest entries. People can only enter with one email address. Some people entered multiple times, using the same email address. I need to get a record set used to pick a winner, including just one of the records from the duplicate email entries. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312607 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 Report Builder - Report Format Error
Thanks Marcus. Just using the absolute path did the trick (could have sworn that I had tried that). What threw me off was that Dreamweaver provided only 3 options for the filename attribute and they were ftp:, http:, and https:. So I was really led astray by Dreamweaver (guess this is a case of one division of adobe not communicating with another!). Hi Jim, the filename attribute requires an absolute system path, you might try expandpath(). bye, marcus ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312608 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CSS Question
exactly... :) Weidler, Wilfred C. wrote: Ok, I get what you are trying to do now. You want a colored box beside the hex value in the option tag. Correct? Chuck -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:30 PM To: CF-Talk Subject: Re: CSS Question this colors the entire option tag here's the rendered html with a div in place, still no love select name=hex_id id=hex_id option value=#CC selecteddiv style=display: block; background-color:#CC; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#CC/option option value=#66CC66 div style=display: block; background-color:#66CC66; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#66CC66/option option value=#CC6699 div style=display: block; background-color:#CC6699; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#CC6699/option /select Weidler, Wilfred C. wrote: Put the style attribute in the option tag and get rid of the span. Chuck -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:07 PM To: CF-Talk Subject: CSS Question cfoutput query=getHexID option value=#hex_id# cfif hex_id eq get_category.hex_idselectedcfelse/cfif span style=background-color:#hex_id#; border:medium; width:10px; height:10px;nbsp;/span#hex_id# /option /cfoutput any reason why the span tag shouldn't produce a small box colored with the dynamic hex value -- Scott Stewart ColdFusion Developer Office of Research Information Systems Research amp; Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312609 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CSS Question
You can't color individual option tags. You can however color optgroup tags Sandra Clark = http://www.shayna.com Training and Consulting in CSS and Accessibility Team Fusebox -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:30 PM To: CF-Talk Subject: Re: CSS Question this colors the entire option tag here's the rendered html with a div in place, still no love select name=hex_id id=hex_id option value=#CC selecteddiv style=display: block; background-color:#CC; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#CC/option option value=#66CC66 div style=display: block; background-color:#66CC66; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#66CC66/option option value=#CC6699 div style=display: block; background-color:#CC6699; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#CC6699/option /select Weidler, Wilfred C. wrote: Put the style attribute in the option tag and get rid of the span. Chuck -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:07 PM To: CF-Talk Subject: CSS Question cfoutput query=getHexID option value=#hex_id# cfif hex_id eq get_category.hex_idselectedcfelse/cfif span style=background-color:#hex_id#; border:medium; width:10px; height:10px;nbsp;/span#hex_id# /option /cfoutput any reason why the span tag shouldn't produce a small box colored with the dynamic hex value -- Scott Stewart ColdFusion Developer Office of Research Information Systems Research amp; Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312610 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CF and PHP same server
Hey All, Just checking for any major gotchas with running CF and PHP on the same server (a VPS BTW)?? Would be CF 8 and whatever the latest PHP is. TIA Cheers - Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312611 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 and PHP same server
I do it without issue on several boxes. Web server just delegates to the right engine based on extension: works like a charm. cheers, barneyb On Tue, Sep 16, 2008 at 9:40 AM, Bryan Stevenson [EMAIL PROTECTED] wrote: Hey All, Just checking for any major gotchas with running CF and PHP on the same server (a VPS BTW)?? Would be CF 8 and whatever the latest PHP is. TIA Cheers - Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312612 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, Ajax and Autocomplete Problems
That code should through errors or output invalid xml, unless what you have posted is not the complete code. Visit the page in your browser and you should see some verbose errors from either coldfusion or your browser's xml parser. Dominic 2008/9/16 Ian Vaughan [EMAIL PROTECTED]: Hi Mike I have surrounded it with a cfsilent tag to remove the white space, and its still the same, no errors but no results appear? And I'm using cfcontent as below. cfsilent /cfsilentcfsetting enablecfoutputonly=yes cfquery name=getNames datasource=dsn SELECT surname FROM tablename WHERE surname LIKE cfqueryparam cfsqltype=cf_sql_varchar value=#form.surname# ORDER by surname ASC /cfquery cfcontent type=text/xml; charset=UTF-8 reset=yes/cfoutput#theXML#/cfoutput cfloop from=1 to=#getNames.recordcount# index=ctr cfoutput !--- add the XML config entry --- rs id= info=#getNames.surname[ctr]##getNames.surname[ctr]#/rs /cfoutput /cfloop cfoutput /results /cfoutput /cfsavecontent cfoutput#theXML#/cfoutput /cfsilent ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312613 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: SQL Help
I need to get a record set used to pick a winner, including just one of the records from the duplicate email entries. If it does not matter which one, try the query I posted in my first response. The syntax is not tested, but it has the right concept. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312614 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CSS Question
I've applied a style (background-color=red) to an individual option tag and it's colored in the drop down. Sandra Clark wrote: You can't color individual option tags. You can however color optgroup tags Sandra Clark = http://www.shayna.com Training and Consulting in CSS and Accessibility Team Fusebox -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:30 PM To: CF-Talk Subject: Re: CSS Question this colors the entire option tag here's the rendered html with a div in place, still no love select name=hex_id id=hex_id option value=#CC selecteddiv style=display: block; background-color:#CC; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#CC/option option value=#66CC66 div style=display: block; background-color:#66CC66; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#66CC66/option option value=#CC6699 div style=display: block; background-color:#CC6699; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#CC6699/option /select Weidler, Wilfred C. wrote: Put the style attribute in the option tag and get rid of the span. Chuck -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:07 PM To: CF-Talk Subject: CSS Question cfoutput query=getHexID option value=#hex_id# cfif hex_id eq get_category.hex_idselectedcfelse/cfif span style=background-color:#hex_id#; border:medium; width:10px; height:10px;nbsp;/span#hex_id# /option /cfoutput any reason why the span tag shouldn't produce a small box colored with the dynamic hex value -- Scott Stewart ColdFusion Developer Office of Research Information Systems Research amp; Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312615 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: SQL Help
The records are from contest entries. People can only enter with one email address. Some people entered multiple times, using the same email address. I need to get a record set used to pick a winner, including just one of the records from the duplicate email entries. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312616 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CSS Question
Hi Sandra, First off, let me say that I absolutely accept you as the authority on CSS, at least on this list. But... This seems to work (in the drop-downs if no size specified), even on chrome: form select name=s option style=background-color:greenGreen/option option style=background-color:redRed/option /select /form -Original Message- From: Sandra Clark [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:40 PM To: CF-Talk Subject: RE: CSS Question You can't color individual option tags. You can however color optgroup tags Sandra Clark = http://www.shayna.com Training and Consulting in CSS and Accessibility Team Fusebox -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:30 PM To: CF-Talk Subject: Re: CSS Question this colors the entire option tag here's the rendered html with a div in place, still no love select name=hex_id id=hex_id option value=#CC selecteddiv style=display: block; background-color:#CC; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#CC/option option value=#66CC66 div style=display: block; background-color:#66CC66; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#66CC66/option option value=#CC6699 div style=display: block; background-color:#CC6699; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#CC6699/option /select Weidler, Wilfred C. wrote: Put the style attribute in the option tag and get rid of the span. Chuck -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:07 PM To: CF-Talk Subject: CSS Question cfoutput query=getHexID option value=#hex_id# cfif hex_id eq get_category.hex_idselectedcfelse/cfif span style=background-color:#hex_id#; border:medium; width:10px; height:10px;nbsp;/span#hex_id# /option /cfoutput any reason why the span tag shouldn't produce a small box colored with the dynamic hex value -- Scott Stewart ColdFusion Developer Office of Research Information Systems Research amp; Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312617 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: SQL Help
The records are from contest entries. People can only enter with one email address. Some people entered multiple times, using the same email address. So, why all the complexity with joins and subqueries? Just... SELECT DISTINCT email FROM sometable then pick a winner from the list of unique e-mail addresses. Go back and grab one of the entries with that e-mail address at random for the contact information. This way you're picking from a list of unique e-mail addresses that entered the drawing. It also begs the question, if they were only supposed to have one entry per e-mail address, why wasn't there error checking or a constraint on the table to force this in the first place? -Justin Scott, http://www.tlson.com/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312618 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CSS Question
Sorry, I saw color. Its been a while since I attempted a color in an option. I tend to use optgroup for those. Mea Culpa Sandra Clark = http://www.shayna.com Training and Consulting in CSS and Accessibility Team Fusebox -Original Message- From: Dave Francis [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:53 PM To: CF-Talk Subject: RE: CSS Question Hi Sandra, First off, let me say that I absolutely accept you as the authority on CSS, at least on this list. But... This seems to work (in the drop-downs if no size specified), even on chrome: form select name=s option style=background-color:greenGreen/option option style=background-color:redRed/option /select /form -Original Message- From: Sandra Clark [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:40 PM To: CF-Talk Subject: RE: CSS Question You can't color individual option tags. You can however color optgroup tags Sandra Clark = http://www.shayna.com Training and Consulting in CSS and Accessibility Team Fusebox -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:30 PM To: CF-Talk Subject: Re: CSS Question this colors the entire option tag here's the rendered html with a div in place, still no love select name=hex_id id=hex_id option value=#CC selecteddiv style=display: block; background-color:#CC; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#CC/option option value=#66CC66 div style=display: block; background-color:#66CC66; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#66CC66/option option value=#CC6699 div style=display: block; background-color:#CC6699; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#CC6699/option /select Weidler, Wilfred C. wrote: Put the style attribute in the option tag and get rid of the span. Chuck -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:07 PM To: CF-Talk Subject: CSS Question cfoutput query=getHexID option value=#hex_id# cfif hex_id eq get_category.hex_idselectedcfelse/cfif span style=background-color:#hex_id#; border:medium; width:10px; height:10px;nbsp;/span#hex_id# /option /cfoutput any reason why the span tag shouldn't produce a small box colored with the dynamic hex value -- Scott Stewart ColdFusion Developer Office of Research Information Systems Research amp; Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312619 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SQL Help
It also begs the question, if they were only supposed to have one entry per e-mail address, why wasn't there error checking or a constraint on the table to force this in the first place? True enough. I was thinking the same thing myself ;-) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312620 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 and PHP same server
On Tue, 2008-09-16 at 09:42 -0700, Barney Boisvert wrote: I do it without issue on several boxes. Web server just delegates to the right engine based on extension: works like a charm. cheers, barneyb Thanks Barneyfigured it would be fairly safe/straightforward. BTW...what OS and web server are you doing this with? Windows/IIS? Windows/Apache? Linux/Apache? Other? We'd be Windows 2003 with IIS 6 for this one. TIA Cheers - Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312621 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CSS Question
this slid in late Scott Stewart wrote: I've applied a style (background-color=red) to an individual option tag and it's colored in the drop down. Sandra Clark wrote: You can't color individual option tags. You can however color optgroup tags Sandra Clark = http://www.shayna.com Training and Consulting in CSS and Accessibility Team Fusebox -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:30 PM To: CF-Talk Subject: Re: CSS Question this colors the entire option tag here's the rendered html with a div in place, still no love select name=hex_id id=hex_id option value=#CC selecteddiv style=display: block; background-color:#CC; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#CC/option option value=#66CC66 div style=display: block; background-color:#66CC66; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#66CC66/option option value=#CC6699 div style=display: block; background-color:#CC6699; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#CC6699/option /select Weidler, Wilfred C. wrote: Put the style attribute in the option tag and get rid of the span. Chuck -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:07 PM To: CF-Talk Subject: CSS Question cfoutput query=getHexID option value=#hex_id# cfif hex_id eq get_category.hex_idselectedcfelse/cfif span style=background-color:#hex_id#; border:medium; width:10px; height:10px;nbsp;/span#hex_id# /option /cfoutput any reason why the span tag shouldn't produce a small box colored with the dynamic hex value -- Scott Stewart ColdFusion Developer Office of Research Information Systems Research amp; Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312623 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CSS Question
Scott Stewart wrote: I've applied a style (background-color=red) to an individual option tag and it's colored in the drop down. Sandra Clark wrote: You can't color individual option tags. You can however color optgroup tags Sandra Clark = http://www.shayna.com Training and Consulting in CSS and Accessibility Team Fusebox -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:30 PM To: CF-Talk Subject: Re: CSS Question this colors the entire option tag here's the rendered html with a div in place, still no love select name=hex_id id=hex_id option value=#CC selecteddiv style=display: block; background-color:#CC; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#CC/option option value=#66CC66 div style=display: block; background-color:#66CC66; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#66CC66/option option value=#CC6699 div style=display: block; background-color:#CC6699; border:medium; border-color:#00; width:10px; height:10px;nbsp;/div#CC6699/option /select Weidler, Wilfred C. wrote: Put the style attribute in the option tag and get rid of the span. Chuck -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:07 PM To: CF-Talk Subject: CSS Question cfoutput query=getHexID option value=#hex_id# cfif hex_id eq get_category.hex_idselectedcfelse/cfif span style=background-color:#hex_id#; border:medium; width:10px; height:10px;nbsp;/span#hex_id# /option /cfoutput any reason why the span tag shouldn't produce a small box colored with the dynamic hex value -- Scott Stewart ColdFusion Developer Office of Research Information Systems Research amp; Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312622 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 and PHP same server
I use Apache on Linux everywhere I've done both, using both JRun and Tomcat as the JEE server for CF to live in. cheers, barneyb On Tue, Sep 16, 2008 at 10:11 AM, Bryan Stevenson [EMAIL PROTECTED] wrote: BTW...what OS and web server are you doing this with? Windows/IIS? Windows/Apache? Linux/Apache? Other? We'd be Windows 2003 with IIS 6 for this one. TIA Cheers - -- Barney Boisvert [EMAIL PROTECTED] http://www.barneyb.com/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312624 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Flex CFC Call Problem - Unable to invoke CFC - Could not find the ColdFusion Component or Interface
Hey all. I'm really new to Flex and CF and I am having to get someone else's code running on my local machine (ie local apache, local mssql, local cf). I can get the page to semi load but when I load it I get an error that says Unable to invoke CFC - Could not find the ColdFusion Component or Interface I can't seem to figure out why the flex can't find the CFC. The cfc file is two directories below the main html file but the code points down those 2 directories (folder1.folder2.myservice.cfc). Any ideas what might be causing this error? It's driving me absolutely nuts. Thanks, Matt ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312625 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Flex CFC Call Problem - Unable to invoke CFC - Could not find the ColdFusion Component or Interface
Flex searches from the web root down. You should be able to point from the web root down and invoke it using the url. http://localhost/folder1/folder2/myservice.cfc?method=test If you can not then it is not pointing to the right location of the cfc. Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org On Tue, Sep 16, 2008 at 2:55 PM, Matthew Dolloff [EMAIL PROTECTED] wrote: Hey all. I'm really new to Flex and CF and I am having to get someone else's code running on my local machine (ie local apache, local mssql, local cf). I can get the page to semi load but when I load it I get an error that says Unable to invoke CFC - Could not find the ColdFusion Component or Interface I can't seem to figure out why the flex can't find the CFC. The cfc file is two directories below the main html file but the code points down those 2 directories (folder1.folder2.myservice.cfc). Any ideas what might be causing this error? It's driving me absolutely nuts. Thanks, Matt ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312626 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Flex CFC Call Problem - Unable to invoke CFC - Could not find the ColdFusion Component or Interface
Flex searches from the web root down. You should be able to point from the web root down and invoke it using the url. http://localhost/folder1/folder2/myservice.cfc?method=test If you can not then it is not pointing to the right location of the cfc. Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org On Tue, Sep 16, 2008 at 2:55 PM, Matthew Dolloff [EMAIL PROTECTED] wrote: Right now the service.xml file has the line SERVICE ALIAS=ABC SERVICEPATH=ABC.cfservices.MyService DESTINATION=ColdFusion CLASSNAME=ABC.services.MyService / Is this where i would change the path? The ABC folder is contained in my root directory such that localhost/ABC/ABC.html ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312627 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Flex CFC Call Problem - Unable to invoke CFC - Could not find the ColdFusion Component or Interface
Hey all. I'm really new to Flex and CF and I am having to get someone else's code running on my local machine (ie local apache, local mssql, local cf). I can get the page to semi load but when I load it I get an error that says Unable to invoke CFC - Could not find the ColdFusion Component or Interface I can't seem to figure out why the flex can't find the CFC. The cfc file is two directories below the main html file but the code points down those 2 directories (folder1.folder2.myservice.cfc). Any ideas what might be causing this error? It's driving me absolutely nuts. Are you using Remoting? Or WebService? If you're using Remoting, did you recompile your app after changing services-config.xml? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312628 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, JQuery and IE
Typically, when there's jQuery AJAX stuff working in FF3 but not IE, it means you're returning malformed markup. Seems counterintuitive, but IE is the browser that barfs. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312629 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfcookie expires default
Hello every one. coldfusion 8 I am using this to setup my cookie cfcookie name=country value=#locale# expires=NEVER / problem is that the cookie expires at the end of session and when I restart the browser is not there any nore. This means that it is taking the default parameter. Any ideas ? Thanx Ioannis ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312630 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Flex CFC Call Problem - Unable to invoke CFC - Could not find the ColdFusion Component or Interface
Hey all. I'm really new to Flex and CF and I am having to Are you using Remoting? Or WebService? If you're using Remoting, did you recompile your app after changing services-config.xml? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! I'm using web services since those were provided to me the database people that I am trying to talk to. I wish this were easier, but unfortunately this is my first hack at Flex/CF and this is not a straight forward program at all. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312631 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfcookie expires default
Check to make sure you're not deleting it when you log out of your application, if you log out. Also, check to make sure you're not recreating it or changing the value anywhere, such as with a cfset or in javascript, as both of these can change it to the default session based timeout. Otherwise, try a different browser (ie instead of ffx or something), as you may inadvertently have your cookie security up too high. nathan strutz [Blog and Family @ http://www.dopefly.com/] [AZCFUG Manager @ http://www.azcfug.org/] On Tue, Sep 16, 2008 at 1:50 PM, Ioannis Papanikolaou [EMAIL PROTECTED]wrote: Hello every one. coldfusion 8 I am using this to setup my cookie cfcookie name=country value=#locale# expires=NEVER / problem is that the cookie expires at the end of session and when I restart the browser is not there any nore. This means that it is taking the default parameter. Any ideas ? Thanx Ioannis ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312632 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfcookie expires default
Is the No cookies before a cflocation bug still there in CF8? Nathan Strutz wrote: Check to make sure you're not deleting it when you log out of your application, if you log out. Also, check to make sure you're not recreating it or changing the value anywhere, such as with a cfset or in javascript, as both of these can change it to the default session based timeout. Otherwise, try a different browser (ie instead of ffx or something), as you may inadvertently have your cookie security up too high. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312633 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
capture url variable?
Hi, I need to capture a url variable then add it to a redirect so my application which is changing servers will still work. Not sure where to start. Thanks, John ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312634 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Optimize Query of Query
I have a process that needs to do about 500 record lookups by ID. I thought I'd do a single query of the table, pulling down the needed data for every record on file (say 1000 records, just three columns) and then use QoQ instead of hitting the database so many times. Is there any way to index or otherwise optimize the dataset that I retrieve to optimize the query of query lookups? If I'm doing lookups using a particular column, would it help to sort the query by that column? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312635 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: capture url variable?
Here is a link to a tutorial: http://www.peachpit.com/articles/article.aspx?p=30497seqNum=9 Here is my take on it with a meta-refresh: meta http-equiv=refresh content=0; url=http://localhost/ cfoutput?#URL.myvar#/cfoutput But, it is pretty much 5pm, so I wouldn't trust it :) speeves On Tue, Sep 16, 2008 at 5:00 PM, John P [EMAIL PROTECTED] wrote: Hi, I need to capture a url variable then add it to a redirect so my application which is changing servers will still work. Not sure where to start. Thanks, John ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312636 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: capture url variable?
K... Could you give us a little more info? What url variable are you looking to capture and what do you want to do with it in the re-direct? Are you looking to simply take whatever is in the URL string and pass it off to another server like this: http://www.MyOldAndSoonToBeGoneServer.com/index.cfm?login=ysomeothervar=23 redirects to http://www.MyNewServer.com/index.cfm?login=ysomeothervar=23 That's super easy if that is the case cflocation url=http://www.MyNewServer.com/index.cfm?#cgi.query_string#; -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312637 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: capture url variable?
cgi.query_string cflocation URL=somewhere_else?#cgi.query_string# addtoken=no / On Tue, Sep 16, 2008 at 3:00 PM, John P [EMAIL PROTECTED] wrote: Hi, I need to capture a url variable then add it to a redirect so my application which is changing servers will still work. Not sure where to start. Thanks, John ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312638 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: capture url variable?
Thank you all, that's exactly what I wanted to do. cgi.query_string cflocation URL=somewhere_else?#cgi.query_string# addtoken=no / ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312639 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, Ajax and Autocomplete Problems
Hi, I may also be missing something here, but why are you opening a cfsilent and then closing it straight away? cfsilent /cfsilentcfsetting enablecfoutputonly=yes. The very last line of code has a closing cfsilent with no opening tag. Cheers Mark ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312640 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfcookie expires default
hello Nathan, It is not a browser issue or that I am reseting the cookie on the page load. The cookie it self is not not taking the corect Expires parameter. If I check on the cookie manager on firefox I have at end of session This has been tested on opera chrome and firefox. Philip, I am not aware of the issue you are refering to. Could you please provide relative links Thanx for the help ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312641 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfcookie expires default
Back in CF5 (and 6 I think), if you did a cflocation on the same page as the cfcookie, the cookie didn't take. Are you doing it? If so, try removing the cflocation and see what happens. I suspect they fixed the bug in CF8, but perhaps not. Ioannis Papanikolaou wrote: Philip, I am not aware of the issue you are refering to. Could you please provide relative links ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312642 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfcookie expires default
it's been fixed for a couple of versions. as of 6.1 (maybe 6.0) :) On Tue, Sep 16, 2008 at 4:00 PM, Phillip M. Vector [EMAIL PROTECTED] wrote: Back in CF5 (and 6 I think), if you did a cflocation on the same page as the cfcookie, the cookie didn't take. Are you doing it? If so, try removing the cflocation and see what happens. I suspect they fixed the bug in CF8, but perhaps not. Ioannis Papanikolaou wrote: Philip, I am not aware of the issue you are refering to. Could you please provide relative links ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312643 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Flex CFC Call Problem - Unable to invoke CFC - Could not find the ColdFusion Component or Interface
Make sure use-mappings is set to true in your services-config.xml. On Tue, Sep 16, 2008 at 2:55 PM, Matthew Dolloff [EMAIL PROTECTED] wrote: Hey all. I'm really new to Flex and CF and I am having to get someone else's code running on my local machine (ie local apache, local mssql, local cf). I can get the page to semi load but when I load it I get an error that says Unable to invoke CFC - Could not find the ColdFusion Component or Interface I can't seem to figure out why the flex can't find the CFC. The cfc file is two directories below the main html file but the code points down those 2 directories (folder1.folder2.myservice.cfc). Any ideas what might be causing this error? It's driving me absolutely nuts. Thanks, Matt ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312644 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 and PHP same server
On Wed, Sep 17, 2008 at 2:11 AM, Bryan Stevenson [EMAIL PROTECTED] wrote: BTW...what OS and web server are you doing this with? We'd be Windows 2003 with IIS 6 for this one. I've been running this config on shared hosting for 3+ years - so I can run WordPress for my blog and CF for demos. Have never had an issue. On the new server I'm moving to (same basic setup) there were a few issues with permissions that needed to be sorted before WordPress could write files properly but they were probably more related to the Plesk Control Panel software than anything else. -- Kay Smoljak business: www.cleverstarfish.com coldfusion: kay.smoljak.com personal: enterthegoatlady.com | heapsbad.com ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312645 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 and PHP same server
PHP requires a single threaded webserver (as some of the libraries it runs aren't thread safe: http://neosmart.net/blog/2008/dont-believe-the-lies-php-isnt-thread-safe-yet/), so you need to run the Apache Prefork MPM. This is less than optimal for high volume sites, but it will work. On Wed, Sep 17, 2008 at 1:40 AM, Bryan Stevenson [EMAIL PROTECTED] wrote: Hey All, Just checking for any major gotchas with running CF and PHP on the same server (a VPS BTW)?? Would be CF 8 and whatever the latest PHP is. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312646 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfmail no longer working AND scheduled tasks arent being run
The logs indicate that the processes are running. I am not sure of what auth the mail server is using. What do the log files for the mail indicate. Usually they will give a reason as to why they are undeliverable. What authentication is the mail server using? I mean, when it hits your mail server what are the credentials supplied? Rob ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312647 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfmail no longer working AND scheduled tasks arent being run
Well there are two places where credentials can be supplied to the mail server from CF. Either in the Administrator, there is a login and password combination supplied, or it is done in the cfmail tag in the page that is actually sending the e-mail. Again look in the mail.log to see if there is an authentication error like: *Apr 29, 2008* *11:34 AM* *Error* *jrpp-64* **Authentication Failed this error means that whatever email credentials you are passing are not accepted by your mail server. Now as for the scheduled tasks, try pausing them and then resuming, and if that doesn't work, have your tried restarting the CF Server? Rob On Tue, Sep 16, 2008 at 7:59 PM, Torrent Girl [EMAIL PROTECTED] wrote: The logs indicate that the processes are running. I am not sure of what auth the mail server is using. What do the log files for the mail indicate. Usually they will give a reason as to why they are undeliverable. What authentication is the mail server using? I mean, when it hits your mail server what are the credentials supplied? Rob ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312648 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Flex CFC Call Problem - Unable to invoke CFC - Could not find the ColdFusion Component or Interface
I'm using web services since those were provided to me the database people that I am trying to talk to. I wish this were easier, but unfortunately this is my first hack at Flex/CF and this is not a straight forward program at all. So, in your Flex app, you have something like this? mx:WebService id=userRequest wsdl=http://localhost:8500/path/to/your.cfc?wsdl; What happens if you go to the WSDL URL in a browser? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312649 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Period at end of domain name causes SSL warnings
An interesting situation arose when someone sent an email with our server URL that included a period (dot) at the end of the domain name like this: http://www.servername.edu. and they actually included the period as part of the link. It throws a nasty SSL warning. Strangely, it does not say server not found. Instead, it goes to the server, but when the SSL portion of the page loads, a big fat SSL warning shows up because www.servername.edu. does NOT match the SSL name of www.servername.edu Even more strange, utilities like ping, nslookup and tracert all allow this convention as well, without throwing not found errors. Interestingly Google Chrome does NOT complain about a mismatched SSL name. Anyway, anyone seen this? Can anyone shed some light as to why a period at the end of a hostname is acceptable? I tried searching Google for [(dot OR period) end of (domain OR server) name] but it didn't come up with much. Any insight is appreciated. Dan ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312650 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, JQuery and IE
i have had issues with running jquery-based scripts inside cfwindow/cfdiv. make sure you initate jquery and write the functions you call in the calling page, not in the page loaded inside cfdiv. you may also have to re-initiate events and/or properly delegate events on content load in cfdiv. hth Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Scott Stewart wrote: Hey all, i think I've got multiple issues going on here, but I'll try to explain this as best as I can... I. Using JQuery and cfdiv on the same page. I've got a page that loads content into a cfdiv, inside the loaded content is a call to the JQuery popupwindow plugin. Is the JQuery call negated by the Ajax libraries that CF uses? II. JQuery in IE vs. FF I thought JQuery was fully compatible in both, but I'm having fits trying to get plugins to work in IE III. Has anyone gotten this to work HLLP!!! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312651 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, JQuery and IE
yeah, to add to what Azadi said... i've not done anything yet with cfdiv, but i've worked with cfwindow. integrating jquery into a cfwindow is tricky. as per the docs, functions inside cfwindow (and maybe cfdiv as well?) need to be in the format of: myFunction = function (args) { stuff } not: function myFunction(args) { stuff } when working with jquery plugins (or any external script), you can't be sure that this format is going to be adhered to. cfwindow is very very very sad when that format is not adhered to. On Tue, Sep 16, 2008 at 6:16 PM, Azadi Saryev [EMAIL PROTECTED] wrote: i have had issues with running jquery-based scripts inside cfwindow/cfdiv. make sure you initate jquery and write the functions you call in the calling page, not in the page loaded inside cfdiv. you may also have to re-initiate events and/or properly delegate events on content load in cfdiv. hth Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Scott Stewart wrote: Hey all, i think I've got multiple issues going on here, but I'll try to explain this as best as I can... I. Using JQuery and cfdiv on the same page. I've got a page that loads content into a cfdiv, inside the loaded content is a call to the JQuery popupwindow plugin. Is the JQuery call negated by the Ajax libraries that CF uses? II. JQuery in IE vs. FF I thought JQuery was fully compatible in both, but I'm having fits trying to get plugins to work in IE III. Has anyone gotten this to work HLLP!!! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312652 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, JQuery and IE
btw, you can easily implement cfdiv and cfwindow functionality with just jquery... jquery has native methods to load ajax content into an element on a page like a div, and there are nice plug-ins like thickbox and jqmodal that have same functionality as cfwindow... of course, cf makes it a lot easier with its on-lineres of code instead of couple lines of simple jquery code... on the other hand, i find that payload of jquery, even with extra plug-ins, is way less than that of cf-loaded js libraries, making you page lighter and faster to load... Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Scott Stewart wrote: Hey all, i think I've got multiple issues going on here, but I'll try to explain this as best as I can... I. Using JQuery and cfdiv on the same page. I've got a page that loads content into a cfdiv, inside the loaded content is a call to the JQuery popupwindow plugin. Is the JQuery call negated by the Ajax libraries that CF uses? II. JQuery in IE vs. FF I thought JQuery was fully compatible in both, but I'm having fits trying to get plugins to work in IE III. Has anyone gotten this to work HLLP!!! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312653 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4