[cfaussie] Re: RegEx brain fart

2006-04-12 Thread Taco Fleur
I am thinking this might be better served as client-side code? High lighting the keywords with _javascript_ ??  On 4/13/06, Taco Fleur <[EMAIL PROTECTED]> wrote: yes that works, thanks.   reReplaceNoCase( variables.htmlHighlightedContent, "(>[^<].*)(#variables.item#)(.*[^>]<)", "\1\2\3", "all" )

[cfaussie] Re: RegEx brain fart

2006-04-12 Thread Taco Fleur
yes that works, thanks.   reReplaceNoCase( variables.htmlHighlightedContent, "(>[^<].*)(#variables.item#)(.*[^>]<)", "\1\2\3", "all" )   but it is slow as anything - might have to just put up with the errors, the slowness is not something we can work with... Unless the regex can be improved upon?? 

[cfaussie] Re: RegEx brain fart

2006-04-12 Thread Taco Fleur
this one produces output like   Visual Basic/span>   lets not forget that the word could also be part of a tag, i.e.   and the word searched for is "tag"  On 4/13/06, Tom Kerr <[EMAIL PROTECTED]> wrote: I believe that should have been ">[^<]*(#variables.item#)[^<]*<".  Itmight also break if it's p

[cfaussie] Re: SQL 2000 - 2005

2006-04-12 Thread Andrew Mercer
here is a good place to starthttp://www.forta.com/blog/index.cfm?mode=entry&entry=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

[cfaussie] Re: RegEx brain fart

2006-04-12 Thread Tom Kerr
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: >

[cfaussie] Re: RegEx brain fart

2006-04-12 Thread Blair McKenzie
I see. It looks like it's also selecting the context used to find the keyword. In which case you need to include that context in the replacement string:output=rereplacenocase(input,"(>[^<]*)(#variables.item#)([^>]*<)","\1\2\3","ALL") On 4/13/06, Taco Fleur <[EMAIL PROTECTED]> wrote: Almost, it crea

[cfaussie] Re: RegEx brain fart

2006-04-12 Thread Taco Fleur
Almost, it created the following output, which is a bit of a mess:   PHP>  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#)[^>]*<

[cfaussie] Re: RegEx brain fart

2006-04-12 Thread Blair McKenzie
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 betwee

[cfaussie] Re: RegEx brain fart

2006-04-12 Thread Taco Fleur
To split up the html   variables.result = reFindNoCase( "]+>(.+)", 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 =

[cfaussie] Re: SQL 2000 - 2005

2006-04-12 Thread Dale Fraser
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: Th

[cfaussie] Re: Popups from a Flash Form?

2006-04-12 Thread Justin Raymond
Are you able to use ://function that takes in the image name as param and uses fsCommand to pass it to JSThen call this function from the event handler for the item that you click on and pass to it the image name Sorry for the pseudocode approach I am still living in the world of 6.1, but am

[cfaussie] Re: RegEx brain fart

2006-04-12 Thread Blair McKenzie
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

[cfaussie] RegEx brain fart

2006-04-12 Thread Taco Fleur
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 etc, I don't want to highlight those, what would the regex need t

[cfaussie] Re: Popups from a Flash Form?

2006-04-12 Thread Seona Bellamy
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 a

[cfaussie] SQL 2000 - 2005

2006-04-12 Thread Carl Vanderpal
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 sam

[cfaussie] Re: Popups from a Flash Form?

2006-04-12 Thread Justin Raymond
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 use

[cfaussie] Popups from a Flash Form?

2006-04-12 Thread Seona Bellamy
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 versio

[cfaussie] Re: Flex 2 Beta on the Mac?

2006-04-12 Thread Barry Beattie
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 grea

[cfaussie] Re: Count keywords found

2006-04-12 Thread Taco Fleur
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-keywor

[cfaussie] Re: Count keywords found

2006-04-12 Thread Blair McKenzie
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]> wrot

[cfaussie] Re: Count keywords found

2006-04-12 Thread Taco Fleur
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 s

[cfaussie] Re: Count keywords found

2006-04-12 Thread Scott Arbeitman
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

[cfaussie] Count keywords found

2006-04-12 Thread Taco Fleur
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 h

[cfaussie] Re: OT: What is up with favicon.ico in IE?

2006-04-12 Thread Ryan Sabir
  Ah Steve, one of these days you are going to read more than the subject of an email  :)   From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve OnnisSent: Wednesday, 12 April 2006 5:13 PMTo: cfaussie@googlegroups.comSubject: [cfaussie] Re: OT: What is

[cfaussie] Re: Flex 2 Beta on the Mac?

2006-04-12 Thread Barry Beattie
> 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

[cfaussie] Re: OT: What is up with favicon.ico in IE?

2006-04-12 Thread Steve Onnis
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   Stev

[cfaussie] Re: Flex 2 Beta on the Mac?

2006-04-12 Thread Chris Velevitch
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