[cfaussie] Re: Flex 2 Beta on the Mac?
The mxml compiler is a jar file, so you should be able to get it running. If you access to a windows machine, you should be able to get the plugin version of Flex builder, somehow. Even without Flex builder, you should be able to use Eclipse and some XML editor to create the source files and then compile it. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Flex 2 Beta on the Mac?
aye, Chris, that *should* work what about CF connectivity and Flex Data Services? the only way a bunch of us here will be able to get anything out of this Beta is to work on it at home - on Macs. we've some way but the really important bits (CF conn, Flex data) any idea? On 4/12/06, Chris Velevitch [EMAIL PROTECTED] wrote: The mxml compiler is a jar file, so you should be able to get it running. If you access to a windows machine, you should be able to get the plugin version of Flex builder, somehow. Even without Flex builder, you should be able to use Eclipse and some XML editor to create the source files and then compile it. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] OT: What is up with favicon.ico in IE?
Hey all, Does anyone else find the the favicon.ico file almost never shows up on IE on the PC? I remember first seeing this problem back in 1998, and it appears they still haven't fixed it. For example, go to www.google.com in IE. You can see the icon next to the address in the address baris the standard HTML document icon. Now click on this icon and drag it about 1 mm to the right and let it go. Wow, now its turned into the Google logo. If you add it as a Favourite, the custom icon will appear in the Favorites menu... but only for a little while. Come back tomorrow, and the Favorites menu is now showing the default document icon. Does anyone else have this problem? Is there some fundamental reason why IE is so bad at displaying a custom site icon? FireFox has no such issues. Adding the recommended META tags to my sites don't help either: link rel="icon" href=""http://www.mysite.com/favicon.ico">http://www.mysite.com/favicon.ico" type="image/x-icon" /link rel="shortcut icon" href=""http://www.mysite.com/favicon.ico">http://www.mysite.com/favicon.ico" type="image/x-icon" / thanks! Ryan SabirTechnical Directorp: (02) 9274 8030f: (02) 9274 8099m: 0411 512 454w: www.newgency.com Newgency Pty LtdWeb | Multimedia | eMarketing224 Riley StSurry Hills NSW 2010Sydney, Australia --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Flex 2 Beta on the Mac?
On 4/12/06, Barry Beattie [EMAIL PROTECTED] wrote: aye, Chris, that *should* work what about CF connectivity and Flex Data Services? the only way a bunch of us here will be able to get anything out of this Beta is to work on it at home - on Macs. we've some way but the really important bits (CF conn, Flex data) any idea? CF does work on the Mac (except the Intel Macs), so all you need to do is get the connectivity files and install them (somehow). Alternatively, if you don't access to a windows, but somehow have access the windows software, you could try installing http://www.kberg.ch/q/ and create a virtual machine with windows and install Flex and CF on there and use virtual networking to connect from the mac to the server. If the vm is too sluggish, extract the appropriate files install them. Note: design view will not work until the mac version of design view is available. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: OT: What is up with favicon.ico in IE?
Ryan Its a bug as far as i know heres a little trick. click onj the fav icon in the address bar, drag it accross to the right where the address is and let it go. It should appear if you do that. But i dont recommend instructung your users to do it just to show the fav icon:P Steve -Original Message-From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Ryan SabirSent: Wednesday, April 12, 2006 4:49 PMTo: 'cfaussie@googlegroups.com'Subject: [cfaussie] OT: What is up with favicon.ico in IE? Hey all, Does anyone else find the the favicon.ico file almost never shows up on IE on the PC? I remember first seeing this problem back in 1998, and it appears they still haven't fixed it. For example, go to www.google.com in IE. You can see the icon next to the address in the address baris the standard HTML document icon. Now click on this icon and drag it about 1 mm to the right and let it go. Wow, now its turned into the Google logo. If you add it as a Favourite, the custom icon will appear in the Favorites menu... but only for a little while. Come back tomorrow, and the Favorites menu is now showing the default document icon. Does anyone else have this problem? Is there some fundamental reason why IE is so bad at displaying a custom site icon? FireFox has no such issues. Adding the recommended META tags to my sites don't help either: link rel="icon" href=""http://www.mysite.com/favicon.ico">http://www.mysite.com/favicon.ico" type="image/x-icon" /link rel="shortcut icon" href=""http://www.mysite.com/favicon.ico">http://www.mysite.com/favicon.ico" type="image/x-icon" / thanks! Ryan SabirTechnical Directorp: (02) 9274 8030f: (02) 9274 8099m: 0411 512 454w: www.newgency.com Newgency Pty LtdWeb | Multimedia | eMarketing224 Riley StSurry Hills NSW 2010Sydney, Australia --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Flex 2 Beta on the Mac?
CF does work on the Mac aye, and a great thing too so all you need to do is get the connectivity files and install them (somehow). connectivity: we're thinking that it's just some Jar's, AS files and a CF setting or two in an xml file (hoping anyway) no shortage of windows boxes at work to extract files from create a virtual machine with windows and install Flex and CF on there and use virtual networking to connect from the mac to the server. desperation mode, eh? we're encouraged by seeing a java version of Flex Data services. keeping fingers crossed. I take it that no one has actually *done* any of this yet? this bleeding edge business: it hurts! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Count keywords found
I have a requirement from a client where I need to be able to display how many keywords were found in the returned text. To be exact, they are CV's, we could be returning 20 CV's at a time. The SQL I got together for MySQL is getting pretty messy and I am sure WILL slow down the query once they have a bunch of CVs in there. I am wondering can anyone think of another option? At the moment it goes like this, CV is uploaded in word format, I convert that to plain text and insert it into the MySQL table, to return search results and the number of keywords found I have the following SQL and ColdFusion; cfscriptvariables.keywordCount = listLen( form.keywordList );variables.whereClauseValue = ;/cfscriptcfloop from=1 to=#variables.keywordCount# index=icfscriptvariables.item = listGetAt( form.keywordList, variables.i );variables.booleanKeyword = listGetAt( variables.item, 1, | );variables.keyword = listGetAt( variables.item, 2, | );variables.andOr = listGetAt( variables.item, 3, | );// add the + or -if ( variables.booleanKeyword is not none ){variables.whereClauseValue = variables.whereClauseValue variables.booleanKeyword;}// add the keywordvariables.whereClauseValue = variables.whereClauseValue variables.keyword;if ( variables.i neq variables.keywordCount ){// add a spacevariables.whereClauseValue = variables.whereClauseValue ;}/cfscript/cfloopcfquery name=rsSearch datasource=#application.datasource# SELECTcfloop from=1 to=#variables.keywordCount# index=icfscriptvariables.item = listGetAt( form.keywordList , variables.i );variables.booleanKeyword = listGetAt( variables.item, 1, | );variables.keyword = listGetAt( variables.item, 2, | );variables.andOr = listGetAt( variables.item , 3, | );/cfscript( length( resumeAsText ) - length( replace( resumeAsText, '#variables.keyword#', '' ) ) ) / length( '#variables.keyword#' ) AS wordcount#variables.i#cfif variables.i neq variables.keywordCount , /cfif/cfloop, (SELECT cfloop from=1 to=#variables.keywordCount# index=iwordCount#variables.i#cfif variables.i neq variables.keywordCount + /cfif/cfloop ) as totalWordCountFROM db_au_com_exclaimit.tbl_resumeWHEREMATCH (resumeAsText) AGAINST ('#variables.whereClauseValue#' in boolean mode) ORDER BY totalWordCount DESC/cfquery For anyone who cares, the above returns the following SQL; SELECT ( length( resumeAsText ) - length( replace( resumeAsText, 'coldfusion', '' ) ) ) / length( 'coldfusion' ) AS wordcount1, ( length( resumeAsText ) - length( replace( resumeAsText, 'php', '' ) ) ) / length( 'php' ) AS wordcount2, ( length( resumeAsText ) - length( replace( resumeAsText, 'taco', '' ) ) ) / length( 'taco' ) AS wordcount3, ( length( resumeAsText ) - length( replace( resumeAsText, 'test', '' ) ) ) / length( 'test' ) AS wordcount4 , (SELECT wordCount1 + wordCount2 + wordCount3 + wordCount4 ) as totalWordCount FROM db_au_com_exclaimit.tbl_resume WHERE MATCH (resumeAsText) AGAINST ('+coldfusion -php +taco test' in boolean mode) ORDER BY totalWordCount DESC Verity had been considered but it doesn't allow me the above flexibility, only thing I can think of with Verity would be to count the keywords with CF which could get messy as I'd have to read the 20 CVs into memory and perform the count. Any help is appreciated. -- Taco Fleur - http://www.pacificfox.com.au Web Design, Web development, Graphic Design and Complete Internet Solutionsan industry leader with commercial IT experience since 1994 … --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Count keywords found
I know Verity supports it's own query language (VQL, I believe) which is made for doing these kinds of things. Not sure if you can specifically do this thing. Don't if the version of Verity that comes with CF allows you to hook into it's VQL ability, but my guess would be it does. Also coming to mind would be doing queries in memory from a master query. You could do this in a loop. I think Macromedia suggests 50,000 is a good max for a query in memory. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Count keywords found
thanks, I'll look into it, not sure if I want to go down that road though. Interesting though to have a look... On 4/12/06, Scott Arbeitman [EMAIL PROTECTED] wrote: I know Verity supports it's own query language (VQL, I believe) whichis made for doing these kinds of things. Not sure if you can specifically do this thing.Don't if the version of Verity that comes with CF allows you to hookinto it's VQL ability, but my guess would be it does.Also coming to mind would be doing queries in memory from a master query. You could do this in a loop. I think Macromedia suggests 50,000is a good max for a query in memory.-- Taco Fleur - http://www.pacificfox.com.au Web Design, Web development, Graphic Design and Complete Internet Solutionsan industry leader with commercial IT experience since 1994 … --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Count keywords found
Depending on the application, you might be able optimize for searching by doing the indexing yourself when a new CV or keyword is added. ie an index table that correlates CVs-keywords.Only practical if you know the keywords set beforehand though. BlairOn 4/12/06, Taco Fleur [EMAIL PROTECTED] wrote: thanks, I'll look into it, not sure if I want to go down that road though. Interesting though to have a look... On 4/12/06, Scott Arbeitman [EMAIL PROTECTED] wrote: I know Verity supports it's own query language (VQL, I believe) whichis made for doing these kinds of things. Not sure if you can specifically do this thing.Don't if the version of Verity that comes with CF allows you to hookinto it's VQL ability, but my guess would be it does.Also coming to mind would be doing queries in memory from a master query. You could do this in a loop. I think Macromedia suggests 50,000is a good max for a query in memory.-- Taco Fleur - http://www.pacificfox.com.au Web Design, Web development, Graphic Design and Complete Internet Solutions an industry leader with commercial IT experience since 1994 … --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Count keywords found
yes, that is an option, or cache upon each new keyword search. On 4/13/06, Blair McKenzie [EMAIL PROTECTED] wrote: Depending on the application, you might be able optimize for searching by doing the indexing yourself when a new CV or keyword is added. ie an index table that correlates CVs-keywords.Only practical if you know the keywords set beforehand though. Blair On 4/12/06, Taco Fleur [EMAIL PROTECTED] wrote: thanks, I'll look into it, not sure if I want to go down that road though. Interesting though to have a look... On 4/12/06, Scott Arbeitman [EMAIL PROTECTED] wrote: I know Verity supports it's own query language (VQL, I believe) whichis made for doing these kinds of things. Not sure if you can specifically do this thing.Don't if the version of Verity that comes with CF allows you to hook into it's VQL ability, but my guess would be it does.Also coming to mind would be doing queries in memory from a master query. You could do this in a loop. I think Macromedia suggests 50,000is a good max for a query in memory. -- Taco Fleur - http://www.pacificfox.com.au Web Design, Web development, Graphic Design and Complete Internet Solutions an industry leader with commercial IT experience since 1994 … http://www.pacificfox.com.au Web Design, Web development, Graphic Design and Complete Internet Solutionsan industry leader with commercial IT experience since 1994 … --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Flex 2 Beta on the Mac?
for any Mac users out there reading this, the bottom line is that ChrisV is right: the *should* is correct. and Simeon Bateman (http://simb.net/blog/index.cfm) has the scars to prove it. FYI b On 4/12/06, Barry Beattie [EMAIL PROTECTED] wrote: CF does work on the Mac aye, and a great thing too so all you need to do is get the connectivity files and install them (somehow). connectivity: we're thinking that it's just some Jar's, AS files and a CF setting or two in an xml file (hoping anyway) no shortage of windows boxes at work to extract files from create a virtual machine with windows and install Flex and CF on there and use virtual networking to connect from the mac to the server. desperation mode, eh? we're encouraged by seeing a java version of Flex Data services. keeping fingers crossed. I take it that no one has actually *done* any of this yet? this bleeding edge business: it hurts! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Popups from a Flash Form?
Hi guys, I've been butting my head against this one for a bit, so I'm hoping that someone else knows where I can find the information I need. I have a Flash Form, and amongst other things it displays some thumbnail images. My boss wants these to be clickable, opening up the full-sized version of the image. I can see the need for this, but I can't figure out how to make it happen. I've tried adding the usual code I'd use to the binding, and the image is now clickable, but nothing happens when you do. I've gone and looked through the CF documentation, the Flash documentation, and the Flex documentation, plus Googled extensively. I just cannot seem to find anything that will make this work. Does anyone know of a way to do this? Or is it just not possible with Flash Forms? Cheers, Seona. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Popups from a Flash Form?
Hi Seona, I recently used this article to get flash to call a JS function to open up a pop up. (the article shows how to open a browser alert) http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_15683 Is this what you are after?? Let me know and I can post the code I used. JJustin From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Seona Bellamy Sent: Thursday, 13 April 2006 11:18 AM To: CFAussie Subject: [cfaussie] Popups from a Flash Form? Hi guys, I've been butting my head against this one for a bit, so I'm hoping that someone else knows where I can find the information I need. I have a Flash Form, and amongst other things it displays some thumbnail images. My boss wants these to be clickable, opening up the full-sized version of the image. I can see the need for this, but I can't figure out how to make it happen. I've tried adding the usual code I'd use to the binding, and the image is now clickable, but nothing happens when you do. I've gone and looked through the CF documentation, the Flash documentation, and the Flex documentation, plus Googled extensively. I just cannot seem to find anything that will make this work. Does anyone know of a way to do this? Or is it just not possible with Flash Forms? Cheers, Seona. Note: This correspondence and any files transmitted with it are confidential. If you are not the intended recipient, you must not disclose or use the information contained in it.Any opinions expressed in this correspondence are those of the individual sender, except where the sender expressly, and with authority, states them to be the opinions of ABBOTSLEIGH. If you have received this correspondence in error please notifyAbbotsleighimmediately byphone (612 9473 7900) oremail ([EMAIL PROTECTED]). Neither the sender or ABBOTSLEIGH warrants that any communication via the Internet is free of errors, viruses, interception or interference. Information is distributed without warranties of any kind. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Popups from a Flash Form?
On 13/04/06, Justin Raymond [EMAIL PROTECTED] wrote: I recently used this article to get flash to call a JS function to open up a pop up. (the article shows how to open a browser alert) http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_15683 Is this what you are after?? Let me know and I can post the code I used. Hi Justin, An interesting article, but it relies on actually creating Flash movies in Flash itself - so you can attach a bunch of actionscript to them. I'm not sure how I translate that into attaching that actionscript to the dynamically generated swf created by the Flash Form though. If you know a way, I'd love to see the code because it would probably be the solution I'm looking for. Cheers, Seona. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] RegEx brain fart
I'm drawing a blank on coming up with a regex for the following; I have some HTML that I read in a variable, then I highlight the keywords with a regex, which is fine, but some keywords might be contained within a tag, for example htmlstrong etc, I don't want to highlight those, what would the regex need to look like, anyone any idea on this one? thanks.-- Taco Fleur - http://www.pacificfox.com.au Web Design, Web development, Graphic Design and Complete Internet Solutionsan industry leader with commercial IT experience since 1994 … --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: RegEx brain fart
What are you using at the moment?On 4/13/06, Taco Fleur [EMAIL PROTECTED] wrote: I'm drawing a blank on coming up with a regex for the following; I have some HTML that I read in a variable, then I highlight the keywords with a regex, which is fine, but some keywords might be contained within a tag, for example htmlstrong etc, I don't want to highlight those, what would the regex need to look like, anyone any idea on this one? thanks.-- Taco Fleur - http://www.pacificfox.com.au Web Design, Web development, Graphic Design and Complete Internet Solutions an industry leader with commercial IT experience since 1994 … --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: Popups from a Flash Form?
Are you able to use :cfformitem type=script//function that takes in the image name as param and uses fsCommand to pass it to JS/cfformitemThen call this function from the event handler for the item that you click on and pass to it the image nameSorry for the pseudocode approach I am still living in the world of 6.1, but am fairly certain that you can use existing AS code as per above.JJustin From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Seona Bellamy Sent: Thursday, 13 April 2006 11:39 AM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: Popups from a Flash Form? On 13/04/06, Justin Raymond [EMAIL PROTECTED] wrote: I recently used this article to get flash to call a JS function to open up a pop up. (the article shows how to open a browser alert) http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_15683 Is this what you are after?? Let me know and I can post the code I used. Hi Justin, An interesting article, but it relies on actually creating Flash movies in Flash itself - so you can attach a bunch of actionscript to them. I'm not sure how I translate that into attaching that actionscript to the dynamically generated swf created by the Flash Form though. If you know a way, I'd love to see the code because it would probably be the solution I'm looking for. Cheers, Seona. Note: This correspondence and any files transmitted with it are confidential. If you are not the intended recipient, you must not disclose or use the information contained in it.Any opinions expressed in this correspondence are those of the individual sender, except where the sender expressly, and with authority, states them to be the opinions of ABBOTSLEIGH. If you have received this correspondence in error please notifyAbbotsleighimmediately byphone (612 9473 7900) oremail ([EMAIL PROTECTED]). Neither the sender or ABBOTSLEIGH warrants that any communication via the Internet is free of errors, viruses, interception or interference. Information is distributed without warranties of any kind. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: SQL 2000 - 2005
Read up on 2005. By default TCPIP connections to it are not enabled, there are lots of good articles out there on how to get CF and 2005 to talk. Regards Dale Fraser -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carl Vanderpal Sent: Thursday, 13 April 2006 11:29 AM To: CF Aussie - Google Subject: [cfaussie] SQL 2000 - 2005 I am in the process of switching to MS SQL 2005 and wondering how to do something? In CFMX (v7) admin I have a datasource with the port set to the standard 1433, but I have set the 2005 version to another port number so I just thought I would just change the port number in CFMX (v7) admin to the same as the servers port number, but I get an error 'Connection refused'. I have also restarted SQL server in windows services.. Any ideas.. Postal: Po Box 3462 Dural, NSW 2158 Email: mailto:[EMAIL PROTECTED] FireFly Internet Phone: 80011777 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: RegEx brain fart
To split up the html variables.result = reFindNoCase( body[^]+(.+)/body, variables.htmlContent, 1, true );variables.htmlContentHeader = left( variables.htmlContent, result.pos[ 2 ] );variables.htmlContentBody = mid( variables.htmlContent, result.pos[ 2 ], result.len[ 2 ] );variables.htmlContentFooter = right( variables.htmlContent, ( len( variables.htmlContent ) +1 ) - ( result.pos[ 2 ] + result.len[ 2 ] )); To highlight the keyword cfset variables.htmlHighlightedContent = reReplaceNoCase( variables.htmlHighlightedContent, (#variables.item#), span class='keyword'\1/span, all ) / On 4/13/06, Blair McKenzie [EMAIL PROTECTED] wrote: What are you using at the moment? On 4/13/06, Taco Fleur [EMAIL PROTECTED] wrote: I'm drawing a blank on coming up with a regex for the following; I have some HTML that I read in a variable, then I highlight the keywords with a regex, which is fine, but some keywords might be contained within a tag, for example htmlstrong etc, I don't want to highlight those, what would the regex need to look like, anyone any idea on this one? thanks.-- Taco Fleur - http://www.pacificfox.com.au Web Design, Web development, Graphic Design and Complete Internet Solutions an industry leader with commercial IT experience since 1994 … an industry leader with commercial IT experience since 1994 … --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: RegEx brain fart
I believe that should have been [^]*(#variables.item#)[^]*. It might also break if it's possible for variables.item to contain the '' character. HTH. -T On Thu, Apr 13, 2006 at 02:16:16PM +1000, Taco Fleur wrote: Almost, it created the following output, which is a bit of a mess: span style='font-family:Arial;mso-bidi-font-family: Times New Roman'span class='keyword'PHP/span On 4/13/06, Blair McKenzie [EMAIL PROTECTED] wrote: If you left the body tags around the content (or div or something) this regex should only select keywords that are outside of a tag's . [^]*(#variables.item#)[^]* So: Select the keyword if there is no tag opening char between it and the last tag close, and there is no tag closing char between it and the next tag open. On 4/13/06, Taco Fleur [EMAIL PROTECTED] wrote: To split up the html variables.result = reFindNoCase( body[^]+(.+)/body, variables.htmlContent, 1, true ); variables.htmlContentHeader = left( variables.htmlContent, result.pos[ 2 ] ); variables.htmlContentBody = mid( variables.htmlContent, result.pos[ 2 ], result.len[ 2 ] ); variables.htmlContentFooter = right( variables.htmlContent, ( len( variables.htmlContent ) +1 ) - ( result.pos[ 2 ] + result.len[ 2 ] )); To highlight the keyword cfset variables.htmlHighlightedContent = reReplaceNoCase( variables.htmlHighlightedContent, (#variables.item#), span class='keyword'\1/span, all ) / On 4/13/06, Blair McKenzie [EMAIL PROTECTED] wrote: What are you using at the moment? On 4/13/06, Taco Fleur [EMAIL PROTECTED] wrote: I'm drawing a blank on coming up with a regex for the following; I have some HTML that I read in a variable, then I highlight the keywords with a regex, which is fine, but some keywords might be contained within a tag, for example htmlstrong etc, I don't want to highlight those, what would the regex need to look like, anyone any idea on this one? thanks. -- Taco Fleur - http://www.pacificfox.com.au Web Design, Web development, Graphic Design and Complete Internet Solutions an industry leader with commercial IT experience since 1994 ? an industry leader with commercial IT experience since 1994 ? -- Taco Fleur - http://www.pacificfox.com.au Web Design, Web development, Graphic Design and Complete Internet Solutions an industry leader with commercial IT experience since 1994 ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: SQL 2000 - 2005
here is a good place to starthttp://www.forta.com/blog/index.cfm?mode=entryentry=B64D7891-3048-80A9-EF0D551FA7FB7B27 On 4/13/06, Dale Fraser [EMAIL PROTECTED] wrote: Read up on 2005.By default TCPIP connections to it are not enabled, there are lots of goodarticles out there on how to get CF and 2005 to talk.RegardsDale Fraser -Original Message- From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of Carl Vanderpal Sent: Thursday, 13 April 2006 11:29 AM To: CF Aussie - Google Subject: [cfaussie] SQL 2000 - 2005 I am in the process of switching to MS SQL 2005 and wondering how to do something? In CFMX (v7) admin I have a datasource with the port set to the standard 1433, but I have set the 2005 version to another port number so I just thought I would just change the port number in CFMX (v7) admin to the same as the servers port number, but I get an error 'Connection refused'. I have also restarted SQL server in windows services.. Any ideas.. Postal: Po Box 3462 Dural, NSW 2158 Email: mailto: [EMAIL PROTECTED] FireFly Internet Phone: 80011777 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---