Re: Comparing large strings
You could do the things mentioned in this order... First, check the header as mentioned... Then if there seems no difference get the page with cfhttp and 1. just compare the size of the returned string 2. if the site length has not changed compare the hash-value of the returned string So you will find the difference easily Greetings / GrĂ¼sse Gert Franz Customer Care Railo Technologies GmbH [EMAIL PROTECTED] www.railo.ch Join our Mailing List / Treten Sie unserer Mailingliste bei: deutsch: http://de.groups.yahoo.com/group/railo/ english: http://groups.yahoo.com/group/railo_talk/ Ian Skinner schrieb: I want to build a personal widget that will watch a webpage and notify me when it is updated/changed. I presume a quick and easy way to do this would be to read the page with cfhttp ... sort the chfttp.fileContent and compare this to future cfhttp reads. It was mentioned in other threads about comparing large strings like this maybe more efficient my hashing them with md3? Or something like that? Is that just using the hash() function, or do I need to do something more complex? -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| 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:258653 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Releasing objects from memory (Garbage Collection)
I have a cfloop that iterates through a query and creates an object for every userid that is returned in the query. Is there a way that I can dispose of the object once I am finished with it so that I can free up the processor and memory space. The loop could create up to 80 objects in any run, depending on the number of userid's that are returned in the query. Any help would be appreciated. H ~| 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:258654 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Releasing objects from memory (Garbage Collection)
As long as they aren't in a memory scope (the session or application scopes) they will be garbage collected when the JVM needs to do so, after the page has finished executing. On 11/1/06, Henry Wright [EMAIL PROTECTED] wrote: I have a cfloop that iterates through a query and creates an object for every userid that is returned in the query. Is there a way that I can dispose of the object once I am finished with it so that I can free up the processor and memory space. The loop could create up to 80 objects in any run, depending on the number of userid's that are returned in the query. Any help would be appreciated. H ~| 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:258655 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Eclipse RDS Plugin
There's also a smaller zip floating around the net: http://www.cfreport.org/downloads/CF_FB_Extensions.zip I really wish adobe would make this easier and better supported. Mingo. Sandra Clark wrote: Thanks, I ended up trying the Flex Builder download and doing that. I just hate the idea that I had to download 136 mb to get it. I don't want Flex Builder, can't use it. Adobe used to have it as a separate download, wish they would do that again. Its confusing for people who are looking only for that particular part. Sandra Clark == http://www.shayna.com Training in Cascading Style Sheets and Accessibility -Original Message- From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 31, 2006 1:53 PM To: CF-Talk Subject: Re: Eclipse RDS Plugin Sandy, Download the Flex Builder Trial, open the .exe with winzip, and extract the folder from there. Cutter _ http://blog.cutterscrossing.com Sandra Clark wrote: Anyone know where Adobe is hiding this? I'm re-installing Eclipse and can't find the copy I had originally downloaded. Its not on the old links that I found through googling. Alternatively, can someone send me the original zip? Thanks Sandra Clark == http://www.shayna.com Training in Cascading Style Sheets and Accessibility ~| 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:258656 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Eclipse RDS Plugin
Yes considering that eclipse is built for updating plugins etc, and adobe never utilised this feature too well. On 11/1/06, Mingo Hagen [EMAIL PROTECTED] wrote: There's also a smaller zip floating around the net: http://www.cfreport.org/downloads/CF_FB_Extensions.zip I really wish adobe would make this easier and better supported. Mingo. Sandra Clark wrote: Thanks, I ended up trying the Flex Builder download and doing that. I just hate the idea that I had to download 136 mb to get it. I don't want Flex Builder, can't use it. Adobe used to have it as a separate download, wish they would do that again. Its confusing for people who are looking only for that particular part. Sandra Clark == http://www.shayna.com Training in Cascading Style Sheets and Accessibility -Original Message- From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 31, 2006 1:53 PM To: CF-Talk Subject: Re: Eclipse RDS Plugin Sandy, Download the Flex Builder Trial, open the .exe with winzip, and extract the folder from there. Cutter _ http://blog.cutterscrossing.com Sandra Clark wrote: Anyone know where Adobe is hiding this? I'm re-installing Eclipse and can't find the copy I had originally downloaded. Its not on the old links that I found through googling. Alternatively, can someone send me the original zip? Thanks Sandra Clark == http://www.shayna.com Training in Cascading Style Sheets and Accessibility ~| 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:258657 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Releasing objects from memory (Garbage Collection)
If you really wanted to, you could use: StructDelete(structure, key [, indicatenotexisting ]) StructDelete ( variables, objectKey [, true] ) Ryan [EMAIL PROTECTED] 01/11/2006 08:31 I have a cfloop that iterates through a query and creates an object for every userid that is returned in the query. Is there a way that I can dispose of the object once I am finished with it so that I can free up the processor and memory space. The loop could create up to 80 objects in any run, depending on the number of userid's that are returned in the query. Any help would be appreciated. H ~| 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:258658 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Releasing objects from memory (Garbage Collection)
While this will remove the reference to the object, there's no guarantee that the JVM will do a garbage collection when you do. It's most likely to if you are pushing the memory limits of the machine at the time. On 11/1/06, Ryan Stewart [EMAIL PROTECTED] wrote: If you really wanted to, you could use: StructDelete(structure, key [, indicatenotexisting ]) StructDelete ( variables, objectKey [, true] ) Ryan [EMAIL PROTECTED] 01/11/2006 08:31 I have a cfloop that iterates through a query and creates an object for every userid that is returned in the query. Is there a way that I can dispose of the object once I am finished with it so that I can free up the processor and memory space. The loop could create up to 80 objects in any run, depending on the number of userid's that are returned in the query. Any help would be appreciated. H ~| 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:258659 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Eclipse RDS Plugin
On Wednesday 01 November 2006 10:04, Andrew Scott wrote: Yes considering that eclipse is built for updating plugins etc, and adobe never utilised this feature too well. I think they are terrified that everyone will run Eclipse with plugins rather than Flex Builder. -- Tom Chiverton Helping to quickly disseminate frictionless paradigms 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:258660 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Need regular expression in REReplace for email
On Tuesday 31 October 2006 16:41, Claude Schneegans wrote: Just write proper JavaScript, avoiding the nasty IE hacks and known specifics and it'll run in IE and FF without issue. If you just stick to what's standard, you will not go very far. Well, yes, innerHTML :-) But things like that although *technically* outside the spec, are supported everywhere. This is why I said 'proper' not 'standards compliant'. So why bother? One day, someone not using IE will login. Sods law says they will be from a big customer. -- Tom Chiverton Helping to carefully utilize out-of-the-box web-readiness 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:258661 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 form swf storage
Thanks Dave. That is why I was looking for it because I wanted to remove it from cache to see if it resolved the issue where an image inside of a flash form was not being updated. Dan On 10/30/06, Dave Watts [EMAIL PROTECTED] wrote: Anyone know where the SWF's from a flash form are stored on the server? Are they named similar to the template that generated them? By default, they're not stored on the filesystem at all. If you view source in a CFFORM Flash page with a URL like /somedir/somefile.cfm, you'll see something like this: src='/somedir/2013114037.mxml.cfswf' But if you look in that directory, no such file exists. If you want the file to be cached on the filesystem, you'll have to enable that option: http://www.adobe.com/go/ebd0cbe3 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:258662 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: What to use beside cfinclude
You can't *include* it as will be on a different serverbut if you just need the output of this page try this: cfhttp url=http://domain2.com/page2.cfm; method=GET/cfhttp cfoutput#cfhttp.fileContent#/cfoutput However, if page2.cfm is on the same physical machine you can include it - you just need the correct mapping to get there! -a -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 31 October 2006 21:56 To: CF-Talk Subject: What to use beside cfinclude All, I have a cf page on domain1.com page1.cfm and I want to include a cf page that resides on domain2.com, page2.cfm and have it appear on domain1.com's cf page of page2.cfm. Cfinclude does't work. I don't want to use iframe or frames I want it to be seemless. Thoughts? D ~| 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:258663 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: Vortech Hosting - Orlando, Florida
Jenny, Have your replacement hosting needs been met yet? Dan On 10/31/06, Jenny Gavin-Wear [EMAIL PROTECTED] wrote: Is anyone else here with Vortech Hosting? http://www.vortechhosting.com Last week they accused me of sending spam from my server, which of course I don't do. They threatened me with a $255 fine and I said no way was I paying that when the example spam email they sent me was clearly produced with a forged message header. On Saturday they turned my server off. Attempts to contact them are going nowhere, all I get is an answering machine or auto replies to emails. I am currently looking into taking legal action against them. I would also appreciate any legal advice. Many thanks, Jenny Jennifer Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.13.18/506 - Release Date: 30/10/2006 ~| 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:258664 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: OT - CSS Float Image Bottom Right corner of DIV
On 10/31/06, Denny Valliant [EMAIL PROTECTED] wrote: I'd use a table. :-P Thank you all for your assistance. In the end I was attempting to mimic what our Designer put into the layout template but I guess there are times when this just can't happen without much additional overhead. Kinda funny that with all the advancements of the browser it still doesn't understand where a pixel is located on its canvas and allow a developer to code around a paticular square weather it be 30 pixels or 300 Desired effect: xxx xxx xxx +-+ | | | | | | Xxxx +-+ I could find length of a paragraph of text and break that into s separate div for display around the picture but for this project I think Jennifer (designer) won't mind much if I do something else. Thanks again everyone, you're all rock stars in my book! -- Casey ~| 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:258665 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Error Control
I use to have my errors log into a database. After I had a meltdown on my server, a Coldfusion Tech had me to take my jvm.config from my developer pc and copy it to the server to start Coldfusnion. Since then all my users get the error while processing screen that coldfusion has. I have checked my settings and looked at the summary in the cf administator. It shows it to be a standard. Does anyone have any Ideas as to what I'm over looking. 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:258666 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Java ListIterator to CF Variable
Hi All, I am currently interfacing with our new Search Engine via its Java API (obviously using ColdFusion ;-) and it has the following line in the API docs... Java.util.ListIterator iterator = result.documents(); // returns a list iterator for the document summaries in this query result. What is the process for looping through a Java iterator in CF? Thanks Neil ~| 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:258667 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CFHTTP, SSL and Certificates (Obligatory Oh My)
Hey all - I'm debugging a customer issue with a CFHTTP call that's reaching out to a secure location with a valid certificate. I've exported the cert (in both base64 and, just to be sure, binary formats) and imported it into cacerts, but it just won't take. Other HTTPS sites work just fine, but I can't get this one to connect. Has anyone else run into a circumstance where importing a cert still doesn't keep the connection from failing? If not, would someone mind trying to connect to the URI below via CFHTTP and let me know whether it works for you? I'm not above admitting that I could easily be screwing up the import process, but I'm at a loss for how I might be doing that since other sites appear to work as expected. The URI I'm trying to import is https://www.controller.jhu.edu/staff/phone_book/phone_co.jsp It can be accessed directly, of course. Thanks very much. Rob Wilkerson ~| 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:258668 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Java ListIterator to CF Variable
If you have returned it has a jave object via CreateObject, treat it the same way as you would in Java. On 11/2/06, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Hi All, I am currently interfacing with our new Search Engine via its Java API (obviously using ColdFusion ;-) and it has the following line in the API docs... Java.util.ListIterator iterator = result.documents(); // returns a list iterator for the document summaries in this query result. What is the process for looping through a Java iterator in CF? Thanks Neil ~| 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:258669 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Error Control
On Wednesday 01 November 2006 11:49, Matthew Irwin wrote: Does anyone have any Ideas as to what I'm over looking. Posting the error message for us to look at so we can help ? -- Tom Chiverton Helping to adaptively deliver sticky initiatives 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:258670 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Java ListIterator to CF Variable
No worries... sorted cfloop condition=resultIterator.hasNext() eq true Now only thing to see is if there is a way to get the iterator length ;-) -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 01 November 2006 13:04 To: CF-Talk Subject: Java ListIterator to CF Variable Hi All, I am currently interfacing with our new Search Engine via its Java API (obviously using ColdFusion ;-) and it has the following line in the API docs... Java.util.ListIterator iterator = result.documents(); // returns a list iterator for the document summaries in this query result. What is the process for looping through a Java iterator in CF? Thanks Neil ~| 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:258671 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
how do i recordset with variables
I'm setting up a website where customers of my client see specific documents that my client allows permissions to. This way the client needs to be able to create and rename fields. Consequently, when it comes to displaying contents of a recordset, i need to be able to list the fields dynamically. I need the code below: cfif (#Recordset1.client_ongoingcontracts# EQ 1)checked=checked/cfif to work like this: cfif (#Recordset1.client_(directories.Name)# EQ 1)checked=checked/cfif directories.Name is the variable pulling in from a cfdirectory listing. Any help would be greatly 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:258672 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: how do i recordset with variables
James, You can refer to a query record set using array/object notation: cfset value = Recordset1[ client_#directories.Name# ][ Recordset1.CurrentRow ] / More generally, you can refer to a record set like this: RECORSET[ COLUMN_NAME ][ ROW_NUMBER ] Hope that helps. .. Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -Original Message- From: James O'Dowd [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 7:29 AM To: CF-Talk Subject: how do i recordset with variables I'm setting up a website where customers of my client see specific documents that my client allows permissions to. This way the client needs to be able to create and rename fields. Consequently, when it comes to displaying contents of a recordset, i need to be able to list the fields dynamically. I need the code below: cfif (#Recordset1.client_ongoingcontracts# EQ 1)checked=checked/cfif to work like this: cfif (#Recordset1.client_(directories.Name)# EQ 1)checked=checked/cfif directories.Name is the variable pulling in from a cfdirectory listing. Any help would be greatly 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:258673 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF Wiki
We tried CFWiki (v1.3) but decided against it. I was seeking something to collect processes lessons-learned from our SysAdmin team - the sort of thing you'd email to teammates to say 'I just learned this way of making things easier'. I found the editing and user tracking to be about the same effort as putting up a web page. Not hard, but not something to open to everyone. What I'd really like is something that tracks who's making changes, what changes are made, and the text input is 'just type it in and that's where it goes'. thanks, Chris -- Original Message -- From: Jason Manaigre [EMAIL PROTECTED] Reply-To: cf-talk@houseoffusion.com Date: Fri, 27 Oct 2006 16:00:16 -0500 Has anyone here installed and used it? Wouldn't mind some first hand info. Jason E.J. Manaigre Web Site Development Coordinator | Web God International Institute for Sustainable Development Winnipeg, Manitoba, Canada Main Web site: http://www.iisd.org Email: mailto:[EMAIL PROTECTED] | Phone: 1.204.958.7744 -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: October 27, 2006 2:06 PM To: CF-Talk Subject: RE: CF Wiki Ray Camden has a CF Wiki called Canvas: http://ray.camdenfamily.com/projects/canvas/ !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Friday, October 27, 2006 1:42 PM To: CF-Talk Subject: RE: CF Wiki Also depends on what you need the wiki for. You can install trac, which has SVN integration, bugtacking/ticketing system and wiki all in one. It's no written in CF (python), but I've been able to do small changes to the code with no problems and it's fairly customizable without doing any code changes. Russ -Original Message- From: Rob Wilkerson [mailto:[EMAIL PROTECTED] Sent: Friday, October 27, 2006 2:36 PM To: CF-Talk Subject: Re: CF Wiki On 10/27/06, Jason Manaigre [EMAIL PROTECTED] wrote: Hi everyone, I'm not being lazy, searching for wiki brings up tones of actual wikis, what I want to know is there a good wiki software package for CF freeware or commercial? At work here, we're all MS so far, but the boss wants to explore open source. I'd rather explore CF. There's no reason you can't do both. There are a lot of CF open source projects - including at least one wiki (http://canvas.riaforge.org/). ~| 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:258674 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: how do i recordset with variables
James - try the evaluate function for a quick solution On 01/11/06, James O'Dowd [EMAIL PROTECTED] wrote: I'm setting up a website where customers of my client see specific documents that my client allows permissions to. This way the client needs to be able to create and rename fields. Consequently, when it comes to displaying contents of a recordset, i need to be able to list the fields dynamically. I need the code below: cfif (#Recordset1.client_ongoingcontracts# EQ 1)checked=checked/cfif to work like this: cfif (#Recordset1.client_(directories.Name)# EQ 1)checked=checked/cfif directories.Name is the variable pulling in from a cfdirectory listing. Any help would be greatly 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:258675 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Disappointed in Authorize.Net recently; Looking for new merchant server.
I've been away from Authorize.net for a few years but it does seem they've dropped in popularity and reliability. Really, I have nothing but good things to say about them. 2 years ago, the had a wicked DDOS attack agaist them, but since then, they have been great. The only thing I can think of is that their confirmation emails sometimes lag a bit. ~Che -Original Message- From: Tony Hicks [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 31, 2006 4:19 PM To: CF-Talk Subject: Disappointed in Authorize.Net recently; Looking for new merchant server. Authorize.net has been nothing but disappointing lately. Lackluster performance out of their servers. Errors routinely. Mis-informed operators. And the lacking of a good feature. I know that many merchant processors model after Authorize.net in the hopes that easy migration of shopping carts will make customers migrate. I'm looking for a system that supports an AIM-compatible interface along with the ability to add a secondary url that the processor will submit the data too 'silently'. I've been away from Authorize.net for a few years but it does seem they've dropped in popularity and reliability. ~| 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:258676 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: how do i recordset with variables
Thank you, thank you, thank you, thank you, thank you. Now i realise it's uses the same syntax as flash when you're using variables inside other variables. Makes sense i suppose seeing as they're both by Adobe nee Macromedia! Thanks again. I was getting rather frustrated by this and couldn't work it out at all. -James James, You can refer to a query record set using array/object notation: cfset value = Recordset1[ client_#directories.Name# ][ Recordset1.CurrentRow ] / More generally, you can refer to a record set like this: RECORSET[ COLUMN_NAME ][ ROW_NUMBER ] Hope that helps. . Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -Original Message- From: James O'Dowd [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 7:29 AM To: CF-Talk Subject: how do i recordset with variables I'm setting up a website where customers of my client see specific documents that my client allows permissions to. This way the client needs to be able to create and rename fields. Consequently, when it comes to displaying contents of a recordset, i need to be able to list the fields dynamically. I need the code below: cfif (#Recordset1.client_ongoingcontracts# EQ 1)checked=checked/cfif to work like this: cfif (#Recordset1.client_(directories.Name)# EQ 1)checked=checked/cfif directories.Name is the variable pulling in from a cfdirectory listing. Any help would be greatly 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:258677 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: how do i recordset with variables
Actually while you're here, i just need a little help with the last part of this page, it's to do with the insert function when it's updating the record. I need it to cycled through the directories and update accordingly. Below is a snippet of code i'm using at the moment, which is obviously now no good. I'm guessing i need to set up another cfdirectory loop similar to before and doing something like FORM.client_#directory.Name# but i have a small inkling it wouldn't work... , client_ongoingcontracts= cfif IsDefined(FORM.client_ongoingcontracts) 1 cfelse 0 /cfif , client_healthandsafety= cfif IsDefined(FORM.client_healthandsafety) 1 cfelse 0 /cfif ~| 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:258678 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
FW: Server setup
Hi all Just wanted to try and get some thoughts on what people thought was the most preferred setup. I have a new server that I am about to setup for hosting approx 20 different CF based websites. I have both CF MX and CF MX 7 which I can install on the server. I can have either Windows Server 2000 or Windows Server 2003 as the OS and therefore I could have IIS on the machine. Just wondering if IIS is really recommended or whether most people would go for having Apache. As for databases, etc will probably go MySQL although I do have MSSQL 2000 which I could have installed on the server if required. Thanks in advance for feedback. 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:258679 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: What to use beside cfinclude
If you need to include the page pre-processing then you might be out of luck. You'll probably have to write some sort of web service and run it on domain2. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Adkins, Randy [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 31, 2006 4:12 PM To: CF-Talk Subject: RE: What to use beside cfinclude Would that attempt to process the page2.cfm on the domain2 and bring the contents to domain1? If there is processing within page2.cfm that would rely on the variables from the first domain, It would nto work properly. I guess it comes down to what page2.cfm actually does, right? -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 31, 2006 5:06 PM To: CF-Talk Subject: RE: What to use beside cfinclude cfhttp would work just fine. cfhttp url=http://www.domain2.com/yourpage.cfm;/cfhttp cfdump var=CFHTTP.filecontent !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 31, 2006 3:56 PM To: CF-Talk Subject: What to use beside cfinclude All, I have a cf page on domain1.com page1.cfm and I want to include a cf page that resides on domain2.com, page2.cfm and have it appear on domain1.com's cf page of page2.cfm. Cfinclude does't work. I don't want to use iframe or frames I want it to be seemless. Thoughts? D ~| 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:258680 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: OT - CSS Float Image Bottom Right corner of DIV
Even a table wouldn't give him the result for which he's looking. Assuming you had a 3x3 table, with the image in the bottom right corner, the text still would not be able to wrap around it at the bottom. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Denny Valliant [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 31, 2006 10:11 PM To: CF-Talk Subject: Re: OT - CSS Float Image Bottom Right corner of DIV On 10/31/06, Mark Henderson [EMAIL PROTECTED] wrote: . Maybe I got a little carried away up there. Who knows. Denny, what do you think?? J/k!! I'd use a table. :-P Loved the ascii art, BTW! =D3 ~| 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:258681 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: how do i recordset with variables
You can do StructKeyExists in stead of is defined: cfif StructKeyExists( FORM, client_#directory.Name# ) cfelse /cfif But without a bit more code I can't really know what you are doing. .. Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -Original Message- From: James O'Dowd [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 8:11 AM To: CF-Talk Subject: Re: how do i recordset with variables Actually while you're here, i just need a little help with the last part of this page, it's to do with the insert function when it's updating the record. I need it to cycled through the directories and update accordingly. Below is a snippet of code i'm using at the moment, which is obviously now no good. I'm guessing i need to set up another cfdirectory loop similar to before and doing something like FORM.client_#directory.Name# but i have a small inkling it wouldn't work... , client_ongoingcontracts= cfif IsDefined(FORM.client_ongoingcontracts) 1 cfelse 0 /cfif , client_healthandsafety= cfif IsDefined(FORM.client_healthandsafety) 1 cfelse 0 /cfif ~| 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:258682 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: FW: Server setup
We've had plenty of problems with IIS5 on Win2k. Most times, there appears to be a simple solution, but it only applies to IIS6, which requires Win2003. So, if you're going Win2003 then IIS is probably fine. Though I've had zero problems with a regular Apache+CF configuration, so I'd probably still recommend that anyway. I don't have sufficient experience with MSSQL to comment on that. (For my personal server, I'll planning to use Linux+Tomcat+Railo+MySQL) HTH. :) Peter Hi all Just wanted to try and get some thoughts on what people thought was the most preferred setup. I have a new server that I am about to setup for hosting approx 20 different CF based websites. I have both CF MX and CF MX 7 which I can install on the server. I can have either Windows Server 2000 or Windows Server 2003 as the OS and therefore I could have IIS on the machine. Just wondering if IIS is really recommended or whether most people would go for having Apache. As for databases, etc will probably go MySQL although I do have MSSQL 2000 which I could have installed on the server if required. Thanks in advance for feedback. 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:258683 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Eclipse RDS Plugin
I don't think so. During CFUnited everyone from Adobe talked about using CFEclipse for modifying CFCs. Cutter http://blog.cutterscrossing.com Tom Chiverton wrote: On Wednesday 01 November 2006 10:04, Andrew Scott wrote: Yes considering that eclipse is built for updating plugins etc, and adobe never utilised this feature too well. I think they are terrified that everyone will run Eclipse with plugins rather than Flex Builder. ~| 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:258684 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Problem with using cfhttp to login to asp .net
I'm having a problem with login to a asp.net. Firstly, I use cfhttp to make a request to the login page to get cookie info (ASP.NET_SessionId) Secondly, using cfhttp to login (passing ASP.NET_SessionId in cfhttpparam type=cookie and my login details) Finally, I use cfhttp to request the index.aspx page to check whether the login is successfull but it seems that I couldn't log in. It return me back to the login page. My code is: !--- First http request to get cookie info --- cfhttp url=http://www.mycompany.com/Login.aspx; method=get resolveurl=yes port=80 throwonerror=yes redirect=yes useragent=#cgi.HTTP_USER_AGENT#/ !--- create cookieStruct --- cfset cookieList = cfhttp.responseheader['Set-Cookie'] cfset cookieStruct = Structnew() cfloop from=1 to=#listlen(cookieList,';')# index=i cfset cookieKV = listGetAt(cookieList,i,;) cfif listLen(cookieKV,=) gt 1 cfset cookieKey = listGetAt(cookieKV,1,=) cfset cookieValue = listGetAt(cookieKV,2,=) cfset structInsert(cookieStruct,cookiekey,cookievalue) /cfif /cfloop !--- Second http request to login --- cfhttp url=http://www.mycompany.com/Login.aspx; method=post resolveurl=yes port=80 throwonerror=yes redirect=yes useragent=#cgi.HTTP_USER_AGENT# cfloop collection=#cookieStruct# item=key cfhttpparam type=cookie name=#key# value=#cookieStruct[key]# /cfloop cfhttpparam type=formfield name=CompanyCode value=MyCode/ cfhttpparam type=formfield name=UserEmail value=[EMAIL PROTECTED]/ cfhttpparam type=formfield name=UserPassword value=mypassword/ cfhttpparam type=formfield name=SigninBtn value=Login/ /cfhttp !--- Verify whether the login is successful --- cfhttp method=get url=http://www.mycompany.com/index.aspx; resolveurl=yes port=80 throwonerror=yes redirect=yes cfloop collection=#cookieStruct# item=key cfhttpparam type=cookie name=#key# value=#cookieStruct[key]# /cfloop /cfhttp !--- If the login is successful then index page will be shown, otherwise, login page is shown --- cfoutput#cfhttp.FileContent#/cfoutput I have a look in the cookie if I logged in using html page, i also see cookie key .ASPXAUTH and value is E94ED8F which I don't see that in the response header when using cfhttp. I think that this might be a well-known problem for many people. Does anyone know what the problem is? ~| 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:258685 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Simple CFC question...
I will probably do the Homer Doh!! After I hear the answer.. Here is a very simple CFC called mycfc.cfc cfcomponent cffunction name=sayhi returntype=string cfset hi = hi cfreturn hi /cffunction /cfcomponent Calling it using cfobject like this: cfobject name=testCFC component=mycfc cfset answer = testCFC.sayhi() cfoutput#answer#/cfoutput Outputs hi Like its supposed to... Now if I try the cfinvoke method I get an undefined variable.. cfinvoke component=mycfc method = sayhi return = returnVar /cfinvoke cfoutput#returnVar#/cfoutput Why do I get Variable RETURNVAR is undefined. instead of hi? Its got to be something stupidly simple, I just got that feeling. Thanks J ~| 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:258686 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Eclipse RDS Plugin
You can't keep people from using a good thing... Adobe should either build a better tool or better facilitate (cf)Eclipse. Mingo. Tom Chiverton wrote: I think they are terrified that everyone will run Eclipse with plugins rather than Flex Builder. ~| 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:258687 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Simple CFC question...
It's returnVariable, not return -Original Message- From: J W [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 10:00 AM To: CF-Talk Subject: Simple CFC question... I will probably do the Homer Doh!! After I hear the answer.. Here is a very simple CFC called mycfc.cfc cfcomponent cffunction name=sayhi returntype=string cfset hi = hi cfreturn hi /cffunction /cfcomponent Calling it using cfobject like this: cfobject name=testCFC component=mycfc cfset answer = testCFC.sayhi() cfoutput#answer#/cfoutput Outputs hi Like its supposed to... Now if I try the cfinvoke method I get an undefined variable.. cfinvoke component=mycfc method = sayhi return = returnVar /cfinvoke cfoutput#returnVar#/cfoutput Why do I get Variable RETURNVAR is undefined. instead of hi? Its got to be something stupidly simple, I just got that feeling. Thanks J ~| 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:258688 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF Wiki
Hey Chris - Canvas does record who makes changes, but it doesn't do diffs... yet. I have a huge update waiting in the wings from a user who sent it in before MAX. I'm hoping to get Canvas 2 out the door in the next week or so. On 11/1/06, Chris Norloff [EMAIL PROTECTED] wrote: We tried CFWiki (v1.3) but decided against it. I was seeking something to collect processes lessons-learned from our SysAdmin team - the sort of thing you'd email to teammates to say 'I just learned this way of making things easier'. I found the editing and user tracking to be about the same effort as putting up a web page. Not hard, but not something to open to everyone. What I'd really like is something that tracks who's making changes, what changes are made, and the text input is 'just type it in and that's where it goes'. -- === Raymond Camden, Vice President of Technology for roundpeg Email: [EMAIL PROTECTED] Blog : ray.camdenfamily.com AOL IM : cfjedimaster Video game player? Have kids? Check out KidGamers.org ~| 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:258689 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Converting from SQL to mySql
On 10/30/06, Dave Watts [EMAIL PROTECTED] wrote: I honestly believe that if companies like the yahoo and google, who use mySql to run portions of their websites, figure to prove that a whopping $20,000 licence for MS or Oracle just is not worth it. Things just aren't as simple as this. Companies like these would pay far more than $20K for either SQL Server or Oracle, and they're large enough that they have incredible economies of scale when they implement and maintain open source solutions. It's my understanding that Google, for example, maintains a customized version of CentOS, a Linux distribution, for use with their search servers. If you have enough identical servers, that's a sensible value proposition, but most of us don't come close to that. Not to mention the fact that many companies that use MySQL pay *significant* amounts of money to MySQL for support. The kind of support that means Monty or David or one of the other senior developers *calls them back directly*. Or pays MySQL to implement specific features. Or spends $$$ on their own extensions to MySQL and have to contribute them back because of the GPL. Or hires the MySQL consulting team for $$$ to get up and running since there are, conservatively, about 1 kabillion possible options for configuring performance. Also remember that one of the options MySQL licensing options is free *under the GPL*, which has intellectual property implications. Also note that MySQL will license you a non-GPL-encumbered version of MySQL if you're willing to pay for it -- the new Enterprise offering has changed a bit from the old $695/server for MySQL Pro, but it's not much worse. MySQL is not just about free as in beer -- it's free as in freedom. If you're in it just for free beer, you'll might not be satisfied ;) -- John Paul Ashenfelter CTO/Transitionpoint (blog) http://www.ashenfelter.com (email) [EMAIL PROTECTED] ~| 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:258690 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Eclipse RDS Plugin
On Wednesday 01 November 2006 14:43, Cutter (CFRelated) wrote: I don't think so. During CFUnited everyone from Adobe talked about using CFEclipse for modifying CFCs. Exactly. No coders use Dreamweaver, which costs Adobe money because people are using the free alternative. -- Tom Chiverton Helping to simultaneously benchmark revolutionary IPOs 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:258691 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Eclipse RDS Plugin
On Wednesday 01 November 2006 15:01, Mingo Hagen wrote: You can't keep people from using a good thing... Adobe should either build a better tool or better facilitate (cf)Eclipse. I'd much rather they did the latter. -- Tom Chiverton Helping to augmentatively synthesize leading-edge environments This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at 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:258692 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Can I write code in CF 8 for CF 4.5?
On 10/30/06, Dave Watts [EMAIL PROTECTED] wrote: Don't you feel silly now that VMWare server is free :-P I don't know about John, but I got my money's worth out of VMware Workstation and GSX Server long before the free versions were available. While I happily deploy some of my clients on the free VMWare Server (or use the VMWare Player for their desktop demos) they are both, as are many free-as-in-beer tools, not the whole picture. For example, without VMWare Workstation or the VMWare Infrastructure (the server side of things) you're going to have problems building and maintaining virtual machines. Or look at snapshots -- a *great* feature in VMWare -- take a snapshot and _then_ apply a MS hotfix for example -- you get one snapshot in VMWare Server. Keep or revert, that's it. Want to collapse all those snapshots into a new build? Too bad. Want to revert back two snapshots? Too bad. The $200 I spent on VMWare Workstation 1.0, and additional few hundred on the upgrades over the past 5 years has been some of the best money I've *ever* spent on tech, hands down. As soon as the VMWare for Mac gets out of beta, my life will be complete :) [Aside -- I know all about Parallels, thanks. And Xen. I'm just looking for a *single* vm image that I can move across all the platforms I work on *and* that has server-deployment tools] -- John Paul Ashenfelter CTO/Transitionpoint (blog) http://www.ashenfelter.com (email) [EMAIL PROTECTED] ~| 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:258693 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Posting to a blog via email
Someone over at Sitepoint asked this question: http://www.sitepoint.com/forums/showthread.php?t=432441 which led me to whip up the following code. I'd be interested in seeing if it could be improved upon. Anyone have any suggestions. [code] !--- get all emails --- cfpop server=your mail server username=the email address to check password=password action=getAll name=emails !--- loop over the emails to see if there are any legit records in there --- cfloop query=emails !--- make sure that the current email being evaluated matches our special email --- cfif FindNoCase(special email two,to) OR FindNoCase(special email one,to) !--- prep the variables for insertion to the database --- cfif FindNoCase(special email two,to) cfset fk_user_id = 1 cfelseif FindNoCase(special email one,to) cfset fk_user_id = 12 /cfif cfset thedate = DateFormat(Now(),-mm-dd) TimeFormat(Now(),H:mm:ss) cfset title = subject cfset content = ListLast(body,~) cfset cats = ListFirst(body,~) cfset status = publish !--- insert into database --- perform your db insert here !--- get newest news post --- get the id of the just inserted record !--- loop over the categories to get the corresponding id --- cfset counter = 0 cfloop index=li list=#cats# delimiters=: look upthe current category and make sure that one exists with that name !--- did we get a hit? --- cfif getCat.recordcount !--- we did get a hit, so insert a record--- insert the user/newsid record here8 !--- keep a count to make sure that at least ONE category got added --- cfset counter = counter + 1 /cfif /cfloop !--- if counter is still zero, then delete the news post --- cfif NOT counter delete the news post /cfif /cfif /cfloop !--- everything went well, so delete all emails --- cfpop server=your mail server username=the email address to check password=password action=getAll name=delete [/code] !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- ~| 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:258694 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Eclipse RDS Plugin
Using Eclipse for Flex Builder was a good move. Eclipse was made to create other tools in a homogenous way. The code insight and design views of Flex Builder have been a great experience that not many Eclipse based plugins can boast. On 11/1/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 01 November 2006 15:01, Mingo Hagen wrote: You can't keep people from using a good thing... Adobe should either build a better tool or better facilitate (cf)Eclipse. I'd much rather they did the latter. -- Tom Chiverton Helping to augmentatively synthesize leading-edge environments This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at 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:258695 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CSS Menu issue
I am having an issue with CSS menus. I have a horizontal menu accross the top with up to 3 levels of pop-out and drop-down menus below it. When selecting a top level item, the remaining sub levels get moved to a side navigation area with pop-out menus from there. The issue is that in IE only (not FF) if the side menu is displayed, the top menu drops behind the side menu. Let me try to draw this out - top menu items - | side menu | | | | | | | | | | | The div elements are all relatively positioned (and it seems to only work that way) so as I understand it, using z-index is not an option. You can see what is going on at *http://cfas.cfwebtools.com/index.cfm?objectid=62E47FDD-9027-F64A-79C5239AAD349A73 *Roll the mouse over any top level menu items towards the left and you'll see that they display behind the side menu. I'm really not sure what to do to fix this and any help or advice will be VERY much appreciated. Thanks! Jake ~| 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:258696 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Performance Benchmarks
I'm sure Vincent will pop up here but I'll ask everyone anyway: Does anyone have any performance benchmarks comparing BlueDragon/CFMX7 and possibly Railo? I'm interested how performance compares across the three apps. -- Neil Middleton Visit feed-squirrel.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:258697 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CFFORM format=flash dynamic cfselects:Answer!
Right well I worked out how to do it! As nobody on this list knows how to do it I thought I would share the answer! To have more than one select binding to a cfgrid just add actionscript to the cfgrid. By trial and error I worked out that you do the following: On the cfgrid(this uses three cfselects): cfgrid name=UsersGrid format=Flash query=qNames rowheaders=No onchange=for (var i:Number = 0; istate.length; i++) {if (state.getItemAt([i]).data == UsersGrid.selectedItem.state) state.selectedIndex = i} for (var i:Number = 0; imeetingtime.length; i++) {if (meetingtime.getItemAt([i]).data == UsersGrid.selectedItem.meetingtime) meetingtime.selectedIndex = i} for (var i:Number = 0; idept.length; i++) {if (dept.getItemAt([i]).data == UsersGrid.selectedItem.dept) dept.selectedIndex = i} for (var i:Number = 0; icity.length; i++) {if (city.getItemAt([i]).data == UsersGrid.selectedItem.city) city.selectedIndex = i} On the cfselect: cfselect name=dept width=200 size=1 label=Dept. onchange=UsersGrid.dataProvider.editField(UsersGrid.selectedIndex, 'dept', dept.selectedItem.data); option value=NoneNone/OPTION option value=CundinamarcaCundinamarca/OPTION option value=AntioquiaAntioquia/OPTION option value=BoyacaBoyaca/OPTION option value=SucreSucre/OPTION option value=AtlanticoAtlantico/OPTION /cfselect Explanation: To add a new cfselect just add in the onchange between the the following: for (var i:Number = 0; istate.length; i++) {if (state.getItemAt([i]).data == UsersGrid.selectedItem.state) state.selectedIndex = i} for (var i:Number = 0; imeetingtime.length; i++) {if (meetingtime.getItemAt([i]).data == UsersGrid.selectedItem.meetingtime) meetingtime.selectedIndex = i} change the field in this example state to your field name. Watch out for upper and lower case-actionscript is case sensitive although cf isn´t Hope that helps someone out there as it was a nightmare for me working it out! From: Ed Goodson [EMAIL PROTECTED] Reply-To: cf-talk@houseoffusion.com To: CF-Talk cf-talk@houseoffusion.com Subject: Anyone?! Does anybody know about cfforms? Should be simple! Date: Mon, 23 Oct 2006 13:56:32 + I can output and change dynamic data in cfforms fine using cfgrid and on Change actionscript on cfinputs and cfselects (cfinput like this): cfinput type=text name=UPDATED label=UPDATED bind={UsersGrid.dataProvider[UsersGrid.selectedIndex]['UPDATED']}on Change=UsersGrid.dataProvider.editField(USersGrid.selectedIndex, 'UPDATED', UPDATED.text); I am just wondering how and if it is possible to output the value dynamically as in the code above but without it being a cfinput or cfselect field (like a cfoutput which doesn´t work in cfforms format flash). How would I output the value above? With cfscript and actionscript or do I have to make the cfinput type=hidden, save the value to a variable and output like that? CFScript? Thanks for any pointers _ Windows Live™ Messenger has arrived. Click here to download it for free! http://imagine-msn.com/messenger/launch80/?locale=en-gb ~| 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:258698 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CSS Menu issue
It looks OK in IE7 -Original Message- From: Jake Churchill [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 10:53 AM To: CF-Talk Subject: CSS Menu issue I am having an issue with CSS menus. I have a horizontal menu accross the top with up to 3 levels of pop-out and drop-down menus below it. When selecting a top level item, the remaining sub levels get moved to a side navigation area with pop-out menus from there. The issue is that in IE only (not FF) if the side menu is displayed, the top menu drops behind the side menu. Let me try to draw this out - top menu items - | side menu | | | | | | | | | | | The div elements are all relatively positioned (and it seems to only work that way) so as I understand it, using z-index is not an option. You can see what is going on at *http://cfas.cfwebtools.com/index.cfm?objectid=62E47FDD-9027-F64A-79C5239AAD 349A73 *Roll the mouse over any top level menu items towards the left and you'll see that they display behind the side menu. I'm really not sure what to do to fix this and any help or advice will be VERY much appreciated. Thanks! Jake ~| 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:258699 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, SSL and Certificates (Obligatory Oh My)
Yeh and still struggling with it... :( http://www.houseoffusion.com/groups/CF-Talk/thread.cfm/threadid:48564 What version of CF? What error message are you getting... you said other HTTPS sites are working - I'm assuming you mean other cfhttp calls? Are there differences in the types of the certificate? When you attempt to import the certificate it should confirm that its been added Kola -Original Message- From: Rob Wilkerson [mailto:[EMAIL PROTECTED] Sent: 01 November 2006 13:21 To: CF-Talk Subject: CFHTTP, SSL and Certificates (Obligatory Oh My) Hey all - I'm debugging a customer issue with a CFHTTP call that's reaching out to a secure location with a valid certificate. I've exported the cert (in both base64 and, just to be sure, binary formats) and imported it into cacerts, but it just won't take. Other HTTPS sites work just fine, but I can't get this one to connect. Has anyone else run into a circumstance where importing a cert still doesn't keep the connection from failing? If not, would someone mind trying to connect to the URI below via CFHTTP and let me know whether it works for you? I'm not above admitting that I could easily be screwing up the import process, but I'm at a loss for how I might be doing that since other sites appear to work as expected. The URI I'm trying to import is https://www.controller.jhu.edu/staff/phone_book/phone_co.jsp It can be accessed directly, of course. Thanks very much. Rob Wilkerson ~ ~| 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:258700 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CSS Menu issue
My IE7 is the standalone version only and it doesn't work there. Regardless, I can't get it to work in IE6 which is what I really need. Dave Francis wrote: It looks OK in IE7 -Original Message- From: Jake Churchill [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 10:53 AM To: CF-Talk Subject: CSS Menu issue I am having an issue with CSS menus. I have a horizontal menu accross the top with up to 3 levels of pop-out and drop-down menus below it. When selecting a top level item, the remaining sub levels get moved to a side navigation area with pop-out menus from there. The issue is that in IE only (not FF) if the side menu is displayed, the top menu drops behind the side menu. Let me try to draw this out - top menu items - | side menu | | | | | | | | | | | The div elements are all relatively positioned (and it seems to only work that way) so as I understand it, using z-index is not an option. You can see what is going on at *http://cfas.cfwebtools.com/index.cfm?objectid=62E47FDD-9027-F64A-79C5239AAD 349A73 *Roll the mouse over any top level menu items towards the left and you'll see that they display behind the side menu. I'm really not sure what to do to fix this and any help or advice will be VERY much appreciated. Thanks! Jake ~| 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:258701 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CSS Menu issue
For me in IE6 the first two drop down menus are hidden by the left hand navigation list -Original Message- From: Dave Francis [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 11:12 AM To: CF-Talk Subject: RE: CSS Menu issue It looks OK in IE7 -Original Message- From: Jake Churchill [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 10:53 AM To: CF-Talk Subject: CSS Menu issue I am having an issue with CSS menus. I have a horizontal menu accross the top with up to 3 levels of pop-out and drop-down menus below it. When selecting a top level item, the remaining sub levels get moved to a side navigation area with pop-out menus from there. The issue is that in IE only (not FF) if the side menu is displayed, the top menu drops behind the side menu. Let me try to draw this out - top menu items - | side menu | | | | | | | | | | | The div elements are all relatively positioned (and it seems to only work that way) so as I understand it, using z-index is not an option. You can see what is going on at *http://cfas.cfwebtools.com/index.cfm?objectid=62E47FDD-9027-F64A-79C5239AAD 349A73 *Roll the mouse over any top level menu items towards the left and you'll see that they display behind the side menu. I'm really not sure what to do to fix this and any help or advice will be VERY much appreciated. Thanks! Jake ~| 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:258702 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CSS Menu issue
Exactly. This is what I'm trying to fix and what I would like some suggestions on. Coldfusion wrote: For me in IE6 the first two drop down menus are hidden by the left hand navigation list -Original Message- From: Dave Francis [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 11:12 AM To: CF-Talk Subject: RE: CSS Menu issue It looks OK in IE7 -Original Message- From: Jake Churchill [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 10:53 AM To: CF-Talk Subject: CSS Menu issue I am having an issue with CSS menus. I have a horizontal menu accross the top with up to 3 levels of pop-out and drop-down menus below it. When selecting a top level item, the remaining sub levels get moved to a side navigation area with pop-out menus from there. The issue is that in IE only (not FF) if the side menu is displayed, the top menu drops behind the side menu. Let me try to draw this out - top menu items - | side menu | | | | | | | | | | | The div elements are all relatively positioned (and it seems to only work that way) so as I understand it, using z-index is not an option. You can see what is going on at *http://cfas.cfwebtools.com/index.cfm?objectid=62E47FDD-9027-F64A-79C5239AAD 349A73 *Roll the mouse over any top level menu items towards the left and you'll see that they display behind the side menu. I'm really not sure what to do to fix this and any help or advice will be VERY much appreciated. Thanks! Jake ~| 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:258703 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, SSL and Certificates (Obligatory Oh My)
On 11/1/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: What version of CF? MX 7.0.2 What error message are you getting... There is no error message beyond the Status code unavailable error returned by the CFHTTP call. Nothing in any log file. you said other HTTPS sites are working - I'm assuming you mean other cfhttp calls? That's correct. Once I import the cert, I can CFHTTP to several (3) other SSL-enabled URIs. Are there differences in the types of the certificate? Not that I'm aware of. All were exported in the same manner and I didn't notice any difference (although, admittedly, I'm not sure what I'd have been looking for). When you attempt to import the certificate it should confirm that its been added It does. I can list them after importing and, sure enough, they're in place and trusted. ~| 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:258704 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Releasing objects from memory (Garbage Collection)
My google talk example I posted here a few days ago shows how to do this. If you didn't completely garbage collect you could reconnect to the gtalk server. becomes xmppconnection becomes == undefined StructDelete(application,XMPPConnection,true); becomes == NO after you javaCast(null,null); On 11/1/06, James Holmes [EMAIL PROTECTED] wrote: As long as they aren't in a memory scope (the session or application scopes) they will be garbage collected when the JVM needs to do so, after the page has finished executing. On 11/1/06, Henry Wright [EMAIL PROTECTED] wrote: I have a cfloop that iterates through a query and creates an object for every userid that is returned in the query. Is there a way that I can dispose of the object once I am finished with it so that I can free up the processor and memory space. The loop could create up to 80 objects in any run, depending on the number of userid's that are returned in the query. Any help would be appreciated. H ~| 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:258705 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CFMX 7 Licensing question
Hey all, Sorry if this has been asked before, but I have a really short time frame to provide an answer. We are having a lease roll done to one of our servers. Currently we have 2 processors with Hyper-Threading (shows up as 4 processors in task manager), and our license for CFMX7 covers it. However, it is being replaced with a machine that has 2 dual core CPUs in it. Does anyone know if that would count as 4 processors, or would it still be 2 because there are only 2 physical cpus on the motherboard? I need to know if we need to start our software purchasing process soon (because it takes a really really long time). 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:258706 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF Wiki
woohoo!! I'll look forward to that Raymond. On 01/11/06, Raymond Camden [EMAIL PROTECTED] wrote: Hey Chris - Canvas does record who makes changes, but it doesn't do diffs... yet. I have a huge update waiting in the wings from a user who sent it in before MAX. I'm hoping to get Canvas 2 out the door in the next week or so. On 11/1/06, Chris Norloff [EMAIL PROTECTED] wrote: We tried CFWiki (v1.3) but decided against it. I was seeking something to collect processes lessons-learned from our SysAdmin team - the sort of thing you'd email to teammates to say 'I just learned this way of making things easier'. I found the editing and user tracking to be about the same effort as putting up a web page. Not hard, but not something to open to everyone. What I'd really like is something that tracks who's making changes, what changes are made, and the text input is 'just type it in and that's where it goes'. -- === Raymond Camden, Vice President of Technology for roundpeg Email: [EMAIL PROTECTED] Blog : ray.camdenfamily.com AOL IM : cfjedimaster Video game player? Have kids? Check out KidGamers.org ~| 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:258707 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CSS Menu issue
I have successfully used this before, http://more.ericmeyeroncss.com/projects/06/ But I don't know if it will help without the book. It requires a (provided) behaviour file for IE -Original Message- From: Jake Churchill [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 11:24 AM To: CF-Talk Subject: Re: CSS Menu issue Exactly. This is what I'm trying to fix and what I would like some suggestions on. Coldfusion wrote: For me in IE6 the first two drop down menus are hidden by the left hand navigation list -Original Message- From: Dave Francis [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 11:12 AM To: CF-Talk Subject: RE: CSS Menu issue It looks OK in IE7 -Original Message- From: Jake Churchill [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 10:53 AM To: CF-Talk Subject: CSS Menu issue I am having an issue with CSS menus. I have a horizontal menu accross the top with up to 3 levels of pop-out and drop-down menus below it. When selecting a top level item, the remaining sub levels get moved to a side navigation area with pop-out menus from there. The issue is that in IE only (not FF) if the side menu is displayed, the top menu drops behind the side menu. Let me try to draw this out - top menu items - | side menu | | | | | | | | | | | The div elements are all relatively positioned (and it seems to only work that way) so as I understand it, using z-index is not an option. You can see what is going on at *http://cfas.cfwebtools.com/index.cfm?objectid=62E47FDD-9027-F64A-79C5239AAD 349A73 *Roll the mouse over any top level menu items towards the left and you'll see that they display behind the side menu. I'm really not sure what to do to fix this and any help or advice will be VERY much appreciated. Thanks! Jake ~| 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:258709 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFMX 7 Licensing question
Your license still covers it as it's still 2 physical CPUs. On 01/11/06, DURETTE, STEVEN J (ASI-AIT) [EMAIL PROTECTED] wrote: Hey all, Sorry if this has been asked before, but I have a really short time frame to provide an answer. We are having a lease roll done to one of our servers. Currently we have 2 processors with Hyper-Threading (shows up as 4 processors in task manager), and our license for CFMX7 covers it. However, it is being replaced with a machine that has 2 dual core CPUs in it. Does anyone know if that would count as 4 processors, or would it still be 2 because there are only 2 physical cpus on the motherboard? I need to know if we need to start our software purchasing process soon (because it takes a really really long time). 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:258708 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Java ListIterator to CF Variable
Neil, This is basically a CF java 101 question and I am shocked shocked well not that shocked. Interesting coldfusion.sql.QueryColumn has two listIterators and implements java.util.List public java.util.ListIterator listIterator(int) public java.util.ListIterator listIterator() I would try size() or length() but that goes with List object and not ListIterator Simply google java.util.ListIterator and look at the method list or use my object Viewer Interestingly google does not help with Interfaces. The only remaining thing you can do is use the Object Viewer http://www.cfide.org/ObjectViewer.cfm My forName().isInterface() YES which means its a Interface and it has only 9 methods but no size() or length() methods Use the the new school EOF looper I think old school was to wait for a null. cfloop condition=object.hasNext() cfset stuff = object.next() /cfoop and that should do it. On 11/1/06, Andrew Scott [EMAIL PROTECTED] wrote: If you have returned it has a jave object via CreateObject, treat it the same way as you would in Java. On 11/2/06, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Hi All, I am currently interfacing with our new Search Engine via its Java API (obviously using ColdFusion ;-) and it has the following line in the API docs... Java.util.ListIterator iterator = result.documents(); // returns a list iterator for the document summaries in this query result. What is the process for looping through a Java iterator in CF? Thanks Neil ~| 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:258710 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT: Conversion of Access Crosstab into SQL Server
Hello, I've got a simple crosstab query that I wizarded in Access using an attached a SQL Server table because I don't know how to create a similar query in SQL Server. This crosstab query syntax is below, and does exactly what I want it to. Any ideas how to do the same thing in SQL Server? It's just one table. Between 200-300 columns, with a couple dozen rows. I understand SQL Server trips up on Transform (and in my experience it doesn't like PIVOT either). Thanks in advance for any assistance. TRANSFORM Sum(dbo_LHF_Line.Amt) AS SumOfAmt SELECT dbo_LHF_Line.Account_No FROM dbo_LHF_Line GROUP BY dbo_LHF_Line.Account_No PIVOT [Agency_No] / [Fund_No]; ~| 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:258711 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFMX 7 Licensing question
DURETTE, STEVEN J (ASI-AIT) wrote: replaced with a machine that has 2 dual core CPUs in it. Does anyone know if that would count as 4 processors, or would it still be 2 because there are only 2 physical cpus on the motherboard? dual core processors still qualify as a single physical cpu. You're good to go. ~| 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:258712 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Java ListIterator to CF Variable
Thanks, but as noted I fixed it using the search API. Thanks for the 101, how nice :-) I rarely use (or have need) pure Java in ColdFusionoutside what if provides out of the box the hence why I asked. 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: Dan Plesse To: CF-Talk Sent: Wed Nov 01 16:55:16 2006 Subject: Re: Java ListIterator to CF Variable Neil, This is basically a CF java 101 question and I am shocked shocked well not that shocked. Interesting coldfusion.sql.QueryColumn has two listIterators and implements java.util.List public java.util.ListIterator listIterator(int) public java.util.ListIterator listIterator() I would try size() or length() but that goes with List object and not ListIterator Simply google java.util.ListIterator and look at the method list or use my object Viewer Interestingly google does not help with Interfaces. The only remaining thing you can do is use the Object Viewer http://www.cfide.org/ObjectViewer.cfm My forName().isInterface() YES which means its a Interface and it has only 9 methods but no size() or length() methods Use the the new school EOF looper I think old school was to wait for a null. cfloop condition=object.hasNext() cfset stuff = object.next() /cfoop and that should do it. On 11/1/06, Andrew Scott [EMAIL PROTECTED] wrote: If you have returned it has a jave object via CreateObject, treat it the same way as you would in Java. On 11/2/06, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Hi All, I am currently interfacing with our new Search Engine via its Java API (obviously using ColdFusion ;-) and it has the following line in the API docs... Java.util.ListIterator iterator = result.documents(); // returns a list iterator for the document summaries in this query result. What is the process for looping through a Java iterator in CF? Thanks Neil ~| 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:258713 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
searching for information encrypted in the db
I am entering information into a database and on my INSERT command, I am encrypting it using a generated key and the encrypt() function. Now I wish to search on the information. I usually do an UPPER on both the search criteria the data in the field to assure that caps do not matter. IOW, 'Meeting' will also find 'meeting'. Now that the information is encrypted, I'm having trouble figuring out how to search for it and where to encrypt during the search Need to adjust: AND UPPER(meeting_name) LIKE cfqueryparam value=%#UCase (Form.meeting_name)#% cfsqltype=cf_sql_varchar This finds nothing when it should find something, assuming it were correct: AND UPPER(meeting_name) LIKE cfqueryparam value=%#encrypt(UCase (Form.meeting_name),the_key)#% cfsqltype=cf_sql_varchar if the db data is not encrypted an neither is the query then the above code finds lots of entries. thank you. -- Daniel Kessler College of Health and Human Performance University of Maryland Suite 2387 Valley Drive College Park, MD 20742-2611 Phone: 301-405-2545 http://hhp.umd.edu ~| 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:258714 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CSS Menu issue
I'm not sure what is triggering this behavior, Can you try floating the ..sideNav? Either that or position absolutely and use z-index, giving the side navigation a lower z-index than the main navigation. Sandra Clark == http://www.shayna.com Training in Cascading Style Sheets and Accessibility -Original Message- From: Jake Churchill [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 11:24 AM To: CF-Talk Subject: Re: CSS Menu issue Exactly. This is what I'm trying to fix and what I would like some suggestions on. Coldfusion wrote: For me in IE6 the first two drop down menus are hidden by the left hand navigation list -Original Message- From: Dave Francis [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 11:12 AM To: CF-Talk Subject: RE: CSS Menu issue It looks OK in IE7 -Original Message- From: Jake Churchill [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 10:53 AM To: CF-Talk Subject: CSS Menu issue I am having an issue with CSS menus. I have a horizontal menu accross the top with up to 3 levels of pop-out and drop-down menus below it. When selecting a top level item, the remaining sub levels get moved to a side navigation area with pop-out menus from there. The issue is that in IE only (not FF) if the side menu is displayed, the top menu drops behind the side menu. Let me try to draw this out - top menu items - | side menu | | | | | | | | | | | The div elements are all relatively positioned (and it seems to only work that way) so as I understand it, using z-index is not an option. You can see what is going on at *http://cfas.cfwebtools.com/index.cfm?objectid=62E47FDD-9027-F64A-79C5 239AAD 349A73 *Roll the mouse over any top level menu items towards the left and you'll see that they display behind the side menu. I'm really not sure what to do to fix this and any help or advice will be VERY much appreciated. Thanks! Jake ~| 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:258715 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFMX 7 Licensing question
Rick Root wrote: DURETTE, STEVEN J (ASI-AIT) wrote: replaced with a machine that has 2 dual core CPUs in it. Does anyone know if that would count as 4 processors, or would it still be 2 because there are only 2 physical cpus on the motherboard? dual core processors still qualify as a single physical cpu. You're good to go. Has anyone heard if this will change with quad core? What about with Sun's T1 processor? That's got something like 16 cores... -- Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Blue Dragon Alliance Member [EMAIL PROTECTED] ~| 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:258716 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CSS Menu issue
I've tried and it is floated right now. If I position it absolutely, the wrapper class will not recognize it's height and the side menu will expand beyond the content area. I did some research and people suggested using JS to fix this so I'm writing that right now. We'll see how it works. IE apparently does something funny with z-index Sandra Clark wrote: I'm not sure what is triggering this behavior, Can you try floating the ..sideNav? Either that or position absolutely and use z-index, giving the side navigation a lower z-index than the main navigation. Sandra Clark == http://www.shayna.com Training in Cascading Style Sheets and Accessibility -Original Message- From: Jake Churchill [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 11:24 AM To: CF-Talk Subject: Re: CSS Menu issue Exactly. This is what I'm trying to fix and what I would like some suggestions on. Coldfusion wrote: For me in IE6 the first two drop down menus are hidden by the left hand navigation list -Original Message- From: Dave Francis [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 11:12 AM To: CF-Talk Subject: RE: CSS Menu issue It looks OK in IE7 -Original Message- From: Jake Churchill [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 10:53 AM To: CF-Talk Subject: CSS Menu issue I am having an issue with CSS menus. I have a horizontal menu accross the top with up to 3 levels of pop-out and drop-down menus below it. When selecting a top level item, the remaining sub levels get moved to a side navigation area with pop-out menus from there. The issue is that in IE only (not FF) if the side menu is displayed, the top menu drops behind the side menu. Let me try to draw this out - top menu items - | side menu | | | | | | | | | | | The div elements are all relatively positioned (and it seems to only work that way) so as I understand it, using z-index is not an option. You can see what is going on at *http://cfas.cfwebtools.com/index.cfm?objectid=62E47FDD-9027-F64A-79C5 239AAD 349A73 *Roll the mouse over any top level menu items towards the left and you'll see that they display behind the side menu. I'm really not sure what to do to fix this and any help or advice will be VERY much appreciated. Thanks! Jake ~| 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:258717 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFMX 7 Licensing question
Check the licensing agreement... I believe it's per physical processor, so you're even allowed to run multiple virtual machines each with a copy of cf, etc. Russ -Original Message- From: Jordan Michaels [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 1:08 PM To: CF-Talk Subject: Re: CFMX 7 Licensing question Rick Root wrote: DURETTE, STEVEN J (ASI-AIT) wrote: replaced with a machine that has 2 dual core CPUs in it. Does anyone know if that would count as 4 processors, or would it still be 2 because there are only 2 physical cpus on the motherboard? dual core processors still qualify as a single physical cpu. You're good to go. Has anyone heard if this will change with quad core? What about with Sun's T1 processor? That's got something like 16 cores... -- Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Blue Dragon Alliance Member [EMAIL PROTECTED] ~| 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:258718 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Get imagesize
But again, I'd really like to know how you can get this information from JS. http://www.massimocorner.com/validator/samples/image_upload.htm Please read the text about browser compatibility Massimo Foti, web-programmer for hire 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:258719 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Server setup
I have both CF MX and CF MX 7 which I can install on the server. I'd pick CF 7. I can have either Windows Server 2000 or Windows Server 2003 as the OS and therefore I could have IIS on the machine. I would choose Windows Server 2003 with IIS 6, or Windows Server 2003 with Apache 2.x if you like that better. Just wondering if IIS is really recommended or whether most people would go for having Apache. Either will do fine. As for databases, etc will probably go MySQL although I do have MSSQL 2000 which I could have installed on the server if required. Out of those two, I'd personally go with SQL Server if it won't cost you anything. But in either case, I wouldn't want it installed on the same machine as your web/application server. If you had to put it on the same machine, I think I'd go with MySQL. 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:258720 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Server setup
Sounds like the start of a shooting match, but here's my preference given your options: -Windows Server 2003 -Apache -MySQL Why Apache/MySQL instead of IIS/SQL Server? I am different than most on this list, but I prefer free and open source. I have been burnt too many times by using software that becomes defunct merely because the original company is now gone or no longer supporting it. And it can even happen to someone as big as Microsoft. Look how big IBM's OS/2 and Lotus were in the 80s. Now their almost extinct. If your platform is open source, at least you can pay someone to come fix it for you if things go down. You don't have that option with proprietary/closed source systems when the original company folds and takes all their support/source code with them. -Original Message- From: Pete [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 7:16 AM Hi all Just wanted to try and get some thoughts on what people thought was the most preferred setup. I have a new server that I am about to setup for hosting approx 20 different CF based websites. I have both CF MX and CF MX 7 which I can install on the server. I can have either Windows Server 2000 or Windows Server 2003 as the OS and therefore I could have IIS on the machine. Just wondering if IIS is really recommended or whether most people would go for having Apache. As for databases, etc will probably go MySQL although I do have MSSQL 2000 which I could have installed on the server if required. Thanks in advance for feedback. -- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. == EMF idahopower.com made the previous annotations. ~| 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:258721 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Get imagesize
http://www.massimocorner.com/validator/samples/image_upload.htm Pretty good idea indeed. I didn't know that one could load an image from the client machine. -- ___ 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:258722 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: OT - CSS Float Image Bottom Right corner of DIV
I'd use a table. :-P How so? -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.13.21/511 - Release Date: 11/1/2006 9:40 AM ~| 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:258723 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFMX 7 Licensing question
Jordan Michaels wrote: Has anyone heard if this will change with quad core? What about with Sun's T1 processor? That's got something like 16 cores... Sounds like a freakin' mainframe! ~| 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:258724 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Get imagesize
Did you also look at the sample I posted.. A lot of people brush over JS like some inferior language...it's not, it can do a lot more than form validation.. It has some power :) 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: Wed Nov 01 19:11:43 2006 Subject: Re: Get imagesize http://www.massimocorner.com/validator/samples/image_upload.htm Pretty good idea indeed. I didn't know that one could load an image from the client machine. -- ___ 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:258725 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Get imagesize
Claude Schneegans wrote: http://www.massimocorner.com/validator/samples/image_upload.htm Pretty good idea indeed. I didn't know that one could load an image from the client machine. Well.. you can't if you intend to support Mozilla or firefox. Although Massimo says it doesn't work with Firefox 1.0+, it DOES seem to work with Firefox 1.5, I just tried it. 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:258726 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Get imagesize
it DOES seem to work with Firefox 1.5, I just tried it. Good news. After all, I don't see why it should be considered as a security risk. -- ___ 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:258727 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Get imagesize
A lot of people brush over JS like some inferior language...it's not, it can do a lot more than form validation. Absolutely. Actually a whole site could be 100% generated from JS. -- ___ 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:258728 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFQUERY - Aggregate Function
Can any recommend a free forum like houseoffusion for SQL coding issues. I've used sqlmag.com but they forums have little traffic. From the 2nd query, I'm trying to extract only records from 2nd query where the average of avg(ratingvalue) =4 and I'm not sure how do do this. 1st Query SELECT * FROM dbo.recipes INNER JOIN dbo.relrecipecats ON dbo.recipes.recipeID = dbo.relrecipecats.recipeID INNER JOIN dbo.recipecategories ON dbo.relrecipecats.recipecategoryID = dbo.recipecategories.recipecategoryID INNER JOIN dbo.recipereviews ON dbo.recipes.recipeID = dbo.recipereviews.recipeID INNER JOIN dbo.ratings ON dbo.ratings.ratingID = dbo.recipereviews.ratingID INNER JOIN dbo.images ON dbo.recipes.imageID = dbo.images.imageID WHERE recipes.imageID0 And recipereviews.ratingID =4 AND recipes.addressid = 0 AND (MONTH(datecreated) = MONTH(GETDATE())) 2nd Query SELECT count(recipereviewID) AS totalratings, avg(ratingvalue) AS avgrating FROM recipereviews INNER JOIN ratings ON recipereviews.ratingID = ratings.ratingID WHERE recipeID = #whatscookin.recipeID# (I wanted to add to this with ) AND (avgrating) = 4 (but I get an error, invalid column name avgrating) (I've also tried) ~| 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:258729 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Disappointed in Authorize.Net recently; Looking for new merchant server.
I'm curious why you don't let CF do the redirect/post/call to the second url. From what I can remember, of the abilities, you can easily set a url to post to once the payment was made. I don't know how it works (silent or not) but I know you can do it. I just let Auth.net process and that's it. I control the site through code. On 10/31/06, Tony Hicks [EMAIL PROTECTED] wrote: Authorize.net has been nothing but disappointing lately. Lackluster performance out of their servers. Errors routinely. Mis-informed operators. And the lacking of a good feature. I know that many merchant processors model after Authorize.net in the hopes that easy migration of shopping carts will make customers migrate. I'm looking for a system that supports an AIM-compatible interface along with the ability to add a secondary url that the processor will submit the data too 'silently'. I've been away from Authorize.net for a few years but it does seem they've dropped in popularity and reliability. ~| 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:258730 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Get imagesize
As a fan of JS... I understand why a lot of people brush over it. Browser inconsistencies (not just between browser A and browser B, but also between version x of browser A and version x.5 of browser A) and the possibility of JS being outright turned off on the client. I just don't think people brush over it because they don't recognize the things that it can do beyond form validation...but because of the lack of control that we as web developers have over the client configuration. On 11/1/06, Claude Schneegans [EMAIL PROTECTED] wrote: A lot of people brush over JS like some inferior language...it's not, it can do a lot more than form validation. Absolutely. Actually a whole site could be 100% generated from JS. -- ___ 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:258731 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: OT - CSS Float Image Bottom Right corner of DIV
On Wednesday at 5:15pm Denny Valliant wrote I'd use a table. :-P See, that's what I'm talking about, and as soon as I hit send I knew there'd be mention of a table in there somewhere! Too cute :-) -- This message has been scanned for viruses and dangerous content by ISPNZ's automated virus detection system, and is believed to be clean. ~| 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:258732 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT - CSS Float Image Bottom Right corner of DIV
You have to do a table within a table, and hack a little, but it's a lot easier than with a div. http://www.oakcitygraphics.com/image_align_right_bottom.html -- Josh - Original Message - From: Bobby Hartsfield [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, November 01, 2006 11:20 AM Subject: RE: OT - CSS Float Image Bottom Right corner of DIV I'd use a table. :-P How so? -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.13.21/511 - Release Date: 11/1/2006 9:40 AM ~| 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:258733 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Get imagesize
-- ___ 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:258734 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Get imagesize
but because of the lack of control that we as web developers have over the client configuration. In my case, I don't rely on JS for anything important on the public site. For the admin part, I have test for cookies enabled, JS enabled and anti-popup disabled. A user is not allowed in with a crippled Browser. And they all comply with no problem. The only cases I had with users not complying was only because they didn't know some tool was disabled in their browser. -- ___ 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:258735 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Simple CFC question...
See DOH!! Thanks! On 11/1/06, Gaulin, Mark [EMAIL PROTECTED] wrote: It's returnVariable, not return -Original Message- From: J W [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 10:00 AM To: CF-Talk Subject: Simple CFC question... I will probably do the Homer Doh!! After I hear the answer.. Here is a very simple CFC called mycfc.cfc cfcomponent cffunction name=sayhi returntype=string cfset hi = hi cfreturn hi /cffunction /cfcomponent Calling it using cfobject like this: cfobject name=testCFC component=mycfc cfset answer = testCFC.sayhi() cfoutput#answer#/cfoutput Outputs hi Like its supposed to... Now if I try the cfinvoke method I get an undefined variable.. cfinvoke component=mycfc method = sayhi return = returnVar /cfinvoke cfoutput#returnVar#/cfoutput Why do I get Variable RETURNVAR is undefined. instead of hi? Its got to be something stupidly simple, I just got that feeling. Thanks J ~| 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:258736 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT - CSS Float Image Bottom Right corner of DIV
Caveat: It's not a true float as you have to fix the width of the outer table. But, if you can do that you can achieve the desired effect. Not sure if this is easier than doing the same thing with a div or not. -- Josh - Original Message - From: Josh Nathanson [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, November 01, 2006 11:41 AM Subject: Re: OT - CSS Float Image Bottom Right corner of DIV You have to do a table within a table, and hack a little, but it's a lot easier than with a div. http://www.oakcitygraphics.com/image_align_right_bottom.html -- Josh - Original Message - From: Bobby Hartsfield [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, November 01, 2006 11:20 AM Subject: RE: OT - CSS Float Image Bottom Right corner of DIV I'd use a table. :-P How so? -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.13.21/511 - Release Date: 11/1/2006 9:40 AM ~| 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:258737 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFQUERY - Aggregate Function
From the 2nd query, I'm trying to extract only records from 2nd query where the average of avg(ratingvalue) =4 and I'm not sure how do do this. HAVING AVG(ratingvalue) = 4 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:258738 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFQUERY - Aggregate Function
I'm not sure what SQL Platform you're using or what your schema exactly like... i can only infer based on your queries. If you're doing a Query of Query i don't think CF supports advanced functionality like HAVING... but in SQL it would be something like this: SELECT RecipeID, count(recipereviewID) as totalratings, avg(ratingvalue) as avgrating FROM dbo.recipes INNER JOIN dbo.relrecipecats ON dbo.recipes.recipeID = dbo.relrecipecats.recipeID INNER JOIN dbo.recipecategories ON dbo.relrecipecats.recipecategoryID = dbo.recipecategories.recipecategoryID INNER JOIN dbo.recipereviews ON dbo.recipes.recipeID = dbo.recipereviews.recipeID INNER JOIN dbo.ratings ON dbo.ratings.ratingID = dbo.recipereviews.ratingID INNER JOIN dbo.images ON dbo.recipes.imageID = dbo.images.imageID WHERE recipes.imageID 0 AND recipereviews.ratingID = 4 AND recipes.addressid = 0 AND (MONTH(datecreated) = MONTH(GETDATE())) GROUP BY RecipeID HAVING AVG(ratingvalue) = 4 - Original Message - From: [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, November 02, 2006 1:17 AM Subject: CFQUERY - Aggregate Function Can any recommend a free forum like houseoffusion for SQL coding issues. I've used sqlmag.com but they forums have little traffic. From the 2nd query, I'm trying to extract only records from 2nd query where the average of avg(ratingvalue) =4 and I'm not sure how do do this. 1st Query SELECT * FROM dbo.recipes INNER JOIN dbo.relrecipecats ON dbo.recipes.recipeID = dbo.relrecipecats.recipeID INNER JOIN dbo.recipecategories ON dbo.relrecipecats.recipecategoryID = dbo.recipecategories.recipecategoryID INNER JOIN dbo.recipereviews ON dbo.recipes.recipeID = dbo.recipereviews.recipeID INNER JOIN dbo.ratings ON dbo.ratings.ratingID = dbo.recipereviews.ratingID INNER JOIN dbo.images ON dbo.recipes.imageID = dbo.images.imageID WHERE recipes.imageID0 And recipereviews.ratingID =4 AND recipes.addressid = 0 AND (MONTH(datecreated) = MONTH(GETDATE())) 2nd Query SELECT count(recipereviewID) AS totalratings, avg(ratingvalue) AS avgrating FROM recipereviews INNER JOIN ratings ON recipereviews.ratingID = ratings.ratingID WHERE recipeID = #whatscookin.recipeID# (I wanted to add to this with ) AND (avgrating) = 4 (but I get an error, invalid column name avgrating) (I've also tried) ~| 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:258739 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFHTTP within CFC issue..
Been looking at this one for a while today.. Within a CFC nested inside a certain function. I make a cfhttp call to a webservice. I am expecting to get back XML from the webservice to parse out. What I get is all the text with all the XML tagging removed. Consequently down the line in the CFC I want to parse out the CFHTTP XML response using CFXML. Seems feasable. If I do the CFHTTP outside the CFC in a regular CF page I get the proper XML response back. Am I missing a parameter somewhere in the CFC that causing the CFHTTP XML response to be stripped of all XML tags? Thanks, J ~| 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:258740 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFMX 7 Licensing question
Check the licensing agreement... I believe it's per physical processor, so you're even allowed to run multiple virtual machines each with a copy of cf Wow. I wonder if that applies to hosting too. If I buy one copy of CF, I could host multiple VPS accounts on one machine with 'free' CF 7 for each? I know you wouldn't get far with Windows (which requires, what 1GB of ram per VM?), but in Linux you'd make a killing. -- EMF idahopower.com made the following annotations. -- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. == ~| 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:258741 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Flash form inside xmlHTTP request
I have a custom built xmlHTTP function, and am trying to put a flash form into a div. The problem is the auto-generated flash-form code tries to do a document.write, and fails (javascript code wont execute inside the xmlHTTP request) Does anyone have a simple workaround? 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:258742 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 within CFC issue..
Call me crazy, but how are you testing this? It's possible that in one view you are only seeing the text because it things the XML is HTML markup and does not show up. Try looking at the SOURCE of that page. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: J W [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 4:25 PM To: CF-Talk Subject: CFHTTP within CFC issue.. Been looking at this one for a while today.. Within a CFC nested inside a certain function. I make a cfhttp call to a webservice. I am expecting to get back XML from the webservice to parse out. What I get is all the text with all the XML tagging removed. Consequently down the line in the CFC I want to parse out the CFHTTP XML response using CFXML. Seems feasable. If I do the CFHTTP outside the CFC in a regular CF page I get the proper XML response back. Am I missing a parameter somewhere in the CFC that causing the CFHTTP XML response to be stripped of all XML tags? Thanks, J ~| 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:258743 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 within CFC issue..
Ben you so crazy On 11/1/06, Ben Nadel [EMAIL PROTECTED] wrote: Call me crazy, but how are you testing this? It's possible that in one view you are only seeing the text because it things the XML is HTML markup and does not show up. Try looking at the SOURCE of that page. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: J W [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 4:25 PM To: CF-Talk Subject: CFHTTP within CFC issue.. Been looking at this one for a while today.. Within a CFC nested inside a certain function. I make a cfhttp call to a webservice. I am expecting to get back XML from the webservice to parse out. What I get is all the text with all the XML tagging removed. Consequently down the line in the CFC I want to parse out the CFHTTP XML response using CFXML. Seems feasable. If I do the CFHTTP outside the CFC in a regular CF page I get the proper XML response back. Am I missing a parameter somewhere in the CFC that causing the CFHTTP XML response to be stripped of all XML tags? Thanks, J ~| 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:258744 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 within CFC issue..
:D .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 4:37 PM To: CF-Talk Subject: Re: CFHTTP within CFC issue.. Ben you so crazy On 11/1/06, Ben Nadel [EMAIL PROTECTED] wrote: Call me crazy, but how are you testing this? It's possible that in one view you are only seeing the text because it things the XML is HTML markup and does not show up. Try looking at the SOURCE of that page. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ ~| 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:258745 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 within CFC issue..
That was it. Its being interpreted on output to the browser. Weird but probably exactly whats expected.. Brings up another weird issue which may or may not be related to this. Inside the CFC I am trying to take the XML that I get back from CFHTTP call and parse it using CFXML. When I try to cfoutput the cfhttp.FileContent into the CFXML tags I get XML declaration may only begin entities error and the following code from inside the CFC with the middle highlighted... 46 : cfxml variable=xmlobj 47 : cfoutput#trim(cfhttp.FileContent)#/cfoutput 48 : /cfxml Ideas?? J On 11/1/06, Ben Nadel [EMAIL PROTECTED] wrote: Call me crazy, but how are you testing this? It's possible that in one view you are only seeing the text because it things the XML is HTML markup and does not show up. Try looking at the SOURCE of that page. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: J W [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 4:25 PM To: CF-Talk Subject: CFHTTP within CFC issue.. Been looking at this one for a while today.. Within a CFC nested inside a certain function. I make a cfhttp call to a webservice. I am expecting to get back XML from the webservice to parse out. What I get is all the text with all the XML tagging removed. Consequently down the line in the CFC I want to parse out the CFHTTP XML response using CFXML. Seems feasable. If I do the CFHTTP outside the CFC in a regular CF page I get the proper XML response back. Am I missing a parameter somewhere in the CFC that causing the CFHTTP XML response to be stripped of all XML tags? Thanks, J ~| 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:258746 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFMX 7 Licensing question
Wow. I wonder if that applies to hosting too. If I buy one copy of CF, I could host multiple VPS accounts on one machine with 'free' CF 7 for each? I know you wouldn't get far with Windows (which requires, what 1GB of ram per VM?), but in Linux you'd make a killing. It's my understanding that it applies to physical processors, period - hosting or no hosting. Your guest OS is not going to be the limiting factor, here. It will be CF, and the amount of memory you want to allocate to that. For my Windows VMs used in development, I often allocate as little as 384MB per VM, to run a web server and CF. 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:258747 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 within CFC issue..
Can you post the file content? It might be a white space issue (though I doubt it). Try removing the white space between CFXML and CFOUTPUT tags: cfxml variable=xmlobj cfoutput#trim(cfhttp.FileContent)#/cfoutput /cfxml See if that makes any difference. We need to see the content getting returned otherwise. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: J W [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 4:45 PM To: CF-Talk Subject: Re: CFHTTP within CFC issue.. That was it. Its being interpreted on output to the browser. Weird but probably exactly whats expected.. Brings up another weird issue which may or may not be related to this. Inside the CFC I am trying to take the XML that I get back from CFHTTP call and parse it using CFXML. When I try to cfoutput the cfhttp.FileContent into the CFXML tags I get XML declaration may only begin entities error and the following code from inside the CFC with the middle highlighted... 46 : cfxml variable=xmlobj 47 : cfoutput#trim(cfhttp.FileContent)#/cfoutput 48 : /cfxml Ideas?? J On 11/1/06, Ben Nadel [EMAIL PROTECTED] wrote: Call me crazy, but how are you testing this? It's possible that in one view you are only seeing the text because it things the XML is HTML markup and does not show up. Try looking at the SOURCE of that page. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: J W [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 4:25 PM To: CF-Talk Subject: CFHTTP within CFC issue.. Been looking at this one for a while today.. Within a CFC nested inside a certain function. I make a cfhttp call to a webservice. I am expecting to get back XML from the webservice to parse out. What I get is all the text with all the XML tagging removed. Consequently down the line in the CFC I want to parse out the CFHTTP XML response using CFXML. Seems feasable. If I do the CFHTTP outside the CFC in a regular CF page I get the proper XML response back. Am I missing a parameter somewhere in the CFC that causing the CFHTTP XML response to be stripped of all XML tags? Thanks, J ~| 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:258748 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 within CFC issue..
Brings up another weird issue which may or may not be related to this. Inside the CFC I am trying to take the XML that I get back from CFHTTP call and parse it using CFXML. When I try to cfoutput the cfhttp.FileContent into the CFXML tags I get XML declaration may only begin entities error and the following code from inside the CFC with the middle highlighted... CFXML allows you to create an XML document object from a string. CFHTTP.FileContent already contains an XML document. All you need to do is tell CF that's what it is, when you want to treat it as an XML document object (which is not a string): XMLParse(CFHTTP.FileContent) When you want to output it as a string, just output it directly. 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:258749 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Textarea that uploads images from Word docs behind the scenes.
Someone mentioned that there was a textarea field that did this. Anyone remember the name? I can't find it on the list. Or more likely I'm not searching for the right terms. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- ~| 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:258750 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFMX 7 Licensing question
It's my understanding that it applies to physical processors, period - hosting or no hosting. Good to know, Dave, thanks. Your guest OS is not going to be the limiting factor, here. It will be CF, and the amount of memory you want to allocate to that. I disagree. If you don't install x-windows and turn off unnecessary running services, Linux can run with a LOT less RAM than Windows. I did a test once, comparing SuSE Linux to Windows XP. If I stripped everything down as much as I can on both systems, WinXP actually consumed less RAM than SuSE. However, if I turned off x-windows, Linux used less than 20 MB of RAM, whereas WinXP need a lot more than that. But I agree that CF will kick your memory requirements up regardless of which OS you use. -- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. == EMF idahopower.com made the previous annotations. ~| 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:258751 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Textarea that uploads images from Word docs behind the scenes.
I think What you mean is there is a WYSIWYG editor out there that can do that. FCK and SoEditor have the functionality to allow you to upload images, but I don't beleieve either actually lets you upload the image in the text area... I think they both have you use an upload utility and then the image gets added to the text you are editing. google fck editor and you will see some examples. -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer ~| 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:258752 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4