Re: Site-wide error handler

2009-05-19 Thread Eric Roberts
I'll have to think about that one...thanks! Dave...I also have the missing page template set... Eric On Tue, May 19, 2009 at 6:35 PM, denstar wrote: > > I recently wrote an exception handling service that uses the onError > in Applicaiton.cfc (or vice-versa). > > I like it, because I'm trappi

Re: Site-wide error handler

2009-05-19 Thread denstar
I recently wrote an exception handling service that uses the onError in Applicaiton.cfc (or vice-versa). I like it, because I'm trapping 404 errors the same way I would any other error (I do special stuff if it's a 404), so there's only one place to configure exception handling. The error loggin

Re: Site-wide error handler

2009-05-19 Thread Dave Watts
> yeah...I have multiple sites on my laptop for testing...so i don't have "/" > defined.  I did just creat a mapping ot that directory and CF admin took the > values.  Is there anything else that needs to be set up?  I have the > files...yet to be coded...but the files are there.  I try to pull up

Re: Site-wide error handler

2009-05-19 Thread Eric Roberts
yeah...I have multiple sites on my laptop for testing...so i don't have "/" defined. I did just creat a mapping ot that directory and CF admin took the values. Is there anything else that needs to be set up? I have the files...yet to be coded...but the files are there. I try to pull up a page

Re: Site-wide error handler

2009-05-19 Thread Dave Watts
> I have a bit of a silly question here.  I have never used the site-wide > error handler before.  Assuing the error template is in a folder called misc > in the webroot, I should only have to enter /misc/displayerror.cfm in cf > admin, right?  It doesn't seem to like that.  Am I doing something w

Re: Site-wide error handler

2009-05-19 Thread Eric Roberts
I just figured that out heheheh. Thanks Joe! On Tue, May 19, 2009 at 4:05 PM, Joe Kelly wrote: > > It's easiest to create a mapping in the CF Admin for your error template > folder, make sure the template is in there, go to the settings panel, and > use the mapping to reference your template i

Re: Site-wide error handler

2009-05-19 Thread Joe Kelly
It's easiest to create a mapping in the CF Admin for your error template folder, make sure the template is in there, go to the settings panel, and use the mapping to reference your template in the site wide template field. Well, it was for me HTH Joe Kelly On Tue, May 19, 2009 at 3:57 PM, Eri

Site-wide error handler

2009-05-19 Thread Eric Roberts
I have a bit of a silly question here. I have never used the site-wide error handler before. Assuing the error template is in a folder called misc in the webroot, I should only have to enter /misc/displayerror.cfm in cf admin, right? It doesn't seem to like that. Am I doing something wrong. Th

Checking for Existence of RSS.CHANNEL.ITEM

2009-05-19 Thread Steve LaBadie
I am producing an XML file from a calendar application for an RSS feed. I have encountered an error when there is no event scheduled for a particular day. I get an error of Element RSS.CHANNEL.ITEM is undefined in OBJRSS. I have tried both cfif IsDefined and StructKeyExists and can't get rid o

Re: phone formating string and removing hidden characters

2009-05-19 Thread Charlie Griefer
just read it in doing a cffile and then do a cfloop over the content using the newline as the delimiter (as Mark suggested). no need for importing into a database or having to count 'x' number of characters. you've already got the data delimited. just loop over it and use the regex you posted e

RE: phone formating string and removing hidden characters

2009-05-19 Thread cfcom
Mark, I think it's a newline character I'm thinking I have to import the list into the database. Then query it With the cfloop. My question is how to I set the loop to do a 10 count sequence? Thanks Steve -Original Message- From: Gaulin, Mark [mailto:mgau...@globalspec.com] Sent: 200

RE: phone formating string and removing hidden characters

2009-05-19 Thread Gaulin, Mark
That screenshot looks like a newline character (or is it a linefeed?) as shown by an editor that was expecting a more Windows-ly standard line ending. Other editors (like EditPad) would probably show each phone number on its own line. Anyway, you can use cf's "asc()" method to find the actual va

phone formating string and removing hidden characters

2009-05-19 Thread cfcom
Hi, I have a text file of 100,000 plus phone numbers that I need to change formatting and export to a clean list. There is an unusual hidden character that doesn't appear when pasting. Here is a screen shot http://www.aceligent.com/post/hidden.html The list is compiled in this manner, 'X' is su

Report Builder & Excel

2009-05-19 Thread Bonni Harris
My output is an excel spreadsheet. I have a report header and detail lines. I keep getting a blank row (end of page?), all my headers (except the report header) and footers are set to 0 height. Also, how can I format a character string to print leading zeros? Thanks for any and all help. ~

Re: building navigation using CF custom tags

2009-05-19 Thread Gerald Guido
Opps... wrong url for how to use it And this is how to use it. http://coz.pastebin.com/f1e851a0 G! On Tue, May 19, 2009 at 12:26 PM, Gerald Guido wrote: > I have a custom tag for creating a menu items if you are interested in > looking the code. > > This is the code for the tag (save as MenuI

Re: building navigation using CF custom tags

2009-05-19 Thread Gerald Guido
I have a custom tag for creating a menu items if you are interested in looking the code. This is the code for the tag (save as MenuItem.cfm) http://coz.pastebin.com/f17f1392a And this is how to use it. http://coz.pastebin.com/f17f1392a The beauty of custom tags is that you can create one piece

Re: building navigation using CF custom tags

2009-05-19 Thread Gerald Guido
>>Create header, footer, and navigation templates from the existing html, and then do CFincludes on each web page to bring them in. Correct. G! On Tue, May 19, 2009 at 10:40 AM, John Drake wrote: > > I agree with James - CF Includes are probably a better option. > > Create header, footer, and

Re: Adobe Livedocs throwing lock error???

2009-05-19 Thread Phillip B
>is it just with v6 of the docs. >thats where i first saw it and posted it on irc Its doing it again for the CF 8 docs. wh ~| Want to reach the ColdFusion community with something they want? Let them know on the House of F

Re: building navigation using CF custom tags

2009-05-19 Thread John Drake
I agree with James - CF Includes are probably a better option. Create header, footer, and navigation templates from the existing html, and then do CFincludes on each web page to bring them in. ~| Want to reach the ColdFusion

cfxImage (gafware) IE8 JPEG colour rendering problem.

2009-05-19 Thread Matt Catmacey
First. Sorry if this is a repost. My original post didn't seem to work. I'm seeing an IE8 specific JPEG colour rendering problem that is linked to images that have been manipulated by gafware's cfxImage custom tag. I'm using v1.6.6.11 which appears to be the most recent. IE8 seems to be ignor

Re: building navigation using CF custom tags

2009-05-19 Thread James Holmes
You could just use a cfinclude if a custom tag is too confusing. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/5/19 mike pop : > > i've never used many custom tags before but I am currently tasked to take a > dreamweaver HTML site using 4 navigation links

building navigation using CF custom tags

2009-05-19 Thread mike pop
i've never used many custom tags before but I am currently tasked to take a dreamweaver HTML site using 4 navigation links and convert this into a site using a cold fusion custom tag for the navigation and content. the 4 navigation links go to different subdirectories and different files (righ