Re: desktop application

2004-04-02 Thread Darron J. Schall
> No, I understand how to get from XML to the DB, but if the Flash file is > running directly on a client machine (CF not installed and no internet > connection) how do I get Flash to write the input to a text or xml file > for upload later? You can't get Flash to save a .txt file on the client on

CSS/XHTML/designing for standards was (Re: Browser wars)

2004-03-05 Thread Darron J. Schall
Not to throw more fuel on the fire, but I think developing for a browser is a bad move on the part of any developer.  There's no gauarantee that the browser will exist 5, 10, 20 years down the road.  Look at Netscape 4... everyone who "developed for" Netscape no longer does.  So what happened? They

Re: java FileReader speed in question?

2004-02-18 Thread Darron J. Schall
What database are you using?  If you're using SQL Server, you can just use DTS to import the data from the file.  It'll let you match up the fields/columns and everything, and it runs really fast. I ran into the same problem you did -- tried to parse the file, but it took forever.  The DTS alterna

Re: Flash remoting in Flash MX 2004 Standard?

2004-02-17 Thread Darron J. Schall
Flash Remoting is actually a server technology.  There is some client code necessary to enable the magic, but the only real requirement is that you have a server with Flash Remoting support.  If you're running CFMX, then you can do remoting out-of-the-box. If you get an error that the file could n

Re: CFDJ Spell Check Article this Month

2004-02-06 Thread Darron J. Schall
Sorry, I didn't have time to actually write that portion of the code.  The article itself was already longer than it should've been, so I just threw that out as an idea of "where to go from here." I think I would implement that by having a list of "ignored words."  The spell check engine reports b

Re: Java for ColdFusion Developers

2004-01-26 Thread Darron J. Schall
I wrote this article for the lastest issue of the CFDJ (January '04): http://www.sys-con.com/coldfusion/article.cfm?id=698 It's about how you can leverage Java to add free spell checking in your CF applications.  It might be something you could benefit from - I show how to create a Java wrapper t

Re: FYI -- CFMX6.1 Standard on eBay (NIB)

2004-01-22 Thread Darron J. Schall
Careful, it might actually be a pirated version.  See message from another mailing list: -- Be weary of Ebay. I got stung with 2 boxes of Flash5 a couple years ago and 3 boxes of Fireworks/Dreamweaver 4.0 Studio... shrink-wrapped, non-academic, and otherwise "comple

Re: Random "Could not connect to JRun Server" error

2004-01-22 Thread Darron J. Schall
: Random "Could not connect to JRun Server" error   On Jan 22, 2004, at 10:04 AM, Darron J. Schall wrote:   > Just to follow-up on this issue:   >   > We've believe we've narrowed down our instability problems to using   > the following custom tag:   >   > cfx

Re: CF Start a process - don't wait for it to finish

2004-01-22 Thread Darron J. Schall
If only it were as simple as:        mt = createObject("Component", "MyThread"); mt.start();  // start is a method that would be inherited from Thread But alas, it's not that simple.  CFC's can't inherit from java classes.. So... in this situation it might make sense to create a

Re: Random "Could not connect to JRun Server" error

2004-01-22 Thread Darron J. Schall
olves it for us.   Keep us all posted if you figure anything out.   -nathan strutz     -Original Message-     From: Darron J. Schall [mailto:[EMAIL PROTECTED]     Sent: Thursday, December 04, 2003 9:46 AM     To: CF-Talk     Subject: Re: Random "Could not connect to JRun Server" err

Re: real quick ot

2004-01-13 Thread Darron J. Schall
We use Visual Source Safe for versioning. It's great, especially if you make a lot of changes.  It keeps track of all of the changes for you and you never have to worry about storing back-ups of files or anything like that.  You can group a bunch of files together, git it a label, and delete the f

Re: CMS Solutions

2003-12-31 Thread Darron J. Schall
FarCry CMS - open source http://farcry.daemon.com.au/ Theres a "friendly-url" plugin that allows for easy-to-remember urls. -d   - Original Message -   From: Bailey, Neal   To: CF-Talk   Sent: Wednesday, December 31, 2003 11:53 AM   Subject: CMS Solutions   Does anyone know of a good

Re: Flash Remoting to CF

2003-12-19 Thread Darron J. Schall
9, 2003 2:43 PM   Subject: Re: Flash Remoting to CF   I'm not even sure why they bothered to run this.  I'm sure the situation will change once the memory leak is fixed.   - Original Message -   From: "Darron J. Schall" <[EMAIL PROTECTED]>   Date: Friday, December 19, 20

Re: Flash Remoting to CF

2003-12-19 Thread Darron J. Schall
  BTW: where's this performance test results in MXDJ?  URL?   Thanks, Mark   -Original Message-----   From: Darron J. Schall [mailto:[EMAIL PROTECTED]   Sent: Friday, December 19, 2003 2:19 PM   To: CF-Talk   Subject: Re: Flash Remoting to CF   If you're running ColdFusion MX or g

Re: Flash Remoting to CF

2003-12-19 Thread Darron J. Schall
If you're running ColdFusion MX or greater, you already have the capability to do remoting - it's built in to the server.  Macromedia sells a .NET version, and that is where the cost per CPU comes in. If you need a php or java version, check out http://amfphp.org/ and http://www.openamf.org Remot

Re: text editor for content manag. systems

2003-12-17 Thread Darron J. Schall
soEditor lite is good, and free. http://www.siteobjects.com/pages/soeditor.cfm -d   - Original Message -   From: Dan Farmer   To: CF-Talk   Sent: Wednesday, December 17, 2003 1:02 PM   Subject: text editor for content manag. systems   I'm looking for a good text editor for content man

cfstoredproc, status codes, trapping errors

2003-12-15 Thread Darron J. Schall
I've searched around on google but have come up empty.  I'm running SQL Server 2K and CFMX 6.1.  I have a stored procedure that handles database inserts.  It looks something like this (trimmed): INSERT INTO quiz_results (user_id, question_id, answer_text) VALUES (@user_id, @question_id, @answer_te

Re: XML and the Degree Sign

2003-12-09 Thread Darron J. Schall
You could try encoding the file as UTF-16, and mark it as so: <...> http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/xml21.htm http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/funca110.htm By using the right encoding, you don't need to worry about escaping/replacing anything. -d   

Re: XML and the Degree Sign

2003-12-09 Thread Darron J. Schall
Have you tried wrapping the text in a CDATA (character-data) block?     -d [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: Random "Could not connect to JRun Server" error

2003-12-04 Thread Darron J. Schall
Thanks for the suggestion, but this situation is a little different.  In my case the entire CFMX server dies.  None of the pages will serve out anymore - ColdFusion becomes completely unresponsive, and refreshing the page doesn't help.  To fix it, we have to stop IIS, restart ColdFusion, then resta

Random "Could not connect to JRun Server" error

2003-12-04 Thread Darron J. Schall
We recently upgraded our production environment from CFMX 6.0 (updater 3) to CFMX 6.1.  The upgraded process completely successfully on all 3 of our production boxes. However, on our "dominate" box (the one with the most scheduled tasks, web server 1), we keep getting this error: Server Error The

Re: java/cf

2003-11-20 Thread Darron J. Schall
float[] is a single-precision (32-bit) floating-point value array.  You might need to play around with some casting, as CF uses doubles internally, and Java won't automatically downcast double -> float for you. JavaCast("float", myVar), or something similar. -d [Todays Threads] [This Message]

Errors when using cfcontent for an attachment

2003-11-18 Thread Darron J. Schall
I'm using cfcontent to serve up a file not in the wwwroot folder of my site. I also have a script that emails me every time an error occurs on the site. This is the code used to serve out the file: This works well except for one thing -- if I cancel the file download, I receive an error emai

Re: Printable pages

2003-11-05 Thread Darron J. Schall
A good example/tutorial of different styles for different media can be found here: http://builder.com.com/5100-6371-1050180.html -d   - Original Message -   From: Jochem van Dieten   To: CF-Talk   Sent: Wednesday, November 05, 2003 10:02 AM   Subject: Re: Printable pages   Laura Schle

Re: Parse Undeliverable email addresses

2003-10-17 Thread Darron J. Schall
Not that this helps a whole lot, but here is some perl code to do it..  (for future reference, maybe?) http://search.cpan.org/~vparseval/Mail-Transport-Dbx-0.04/ -d   - Original Message -   From: Ben Densmore   To: CF-Talk   Sent: Friday, October 17, 2003 3:31 PM   Subject: Parse Undel

Re: Hashtable in CF?

2003-10-09 Thread Darron J. Schall
You can treat structs as HashTable... Something like this should work (not tested)    -d   - Original Message -   From: Owens, Howard   To: CF-Talk   Sent: Thursday, October 09, 2003 7:24 PM   Subject: Hashtable in CF?   Well, I don't know if a hashtable is exactly what

Re: Java Custome Tag

2003-09-30 Thread Darron J. Schall
>You don't necessarily need to use CFX's, you can integrate a lot of java >class files just by using cfobject. Just a quick example of leveraging a "built-in" Java class in CFMX: st = createObject("Java", "java.util.StringTokenizer"); st.init("This is my a|b String", " |", false); // call the

CFMX 6.1 smalldatetime problem

2003-09-24 Thread Darron J. Schall
Using SQL Server 2k and CFMX 6.1 on a Win2k box. Has anyone had any problems returning smalldatetime columns from a database? I keep getting this error: Error Executing Database Query. [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC SQL Server Driver]Numeric value out of range.

Re: Using a CFC as the action of a form.

2003-09-23 Thread Darron J. Schall
> Is that an over simplification? Am I missing anything fundamental? It's a simplification.. yes. The model is a "single database entry" entry, so to speak. What I was hinting at with my example was an address book.. The model is a cfc containing methods for manipulating a single "person" in th

Re: Using a CFC as the action of a form.

2003-09-23 Thread Darron J. Schall
I use CFC's for processing form input (though I always structure my apps with the MVC design pattern...) Something like this (this may or may not be useful for you.. but I hope it is!): model = createObject("component", "path.to.model.

Re: Determining Word Count...

2003-09-23 Thread Darron J. Schall
#word#: #wordStruct[word]# -d ~| Message: http://www.houseoffusion.com/lists.cfm?link=i:4:138173 Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.co

Re: Speel checkers? ( WAS RE: Alternative QYSIWYG editors)

2003-09-15 Thread Darron J. Schall
I've created an open-source spell checker wrapper implementing Jazzy. I'm currently in the process of writing an article for the CFDJ zine about it and the process I went through. The code hasn't been released yet, but will be once I finish the article (sometime between now and the end of October

Re: [OT] ShittyCode.Com (Launched new site last night, feedback please!)

2003-09-11 Thread Darron J. Schall
Same deal here: We have xxx1.my.com for development, xxx2.my.com for staging, and www.my.com for production. We wrote a UDF that returns the sub domain based on the ip address. debugging output here! It's also useful in changing from http to https and ensure that the domain is right.. https:/

Re: Detecting Excel

2003-08-29 Thread Darron J. Schall
Pop up a javascript window asking them if they have excel installed? In all honesty, yes, it should be possible. See this page for a little more detail, below is an applicable snippet. http://beta.experts-exchange.com/Web/Web_Languages/ASP/Q_20377059.html ---[ from the above link ]--- Yes, you C

Re: The Ongoing Saga of the Dead Session Variable

2003-07-31 Thread Darron J. Schall
(joining this thread late, sorry if this is a repeat suggestion) Try referencing it like this: Dashes aren't valid in variable names. Example: one-two Is that "one" minus "two" or a variable "one-two"? It's ambiguous, so dashes are made invalid in names, which is why you get the "must be a

cffunction returntype="string"

2003-07-29 Thread Darron J. Schall
Can someone tell me why this happens... am I on crack, or is this a CFMX bug? "#test()#" "#a#" Why is there a leading space when I just output test(), but no leading space if I assign the result to a variable and output the variable? Additionally... "#trim(test())#" ...STILL produces

Re: wikipedia

2003-07-29 Thread Darron J. Schall
http://www.seedwiki.com http://www.seedwiki.com/page.cfm?doc=theseedwikibook&wikiid=90 Requires SQL Server, as the installation is a detached SQL databse, and all data access is done through stored procedures. I've corresponded with the author on many occasions - he's very good at anyswering emai

Re: CFRETURN has incorrect documentation

2003-07-28 Thread Darron J. Schall
>From a computer science perspective, it's best to only have one exit from a function because it makes proving code correctness much much easier (i.e. a block of code has only one entry point and only one exit point). With that said, it's really only a matter of personal preference (when was the l

RE: Jsp Vs Cfm (CFMX) -- Test Code

2002-09-17 Thread Darron J. Schall
that does NOT require any other software and it will still be faster right? So whats your argument to your CLIENT for using CFMX just "RAD"? Joe > -Original Message- > From: Darron J. Schall [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 17, 2002 4:12 PM >

Re: textarea

2002-09-17 Thread Darron J. Schall
The following should be of some help to you function limitArea(){ content = document.form_name.text_area_name.value; len = content.length; if (len > 500) { content = content.substr(0,500); alert('Your input is limited to 500 characters.'); document.form_name.text_area_nam

Re: Jsp Vs Cfm (CFMX) -- Test Code

2002-09-17 Thread Darron J. Schall
Just chiming in here... If you're doing some code that you know can be optimized (by looking at the java file produced by CFMX), then doesn't is make sense to just optimize it yourself in java? I would imagine that if you ARE looking at the java code, then you at least know enough to get around.