ColdFusion Community

The online ColdFusion / CFML community website

James Buckingham's Page

Profile Information

Relationship Status:
Married
What do you like about CFML
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

  • Add Videos
  • View All

Comment Wall (7 comments)

At 12:28 on April 2, 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.
At 12:30 on April 2, 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 12:44 on April 2, 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 12:45 on April 2, 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 17:56 on April 2, 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 13:58 on April 3, 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 14:34 on April 3, 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

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

Join ColdFusion Community

 
 
 


Latest Activity

David Panzarella updated their profile
Saturday
Profile IconDavid Panzarella, Mohit Bhati, José Eduardo Aben Athar da Silva and 6 more joined ColdFusion Community
Saturday
CVgeek added a discussion to the group CF Contractors
Thumbnail

Client facing, Senior ColdFusion developer – 50k (60k max) - Hertfordshire

Client facing, Senior ColdFusion developer – 50k (60k max) - HertfordshireSeeking a candidate that has vision and interested in up and coming technologies and how these maybe applied to the business model in order to maintain leadership in the field. Within a company dedicated to provide systems for public, charity and private sectors.Basically a person with a ‘Can Do’ attitude that will help the management team deliver success.The candidate will also be strong on delivery (client facing skills…See More
May 6
CVgeek posted a photo
May 6
CVgeek shared a profile on Twitter
May 6
CVgeek shared their discussion on Twitter
May 6
CVgeek liked CVgeek's discussion Client facing, Senior ColdFusion developer – 50k (60k max) - Hertfordshire – Job – F/T – on site only
May 6
CVgeek added a discussion to the group Coldfusion Jobs
Thumbnail

Client facing, Senior ColdFusion developer – 50k (60k max) - Hertfordshire – Job – F/T – on site only

Seeking a candidate that has vision and interested in up and coming technologies and how these maybe applied to the business model in order to maintain leadership in the field. Within a company dedicated to provide systems for public, charity and private sectors.Basically a person with a ‘Can Do’ attitude that will help the management team deliver success.The candidate will also be strong on delivery (client facing skills would be a pro) and be used to delivering projects on time and to budget,…See More
May 6

Members

Translate this page

© 2013   Created by Nick Tong.

Badges  |  Report an Issue  |  Terms of Service