Re: CFIF Statement
I think my point is that, sometimes, beer *is*, even if we can't prove it. I'm not sure what that means, but I get the feeling, that if I could see it clearly, I would grok it impossibly fast, knowing in an instant, the state of all beer in the system. Except for that beer that I'm pretty sure I'll drink, even if I can't see it. To hell with all the ambiguity; I'd go with beer(), which ALWAYS returns beer. Or maybe it *is* beer, incarnate. I haven't decided yet. But I *do* know, that: It wouldn't matter if the network was down, power was out, or how many flies it takes to screw in a bulb. Like I said, beer is- but the more you try to define it, the less something something something. Damn. Right when I was going to tie it all back toghether in one of those Usual Suspects drop the mug moments. Well, tallyho! Off I go, before Mike D drops the hammer- Quick, type normal! (it's not even the weekend!) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255118 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFIF Statement
lol, I tested it again and it did return 0..maybe it was from an SP I did not get a recordcoun...will have to re-check. either way, IMO using query.recordcount just isn't correct either visually or in principle..(again IMO so lets just end this now ;-). In it's simplest form a boolean value will have two values in the recordcount case it is like saying 0 is false ...and everything else you throw at me is True. I am sure there are other ways etc which people are stuck into which work but they see as right/wrong! Maybe if they changed it to be query.records as well as query.recordcount where it returns a true / false return value would be great! As for what is true'er... I dunno, in a certain election in 2000, there were two true values in a boolean check (in itself wrong), one was true-er than the other?just not the one everyone knew it to be ;-) maybe this is cf-community time...lol. -Original Message- From: Denny Valliant To: CF-Talk Sent: 03/10/2006 03:08 Subject: Re: CFIF Statement On 10/2/06, Dave Watts [EMAIL PROTECTED] wrote: Sorry so wordy with so little clarity, probably, but I'll use this example, that I think Neil might have given: if(someQuery.recordcount GT 0) vs. if(someQuery.recordcount) The second, while being true, isn't as true as the first. That's ridiculous, by definition. There are no gradations within truth values in Boolean logic. This made me laugh out loud. A good laugh, mind! =] If I were to switch languages, w/#1 it would be clear that recordcount is numeric, and might shed some light on the language as a whole. Yes, and I'm normally in favor of explicit, self-documenting code. But this is a trivial piece of information. It's not like, say, pre- and post-increment operators in C-style languages. A CF programmer will have to know the following, for either line of code to make sense: It's amazing how the most trivial of things can turn out to be a stumbler for another individual. Normally... well, that's not very Boolean of you. =P And hey, what if there is some warp hole, or what-have you, and the only bit of code to survive is that one line? How much info would those 5 chars give? There may not be any shades in boolean logic, (maybe- I'm not convinced =), but you sure do have a lot of presuming and external info going on in the following paragraphs, which those 5 chars /might/ help avoid, or make clear instantly, first time around, or whatever. Maybe. Like I said, it's important, and it doesn't really matter. Whatever is clever, there is no right answer, etc., etc.. *shrug* All I know is that whenever I switch projects, unless I'm in multi-mode, there is a little ambiguity going on while getting my mind in gear, and that is just how complicated systems are, at least for me, no matter how future thinking or whatever you want to call it, the code is. Maybe there is a level of simplicity that... well, I think it ties in with Godel (insert the funky o back there, IIRC), really, and I'm betting you know what I'm talking about (at least Re: Godel and The Truth ;). I do have to stand on the side of someQuery.recordcount GT 0 though- sorry man, but it just looks more boolean. =-] ** Things won't be different in the morning, right Dave? You still love me? I know, it would be impossible not to. *|)3|\|* -ps a strange 42170 to you too. But Not Normally !] -pps all this is with laughter- if it comes across any other way, shoot the net. 1. All query objects contain a value called RecordCount. 2. This value contains the number of records within the query. Now, those things aren't immediately obvious, and therefore require some knowledge about CF. But many programming languages allow implicit evaluation of numeric values as Boolean values, and any programmer who reads the second line of code will either know that and realize that CF must be one of those languages, or they won't. If they don't, they will presumably know that RecordCount is a numeric value, but that CFIF requires a Boolean expression. They can then see, by simply running the code, that CF can figure out how to make sense of it. And this is the kind of problem that you only have to figure out once - the first time you see it, it might be mildly confusing, but once you understand it you'll never be confused again. This differs from generally ambiguous code, which requires you to reinterpret it practically every time you read it. And of course, we make similar assumptions all the time, when reading CF code: cfset numericvar = 42 cfset numericvar = numericvar 17 cfset result = numericvar * 10 !--- wtf? I thought numericvar contained a string! --- Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your
js problem in safari
the following code works in pretty much all the browsers except Safari. All it is a show/hide layers on link click, anyone have any suggestions? cfsavecontent variable=showjs cfoutput script type=text/JavaScript !-- function pv(obj,cP,jP){ if(typeof(obj)!='object'){var obj=document.getElementById(obj);} if(typeof(obj.currentStyle)!='object'){ return (typeof(document.defaultView)=='object')? document.defaultView.getComputedStyle(obj,'').getPropertyValue(cP): obj.style.getPropertyValue(cP);} else{ return (navigator.appVersion.indexOf('Mac')!=-1)? obj.currentStyle.getPropertyValue(cP): obj.currentStyle.getAttribute((jP)?jP:cP);} } function toggleIt(){ var obj,cS,args=toggleIt.arguments;document.MM_returnValue=(typeof(args[0].href)!='string')?true:false; for(var i=1;iargs.length;i++){obj=document.getElementById(args[i]); if(obj){cS=pv(obj,'display'); if(!obj.jw_OD){obj.jw_OD=(cS!='none'cS!='')?cS:(obj.tagName.toUpperCase()=='TR' cS!=='none')?'': (obj.tagName.toUpperCase()=='TR' typeof(obj.currentStyle)!='object')?'table-row':'block';} obj.style.display=(cS!='none')?'none':obj.jw_OD}} } //-- /script /cfoutput /cfsavecontent cfhtmlhead text=#showjs# cfloop query=getFaqs cfif not isdefined(thisCount) cfset thisCount = 1 cfelse cfset thisCount = thisCount + 1 /cfif p class=pcentera href=javascript:; onclick=toggleIt(this,'sh#thisCount#');return document.MM_returnValue#getFaqs.jtbl_question#/abr /span id=sh#thisCount# style=display:none;#getFaqs.jtbl_answer#/span/p /cfloop ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255120 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Disabling the back button
Nothing ALT-Arrow key can't get round though. Like others noted, it is a fruitles excercise trying to disable it This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Denny Valliant To: CF-Talk Sent: Tue Oct 03 02:29:52 2006 Subject: Re: Disabling the back button You can also create a window without a back button... no toolbar items at all. Then throw in a couple of JS no back functions, and you're in like Errol (sp?). FWIW, and to really be a devil in need of shooting (again ;-P), so long as you make it clear that they shouldn't use the back button, (like not having one, for instance), I'd say it's kosher. There's too much crap out there already (especially with web2.0) breaking these usibility standards to worry too much about it now. For sure not in a closed environment, I'd wager- but to each their own. At least with no buttons and disclaimers, you'd be some percentage above a bunch of stuff that's already pretty mainstream. Anywhaze... So, Jesus walks into a bar, pulls out three nails, and asks... hmmm... forget how that one goes. =]DeN On 10/2/06, Doug Brown [EMAIL PROTECTED] wrote: There is really no way of disabling the browsers back button that I know of. You can do... body OnLoad=histor.go(+1) - Original Message - From: Will Tomlinson [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, October 02, 2006 12:55 PM Subject: Disabling the back button My buddy's testing application depends on not using the browser's back button. If it's used, the app behaves like a disco dance floor. What do folks do here to disable the back button? Thanks, Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255121 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFHTTP over HTTPS
Anyone have any idea why a site that previously was working fine making CFHTTP requests to an https URL, suddenly stopped working with Connection Failure: Status code unavailable: I am aware of the articles about importing the SSL into the JVM keystore and that this is supposedly required to use CFHTTP over https, but as I said, this site has been working fine up till now without this action needing to be taken. -- Russ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255122 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFHTTP over HTTPS
Perhaps the SSL cert expired? On 10/3/06, Snake [EMAIL PROTECTED] wrote: Anyone have any idea why a site that previously was working fine making CFHTTP requests to an https URL, suddenly stopped working with Connection Failure: Status code unavailable: I am aware of the articles about importing the SSL into the JVM keystore and that this is supposedly required to use CFHTTP over https, but as I said, this site has been working fine up till now without this action needing to be taken. -- Russ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255123 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: standards with error handling
On Monday 02 October 2006 15:29, Richard White wrote: I am wondering whether it is good practise to either place error handlers such as try, cathes, where i think there may be possible errors, such as getting files that may not be available etc... or whether it is good practise to place error handlers all over the code just in case unexpected errors occur The first thing you should do is write (or google for) a top level error template that emails you all the popular scopes (session, url, form, cgi ...) along with any other application info that might be useful (the current user ...). Set this as the global error handler either in Application.cfm or the ColdFusion administrator). As to try/catch/throw: I think it's only worth catching something if you can recover from it, or you really want to show a specific error to the end user - typicaly file not found errors will only happen during dev. or inital set-up, for instance, when you'll have robust exceptions turned on anyway. I tend to throw errors when parsing configuration files, for instance, and not bother trapping them. -- Tom Chiverton Helping to authoritatively leverage exceptional mindshares This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255124 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Break it down for n00bs: security problems of non-SSL intrane t?
On Monday 02 October 2006 23:32, Dave Watts wrote: certificate. The only effective man-in-the-middle attack you could make here is if you tricked people into going to your site instead of the target site, then had your site make SSL requests to the target site .. prohibitively expensive to examine. SSL doesn't just encrypt the traffic, it handles key exchange in a relatively secure way. There are web proxies / response mangerling programs that perform this exact job for debugging purposes, just to throw an idea out there. -- Tom Chiverton Helping to synergistically e-enable advanced networks This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255125 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: js problem in safari
On Tuesday 03 October 2006 07:48, Dave Lyons wrote: the following code works in pretty much all the browsers except Safari. All it is a show/hide layers on link click, anyone have any suggestions? Find out which bit breaks. alert()'ing variables helps here if Safari lacks a decent JS debugger. -- Tom Chiverton Helping to centrally harness granular materials This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255126 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFHTTP over HTTPS
How would this stop CFHTTP working? -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: 03 October 2006 09:32 To: CF-Talk Subject: Re: CFHTTP over HTTPS Perhaps the SSL cert expired? On 10/3/06, Snake [EMAIL PROTECTED] wrote: Anyone have any idea why a site that previously was working fine making CFHTTP requests to an https URL, suddenly stopped working with Connection Failure: Status code unavailable: I am aware of the articles about importing the SSL into the JVM keystore and that this is supposedly required to use CFHTTP over https, but as I said, this site has been working fine up till now without this action needing to be taken. -- Russ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255127 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFHTTP over HTTPS
If the cert expires, an error message is generated as it's technically not valid. What happens if you manually browse to the URL with https://...? On 10/3/06, Snake [EMAIL PROTECTED] wrote: How would this stop CFHTTP working? -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: 03 October 2006 09:32 To: CF-Talk Subject: Re: CFHTTP over HTTPS Perhaps the SSL cert expired? -- CFAJAX docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255128 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFHTTP over HTTPS
I have only ever seen it break when you get a challenge from the cert, such as when it is not from a CA etc. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: James Holmes To: CF-Talk Sent: Tue Oct 03 10:10:50 2006 Subject: Re: CFHTTP over HTTPS If the cert expires, an error message is generated as it's technically not valid. What happens if you manually browse to the URL with https://...? On 10/3/06, Snake [EMAIL PROTECTED] wrote: How would this stop CFHTTP working? -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: 03 October 2006 09:32 To: CF-Talk Subject: Re: CFHTTP over HTTPS Perhaps the SSL cert expired? -- ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255129 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFHTTP over HTTPS
Everything is fine, no errors, the cert is valid. Russ -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: 03 October 2006 10:11 To: CF-Talk Subject: Re: CFHTTP over HTTPS If the cert expires, an error message is generated as it's technically not valid. What happens if you manually browse to the URL with https://...? On 10/3/06, Snake [EMAIL PROTECTED] wrote: How would this stop CFHTTP working? -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: 03 October 2006 09:32 To: CF-Talk Subject: Re: CFHTTP over HTTPS Perhaps the SSL cert expired? -- CFAJAX docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255130 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFHTTP over HTTPS
I have now imported the cert into the JVM keystore and it now works fine. So I have no idea how it was working before. -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 03 October 2006 10:16 To: CF-Talk Subject: Re: CFHTTP over HTTPS I have only ever seen it break when you get a challenge from the cert, such as when it is not from a CA etc. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: James Holmes To: CF-Talk Sent: Tue Oct 03 10:10:50 2006 Subject: Re: CFHTTP over HTTPS If the cert expires, an error message is generated as it's technically not valid. What happens if you manually browse to the URL with https://...? On 10/3/06, Snake [EMAIL PROTECTED] wrote: How would this stop CFHTTP working? -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: 03 October 2006 09:32 To: CF-Talk Subject: Re: CFHTTP over HTTPS Perhaps the SSL cert expired? -- ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255131 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFHTTP over HTTPS
Happened to me once on a project where the site being grabbed by CFHTTP had a very slight change in its certificate - so that it no longer matched the domain (browsing directly produced a challenge alert). Had to manually set up the certificate as you did here, and it worked fine after that. -Original Message- From: Snake [mailto:[EMAIL PROTECTED] Sent: 03 October 2006 10:43 To: CF-Talk Subject: RE: CFHTTP over HTTPS I have now imported the cert into the JVM keystore and it now works fine. So I have no idea how it was working before. -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 03 October 2006 10:16 To: CF-Talk Subject: Re: CFHTTP over HTTPS I have only ever seen it break when you get a challenge from the cert, such as when it is not from a CA etc. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: James Holmes To: CF-Talk Sent: Tue Oct 03 10:10:50 2006 Subject: Re: CFHTTP over HTTPS If the cert expires, an error message is generated as it's technically not valid. What happens if you manually browse to the URL with https://...? On 10/3/06, Snake [EMAIL PROTECTED] wrote: How would this stop CFHTTP working? -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: 03 October 2006 09:32 To: CF-Talk Subject: Re: CFHTTP over HTTPS Perhaps the SSL cert expired? -- ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255132 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: JSMX cfchart
The /chart.jpg suffix is a fix for any buggy software that use file extension instead of mime-type for deciding if something is an image or not. (Plus it helps indicate/remind other programmers and users what the script is doing.) What it actually is a CGI variable called Path Info - anything after the filename but before the query string (the bit after the question mark) is the path info. As a quick aside, URLs are made up (roughly) in the following way: PROTOCOL:SERVER:PORT/SCRIPT_NAME/PATH_INFO?QUERY_STRING Here is how things work on the web interface here: PROTOCOL=http SERVER=//www.houseoffusion.com PORT=[none] (defaults to 80 if not defined) SCRIPT_NAME=/groups/CF-Talk/thread.cfm PATH_INFO=/threadid:48034 QUERY_STRING=[none] As you see, path_info can be used similar to query_string, but whilst QS is generally treated as a 'dynamic' property, PI is a 'static' one. (Hence many search engines will index the path_info part of a URL, but not always the query_string part) Of course, looking at your other discussion thread, cfchart generates HTML not a JPEG, so this is all a little academic, but it's nice to learn new things every now and then. :) (And hopefully I haven't confused things further.) this does actually make alot of sense peter. Can i just ask about the following lines of code: document.getElementById('mychart').src= '/generate_chart.cfm/chart. jpg?params='+v; i understand the v is the variable of the select option that was just changed but why is the chart.jpeg? added is it because the cfchart tag in the generate_chart.cfm page will generate a jpeg called chart.jpeg and therefore we are now equalling the source to that outputted jpeg? thanks again peter ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255133 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: flash mp3 player
Oops :) http://caffeinesuperstar.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Monday, October 02, 2006 11:43 PM To: CF-Talk Subject: RE: flash mp3 player I wrote one a looong time ago. It's not the prettiest thing but it works and is fed by XML. http://caffeinsuperstar.com You can find it on the right side boxes. Let me know if it looks interesting and ill dig up the sourcecode. -Original Message- From: Phill B [mailto:[EMAIL PROTECTED] Sent: Monday, October 02, 2006 5:41 PM To: CF-Talk Subject: flash mp3 player I'm trying to find a very simple flash based mp3 player that uses an XML file for the play list. Oh, and it needs to be free. I'm playing with event gateways in CF and I'm having a hard time finding a flash player that is free. Maybe I'm not using the right keywords in google. I don't know. Thanks -- Phil ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255135 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Disabling the back button
Or 'Backspace' -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 3:10 AM To: CF-Talk Subject: Re: Disabling the back button Nothing ALT-Arrow key can't get round though. Like others noted, it is a fruitles excercise trying to disable it This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Denny Valliant To: CF-Talk Sent: Tue Oct 03 02:29:52 2006 Subject: Re: Disabling the back button You can also create a window without a back button... no toolbar items at all. Then throw in a couple of JS no back functions, and you're in like Errol (sp?). FWIW, and to really be a devil in need of shooting (again ;-P), so long as you make it clear that they shouldn't use the back button, (like not having one, for instance), I'd say it's kosher. There's too much crap out there already (especially with web2.0) breaking these usibility standards to worry too much about it now. For sure not in a closed environment, I'd wager- but to each their own. At least with no buttons and disclaimers, you'd be some percentage above a bunch of stuff that's already pretty mainstream. Anywhaze... So, Jesus walks into a bar, pulls out three nails, and asks... hmmm... forget how that one goes. =]DeN On 10/2/06, Doug Brown [EMAIL PROTECTED] wrote: There is really no way of disabling the browsers back button that I know of. You can do... body OnLoad=histor.go(+1) - Original Message - From: Will Tomlinson [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, October 02, 2006 12:55 PM Subject: Disabling the back button My buddy's testing application depends on not using the browser's back button. If it's used, the app behaves like a disco dance floor. What do folks do here to disable the back button? Thanks, Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255134 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: js problem in safari
This doesn't work? function showHide(elementID) { if ( document.getElementById(elementID).style.display == 'block' ) { document.getElementById(elementID).style.display = 'none'; } else { document.getElementById(elementID).style.display = 'block'; } } -Original Message- From: Dave Lyons [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 2:49 AM To: CF-Talk Subject: js problem in safari the following code works in pretty much all the browsers except Safari. All it is a show/hide layers on link click, anyone have any suggestions? cfsavecontent variable=showjs cfoutput script type=text/JavaScript !-- function pv(obj,cP,jP){ if(typeof(obj)!='object'){var obj=document.getElementById(obj);} if(typeof(obj.currentStyle)!='object'){ return (typeof(document.defaultView)=='object')? document.defaultView.getComputedStyle(obj,'').getPropertyValue(cP): obj.style.getPropertyValue(cP);} else{ return (navigator.appVersion.indexOf('Mac')!=-1)? obj.currentStyle.getPropertyValue(cP): obj.currentStyle.getAttribute((jP)?jP:cP);} } function toggleIt(){ var obj,cS,args=toggleIt.arguments;document.MM_returnValue=(typeof(args[0].href) !='string')?true:false; for(var i=1;iargs.length;i++){obj=document.getElementById(args[i]); if(obj){cS=pv(obj,'display'); if(!obj.jw_OD){obj.jw_OD=(cS!='none'cS!='')?cS:(obj.tagName.toUpperCase()= ='TR' cS!=='none')?'': (obj.tagName.toUpperCase()=='TR' typeof(obj.currentStyle)!='object')?'table-row':'block';} obj.style.display=(cS!='none')?'none':obj.jw_OD}} } //-- /script /cfoutput /cfsavecontent cfhtmlhead text=#showjs# cfloop query=getFaqs cfif not isdefined(thisCount) cfset thisCount = 1 cfelse cfset thisCount = thisCount + 1 /cfif p class=pcentera href=javascript:; onclick=toggleIt(this,'sh#thisCount#');return document.MM_returnValue#getFaqs.jtbl_question#/abr /span id=sh#thisCount# style=display:none;#getFaqs.jtbl_answer#/span/p /cfloop ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255136 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: js problem in safari
Dave, You're basically using the Dreamweaver code--which is crap. (Pardon the language.) Anyway, I suspect the reason it's failing is because you're passing in an object to the pv function, but the typeof operator is not seeing at as object but as an htmlElementNode or something like that. That would cause an error. Try putting the following line at the top of the pv function: alert(typeof obj); and see what it returns. My guess is it's returning something other than object--which is cause the condition to fail. To correct the problem, I'd just change the line from: if(typeof(obj)!='object'){var obj=document.getElementById(obj);} to: if(typeof(obj)=='string'){var obj=document.getElementById(obj);} The bottom line is if the obj variable is anything other than a string, the getElementById() statement would fail anyway. There's only two types of things that should be passed to that function anyway: a string contain the ID of an element to get or a reference to the actual element--everything else would cause errors. -Dan -Original Message- From: Dave Lyons [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 2:49 AM To: CF-Talk Subject: js problem in safari the following code works in pretty much all the browsers except Safari. All it is a show/hide layers on link click, anyone have any suggestions? cfsavecontent variable=showjs cfoutput script type=text/JavaScript !-- function pv(obj,cP,jP){ if(typeof(obj)!='object'){var obj=document.getElementById(obj);} if(typeof(obj.currentStyle)!='object'){ return (typeof(document.defaultView)=='object')? document.defaultView.getComputedStyle(obj,'').getPropertyValue(cP): obj.style.getPropertyValue(cP);} else{ return (navigator.appVersion.indexOf('Mac')!=-1)? obj.currentStyle.getPropertyValue(cP): obj.currentStyle.getAttribute((jP)?jP:cP);} } function toggleIt(){ var obj,cS,args=toggleIt.arguments;document.MM_returnValue=(typeof(args[0].href )!='string')?true:false; for(var i=1;iargs.length;i++){obj=document.getElementById(args[i]); if(obj){cS=pv(obj,'display'); if(!obj.jw_OD){obj.jw_OD=(cS!='none'cS!='')?cS:(obj.tagName.toUpper Case()=='TR' cS!=='none')?'': (obj.tagName.toUpperCase()=='TR' typeof(obj.currentStyle)!='object')?'table-row':'block';} obj.style.display=(cS!='none')?'none':obj.jw_OD}} } //-- /script /cfoutput /cfsavecontent cfhtmlhead text=#showjs# cfloop query=getFaqs cfif not isdefined(thisCount) cfset thisCount = 1 cfelse cfset thisCount = thisCount + 1 /cfif p class=pcentera href=javascript:; onclick=toggleIt(this,'sh#thisCount#');return document.MM_returnValue#getFaqs.jtbl_question#/abr /span id=sh#thisCount# style=display:none;#getFaqs.jtbl_answer#/span/p /cfloop ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255137 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Disabling the back button
Will, My buddy's testing application depends on not using the browser's back button. If it's used, the app behaves like a disco dance floor. What do folks do here to disable the back button? As many have already stated, disabling the back button is a sure fire way to confuse the heck out of people. It's one of the top complaints about poorly designed Flash sites--people expect the back button to take them to the last page they were on. While there is no way to disable a back button, there is a to load a new URL so that it overwrites the current history entry--essentially meaning clicking the back button will take you to the last page you were on before you got to the site (or if you open the site in a new window, there would be no back history to go to.) You could use the following JS function: function loadUrl(sUrl){ self.location.replace(sUrl); } Now on every page, all of your links would need to change from: a href=somepage.htmLink/a To: a href=javascript:loadUrl('somepage.htm')Link/a The problem w/this technique is handling form posts. You should be able to post into a hidden iframe / though or use an AJAX call to hide the history entry. The bottom line is your going to end up doing a lot of work to disable a feature user's expect to work--and when it doesn't work the way they want, then they become frustrated. Of course this point is moot if you have a limited user base that understands this functionality should not work. -Dan ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255138 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: JSMX cfchart
thanks peter, your right with the other thread i cant use it for what i wanted but this is very interesting to learn. as you could tell i didnt understand what was really going on in the address but now it is a bit clearer to me. thanks very much for your help :) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255139 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Advice on debugging
Hi, I would first like to say a big thank you to every one that has helped me over the last few weeks. I am new to coldfusion and this site has been awesome. The responses are very quick from people that have obviously been developing for a long time. You have really helped take the pressure of me and helped me understand internet applications, so thank you :) i would really appreciate some advice on using the debugging in CF. I have read the tutorials on debugging but would like some advice on the best use of the features that are available. Also, I have noticed that sometimes, especially with javascript, that if i have done something wrong in the code, it just doesnt work. Is there anyway i can make the page tell me where something has gone wrong? thanks for any advice ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255140 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Break it down for n00bs: security problems of non-SSL intrane t?
Do you know what a MItM attack is? Middle is just that... the middle. Middle of what? The very same endpoints you mentioned... the client and the server. Basically you trick the client into believing you are the server and trick the server into thinking you are the client so all traffic between the 2 'endpoints' is routed through you... you then 'generously' forward said traffic it to its' rightful destination. I'm well aware what a man-in-the-middle attack is, thanks. SSL is not especially vulnerable to this, because it verifies the identity of both endpoints and provides secure key exchange between said endpoints. This only applies to certificates signed by a trusted CA, of course, and there have been specific bugs in specific products such as IE that have broken this, but SSL, properly configured and used, protects pretty well against those attacks. 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! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255141 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Break it down for n00bs: security problems of non-SSL intrane t?
Well, like I said... wrong. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 8:40 AM To: CF-Talk Subject: RE: Break it down for n00bs: security problems of non-SSL intrane t? Do you know what a MItM attack is? Middle is just that... the middle. Middle of what? The very same endpoints you mentioned... the client and the server. Basically you trick the client into believing you are the server and trick the server into thinking you are the client so all traffic between the 2 'endpoints' is routed through you... you then 'generously' forward said traffic it to its' rightful destination. I'm well aware what a man-in-the-middle attack is, thanks. SSL is not especially vulnerable to this, because it verifies the identity of both endpoints and provides secure key exchange between said endpoints. This only applies to certificates signed by a trusted CA, of course, and there have been specific bugs in specific products such as IE that have broken this, but SSL, properly configured and used, protects pretty well against those attacks. 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! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255142 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Break it down for n00bs: security problems of non-SSL intrane t?
Well, like I said... wrong. I guess I can't argue with that. How about a link, or something? 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! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255143 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: cfchart jpg format
Of course it's possible using AJAX techniques. When a user changes some data, you simply use the onChange/onClick/onWhatever event to fire off a Javascript function that uses AJAX to update the innerHTML property of a DIV. If you want some code snippets for examples, contact me off list and I'll provide you with some. Steve Brownlee http://www.fusioncube.net/ -Original Message- From: Richard White [mailto:[EMAIL PROTECTED] Sent: Monday, October 02, 2006 1:59 PM To: CF-Talk Subject: Re: cfchart jpg format thanks sam, i needed to be able to do it to dynamically generate it as the user changes data on the page. I have heard it is not possible in ajax, therefore i assume i am just going to have to put a button on the page saying update chart. not very user-friendly but cant see any onther way of getting around it thanks again sam ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255144 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Advice on debugging
You can get browser plugins (esp. for Firefox) that help with JavaScript debugging. I think the favourite one is FireBug. For CF debugging, there are a couple of tools that you can pay for (FusionDebug and FusionReactor), but I've no idea how good they might be. Personally, for CF I mainly make use of appropriately placed CFDUMP and CFABORT tags, and for JS I rely on the JS/Error console, and again dumping out simple variables within alert()s. Hi, I would first like to say a big thank you to every one that has helped me over the last few weeks. I am new to coldfusion and this site has been awesome. The responses are very quick from people that have obviously been developing for a long time. You have really helped take the pressure of me and helped me understand internet applications, so thank you :) i would really appreciate some advice on using the debugging in CF. I have read the tutorials on debugging but would like some advice on the best use of the features that are available. Also, I have noticed that sometimes, especially with javascript, that if i have done something wrong in the code, it just doesnt work. Is there anyway i can make the page tell me where something has gone wrong? thanks for any advice ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255145 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFHTTP over HTTPS
I have now imported the cert into the JVM keystore and it now works fine. So I have no idea how it was working before. I wonder if they renewed their cert and it changed enough for the Java SSL libs to not accept it. -Dan ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255146 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Break it down for n00bs: security problems of non-SSL intrane t?
Again, like I said... I left details out intentionally and I won't post them now just because you asked. I'm certain you can find more details out there in that vast world of info. I'm also sure it's probably been detailed by some fame crazed wannabe who has grabbed onto the recent IPTV craze and spilled all his/her dirty little tricks/secrets in an attempt to trade knowledge for a pathetic fan base just to feel less friendless. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 9:05 AM To: CF-Talk Subject: RE: Break it down for n00bs: security problems of non-SSL intrane t? Well, like I said... wrong. I guess I can't argue with that. How about a link, or something? 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! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255147 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Advice on debugging
I'd also suggest using Firefox for javascript debugging. It's far more robust than IE's error messages (which are basically useless). As for debugging in Coldfusion, the cfdump tag is your friend! cfdump var=#FORM cfdump var=#queryName cfdump var=#myVariable cfdump var=#someStructure Each of those will output the contents of whatever variable you specify. For complex data types (queries, structures, arrays) you'll see a table containing name/value pairs. For simple data types, you'll just see a string representation of the value of that variable. There's also value using a plain ole cfoutput block to output variables. Sort of a poormans break point. Make use of the cfabort (cfabort) tag to halt processing so that you can inspect the values. Those are the main things that I use. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Richard White [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 7:24 AM To: CF-Talk Subject: Advice on debugging Hi, I would first like to say a big thank you to every one that has helped me over the last few weeks. I am new to coldfusion and this site has been awesome. The responses are very quick from people that have obviously been developing for a long time. You have really helped take the pressure of me and helped me understand internet applications, so thank you :) i would really appreciate some advice on using the debugging in CF. I have read the tutorials on debugging but would like some advice on the best use of the features that are available. Also, I have noticed that sometimes, especially with javascript, that if i have done something wrong in the code, it just doesnt work. Is there anyway i can make the page tell me where something has gone wrong? thanks for any advice ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255149 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Advice on debugging
Hi Richard, For ColdFusion MX debugging, I would highly recommend FusionDebug from Intergral. A link with a coupon code can be found on my site: http://www.centrasoft.com/fusiondebug.cfm For Javascript debugging, I would recommend FireBug for FireFox: https://addons.mozilla.org/firefox/1843/ There are also other JS debugger on the market too, and any one of them should be able to do most tricks. Heck, the JS debugger with IE (not sure if it's packaged because of Visual Studio being installed) is pretty decent at figuring out problems. I think it's important to remember that debugging CF code and JS code are two different things. The only time that they'll probably intersect is if you're building the JS dynamically using CF code, and even then, technically, they're still 2 separate processes of code to debug. hth, Brian Hi, I would first like to say a big thank you to every one that has helped me over the last few weeks. I am new to coldfusion and this site has been awesome. The responses are very quick from people that have obviously been developing for a long time. You have really helped take the pressure of me and helped me understand internet applications, so thank you :) i would really appreciate some advice on using the debugging in CF. I have read the tutorials on debugging but would like some advice on the best use of the features that are available. Also, I have noticed that sometimes, especially with javascript, that if i have done something wrong in the code, it just doesnt work. Is there anyway i can make the page tell me where something has gone wrong? thanks for any advice ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255148 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFHTTP over HTTPS
I was under the impression from what I have read through that u needed to import the SSL into JVM keystore to be able to CFHTTP over HTTPS at all? Russ -Original Message- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: 03 October 2006 14:21 To: CF-Talk Subject: RE: CFHTTP over HTTPS I have now imported the cert into the JVM keystore and it now works fine. So I have no idea how it was working before. I wonder if they renewed their cert and it changed enough for the Java SSL libs to not accept it. -Dan ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255150 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFHTTP over HTTPS
Yes, if the root cert isn't in the keystore this is what's necessary. Was an updater recently installed on the machine? These often overwrite the keystore. On 10/3/06, Snake [EMAIL PROTECTED] wrote: I was under the impression from what I have read through that u needed to import the SSL into JVM keystore to be able to CFHTTP over HTTPS at all? Russ -Original Message- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: 03 October 2006 14:21 To: CF-Talk Subject: RE: CFHTTP over HTTPS I have now imported the cert into the JVM keystore and it now works fine. So I have no idea how it was working before. I wonder if they renewed their cert and it changed enough for the Java SSL libs to not accept it. -Dan ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255151 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Advice on debugging
hi brian, thanks for the reply. I will def check out the 2 products seeing as you recommend them very highly ;) Is it flash you have used to do alot of your site? If yes, then i have noticed you must have highly optimised the flash so that it isnt slow. I would love to learn how to optimise flash so that it does this. There is another developer www.liquidchrome.net, one of his sites www.patnic.com also prodomintely use flash, and i am amazed at how fast they are. would love it if you can provide me with a link to any discussions on this, thanks . thanks again for the links and the advice :) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255152 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFHTTP over HTTPS
Thing is that I have NEVER installed a certificate in the keystore. So up till now, this code was working without it. Russ -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: 03 October 2006 14:39 To: CF-Talk Subject: Re: CFHTTP over HTTPS Yes, if the root cert isn't in the keystore this is what's necessary. Was an updater recently installed on the machine? These often overwrite the keystore. On 10/3/06, Snake [EMAIL PROTECTED] wrote: I was under the impression from what I have read through that u needed to import the SSL into JVM keystore to be able to CFHTTP over HTTPS at all? Russ -Original Message- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: 03 October 2006 14:21 To: CF-Talk Subject: RE: CFHTTP over HTTPS I have now imported the cert into the JVM keystore and it now works fine. So I have no idea how it was working before. I wonder if they renewed their cert and it changed enough for the Java SSL libs to not accept it. -Dan ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255153 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Advice on debugging
thanks for the advice, it has been very helpful as i turned on the enable debugging in the coldfusion thinking that would help me, but noticed very quickly that it provided data that confused me and can only be used for certain things. I will check out the links and use cfdump and cfabort for most of the debugging thanks ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255154 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfchart jpg format
Of course it's possible using AJAX techniques. When a user changes some data, you simply use the onChange/onClick/onWhatever event to fire off a Javascript function that uses AJAX to update the innerHTML property of a DIV. If you want some code snippets for examples, contact me off list and I'll provide you with some. Steve Brownlee http://www.fusioncube.net/ Hi Steve, thanks for your reply. I would love some example snippets on how to do this as my customer really wants this feature and i am lost as to how to get around it. I am unfamiliar to using the js function that uses ajax to updating the innerhtml property of a div and would very much appreciate an example to get me going. However i am also unfamiliar with how to contact you off list. please could you advice me on how to do this :) thanks again steve ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255155 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
SQL 'Invalid Object Name' on Insert, after Create Table
Hey folks, I'm having trouble with inserting into a table I've just created. As a summary of what I'm doing: - if the table exists, delete it - create the table - read from the table to prove it's there - insert into the table *splat* : Invalid object name... I can post the full code and error if you want. All the other forum posts around the web say things like: - check the user permissions - the user in the datasource has db_owner, and for good measure db_datawriter, db_datareader. - reference the table in the INSERT with the owner (ie: dbo.tablename) - I've gone so far as to look up the owner in sysobjects - if using JDBC driver then set selectMode=cursor - done Thought it might be related to http://support.microsoft.com/kb/837970/ so I'm now running this on a different new fresh SQL server, with SP4 installed. The same error occurs on CF5 and CFMX7. Even when I try the Insert without the Create Table it fails. (ie: run once so table is created, then rem out the Create Table bit and run it again.) All suggestions welcome... ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255156 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cfchart jpg format
[EMAIL PROTECTED] fyi: everyone's address is shown in the email header :) Hi Steve, thanks for your reply. I would love some example snippets on how to do this as my customer really wants this feature and i am lost as to how to get around it. I am unfamiliar to using the js function that uses ajax to updating the innerhtml property of a div and would very much appreciate an example to get me going. However i am also unfamiliar with how to contact you off list. please could you advice me on how to do this :) thanks again steve ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255157 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 'Invalid Object Name' on Insert, after Create Table
Can you create a physical table and insert into it in the same batch? I'm not sure you can. Show us the code. Adrian -Original Message- From: Derek Bezuidenhout [mailto:[EMAIL PROTECTED] Sent: 03 October 2006 14:50 To: CF-Talk Subject: SQL 'Invalid Object Name' on Insert, after Create Table Hey folks, I'm having trouble with inserting into a table I've just created. As a summary of what I'm doing: - if the table exists, delete it - create the table - read from the table to prove it's there - insert into the table *splat* : Invalid object name... I can post the full code and error if you want. All the other forum posts around the web say things like: - check the user permissions - the user in the datasource has db_owner, and for good measure db_datawriter, db_datareader. - reference the table in the INSERT with the owner (ie: dbo.tablename) - I've gone so far as to look up the owner in sysobjects - if using JDBC driver then set selectMode=cursor - done Thought it might be related to http://support.microsoft.com/kb/837970/ so I'm now running this on a different new fresh SQL server, with SP4 installed. The same error occurs on CF5 and CFMX7. Even when I try the Insert without the Create Table it fails. (ie: run once so table is created, then rem out the Create Table bit and run it again.) All suggestions welcome... ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255158 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 'Invalid Object Name' on Insert, after Create Table
Don't know if it matters, but are you opening a transaction before you create the table, and trying to insert while that transaction is still open? Is this MS SQL Server? If so, is there a Go command after the table creation? Just random thoughts. ~Brad -Original Message- From: Derek Bezuidenhout [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 8:50 AM To: CF-Talk Subject: SQL 'Invalid Object Name' on Insert, after Create Table Hey folks, I'm having trouble with inserting into a table I've just created. As a summary of what I'm doing: - if the table exists, delete it - create the table - read from the table to prove it's there - insert into the table *splat* : Invalid object name... I can post the full code and error if you want. All the other forum posts around the web say things like: - check the user permissions - the user in the datasource has db_owner, and for good measure db_datawriter, db_datareader. - reference the table in the INSERT with the owner (ie: dbo.tablename) - I've gone so far as to look up the owner in sysobjects - if using JDBC driver then set selectMode=cursor - done Thought it might be related to http://support.microsoft.com/kb/837970/ so I'm now running this on a different new fresh SQL server, with SP4 installed. The same error occurs on CF5 and CFMX7. Even when I try the Insert without the Create Table it fails. (ie: run once so table is created, then rem out the Create Table bit and run it again.) All suggestions welcome... ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255159 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFIF Statement
Alright, round two. How about: cfif isQuery(qryName) and isBoolean(qryName.recordcount) and yesNoFormat( qryName.recordcount) code ... /cfif Is it a query, is the value a boolean type definition and now convert the number to a logical Yes or 'No to be evaluated. This is overkill but should kill the notion of thinking of how appropriate or inappropriate the recordcount value is. =) Teddy On 10/3/06, Denny Valliant [EMAIL PROTECTED] wrote: I think my point is that, sometimes, beer *is*, even if we can't prove it. I'm not sure what that means, but I get the feeling, that if I could see it clearly, I would grok it impossibly fast, knowing in an instant, the state of all beer in the system. Except for that beer that I'm pretty sure I'll drink, even if I can't see it. To hell with all the ambiguity; I'd go with beer(), which ALWAYS returns beer. Or maybe it *is* beer, incarnate. I haven't decided yet. But I *do* know, that: It wouldn't matter if the network was down, power was out, or how many flies it takes to screw in a bulb. Like I said, beer is- but the more you try to define it, the less something something something. Damn. Right when I was going to tie it all back toghether in one of those Usual Suspects drop the mug moments. Well, tallyho! Off I go, before Mike D drops the hammer- Quick, type normal! (it's not even the weekend!) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255160 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 'Invalid Object Name' on Insert, after Create Table
I've seen that happen on a database that was moved from one server to another where user names/passwords were different in the Enterprise Manager/CF Admin. Check those first... should be pretty easy to spot. Open the enterprise manager and view the tables in that particular database scan down the owner column and look to see if any stick out with a different name. The chances are good that your new table will have a different owner than the rest. -Original Message- From: Derek Bezuidenhout [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 9:50 AM To: CF-Talk Subject: SQL 'Invalid Object Name' on Insert, after Create Table Hey folks, I'm having trouble with inserting into a table I've just created. As a summary of what I'm doing: - if the table exists, delete it - create the table - read from the table to prove it's there - insert into the table *splat* : Invalid object name... I can post the full code and error if you want. All the other forum posts around the web say things like: - check the user permissions - the user in the datasource has db_owner, and for good measure db_datawriter, db_datareader. - reference the table in the INSERT with the owner (ie: dbo.tablename) - I've gone so far as to look up the owner in sysobjects - if using JDBC driver then set selectMode=cursor - done Thought it might be related to http://support.microsoft.com/kb/837970/ so I'm now running this on a different new fresh SQL server, with SP4 installed. The same error occurs on CF5 and CFMX7. Even when I try the Insert without the Create Table it fails. (ie: run once so table is created, then rem out the Create Table bit and run it again.) All suggestions welcome... ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255161 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfchart jpg format
[EMAIL PROTECTED] fyi: everyone's address is shown in the email header :) thanks steve :) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255162 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFHTTP over HTTPS
Thing is that I have NEVER installed a certificate in the keystore. So up till now, this code was working without it. Certificates do expire. 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! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255163 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 ''Invalid Object Name'' on Insert, after Create Table
Thanks for the suggestions so far. I'll try them now. Here's the code: cfquery name=createTable datasource=aaa_bwdatadump IF object_id('aaa_bwdatadump..djbtest') IS NOT NULL BEGIN DROP TABLE djbtest END CREATE TABLE dbo.djbtest ( id varchar(200) ) /cfquery cfquery name=geta datasource=aaa_bwdatadump SELECT * from djbtest /cfquery cfdump var=#geta# cfquery name=getuser datasource=aaa_bwdatadump SELECT name, xtype, uid AS [owner id], USER_NAME(uid) AS owner FROM sysobjects WHERE name LIKE '%djbtest%' /cfquery cfdump var=#getUser# cfquery name=InitVals datasource=aaa_bwdatadump INSERT INTO #getuser.owner#.djbtest ('id') VALUES ('sdfasdfafasdfasfd') /cfquery - And the error: Error Executing Database Query. [Macromedia][SQLServer JDBC Driver][SQLServer]Invalid object name 'dbo.djbtest'. The error occurred in D:\www\cfmx\scratch\bwconvertdata\test.cfm: line 30 28 : 29 : cfquery name=InitVals datasource=aaa_bwdatadump 30 : INSERT INTO #getuser.owner#.djbtest ('id') 31 :VALUES ('sdfasdfafasdfasfd') 32 : /cfquery SQLINSERT INTO dbo.djbtest ('id') VALUES ('sdfasdfafasdfasfd') DATASOURCE aaa_bwdatadump VENDORERRORCODE 208 SQLSTATE 42S02 --- If it makes any diff, it's on CFMX 7,0,2,137072 and MS-SQL2000 (8.00.2039 (SP4)), although I've got the same results on CF5 and MS-SQL SP3. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255164 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Break it down for n00bs: security problems of non-SSL intrane t?
Again, like I said... I left details out intentionally and I won't post them now just because you asked. OK. I can understand that you don't want to release this sensitive information to the world. But typically, one could point to something which would describe the existence of a vulnerability without disclosing exactly how to exploit it. And presumably, this would be a big huge deal to all the SSL VPN vendors, browser developers - patches, warnings, etc. So, it seems to me that either (a) you're aware of some otherwise unknown 0day exploit, or (b) all the people using SSL/TLS in their products are collectively hoping that no one notices their fatal flaw until they can patch it. To be clear, are you talking about certificates with a validating signature? Because if you're talking about self-signed certs, that's been discussed previously. 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! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255165 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFIF Statement
I hereby claim this thread for the new topic of Goats, their habits and the herders who love them and in doing so, making it completely off topic and therefore unworthy of this list. Who will follow me to cf-community for this new, more worthwhile topic? All those in favor give a 'bahahahah'. -Original Message- From: Teddy Payne [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 10:17 AM To: CF-Talk Subject: Re: CFIF Statement Alright, round two. How about: cfif isQuery(qryName) and isBoolean(qryName.recordcount) and yesNoFormat( qryName.recordcount) . code ... /cfif Is it a query, is the value a boolean type definition and now convert the number to a logical Yes or 'No to be evaluated. This is overkill but should kill the notion of thinking of how appropriate or inappropriate the recordcount value is. =) Teddy On 10/3/06, Denny Valliant [EMAIL PROTECTED] wrote: I think my point is that, sometimes, beer *is*, even if we can't prove it. I'm not sure what that means, but I get the feeling, that if I could see it clearly, I would grok it impossibly fast, knowing in an instant, the state of all beer in the system. Except for that beer that I'm pretty sure I'll drink, even if I can't see it. To hell with all the ambiguity; I'd go with beer(), which ALWAYS returns beer. Or maybe it *is* beer, incarnate. I haven't decided yet. But I *do* know, that: It wouldn't matter if the network was down, power was out, or how many flies it takes to screw in a bulb. Like I said, beer is- but the more you try to define it, the less something something something. Damn. Right when I was going to tie it all back toghether in one of those Usual Suspects drop the mug moments. Well, tallyho! Off I go, before Mike D drops the hammer- Quick, type normal! (it's not even the weekend!) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255166 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFHTTP over HTTPS
We had a smiliar encounter after we installed 7.0.2 so I was thinking updater but I went directly to the site and noticed they changed the domain and didn't change the cert to match. I had to import it into the keystore to get it working again. Dont you love webservices that make changes and never notify their customer base. -- ~Eric ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255167 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
open new window
Hi, i am wondering if it is possible to open a new window without a the browsers pop-up blocker stopping it from opening the code i am using is as follows: window.open('newWindow.cfm'); but the pop-up blocker stops it from opening i would appreciate any help thanks ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255168 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFIF Statement
Even though on most languages True and False have numeric aliases, they generally work out to 0 being false and =1 is true. A common misconception is that 0 is false, 1 is true and all other numbers aren't considered, but evaluate to true simply because they're defined. !k -Original Message- From: Douglas Knudsen [mailto:[EMAIL PROTECTED] Sent: Sunday, October 01, 2006 9:42 PM To: CF-Talk Subject: Re: CFIF Statement agreed. Note that folks in JS land use this all the time. if( document.someobject ) IIRC, can use in Java toooh and AS. DK On 10/1/06, Dave Watts [EMAIL PROTECTED] wrote: No, the point here is that cfif query.recordcount will give you true or false usually reserved for booleans which do actually give true/false/1/0, such as isStruct() If a language supports implicit evaluation of integers as Boolean values, there is nothing wrong with taking advantage of it. If I suggested that you should cast strings to numbers in CF or vice-versa, you'd almost certainly think that was ridiculous. And, any competent CF developer is aware that CF supports this, so an argument that it's ambiguous doesn't really hold much weight. 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! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255169 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Crawling a Site When Site Uses Security
I run an intranet site in our company, and it is protected through CF (user table in SQL, using session variables, etc.). What I want to do is crawl through my site for the purpose of searching (we just bought a Googlebox), but I'm not sure how to approach this. Since the Googlebox is unable to authenticate, it only can get to the login page. I thought about opening the site up without security for the duration of the crawl, but that's not really possible (since it would leave the site vulnerable). I'm sure people have worked around this issue, so any help at all would be much appreciated. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255170 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: open new window
popup blocker's there for a reason. if you could easily circumvent it and spawn windows that the user doesn't want spawned (hence their use of a popup blocker), that's almost as intrusive as say, trying to disable their back button :) On 10/3/06, Richard White [EMAIL PROTECTED] wrote: Hi, i am wondering if it is possible to open a new window without a the browsers pop-up blocker stopping it from opening the code i am using is as follows: window.open('newWindow.cfm'); but the pop-up blocker stops it from opening i would appreciate any help thanks ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255171 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Break it down for n00bs: security problems of non-SSL intrane t?
Because if you're talking about self-signed certs, that's been discussed previously They weren't discussed, they were mentioned with the assumption that they won't validate and/or would be easily detected by a prompt to accept them unless they were stolen or bought... that assumption is wrong. It has nothing to do with all the SSL VPN vendors, browser developers - patches, warnings, etc. Best protection? Have a guard stand by every computer on the network and watch each user's every move because it's the 'only' way to keep it from happening. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 10:35 AM To: CF-Talk Subject: RE: Break it down for n00bs: security problems of non-SSL intrane t? Again, like I said... I left details out intentionally and I won't post them now just because you asked. OK. I can understand that you don't want to release this sensitive information to the world. But typically, one could point to something which would describe the existence of a vulnerability without disclosing exactly how to exploit it. And presumably, this would be a big huge deal to all the SSL VPN vendors, browser developers - patches, warnings, etc. So, it seems to me that either (a) you're aware of some otherwise unknown 0day exploit, or (b) all the people using SSL/TLS in their products are collectively hoping that no one notices their fatal flaw until they can patch it. To be clear, are you talking about certificates with a validating signature? Because if you're talking about self-signed certs, that's been discussed previously. 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! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255172 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Crawling a Site When Site Uses Security
What we typically do now is to open up the security for THAT ip/agent combination only. On 10/3/06, Sung Woo [EMAIL PROTECTED] wrote: I run an intranet site in our company, and it is protected through CF (user table in SQL, using session variables, etc.). What I want to do is crawl through my site for the purpose of searching (we just bought a Googlebox), but I'm not sure how to approach this. Since the Googlebox is unable to authenticate, it only can get to the login page. I thought about opening the site up without security for the duration of the crawl, but that's not really possible (since it would leave the site vulnerable). I'm sure people have worked around this issue, so any help at all would be much appreciated. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255173 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Crawling a Site When Site Uses Security
I run an intranet site in our company, and it is protected through CF (user table in SQL, using session variables, etc.). What I want to do is crawl through my site for the purpose of searching (we just bought a Googlebox), but I'm not sure how to approach this. Since the Googlebox is unable to authenticate, it only can get to the login page. I thought about opening the site up without security for the duration of the crawl, but that's not really possible (since it would leave the site vulnerable). I'm sure people have worked around this issue, so any help at all would be much appreciated. The Google appliance can, in fact, authenticate. It supports two different approaches for authentication, for use in single sign-on environments and for authentication against individual servers. Fig Leaf Software is a Google Enterprise Partner and the first Google partner to offer authorized Google training, by the way. 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! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255174 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 ''''Invalid Object Name'''' on Insert, after Create Table
It had to happen. For some reason I had 'quotes' around the col-name in the Insert. D'oh! Sorry to waste space... cfquery name=InitVals datasource=aaa_bwdatadump INSERT INTO #getuser.owner#.djbtest ('id') VALUES ('sdfasdfafasdfasfd') /cfquery ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255175 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: open new window
Just use a hovering div so the popup blocker cannot prevent the content from showing. Teddy On 10/3/06, Charlie Griefer [EMAIL PROTECTED] wrote: popup blocker's there for a reason. if you could easily circumvent it and spawn windows that the user doesn't want spawned (hence their use of a popup blocker), that's almost as intrusive as say, trying to disable their back button :) On 10/3/06, Richard White [EMAIL PROTECTED] wrote: Hi, i am wondering if it is possible to open a new window without a the browsers pop-up blocker stopping it from opening the code i am using is as follows: window.open('newWindow.cfm'); but the pop-up blocker stops it from opening i would appreciate any help thanks ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255176 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Crawling a Site When Site Uses Security
In your userlogin check, just do an agent check for your googlebox and exclude it form the login validation so it can crawl the site. Russ -Original Message- From: Sung Woo [mailto:[EMAIL PROTECTED] Sent: 03 October 2006 15:47 To: CF-Talk Subject: Crawling a Site When Site Uses Security I run an intranet site in our company, and it is protected through CF (user table in SQL, using session variables, etc.). What I want to do is crawl through my site for the purpose of searching (we just bought a Googlebox), but I'm not sure how to approach this. Since the Googlebox is unable to authenticate, it only can get to the login page. I thought about opening the site up without security for the duration of the crawl, but that's not really possible (since it would leave the site vulnerable). I'm sure people have worked around this issue, so any help at all would be much appreciated. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255177 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFHTTP over HTTPS
Indeed, but as I said, the cert on the site is not expired, and I never had one on the CF server. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: 03 October 2006 15:29 To: CF-Talk Subject: RE: CFHTTP over HTTPS Thing is that I have NEVER installed a certificate in the keystore. So up till now, this code was working without it. Certificates do expire. 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! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255178 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFIF Statement
they generally work out to 0 being false and =1 is true. Actually 0 or null in Javascript is false and not false is true then 0 is also true. True and false got to be mutually exclusive. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255179 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
OT: I hate SSIS!
We're in the process of migration to SQL Server 2005. I've decided that I *HATE* SQL Server Integration Services. How freakin' complex did they have to make it? I finally was able to import one of my old DTS packages, and I was able to edit it in Business Intelligence Studio (nice of them to combine Enterprise Manager and Query Analyzer into one tool, only to add the frustration of another tool to learn in its place) But now that I've edited my package, I can't for the life of me figure out how to deploy it back to the server. Can anyone help? Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255182 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 'Invalid Object Name' on Insert, after Create Table
When you modify the schema, are you performing this from a cfquery block? If you are, put the schema modification in a stored procedure for purposes of security, speed and abstraction. Teddy On 10/3/06, Bobby Hartsfield [EMAIL PROTECTED] wrote: I've seen that happen on a database that was moved from one server to another where user names/passwords were different in the Enterprise Manager/CF Admin. Check those first... should be pretty easy to spot. Open the enterprise manager and view the tables in that particular database scan down the owner column and look to see if any stick out with a different name. The chances are good that your new table will have a different owner than the rest. -Original Message- From: Derek Bezuidenhout [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 9:50 AM To: CF-Talk Subject: SQL 'Invalid Object Name' on Insert, after Create Table Hey folks, I'm having trouble with inserting into a table I've just created. As a summary of what I'm doing: - if the table exists, delete it - create the table - read from the table to prove it's there - insert into the table *splat* : Invalid object name... I can post the full code and error if you want. All the other forum posts around the web say things like: - check the user permissions - the user in the datasource has db_owner, and for good measure db_datawriter, db_datareader. - reference the table in the INSERT with the owner (ie: dbo.tablename) - I've gone so far as to look up the owner in sysobjects - if using JDBC driver then set selectMode=cursor - done Thought it might be related to http://support.microsoft.com/kb/837970/ so I'm now running this on a different new fresh SQL server, with SP4 installed. The same error occurs on CF5 and CFMX7. Even when I try the Insert without the Create Table it fails. (ie: run once so table is created, then rem out the Create Table bit and run it again.) All suggestions welcome... ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255180 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 ''Invalid Object Name'' on Insert, after Create Table
I'd fix the query first and see if it helps ;-) INSERT INTO #getuser.owner#.djbtest ('id') VALUES ('sdfasdfafasdfasfd') You have single quotes around the column name -Original Message- From: Derek Bezuidenhout [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 10:22 AM To: CF-Talk Subject: Re: SQL ''Invalid Object Name'' on Insert, after Create Table Thanks for the suggestions so far. I'll try them now. Here's the code: cfquery name=createTable datasource=aaa_bwdatadump IF object_id('aaa_bwdatadump..djbtest') IS NOT NULL BEGIN DROP TABLE djbtest END CREATE TABLE dbo.djbtest ( id varchar(200) ) /cfquery cfquery name=geta datasource=aaa_bwdatadump SELECT * from djbtest /cfquery cfdump var=#geta# cfquery name=getuser datasource=aaa_bwdatadump SELECT name, xtype, uid AS [owner id], USER_NAME(uid) AS owner FROM sysobjects WHERE name LIKE '%djbtest%' /cfquery cfdump var=#getUser# cfquery name=InitVals datasource=aaa_bwdatadump INSERT INTO #getuser.owner#.djbtest ('id') VALUES ('sdfasdfafasdfasfd') /cfquery - And the error: Error Executing Database Query. [Macromedia][SQLServer JDBC Driver][SQLServer]Invalid object name 'dbo.djbtest'. The error occurred in D:\www\cfmx\scratch\bwconvertdata\test.cfm: line 30 28 : 29 : cfquery name=InitVals datasource=aaa_bwdatadump 30 : INSERT INTO #getuser.owner#.djbtest ('id') 31 :VALUES ('sdfasdfafasdfasfd') 32 : /cfquery SQLINSERT INTO dbo.djbtest ('id') VALUES ('sdfasdfafasdfasfd') DATASOURCE aaa_bwdatadump VENDORERRORCODE 208 SQLSTATE 42S02 --- If it makes any diff, it's on CFMX 7,0,2,137072 and MS-SQL2000 (8.00.2039 (SP4)), although I've got the same results on CF5 and MS-SQL SP3. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255181 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
accordion css control?
Does anyone have any good examples of an accordion css control? I basically need to have 3 sections be completely collapsed on page load, then open when clicked on, and have linked content underneath that pushes any content under the control downward. I can explain more/better if I need to. Also, I know I could probably build this on my own, but I just don't have that kind of time to work out the kinks, so one that is just a plug and play would be awesome. I don't mind paying if need be. Thanks, Ray ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255185 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFIF Statement
cfif isQuery(qryName) and isBoolean(qryName.recordcount) and yesNoFormat( qryName.recordcount) May be start the expression with server.coldfusion.productName EQ ColdFusion Server AND ... just to make sure ;-) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255186 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Break it down for n00bs: security problems of non-SSL intrane t?
On Tuesday 03 October 2006 15:35, Dave Watts wrote: [a very nice attempt to get Bobby to explain] Rule number one from Mythological Beasts on Mailing Lists states do not feed in the section on sub-bridge dwellers :-) -- Tom Chiverton Helping to revolutionarily strategize professional networks This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255184 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 2 demo on demand?
Yea, the developer week one is exactly what I'm looking for. Thanks. -Original Message- From: Dave Carabetta [mailto:[EMAIL PROTECTED] Sent: Monday, October 02, 2006 9:16 PM To: CF-Talk Subject: Re: Flex 2 demo on demand? On 10/2/06, Denny Valliant [EMAIL PROTECTED] wrote: What about the flex in 10 minutes, etc., demos? (which did, in fact, get me going in 10! =) Have you checked them out? I can't seem to find them now, but I could look through my old sent mail, as I sent a co-worker the link (I was sure I'd remember it ;). Maybe from C.Cantrell's site? Dern, ah cahnna rememba. I thought all those video walk-throughs were a pretty good idea... Surely you've seen some of them on the Adobe site, so I may be off my rocker and thinking about something else. :DeN Christophe Coenraets at Adobe posted a 30 minute Flex Test-Drive for Java developers on his site: http://coenraets.org/testdrive/flex4j/index.htm Further, Adobe had their Developer Week back in June (I believe), and the links to each presentation given are at: http://www.adobe.com/communities/developerweek/ On-demand, just as you're looking for. ;) Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255183 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: open new window
Hi, i am wondering if it is possible to open a new window without a the browsers pop-up blocker stopping it from opening No, but you can prevent users from login into the site if they have their anti-pop-up enabled. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255187 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: accordion css control?
Like this? http://www.projectseven.com/products/menusystems/tmm/index.htm From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Tue 10/3/2006 11:19 AM To: CF-Talk Subject: accordion css control? Does anyone have any good examples of an accordion css control? I basically need to have 3 sections be completely collapsed on page load, then open when clicked on, and have linked content underneath that pushes any content under the control downward. I can explain more/better if I need to. Also, I know I could probably build this on my own, but I just don't have that kind of time to work out the kinks, so one that is just a plug and play would be awesome. I don't mind paying if need be. Thanks, Ray ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255188 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: accordion css control?
Ray Champagne wrote: Does anyone have any good examples of an accordion css control? I basically need to have 3 sections be completely collapsed on page load, then open when clicked on, and have linked content underneath that pushes any content under the control downward. I think this is what you are looking for... http://www.dynamicdrive.com/dynamicindex1/switchmenu.htm I've used that one before, and it is pretty easy to customize. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255189 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: accordion css control?
To follow up on this, I have used jAccordion by Joe Reinhart in the past, but he no longer supports it, and it has a quirk that won't work for my client (one pane always is open when the page loads). You can see the demo I whipped up here: http://tinyurl.com/qhudp -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:20 AM To: CF-Talk Subject: accordion css control? Importance: High Does anyone have any good examples of an accordion css control? I basically need to have 3 sections be completely collapsed on page load, then open when clicked on, and have linked content underneath that pushes any content under the control downward. I can explain more/better if I need to. Also, I know I could probably build this on my own, but I just don't have that kind of time to work out the kinks, so one that is just a plug and play would be awesome. I don't mind paying if need be. Thanks, Ray ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255190 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: accordion css control?
Hrm, and it only works with DreamWeaver? I'm liking that one less already... -Original Message- From: Robert Redpath [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:27 AM To: CF-Talk Subject: RE: accordion css control? Importance: High Like this? http://www.projectseven.com/products/menusystems/tmm/index.htm From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Tue 10/3/2006 11:19 AM To: CF-Talk Subject: accordion css control? Does anyone have any good examples of an accordion css control? I basically need to have 3 sections be completely collapsed on page load, then open when clicked on, and have linked content underneath that pushes any content under the control downward. I can explain more/better if I need to. Also, I know I could probably build this on my own, but I just don't have that kind of time to work out the kinks, so one that is just a plug and play would be awesome. I don't mind paying if need be. Thanks, Ray ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255192 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: accordion css control?
Yea, that would be a good example. I'll look into it further. I'd still love some more examples that others have used so I can present more than one solution -Original Message- From: Robert Redpath [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:27 AM To: CF-Talk Subject: RE: accordion css control? Importance: High Like this? http://www.projectseven.com/products/menusystems/tmm/index.htm From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Tue 10/3/2006 11:19 AM To: CF-Talk Subject: accordion css control? Does anyone have any good examples of an accordion css control? I basically need to have 3 sections be completely collapsed on page load, then open when clicked on, and have linked content underneath that pushes any content under the control downward. I can explain more/better if I need to. Also, I know I could probably build this on my own, but I just don't have that kind of time to work out the kinks, so one that is just a plug and play would be awesome. I don't mind paying if need be. Thanks, Ray ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255191 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFIF Statement
LOL! -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:18 AM To: CF-Talk Subject: Re: CFIF Statement cfif isQuery(qryName) and isBoolean(qryName.recordcount) and yesNoFormat( qryName.recordcount) May be start the expression with server.coldfusion.productName EQ ColdFusion Server AND ... just to make sure ;-) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255195 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: accordion css control?
No IDE needed, and free, too. Now we're talking... :) -Original Message- From: Jim Wright [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:31 AM To: CF-Talk Subject: Re: accordion css control? Importance: High Ray Champagne wrote: Does anyone have any good examples of an accordion css control? I basically need to have 3 sections be completely collapsed on page load, then open when clicked on, and have linked content underneath that pushes any content under the control downward. I think this is what you are looking for... http://www.dynamicdrive.com/dynamicindex1/switchmenu.htm I've used that one before, and it is pretty easy to customize. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255193 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Break it down for n00bs: security problems of non-SSL intrane t?
I think the question was are you talking about certificates with a validating signature? and I think I answered that... more or less. If it wasn't clear, then YES I am talking about generated certs that will validate 100% locally. If by sub-bridge you mean 'the real world' where people know better than to think ANYTHING is secure on a network when the 'bad guy' has local access and knows what he/she is doing, then yeah... that's where I live. Putting faith in SSL to protect against local attacks is absurd. Claiming that setting it up 'correctly' protects better against local MiTM attacks is nothing short of naïve. -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:13 AM To: CF-Talk Subject: Re: Break it down for n00bs: security problems of non-SSL intrane t? On Tuesday 03 October 2006 15:35, Dave Watts wrote: [a very nice attempt to get Bobby to explain] Rule number one from Mythological Beasts on Mailing Lists states do not feed in the section on sub-bridge dwellers :-) -- Tom Chiverton Helping to revolutionarily strategize professional networks This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255194 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: open new window
Or good old a href=myNewWindow.cfm target=_blank... On 10/3/06, Teddy Payne [EMAIL PROTECTED] wrote: Just use a hovering div so the popup blocker cannot prevent the content from showing. Teddy On 10/3/06, Charlie Griefer [EMAIL PROTECTED] wrote: popup blocker's there for a reason. if you could easily circumvent it and spawn windows that the user doesn't want spawned (hence their use of a popup blocker), that's almost as intrusive as say, trying to disable their back button :) On 10/3/06, Richard White [EMAIL PROTECTED] wrote: Hi, i am wondering if it is possible to open a new window without a the browsers pop-up blocker stopping it from opening the code i am using is as follows: window.open('newWindow.cfm'); but the pop-up blocker stops it from opening i would appreciate any help thanks ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255198 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Break it down for n00bs: security problems of non-SSL intrane t?
SSL does not protect against the man in the middle attack because it doesn't validate the identity of the client (which is done with client certificates, and even then I'm not sure if it would help against the man in the middle attack). SSL is not a flaw in the case. It just doesn't prevent the man in the middle attack, but it doesn't do anything to facilitate it. Back to the original question. You should use SSL because otherwise your traffic travels in cleartext, including username's and passwords, and can be sniffed on the wire at any point along the route. At hacker conventions they often set up a wall of shame, by running a script which sniffs all network traffic and posts the usernames and passwords on the wall for people who use insecure protocols (SMTP, POP3, IMAP, FTP, etc). Even if you use some sort of encryption, it's vulnerable to the man in the middle attack. As mentioned before, this attack is not trivial, as it requires either tricking the person into going to a different domain name and then proxying the requests, or doing some sort of DNS/arp poisoning. The DNS/arp poisoning is not easy either, unless the attacker gains access to your dns records, or is on the local network. If an attacker is able to modify the hosts file on the client computer, he has everything he needs to do a man in the middle attack. These attacks are not done very often in practice, however. There are easier ways to obtain information, such as social engineering. Russ -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 10:59 AM To: CF-Talk Subject: RE: Break it down for n00bs: security problems of non-SSL intrane t? Because if you're talking about self-signed certs, that's been discussed previously They weren't discussed, they were mentioned with the assumption that they won't validate and/or would be easily detected by a prompt to accept them unless they were stolen or bought... that assumption is wrong. It has nothing to do with all the SSL VPN vendors, browser developers - patches, warnings, etc. Best protection? Have a guard stand by every computer on the network and watch each user's every move because it's the 'only' way to keep it from happening. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 10:35 AM To: CF-Talk Subject: RE: Break it down for n00bs: security problems of non-SSL intrane t? Again, like I said... I left details out intentionally and I won't post them now just because you asked. OK. I can understand that you don't want to release this sensitive information to the world. But typically, one could point to something which would describe the existence of a vulnerability without disclosing exactly how to exploit it. And presumably, this would be a big huge deal to all the SSL VPN vendors, browser developers - patches, warnings, etc. So, it seems to me that either (a) you're aware of some otherwise unknown 0day exploit, or (b) all the people using SSL/TLS in their products are collectively hoping that no one notices their fatal flaw until they can patch it. To be clear, are you talking about certificates with a validating signature? Because if you're talking about self-signed certs, that's been discussed previously. 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! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255196 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: open new window
thanks for your replies. good point charlie about the pop-ups, didnt think about that :) but i do need it as part of the functionality of my system. I want it so the user can analysis 2 pieces of data in seperate windows at the same time. I cant get it to occur in the same window as they will forever have to keep saving their info then loading the other data. So i will have to either alert them regarding the pop-up blocker when they try to open the second window or like you said claude to prevent them from coming on the site if they have their blocker enabled. thanks ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255197 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFIF Statement
And what if qryName does not even exist? Should it not start off with a: StructKeyExists(VARIABLES, qryName) After we know it exists and we know it is a query then we can assume recordcount exists and do the boolean checks. On 10/3/06, Teddy Payne [EMAIL PROTECTED] wrote: Alright, round two. How about: cfif isQuery(qryName) and isBoolean(qryName.recordcount) and yesNoFormat( qryName.recordcount) code ... /cfif Is it a query, is the value a boolean type definition and now convert the number to a logical Yes or 'No to be evaluated. This is overkill but should kill the notion of thinking of how appropriate or inappropriate the recordcount value is. =) Teddy -- Aaron Rouse http://www.happyhacker.com/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255200 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: open new window
sorry, while we are on the subject, i am also asking the users if they do want to open the data in a new window. The confirm box that i make appear says 'do you want to open this data in a new window?', is there any way of getting the confirm box to have yes and no buttons instead of ok and cancel thanks ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255199 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: accordion css control?
I like this - easy to customize and xml source makes the hierarchy really readable http://www.devx.com/getHelpOn/Article/11874/0/page/1 -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:41 AM To: CF-Talk Subject: RE: accordion css control? No IDE needed, and free, too. Now we're talking... :) -Original Message- From: Jim Wright [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:31 AM To: CF-Talk Subject: Re: accordion css control? Importance: High Ray Champagne wrote: Does anyone have any good examples of an accordion css control? I basically need to have 3 sections be completely collapsed on page load, then open when clicked on, and have linked content underneath that pushes any content under the control downward. I think this is what you are looking for... http://www.dynamicdrive.com/dynamicindex1/switchmenu.htm I've used that one before, and it is pretty easy to customize. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255201 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
reports reports reports
I'm looking for opinions advice here. My DBA is going nuts over the SQL Server 2005 reporting services. He wants to replace our current custom built (CF) reporting mechanism with it. I think ColdFusion report builder would be a better option since we are, after all, a ColdFusion shop, not .NET. And not to mention all of our production servers run Linux. Nice features our company seems to want often in reports is the ability to sort and filter data, add/remove/re-arrange columns from the report. Keep stats on when the report was last run, by whom, and how long it took. Change the server the report runs off of on the fly. The problem I have is that I know nothing about the SQL Server 2005 reporting service, OR the ColdFusion report builder other than they are all free. A couple of the guys on the database team are already playing around with the SQL version and making a collection of cool reports to use in their argument for why we should use it. Before all the pointy-haired bosses get sold on that I want to make sure ColdFusion report builder gets its fair say. Can anyone with experience with one or the other comment on the following: Which one is faster? Which one is better? Which one has more features when it comes to manipulating the data after running the report? Which one will get my morning coffee and bagel for me? Which one has the easiest learning curve? I anxiously await advice. Thanks! ~Brad ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255202 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: open new window
is there any way of getting the confirm box to have yes and no buttons instead of ok and cancel AFAIK, the answer is no. Unless you make your own confirm box using some hidden DIV that is made shown by Javascript. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255203 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: open new window
Isn't there a VB Script confirm you can customize? ~Brad -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:14 AM To: CF-Talk Subject: Re: open new window is there any way of getting the confirm box to have yes and no buttons instead of ok and cancel AFAIK, the answer is no. Unless you make your own confirm box using some hidden DIV that is made shown by Javascript. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255204 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: open new window
See if this helps: http://ns7.webmasters.com/caspdoc/html/vbscript_msgbox_function.htm ~Brad -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:14 AM To: CF-Talk Subject: Re: open new window is there any way of getting the confirm box to have yes and no buttons instead of ok and cancel AFAIK, the answer is no. Unless you make your own confirm box using some hidden DIV that is made shown by Javascript. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255205 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFIF Statement
Now you're talking people...:-) solid. Lol. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Claude Schneegans To: CF-Talk Sent: Tue Oct 03 16:18:25 2006 Subject: Re: CFIF Statement cfif isQuery(qryName) and isBoolean(qryName.recordcount) and yesNoFormat( qryName.recordcount) May be start the expression with server.coldfusion.productName EQ ColdFusion Server AND ... just to make sure ;-) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255206 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: accordion css control?
Check this one out: http://moofx.mad4milk.net/ Its fast and easy to code into. Chris -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:41 AM To: CF-Talk Subject: [SPAM] RE: accordion css control? No IDE needed, and free, too. Now we're talking... :) -Original Message- From: Jim Wright [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:31 AM To: CF-Talk Subject: Re: accordion css control? Importance: High Ray Champagne wrote: Does anyone have any good examples of an accordion css control? I basically need to have 3 sections be completely collapsed on page load, then open when clicked on, and have linked content underneath that pushes any content under the control downward. I think this is what you are looking for... http://www.dynamicdrive.com/dynamicindex1/switchmenu.htm I've used that one before, and it is pretty easy to customize. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255207 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: I hate SSIS!
Rick, When I was ready to roll out SQL2005, I just setup a VM-Ware server and did a full restore of my current SQL 2000 into it. Then I tested an in-place upgrade to make sure everything migrated (it did) I just did my live 2005 roll out this past weekend, and it went without a hitch. =) Everything, including DTS packages, imported without any probs at all. Also, you can leave your SQL tables in 2000 compatibility mode if you still have some T-SQL statements that have not quite been tested yet (it defaults to 2000 compatibility mode) Good luck, help this helps. Chris -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:18 AM To: CF-Talk Subject: OT: I hate SSIS! We're in the process of migration to SQL Server 2005. I've decided that I *HATE* SQL Server Integration Services. How freakin' complex did they have to make it? I finally was able to import one of my old DTS packages, and I was able to edit it in Business Intelligence Studio (nice of them to combine Enterprise Manager and Query Analyzer into one tool, only to add the frustration of another tool to learn in its place) But now that I've edited my package, I can't for the life of me figure out how to deploy it back to the server. Can anyone help? Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255208 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: accordion css control?
Wow, that thing is pretty damned fast. -Original Message- From: Peterson, Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 12:55 PM To: CF-Talk Subject: RE: accordion css control? Importance: High Check this one out: http://moofx.mad4milk.net/ Its fast and easy to code into. Chris -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:41 AM To: CF-Talk Subject: [SPAM] RE: accordion css control? No IDE needed, and free, too. Now we're talking... :) -Original Message- From: Jim Wright [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:31 AM To: CF-Talk Subject: Re: accordion css control? Importance: High Ray Champagne wrote: Does anyone have any good examples of an accordion css control? I basically need to have 3 sections be completely collapsed on page load, then open when clicked on, and have linked content underneath that pushes any content under the control downward. I think this is what you are looking for... http://www.dynamicdrive.com/dynamicindex1/switchmenu.htm I've used that one before, and it is pretty easy to customize. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255209 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: accordion css control?
Yeah, good set that, there are also a few effects in the script.aculo.us library. In fact moofx may also use stuff from that library.. Would have to check. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Peterson, Chris To: CF-Talk Sent: Tue Oct 03 17:54:59 2006 Subject: RE: accordion css control? Check this one out: http://moofx.mad4milk.net/ Its fast and easy to code into. Chris -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:41 AM To: CF-Talk Subject: [SPAM] RE: accordion css control? No IDE needed, and free, too. Now we're talking... :) -Original Message- From: Jim Wright [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:31 AM To: CF-Talk Subject: Re: accordion css control? Importance: High Ray Champagne wrote: Does anyone have any good examples of an accordion css control? I basically need to have 3 sections be completely collapsed on page load, then open when clicked on, and have linked content underneath that pushes any content under the control downward. I think this is what you are looking for... http://www.dynamicdrive.com/dynamicindex1/switchmenu.htm I've used that one before, and it is pretty easy to customize. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255210 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: accordion css control?
The one included in Spry is worth a look: http://labs.adobe.com/technologies/spry/articles/accordion_overview/ Massimo Foti Tools for ColdFusion and Dreamweaver developers: http://www.massimocorner.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255211 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: accordion css control?
Just for a quick and dirty example here on how to use it: Include the necessary js files: script type=text/javascript src=js/prototype.lite.js/script script type=text/javascript src=js/moo.fx.js/script script type=text/javascript src=js/moo.fx.pack.js/script script type=text/javascript src=js/niftycube.js/script Stick something like this in a javascript: script type=text/javascript window.onload = function(){ //we define two arrays, containing our toggles and divs. var myDivs = document.getElementsByClassName('stretcher'); var myLinks = document.getElementsByClassName('stretchtoggle'); //then we create the effect. myAccordion = new fx.Accordion(myLinks, myDivs, {opacity: true}); // I stuck nifty corners into the mix, they work together and look perfect Nifty(li.stretchtoggle h3,top); Nifty(div.stretcher,bottom); Nifty(td.navCell,); Nifty(td.searchResults,); Nifty(div#stopoff,big); Nifty(div#headingRow,transparent); // Show the 1st accordian as open if you want too by default myAccordion.showThisHideOpen(myDivs[0]); /script Then create your data like this: ul li class=stretchtoggleThey would click on this text to open it div class=stretcher This would be opened after they click /div /li li class=stretchtoggleThey would click on this text to open it (2nd link) div class=stretcher This would be opened after they click /div /li /ul Have fun, Chris ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255212 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: accordion css control?
The guys at Mad4Milk have a new version which doesn't rely on Prototype. You can catch it here: http://mootools.net/ Rey... Peterson, Chris wrote: Check this one out: http://moofx.mad4milk.net/ Its fast and easy to code into. Chris -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:41 AM To: CF-Talk Subject: [SPAM] RE: accordion css control? No IDE needed, and free, too. Now we're talking... :) -Original Message- From: Jim Wright [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:31 AM To: CF-Talk Subject: Re: accordion css control? Importance: High Ray Champagne wrote: Does anyone have any good examples of an accordion css control? I basically need to have 3 sections be completely collapsed on page load, then open when clicked on, and have linked content underneath that pushes any content under the control downward. I think this is what you are looking for... http://www.dynamicdrive.com/dynamicindex1/switchmenu.htm I've used that one before, and it is pretty easy to customize. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255213 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFFUNCTION called on REFRESH
What you probably want to do is submit the form back to the server onclick, then use coldfusion to check what the user selected and call the correct function. Thanks a lot Peter. I followed your suggestion. I created a CF page that has all CF code. The onClick Javascript basically just points to that CF page. The CF page processes the session data and point back to the Javascript page. It works perfectly. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255214 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: open new window
almost as intrusive as say, trying to disable their back button :) So ya thought you were gonna slip that one by me. While will's away the strong*mice*M/strong will play! That one's goin on my chalkboard. :) Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255215 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: accordion css control?
Forgive my ignorance, but what would the drawback be to relying on Prototype. (in other words, I have no idea what prototype is). -Original Message- From: Rey Bango [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 1:15 PM To: CF-Talk Subject: Re: accordion css control? Importance: High The guys at Mad4Milk have a new version which doesn't rely on Prototype. You can catch it here: http://mootools.net/ Rey... Peterson, Chris wrote: Check this one out: http://moofx.mad4milk.net/ Its fast and easy to code into. Chris -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:41 AM To: CF-Talk Subject: [SPAM] RE: accordion css control? No IDE needed, and free, too. Now we're talking... :) -Original Message- From: Jim Wright [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:31 AM To: CF-Talk Subject: Re: accordion css control? Importance: High Ray Champagne wrote: Does anyone have any good examples of an accordion css control? I basically need to have 3 sections be completely collapsed on page load, then open when clicked on, and have linked content underneath that pushes any content under the control downward. I think this is what you are looking for... http://www.dynamicdrive.com/dynamicindex1/switchmenu.htm I've used that one before, and it is pretty easy to customize. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255216 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Placing a pointer in cfchart
hi james, i have followed the instructions in the pdf file that is in the same directory. But unfortunately it is not running. It says to setup the server, deploy the relevant directories to the web root. and then deploy the chart that i generated a sa jsp page. when i try to run the page i am getting an error saying 500 translator wrong case i am using cf built in server on my local machine. Should i be putting a reference to the jsp somewhere, or can i run the jsp on its own in the browser? thanks ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255217 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4