ColdFusion Community

The online ColdFusion / CFML community website

James Buckingham 30, Male
Aberdeen
United Kingdom
  • Applications
  • Blog Posts
  • Discussions
  • Groups (9)
  • Photos
  • Photo Albums
  • Videos (1)

James Buckingham's Friends

James Buckingham's Groups

 

James Buckingham's Page

Profile Information

Relationship Status:
Married
What do you like about Coldfusion
Does what it says on the box and a great community out there ;-)

Fast, easy and it would have taken me months to develop some of the stuff I've worked on in other languages.
What other technologies do you use?
Oracle/MSSQL/MySQL/Access, XML, XHTML, CSS, Flash, Flex, CFEclipse, IIS, PHP. Probably more but you get the idea!!
About Me:
Currently working as a Web and Application Developer for The Robert Gordon University in Aberdeen, Scotland.

I've been in the Web industry for 7 years now with 4 of those being Coldfusion development.

I'm also an active member of the the Scottish ColdFusion User Group and main organiser for our local CF Developer networking events.
Website:
http://www.rgu.ac.uk
IM nicknames
Clarkee21

Now Twittering

I'm now twittering at the following address:
http://www.twitter.com/Clarkee21

James Buckingham's Videos

Comment Wall (7 comments)

You need to be a member of ColdFusion Community to add comments!

Join this network

At 3:34pm on 3 April 2008, Gareth Arch said…
Argh, you should have posted :)

It would look something like this:
Find: (<cflocation url="[^"]+") ?/?>
Replace: $1 addtoken="true" />

This would capture anything that was like
<cflocation url="testPage.cfm" />
<cflocation url="testPage4.cfm"/>
<cflocation url="testPage2.cfm">
<cflocation url="testPage3.cfm" >

and add the addtoken="true" to them all
At 2:58pm on 3 April 2008, Gareth Arch said…
You've intrigued me now. Can you post an example of the tag that needs to be matched and one that does not so I can run some test RegEx's on it?
At 6:56pm on 2 April 2008, Gareth Arch said…
Hey again James,
Just came across this blog post
http://www.gskinner.com/blog/archives/2008/04/regexr_full_cod.html

The app is here
http://gskinner.com/RegExr/

It actually matches as you are typing your regular expression which seems perfect for someone learning regEx (or just needing to test something out before running it over and over again on the server).
At 1:45pm on 2 April 2008, Gareth Arch said…
Oh yes, and if you need any assistance with the regular expressions, let me know...I'm no expert, but I manage :)
At 1:44pm on 2 April 2008, Gareth Arch said…
Most of the regular expressions I'm starting with Eclipse itself. If you do a "Find" (and check the regular expressions checkbox), then press ctrl-spacebar it will bring up all possibilities for regular expressions. I actually had a bit of difficulty understanding what the $1 $2 $3, etc. was for and how to determine what is was replacing when I looked at the CF livedocs, but the hint box in Eclipse was very straightforward, and I got it right away. If there's something else I need though this site was great http://www.regular-expressions.info/ I haven't used it in a while, but it has quite a few useful items.
At 1:30pm on 2 April 2008, Gareth Arch said…
<cflocation url="myPage.cfm" addtoken="true" />

(I forgot to add the "result" part to my redo post...sorry for all of the posts)
At 1:28pm on 2 April 2008, Gareth Arch said…
Sorry, the HTML tag removal got me again...trying again:

Hey James,
Just saw your comment about the cflocation token. Here's something you can try that may work.

I'm guessing that the tags without tokens should be formatted
<cflocation url="myPage.cfm" />
(or something close to that).

A RegEx that would add the addtoken attribute to all of those would be something like:

Find: (<cflocation url="[^"]+") />
Replace: $1 addtoken="true" />

This should take any cflocation tag that only has the url attribute and replaces that with

Hope this helps you out.
 
 

Latest Activity

Mike Harman and Aaron Wolfe are now friends10 hours ago
Mike Harman Aaron Wolfe
dln170 dln170 started a discussion called Coldfusion Session Variables in Flex11 hours ago
dln170 dln170 joined ColdFusion Community. Leave a Comment for dln170. 11 hours ago
Joshua Cyr and Dee Sadler are now friends12 hours ago
Joshua Cyr Dee Sadler
Dee Sadler Dee Sadler replied to the discussion Come on my Cruise! 13 hours ago
Dee Sadler and Matt Gifford (aka coldfumonkeh) are now friends13 hours ago
Dee Sadler Matt Gifford (aka coldfumonkeh)
Isaac Dealey and Dee Sadler are now friends17 hours ago
Isaac Dealey Dee Sadler
Mike Harman Mike Harman joined the group CFUnited ColdFusion Community23 hours ago
alberto alberto joined ColdFusion Community. Leave a Comment for alberto. 23 hours ago
Doug Giles Doug Giles joined ColdFusion Community. Leave a Comment for Doug Giles. 1 day ago
Joshua Cyr Joshua Cyr started a discussion called Come on my Cruise!1 day ago

Members

  • Doug Giles
  • alberto
  • Matt Gifford (aka coldfumonkeh)
  • Dee Sadler
  • Joshua Cyr
  • dln170
  • Aaron Wolfe
  • Nick Tong
  • Tariq Ahmed
  • Jeremy
  • Todd Rafferty
  • Ray Buechler

Translate this page

 

© 2008   Created by Nick Tong

Badges  |  Report an Issue  |  Privacy  |  Terms of Service