RE: Backup / Replicate Server Config

2008-04-29 Thread WebSite CFtalk
IIS has some scripts for this tasks. This guy has made some nice additions to them: http://aspalliance.com/1038_IISCnfgvbs__IIS_Settings_Replication.all Helge -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED] Sent: 30. april 2008 04:15 To: CF-Talk Subject: Re: Backup / Repl

Re: cfpdf question

2008-04-29 Thread Tony
and to add... my xml is getting the picture: Tony Weeg and Lily Weeg 210 South Baptist Street Salisbury, Maryland, 21801 just the end, the display in the pdf, isnt? thanks for any help! tony On Wed, Apr 30, 2008 at 12:27 AM, Tony <[EMAIL

Re: cfpdf question

2008-04-29 Thread Tony
hmmm... Tony Weeg#chr(13)##chr(10)#309 Middle Blvd#chr(13)##chr(10)#Salisbury, Maryland, 21801 and then: doesnt seem to output that way? any ideas. thanks! tony On Wed, Apr 30, 2008 at 12:18 AM, Tony <[EMAIL PROTECTED]> wrote: > so in my cfsavecontent, i would use something like paragraphFor

Re: cfpdf question

2008-04-29 Thread Tony
so in my cfsavecontent, i would use something like paragraphFormat() (i think its a udf on cflib that ben did a while back) and that would work? heh, i guess ill give'er a shot. thanks! tony On Wed, Apr 30, 2008 at 12:18 AM, Dave Watts <[EMAIL PROTECTED]> wrote: > > when using cfpdfform, and pop

RE: cfpdf question

2008-04-29 Thread Dave Watts
> when using cfpdfform, and populating the form data with xml, > how do you simulate a carriage return/line feed? > > i know how to do it in a csv formatted file and other things, > but xml to populate a pdf form, doesnt seem intuitive on how > to make a cr/lf happen? I think you just put the

RE: APPLICATION scope unknown in Application.cfc

2008-04-29 Thread Dave Watts
> Adobe's own coding guidelines if I read it right says this. > > >... Local variables >... public variables > >... Pseudo constructor (if required) >... Public methods >... Package methods >... Private methods > > > > And although it is unclear, it does clearly state

Re: Make Verity search skip folders

2008-04-29 Thread Jason Crider
I can verify that the following code works: The indexing file to grab the root without the folders (only cfm files) Indexing documents ... http://www.somewhere.com";> Done! --- the following code removed files that I didn't want there. Indexing documents ... Done

cfpdf question

2008-04-29 Thread Tony
hi all... long time no post... long time lurk... anyhow, can anyone explain to me... when using cfpdfform, and populating the form data with xml, how do you simulate a carriage return/line feed? i know how to do it in a csv formatted file and other things, but xml to populate a pdf form, doesnt

RE: Backup / Replicate Server Config

2008-04-29 Thread Dave Watts
> GUI GUI click click methods are nearly useless for automated > backup purposes. Aren't there one or more VBS scripts > included with the server OS that can backup and restore the > entire IIS server configuration? Yes, there are all kinds of ways to back up and restore IIS settings using aut

Re: Application variable undefined in CFC

2008-04-29 Thread James Holmes
Since when did the Police raid your house for poor programming? On Wed, Apr 30, 2008 at 10:45 AM, Andrew Scott <[EMAIL PROTECTED]> wrote: > Brian, > > Yes I would recommend to find a better way if you can, but that doesn't make > it illegal. -- mxAjax / CFAjax docs and other useful articles: h

RE: Application variable undefined in CFC

2008-04-29 Thread Andrew Scott
Brian, Yes I would recommend to find a better way if you can, but that doesn't make it illegal. You know I am sick of the term encapsulation, When Coldfusion becomes strictly type cast and is 100% pure OOP with constrcutors then we can have this discussion. Until then, Coldfusion is what ever you

RE: APPLICATION scope unknown in Application.cfc

2008-04-29 Thread Andrew Scott
Dave and others, Adobe's own coding guidelines if I read it right says this. ... Local variables ... public variables ... Pseudo constructor (if required) ... Public methods ... Package methods ... Private methods And although it is unclear, it does clearly state that it i

Re: Backup / Replicate Server Config

2008-04-29 Thread Jim McAtee
GUI GUI click click methods are nearly useless for automated backup purposes. Aren't there one or more VBS scripts included with the server OS that can backup and restore the entire IIS server configuration? - Original Message - From: "Carl Von Stetten" <[EMAIL PROTECTED]> To: "CF-Tal

RE: Application variable undefined in CFC

2008-04-29 Thread Andrew Scott
Yeah that is a good point... Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613  9015 8628 Mobile: 0404 998 273 -Original Message- From: Andrew Grosset [mailto:[EMAIL PROTECTED] Sent: Wednesday, 30 April 2008 3:27 AM To: CF-Talk Subject: Re: Appl

RE: APPLICATION scope unknown in Application.cfc

2008-04-29 Thread Andrew Scott
And that's what Adobe's website indicates too:-) Look I agree with the view of why it would be called it, I just don't believe it should. It's confusing enough coming from a true OOP style programming language as it is, without adding to the complexity of it more. Andrew Scott Senior Coldfusion

Re: Scheduled jobs runs twice

2008-04-29 Thread Mike Chabot
Try deleting the task and readding it. Are all the hotfixes for the server installed? -Mike Chabot On Tue, Apr 29, 2008 at 7:46 PM, Tarea Ponder <[EMAIL PROTECTED]> wrote: > My scheduled job runs twice (CF7)This happened after file migration to > application server. > See scheduler.log entry sho

Re: Form to TIFF?

2008-04-29 Thread Gerald Guido
There is Image.cfc and cfx_image. I don't know if they write to tiff. I have a bunch of code that uses cfx_image that I can dig up for you if need be. Let me know. hth G On Tue, Apr 29, 2008 at 12:11 PM, Melissa Cope <[EMAIL PROTECTED]> wrote: > We have a client that wants a form that, after pre

Scheduled jobs runs twice

2008-04-29 Thread Tarea Ponder
My scheduled job runs twice (CF7)This happened after file migration to application server. See scheduler.log entry showing the job running then rescheduling. Has this happen to anyone else? If so what was the resolution? Note: I do not have direct access to server. == Apr 23, 2008 5:00 PM Informat

Re: Backup / Replicate Server Config

2008-04-29 Thread Carl Von Stetten
Kevin, WRT IIS, you can backup the IIS settings for either individual websites or the whole server from IIS Admin. For the whole server, open IIS Admin, right-click on the "Web Sites" node, and select "All Tasks" ---> "Save Configuration to a File...". You can then export current settings to

Re: Backup / Replicate Server Config

2008-04-29 Thread Cameron Childress
Kevin- Pretty much all of your administrator settings are saved in files you can find at [cfroot]/lib/neo-*.xml Install CF on your new machine and copy these files over. You may have to investigate some path differences and other machine specific items, but the majority of your settings should b

RE: Backup / Replicate Server Config

2008-04-29 Thread Kevin Aebig
Sadly, I've inherited a mess and with all the websites we have running, it would take not only a long time to move everything to Apache, but than train the other guys here on how to administer an Apache server. Also, we're running CF standard... am I SOL? !k -Original Message- From: Russ

RE: Backup / Replicate Server Config

2008-04-29 Thread Russ
You can probably back up the IIS metabase and restore it elsewhere. I much prefer Apache myself as you can just keep the configuration info in subversion and replicate changes as needed. As far as CF, you can use ColdFusion Archives under packaging and deployment to transfer settings to other in

Re: Backup / Replicate Server Config

2008-04-29 Thread Barney Boisvert
First, you uninstall IIS and install Apache. Then you check all your config files into SVN and check them out on every server you want to keep synced. When you make changes, you check them in on your test server, and then update them on all the prod servers when you're ready. You also get mod_re

Backup / Replicate Server Config

2008-04-29 Thread Kevin Aebig
Hey all, This is driving me nuts, but how do you backup than replicate not only CFMX7, but IIS6 as well? I thought given the ease of administering these services that this would be a joke. Thanks for any tips, !k ~

RE: Form to TIFF?

2008-04-29 Thread Billy Cox
When I saw 'form to TIFF', I figured that the client wants to fax the form contents. -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 29, 2008 12:00 PM To: CF-Talk Subject: RE: Form to TIFF? Melissa... Don't want to be cliche, but is there a speci

Re: CF 8.0.1 Update and CFMENU

2008-04-29 Thread Andy Chen
Oh... a new issue: One of the fixes to remove the upper border line of the VERITCAL CFMENU will also remove the ability. Those dividing lines are now gone if you remove the top border width from the CSS below. This part has been modified in the YUI.CSS ..yuimenu ul { list-style-type:none

MS Excel ODBC source not available in 64 bit Windows Server?

2008-04-29 Thread Bruce Sorge
So I googled the hell out of this, and unless I am missing something, Microsoft again assumed that they know what's best for developers and decided to exclude the MS Excel ODBC source dll (msdasql.dll) from the 64 bit version of Windows Server 2003 (as well as a shit load of others). So does an

RE: Form to TIFF?

2008-04-29 Thread Andy Matthews
By the way... If you're not adverse to using the underlying Java language, there's libraries out there to save TIFF files: http://asprise.com/product/javatiff/ andy -Original Message- From: Melissa Cope [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 29, 2008 3:18 PM To: CF-Talk Subje

Re: APPLICATION scope unknown in Application.cfc

2008-04-29 Thread Adam Haskell
Since I am feeling froggy.. http://wordnet.princeton.edu/perl/webwn?s=pseudo "not genuine but having the appearance of" If we called it a constructor it certainly would be wrong but pseudo constructor is pretty freaking accurate. Crap (I know a very technical term) that falls inside cfcomponent

Re: Form to TIFF?

2008-04-29 Thread Melissa Cope
Yep, Andy... that's exactly the reason. They're used to scanning in written forms and saving them in their cataloguing program as TIFFs. They may have the ability in the future (with new software) to use PDFs, but for now it's TIFFs or nothing. >Don't want to be cliche, but is there a specific

RE: Access Denied trying to build coldfusion archive (CAR)

2008-04-29 Thread Chris Norloff
I don't know about the name itself, but does CF have rights to write in the root of C:\ ? Chris -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 29, 2008 3:45 PM To: CF-Talk Subject: Access Denied trying to build coldfusion archive (CAR) so I'm stumped.

Access Denied trying to build coldfusion archive (CAR)

2008-04-29 Thread Rick Root
so I'm stumped. My server will not build a CAR archive. I've created an archive definition called "dsns_and_stuff" to it, I've added DSNs (duh) and mappings. When I try to build it, I give a path like C:\archive.car The build process errors, giving access denied errors on the following: E:\ds

RE: Any Adobe PDF Form folks out there?

2008-04-29 Thread Dave Watts
> We have a PDF form we take an HTTP submit from and process in > CF and I'm having a heck of a time updating someone else's > PDF form as someone who has never used Livecycle Designer. > I'm hoping maybe someone on here has some insight. > > The form has a row of 3 form fields that all accept

RE: Automating Subversion Commits

2008-04-29 Thread Bobby Hartsfield
Couldn't have said that one better. 100% agreement. ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 29, 2008 12:58 PM To: CF-Talk Subject: Re: Automating Subversio

RE: APPLICATION scope unknown in Application.cfc

2008-04-29 Thread Dave Watts
> I wouldn't call that a pseudo constructor. I do realise thats > what has been adopted, does it make it right. No I don't believe so. > > Because technically it is not I do know that is what > people are saying, and for the life of me I do not know why. Since "pseudo constructor" isn't a t

RE: APPLICATION scope unknown in Application.cfc

2008-04-29 Thread Dave Watts
> I was under the impression that a "pseudo constructor" was a > function that returns itself... That would be an actual constructor. CF doesn't support that, so all we can do is set properties. Many people refer to these properties collectively as a "pseudo-constructor". Dave Watts, CTO, Fig Le

Re: Jrockit for eclipse

2008-04-29 Thread Richard Cooper
Thanks chaps that's v.useful. Last question (i think), apart from the obvious of changing the default user/pass is it ok to open up the JRUN/JMX stuff onto a production server, so that it can be browsed to? Cheers, Richard ~

Re: Application variable undefined in CFC

2008-04-29 Thread Andrew Grosset
If its on a shared server I wouldn't pass my datasource name around in the application scope - request scope is safer. See: Hacking the application scope in CFMX http://tinyurl.com/5qkaqp Andrew. >I've got exactly same situation as you. If I change application scope to >request scope then the

RE: Automating Subversion Commits

2008-04-29 Thread Steve Good
Right-o. I have subclipse installed, and have been using it as my primary way to commit code. I hadn't thought about any of the risks with submitting broken code as I am really the only one who uses the repository. I really just use it for version control and as an incremental backup, but I defi

Re: Automating Subversion Commits

2008-04-29 Thread Brian Kotek
Barney nails it on the head, as usual. Also, the general rule is to "never commit broken code" to the repository. Any kind of automated commit risks pushing unfinished code into the repository (unless you're running some kind of unit tests through a pre-commit hook), which is a bad thing especially

RE: Form to TIFF?

2008-04-29 Thread Andy Matthews
Melissa... Don't want to be cliche, but is there a specific reason they want a TIFF file? I'm sure it can be done, but I'd be more interested in their reasoning. Is it so that it interfaces with some other piece of software more easily? -Original Message- From: Melissa Cope [mailto:[EMAIL

Re: Automating Subversion Commits

2008-04-29 Thread Barney Boisvert
Don't do that. Install the Subclipse plugin for Eclipse, and check your code in manually. Doing it automatically is trivial to set up, but you don't get atomic commits by doing it that way, no do you get helpful commit messages. Without those, your version history is just a set of incremental ba

Automating Subversion Commits

2008-04-29 Thread Steve Good
Has anyone had any experience setting up a way to automate committing code to a subversion repository? I'm using assembla.com as my hosted repository and doing my commits manually through eclipse / tortoiseSVN. I'd love to be able to setup a scheduled task that would commit my code automatically

Form to TIFF?

2008-04-29 Thread Melissa Cope
We have a client that wants a form that, after pressing the submit button, converts the form information to a TIFF. Is this possible? I know there are ways to convert forms to PDFs... would it be possible to convert it to a PDF *then* a TIFF? We're running CF7. Thanks! ~

Re: Compare digits as strings not integers.

2008-04-29 Thread Axel Schultze
Ian, this may work for you. Axel they are equal they are not equal > > > >How would one compare these as strings and get a NOT equal result rather >then integers resulting in an equal result? ~| Adobe® ColdFusion® 8 softwar

Re: Compare digits as strings not integers.

2008-04-29 Thread Axel Schultze
Ian, this may work for you. Axel they are equal they are not equal > > > >How would one compare these as strings and get a NOT equal result rather >then integers resulting in an equal result? ~| Adobe® ColdFusion® 8 softwa

Re: Java NullPointerException thrown in CFFTP tag

2008-04-29 Thread WebMastesr Smarte
> http://www.adobe.com/cfusion/webforums/forum/messageview. > cfm?forumid=1&catid=3&threadid=1353473&enterthread=y > > Try this. > > ~D > Thanks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release t

Re: cfobject/cfinvoke best practices

2008-04-29 Thread Tom Chiverton
On Tuesday 29 Apr 2008, John Ahlen wrote: > are used by other pages. When I turn a component into an object am I > needlessly calling all the functions inside that component and is this not Only functions explictly called as part of the request are run. And of course, the CFML is only compiled to

Re: APPLICATION scope unknown in Application.cfc

2008-04-29 Thread Christopher Vigliotti
I was under the impression that a "pseudo constructor" was a function that returns itself...and that the code above the cffunction tags are the properties of the object. On Tue, Apr 29, 2008 at 8:34 AM, Brian Kotek <[EMAIL PROTECTED]> wrote: > "pseudo constructor" is pretty much the de-facto way

Re: Application variable undefined in CFC

2008-04-29 Thread Christopher Vigliotti
I second James' suggestion..."I facade my remote calls so that the core object can work like it should". Google "facade pattern" for more information. Whatever you do, do it consistently across the application, and include good comments so that the next developer doesn't have to suffer. On Tue,

Re: Application variable undefined in CFC

2008-04-29 Thread Brian Kotek
On Tue, Apr 29, 2008 at 5:55 AM, Andrew Scott <[EMAIL PROTECTED]> wrote: > Ok > > encapsulation is not a rule that you need to adopt, to its fullest. It > is a guide. > "Encapsulate by convention, reveal by need" is what I would call a rule because it has been demonstrated over and over to of

Re: ColdFusion 8 hosting

2008-04-29 Thread Don L
>I have been using yohost.com for a few years. >Brett and Laith have been great and very responsive. > >I started out of CF6 and now on CF8 and has been nothing but great >service/support. > Thank you for sharing. ~| Adobe® Cold

Re: Application variable undefined in CFC

2008-04-29 Thread Brian Kotek
On Tue, Apr 29, 2008 at 1:41 AM, Andrew Scott <[EMAIL PROTECTED]> wrote: > Hmm... > > What sort of comment is this? > > "It's also worth pointing out that referencing the application scope > from within a component is generally not a good idea anyway, since it > violates the encapsulation of the c

cfobject/cfinvoke best practices

2008-04-29 Thread John Ahlen
Hello All, I've gotten into the habit of beginning a page by creating an object: Below that, I use any number of cfinvokes thusly: In the component I'll have functions that are not called by the page. They are used by other pages. When I turn a component into an object am

RE: Jrockit for eclipse

2008-04-29 Thread Dave Watts
> I *believe* CF ships with a full version of the now defunct > JRun, but could be wrong. It does, but the full version is installed only if you choose the "multiserver" option. I'm not entirely sure what's excluded if you choose the standard server configuration, though. Dave Watts, CTO, Fig Le

Re: cfinput autosuggest doesn't work with mozilla

2008-04-29 Thread Raymond Camden
I don't have the list of officially supported browsers for CF8 Ajax stuff - but it may be just that Moz 1.X isn't supported. On Tue, Apr 29, 2008 at 8:49 AM, Kamru Miah <[EMAIL PROTECTED]> wrote: > Dear All, I had the cfinput with autosuggest working with a database query > just fine (in Firefox)

Re: cfinput autosuggest froma database query

2008-04-29 Thread Kamru Miah
>Can I also suggest you migrate your Application.cfm to Application.cfc >and begin to reap some new features it offers as well. Thanks Andrew - I shall bear that in mind in my next new application. Kamru ~| Adobe® ColdFusion® 8

cfinput autosuggest doesn't work with mozilla

2008-04-29 Thread Kamru Miah
Dear All, I had the cfinput with autosuggest working with a database query just fine (in Firefox), until I was told a lot our users are still using the old Mozilla 1.7.12 browsers. So, when I tested the above, it doesn't work any more - the cfc doesn't return any query results! I also noticed th

RE: Compare digits as strings not integers.

2008-04-29 Thread Bobby Hartsfield
Well its ONE way... ;-) ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Sonny Savage [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 29, 2008 8:12 AM To: CF-Talk Subject: Re: Compare digits as strings not integers. Using compa

cf8 cfgrid quirk...

2008-04-29 Thread Jose Diaz
Hello All, Really hope someone can help with this one. I have a cfgrid using the html format which displays paging - the grid all works as expected apart from one issue: -- If I enter say the following into the 'Paged input field' : 8 - it goes to page 8 as expected.

Any Adobe PDF Form folks out there?

2008-04-29 Thread Dana Kowalski
We have a PDF form we take an HTTP submit from and process in CF and I'm having a heck of a time updating someone else's PDF form as someone who has never used Livecycle Designer. I'm hoping maybe someone on here has some insight. The form has a row of 3 form fields that all accept user text inp

Re: APPLICATION scope unknown in Application.cfc

2008-04-29 Thread Andrew Scott
I am aware of that, I just don't need to agree with it. On Tue, Apr 29, 2008 at 10:34 PM, Brian Kotek <[EMAIL PROTECTED]> wrote: > "pseudo constructor" is pretty much the de-facto way to describe code that > runs outside of any cffunction tags in a CFC. I'd actually argue that by > trying to com

Re: APPLICATION scope unknown in Application.cfc

2008-04-29 Thread Brian Kotek
"pseudo constructor" is pretty much the de-facto way to describe code that runs outside of any cffunction tags in a CFC. I'd actually argue that by trying to come up with yet another way to label it, you're inadvertently making it more confusing than it already is. Sometimes you just have to obey t

Re: Query Help Please

2008-04-29 Thread C S
>I dont believe this is working with Access DB > SUM(CASE WHEN o.Date IS NULL THEN 0 ELSE 1 END) ordersFound I think Access's version of CASE is IIF(..). Try using IIF instead and also try the query Barney suggested. One of them should work.

Re: Java NullPointerException thrown in CFFTP tag

2008-04-29 Thread Dave Morris
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=1&catid=3&threadid=1353473&enterthread=y Try this. ~D ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Tri

Re: Compare digits as strings not integers.

2008-04-29 Thread Sonny Savage
Using compare() and compareNoCase() is really the right way. My only gripe is that the returned value isn't very intuitive. On Mon, Apr 28, 2008 at 5:57 PM, Bobby Hartsfield <[EMAIL PROTECTED]> wrote: > Just stick an alpha character in front of them when comparing or compare > len > AND value. >

Re: cfinput autosuggest froma database query

2008-04-29 Thread Andrew Scott
hehe Gone are the days when Application.cfm and onRequestEnd.cfm where used for header and footer to templates... Can I also suggest you migrate your Application.cfm to Application.cfc and begin to reap some new features it offers as well. Just a suggestion. -- Senior Coldfusion Developer

Re: cfinput autosuggest froma database query

2008-04-29 Thread Dominic Watson
> However, I realised !DOCTYPE was in my Applications.cfm, so excluding that > from not to affacting staffData.cfc seems to have resolved the problem Did you figure out *why* this causes the problem? Basically, the ajax javascript takes the output of the request (your remote cfc call) and uses t

Re: APPLICATION scope unknown in Application.cfc

2008-04-29 Thread Andrew Scott
I wouldn't call that a pseudo constructor. I do realise thats what has been adopted, does it make it right. No I don't believe so. Because technically it is not I do know that is what people are saying, and for the life of me I do not know why. Consider this then.. . Set some local v

Re: Application variable undefined in CFC

2008-04-29 Thread Andrew Scott
Ok encapsulation is not a rule that you need to adopt, to its fullest. It is a guide. If I choose to use the application scope to reduce memory, and not duplicate varables that is my choice of design. Encapsulation doesn't take that into consideration, however frameworks that are around do.

Re: Jrockit for eclipse

2008-04-29 Thread Tom Chiverton
On Monday 28 Apr 2008, Richard Cooper wrote: > So, I've made some assumitions and guessed that it would work in the native > environment. Do you reckon it would work with the cf jrun? I *believe* CF ships with a full version of the now defunct JRun, but could be wrong. I would *expect* the userna

Re: APPLICATION scope unknown in Application.cfc

2008-04-29 Thread James Holmes
No, he means the pseudo constructor, before and outside of any of the methods within Application.cfc. On Tue, Apr 29, 2008 at 1:56 PM, Andrew Scott <[EMAIL PROTECTED]> wrote: > pseudo constructor? > > I think, you mean defined as local variables to that component. -- mxAjax / CFAjax docs and ot

Re: Application variable undefined in CFC

2008-04-29 Thread James Holmes
And it still breaks encapsulation. I facade my remote calls so that the core object can work like it should, with the remote CFC passing in at instantiation the relevant things like datasource etc. The CFC containing the query shouldn't be using the Application scope directly. On Tue, Apr 29, 2008