RE: Can I use CF 6.1 and CF 7 on the same machine?

2006-05-30 Thread Dan G. Switzer, II
Nathan, Here are some instructions I used for IIS6: http://blog.pengoworks.com/blogger/index.cfm?action=blog:475 -Dan >-Original Message- >From: Nathan Drury [mailto:[EMAIL PROTECTED] >Sent: Monday, May 29, 2006 9:38 PM >To: CF-Talk >Subject: Re: Can I use CF 6.1 and CF 7 on the same mac

RE: activedit and FireFox?

2006-05-26 Thread Dan G. Switzer, II
>From: Mark A Kruger [mailto:[EMAIL PROTECTED] >Um Dumb question but why not just use IE for this task? One reason I've looked at this tool in the past is that it creates pure XHTML. That's a huge plus in my book. The problem with both the built-in IE RTE control and the Gecko-based one is tha

RE: best design for a store nav which will change regularly

2006-05-23 Thread Dan G. Switzer, II
Gilbert, You can always use a manual caching system. If your application controls all aspects of the site (both user interface and administration) then you programmatically know when the cache needs to be modified. How you implement really depends on the size of data you're dealing with and the s

RE: Passing Java Applet vars back to CF

2006-05-17 Thread Dan G. Switzer, II
Mark, >Using CFMX7 on Win2003. I have a java applet embedded in a CF page >(page1.cfm) (using object/embed tags) which performs a file upload. Upon >successful upload (no errors thrown), I redirect to a second CF page >(page2.cfm) to perform additional routines on the FORM vars which should be >

RE: coupons inc script - convert VB to CF UDF

2006-04-25 Thread Dan G. Switzer, II
Jim, >I'm working on a project where I need to send people to Coupons Inc to >get a coupon. They provided an alogrithm which generates a key used >in a URL which allows tracking, etc. One thing to remember is arrays in VB start at zero and arrays in CF start at one. I'd change your "vob" varia

RE: MX7 Verity Limitation

2006-04-25 Thread Dan G. Switzer, II
Rob, >Thanks for the info, Dan. We have projects in the queue to move to >categories, but like all queues, we won't get to it until we get to it >(or until someone makes is a /much/ bigger priority than it is right >now). I was hoping to find a quick fix. I'll take a look at what I >have in the

RE: MX7 Verity Limitation

2006-04-25 Thread Dan G. Switzer, II
Rob, >Is anyone aware of a Verity limitation in MX7? I know there were >extreme changes, but I have an application that indexes multiple >collections simultaneously by kicking off each index on a separate >thread. Essentially, one template is called which loops over the >available collections an

RE: Directory watcher for standard edition

2006-04-19 Thread Dan G. Switzer, II
>I use a batch file that calls wget for win32 to call the template all run >from the service You can also use curl (http://curl.haxx.se/.) I prefer curl because it handles more protocols (FTP, FTPS, TFTP, HTTP, HTTPS, TELNET, DICT, FILE and LDAP) than wget. -Dan

RE: Directory watcher for standard edition

2006-04-19 Thread Dan G. Switzer, II
Chris, >So, how would I call my cfc from a cron job or win service? You can always build a separate CFML template that invokes the methods in your CFC--that way you can re-use your CFC, but still build something that works in CF Standard. You could then have the template compare the directory re

RE: CF Page Won't Stop Executing

2006-04-19 Thread Dan G. Switzer, II
Denny, >Seems to be hit and miss. I've got a long running page that uses cfflush, >sometimes it stops running (when browser go away), mostly it doesn't. > >Maybe the confusion is in the socketWhatNot error or whatever, that one Thanks for the information. That's pretty much what I figured, but th

RE: CF Page Won't Stop Executing

2006-04-19 Thread Dan G. Switzer, II
>I realize that the STOP alone doesn't have an effect on the currently >executing page - but didn't CF (pre-MX I guess) used to stop the current >request when it saw a new request from the same browser? I'm pretty sure >that I used to be able to stop runnaway pages by hitting STOP and then >browsi

RE: Q of Q crazy problem

2006-04-19 Thread Dan G. Switzer, II
Ben, >I am having this really strange problem involving a query of queries that I >have never encountered before. Basically I am building a query with the >QueryNew() method: > > ... clip ... > >However, the following all cause error: > >ArrayLen( arrCriteria ) /> > Max( 5, REQUEST.SearchQuery[ "

RE: Gzip content from a variable

2006-04-19 Thread Dan G. Switzer, II
Gabe, >I have been using cf_gzip for a while but would like to improve >performance. >Right now it reads a file, then writes a gzip'd file. Then I have to read >that file and dish back to user. > >I would like to just pass in the content as a variable, then get back a >variable with the gzip'd dat

RE: CF Page Won't Stop Executing

2006-04-19 Thread Dan G. Switzer, II
Reed, >Am I in the middle of a brain-burp, or is it not in fact the case that CF >used to stop executing the current page if the user hit their stop button >and opened a new CF page? I have pages that continue to execute even after >the user hits STOP and REFRESH - so now I have a couple of copie

RE: Evaluate vs ?

2006-04-18 Thread Dan G. Switzer, II
Matt, >So from Massimo and Ray's suggestions, it can it work. > > >returnvariable="theFN" >/> >#theFN# > >No errors and output as expected. > >But it seems the other should be possible too? Have I stumped the >CF-Talkers? You could always wrap the tag into a UDF so you could use it from a cfscri

RE: Evaluate vs ?

2006-04-18 Thread Dan G. Switzer, II
Matt, >What about this one: > > > > > >Basically it is calling a setter method based on what is in the a >structure. >The cfset would evaluate to myObject.setFirstName('Matt') This is untested, but you should be able to do: -Dan

Async Processing in CFMX 7 Standard...

2006-04-17 Thread Dan G. Switzer, II
I kind of remember someone blogging a method of doing async processing using CFMX 7 Standard using some Java wrappers. Am I imagining this? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237984 Archives: http://www

RE: Pause?

2006-04-16 Thread Dan G. Switzer, II
>If I wanted to say have a template pause for 10 seconds, how would you do >that, I mean, I can think of a couple of looping ways that would accomplish >about the same thing, but I remember seeing a Java class that does this >properly. > >Ideas? In CFMX, you can use: oThread = createObject("java"

RE: 19 >= 19 - query error

2006-04-14 Thread Dan G. Switzer, II
Rick, >what the heck is this? > >19 >= 19 > > >The error occurred in >E:\Inetpub\wwwroot\tools\email_responses\respond.cfm: line 20 > >18 : A.*, B.name as PRMLNAME >19 : FROM dbo.results A left join dbo.results2 b on a.fromAddress=b.email >20 : where id= >21 : >22 : The error may

RE: CFCHART & blank graphs

2006-04-12 Thread Dan G. Switzer, II
Oðuz, >I have an NVidia GeForce 7800 on my local PC and I have always current >NVidia driver. > >We have problem on one of our DELL PC which has ATI FireGL V3100 as graphic >card with original OS & driver. The problem would potentially be the server's video drivers--not on your local PC. General

RE: CFCHART & blank graphs

2006-04-12 Thread Dan G. Switzer, II
I wonder if this is a video driver problem--often strange problems with image libraries are related to the video driver in Windows. Are you using the default system driver at the default color depth? Trying boosting the color settings up and if you have one, use a video driver made for your video

RE: Vertiy collections from 5 to 7

2006-04-07 Thread Dan G. Switzer, II
Martin, >I have to upgrade an application from CF 5 up to CFMX 7. This >application uses a load of verity collections. Has anyone had to do >this before and did they run into any problems? In my experience, Verity in CFMX7 does not work well with a lot of collections. One of the changes in CFMX

RE: CFWDDX and Component Objects

2006-03-30 Thread Dan G. Switzer, II
Tim, >Thanks for your replies. Do you have any tips to create this serialize >function? My CFC has some instantiation variables set (this.numberitems, >this.cartType, etc) and those are really the only variables I want to >serialize. I tried using CFWDDX with an input of "#variables#" and again >w

RE: Would this cause a race condition or some other conflict?

2006-03-30 Thread Dan G. Switzer, II
Troy, >structInsert(application,"sessions",newStruct()); >structInsert(application.sessions,session.sessionid,structNew()); >structInsert(application.sessions[session.sessionid],"userid","mrFusion"); >structInsert(application.sessions[session.sessionid],"created",now()); >structInsert(application.

RE: CFWDDX and Component Objects

2006-03-30 Thread Dan G. Switzer, II
Tim, >I have a component object stored in the session scope. I am attempting >to use CFWDDX to store this in a database for logging/other purposes. > > > > >This actually seems to work -- I can insert the string into the database. >However, when I want to reverse the WDDX call to look at the packe

RE: DB Pagination Question

2006-03-29 Thread Dan G. Switzer, II
Andrew, To add to what Adam said, you can even do: select *, (select count(*) from table) as totalRecords from table To grab the total number of records as a column. NOTE: You want to try to avoid using "*" in your select statements--I'm using it for brevity. -Dan >-Orig

RE: DB Pagination Question

2006-03-27 Thread Dan G. Switzer, II
You can do it with w/pure SQL server, but it can be pretty expensive depending on the query. The idea is to do: select top 10 * from ( select top 40 * from table order by

RE: JavaScript Scoping Gurus?

2006-03-21 Thread Dan G. Switzer, II
Jim, What I've always done to counter this problem is to create an API class--which I use to monitor instances of each class and hold "global" functionality. For example: function _HRPApi(){ this.instance = []; } _HRPApi.prototype.register = function (obj){ var iInstance = this.i

CFMX 7: GetPageContext().forward() form scope bug, again?

2006-03-15 Thread Dan G. Switzer, II
I'm trying to use the GetPageContext().forward() method in CFMX 7 and it doesn't seem to be passing any scope other than the Request. The Form scope is coming up blank. I know this was an issue in CFMX 6, but then was fixed. However, I'm running the following templates on my CFMX 7 Developer Editi

RE: CF 7 upgrade BAD!

2006-03-14 Thread Dan G. Switzer, II
Bryan, Have them download and install a trial version of SeeFusion: http://www.seefusion.com/ (It'll run for the first 2 hours of the server's uptime and then stop reporting stats until you buy a license. This will be more than enough time to try to troubleshoot.) Start monitoring the "Completed

RE: Javascript character errors outputting HTML

2006-03-09 Thread Dan G. Switzer, II
Chris, >So the tag that creates each node looks something like this: > #Name#> Try: #Name#"> The double quotes ("") are escaped within CF and are output as a single quotation. -Dan ~| Message: http://www.houseoffusion.com/li

RE: Why do my selects in an iFrame do this?

2006-03-07 Thread Dan G. Switzer, II
Rick, >It happens consistently, even after a reboot. > >It's probably just the way I'm using DIV's or >something. The other formfields (regular >text inputs) aren't a problem at all...but the >selects disappear from the display during >and after scrolling of the iFrame until I run >the mouse over

RE: Why do my selects in an iFrame do this?

2006-03-07 Thread Dan G. Switzer, II
Rick, >Wow! You're right! I've got IE 7 on my laptop >and the app works great in it! Well, this client >will be updating to IE 7! > >Thanks! I was already making my way through >the dispare of the thought of a redesign! Now the >clouds have parted! Yes! > >You have made my day! I will say I

RE: Why do my selects in an iFrame do this?

2006-03-07 Thread Dan G. Switzer, II
>SELECT elements are rendered by the OS, not the browser. So you can't >draw on top of them. If you need to have something drawn on top of >the space they occupy, you need to hide the SELECT element (display: >none) manually, and then make it visible again (display: block) when >the content above

RE: CF7 100% CPU usage

2006-03-03 Thread Dan G. Switzer, II
>Just installed CF7 on our Win2003 server a couple of days ago. Since then >we've been having trouble with our site running slowly and certain large >threads on our (in-house developed) discussion board timing out completely. > >I checked the CPU usage and, after a little experimentation, realized

RE: How do I prevent "stuck" threads?

2006-02-27 Thread Dan G. Switzer, II
Jon, >I just installed See Fusion... it's totally nasty. It shows me what >ColdFusion is doing at runtime. I'm able to tell that I occasionally get >some threads that become "stuck". For example: > >/home/index.cfm?event=displaySectionpage&id=292803 >

RE: cfloop over a query inside cfoutput over a query

2006-02-22 Thread Dan G. Switzer, II
>okay good, so I wasn't going crazy. CF can't reference variables in the >current row of a a parent query loop from within a nested query loop >(but Bluedragon can) Inside of another query, CF will treat the variable as simple string--much like it would outside a cfloop query loop. There's 2 ways

RE: Javascript Calculation Problem

2006-02-17 Thread Dan G. Switzer, II
>ParseInt doesn't always work properly. I tried that and parseFloat and it >kept erroring out. The only solution we found was to multiply by 1 or >subtract 0 Some versions of IE have problems the parseInt() function--they will at times incorrect choice the base format of the number. You can get

RE: OT: ColdFusion and Flex

2006-02-13 Thread Dan G. Switzer, II
Aaron, >If I read it right that only works one way, right? So if someone else is >working on the same site and updated files on the server the only way you >would know is by manually updating the files on the laptop? That is correct, but I'd really recommend that each developer have their own "w

RE: OT: ColdFusion and Flex

2006-02-13 Thread Dan G. Switzer, II
Aaron, >I just worded that wrong originally. My intention was that maybe something >Eclipse based would be offered by Adobe as a CFM IDE and the DW can still >be >offered to the visual based crowd. I have always used DWMX solely for my >non-visual work, except when we have network issues and nee

RE: input box selection

2006-02-07 Thread Dan G. Switzer, II
Jason, I believe the problem is with your line-height CSS declarations for the input element. Check out this URL: http://www.richinstyle.com/bugs/ie5b.html Look for: Bug 5: line-height and padding destroyed on INPUT type="text" and type="password" This appears to be the problem you're h

RE: ValueList and Dynamic Query and Column

2006-02-03 Thread Dan G. Switzer, II
Michael, >I think I remember this being a problem, but I'm trying to create a >value list from a dynamic query and column. > >Something like this: > >function(query, column) >{ >return valueList(query.column); >} > >That's the gist of it, but it doesn't work. Any suggestions? Here's my blog

RE: Set session variables in JS?

2006-02-01 Thread Dan G. Switzer, II
Pine, >> Hi Dan, >> >> Can you elaborate a bit on point 3 -> Use Image()object in JS to post to >> a fixed URL. I know how to do the other 3 (Form, Hidden fields/iframe >> and AJAX) but not sure how to do on point 3 that you mentioned. > >Here's my method for that: > >http://www.depressedpress.com

RE: Set session variables in JS?

2006-02-01 Thread Dan G. Switzer, II
Eric, >Is there a specific or easy way to set session variables while in the >middle of a javascript routine? I can't seem to recall...thanks. JavaScript executes on the client where as CF executes on the server. You can't have JavaScript directly affect the outcome of the current running templa

RE: CSS Newsgroup? (OT)

2006-01-20 Thread Dan G. Switzer, II
Michael, >> Why isn't it accurate? You should be able to translate RGB to Hex just >> fine. >> > >The color I put into the script isn't exactly the same as what comes out >the >other end. I don't really understand how the script works, though. This function should work correctly: http://www.cfli

RE: XSS through frames?

2006-01-19 Thread Dan G. Switzer, II
Russ, >So cross-frame scripting is not a problem? I'm not talking about phishing, >but just framing another site. There is no way to access/modify a frame >that you've opened if it's from another domain? > >Somebody mentioned bugs. Are there any current browser bugs that don't >enforce these gu

RE: XSS through frames?

2006-01-19 Thread Dan G. Switzer, II
>So I can have a frame load up amazon.com and check if they're on the page >where they put in the credit card information and do the following: a. >read the information from the fields directly (would have check it every >few seconds and submit to the home server through ajax or something) This is

RE: CSS Newsgroup? (OT)

2006-01-19 Thread Dan G. Switzer, II
Michael, >I'm in a situation where I'm receiving an RGB value. I can easily use the >rgb(x,x,x) CSS format. Or, as I am currently doing, I can use a 5-year-old >script I have that turns RGB into HEX. It's not 100% accurate, of course. Why isn't it accurate? You should be able to translate RGB

RE: Detecting if a Verity Collection Exists in CFMX7...

2006-01-12 Thread Dan G. Switzer, II
>admin API perhaps? It seems as if the admin may use the command. I've got 64 collections on my box and this tag takes like 20 seconds to run. It takes forever for the admin page to load. I looked on CFLIB.org for an existing UDF and found one, but it uses the action as well--which takes way to

Detecting if a Verity Collection Exists in CFMX7...

2006-01-12 Thread Dan G. Switzer, II
I'm need to detect if a collection exists and if it doesn't, then I need to create the collection. In previous versions of CF, if you performed the on a collection it would throw an error. This meant you could just wrap the code in a cftry and than use a cfcatch to skip processing. In CFMX7 they

RE: Accessing Network Drives

2006-01-11 Thread Dan G. Switzer, II
Chad, >Here is my setup, I have Server 1 that has an external hard drive with >images on them, I have a network drive on Server 2 that is mapped to Server >1 external hard drive as drive F:\. > >1) Is it possible to run on that F:\ drive on Server 2? If >so what would the code line look like? >

RE: SVN/CFEclipse question

2006-01-11 Thread Dan G. Switzer, II
Bonnie, >I'm new to using CFEclipse. We're using Rational ClearCase as our source >control and Dreamweaver as our. IDE. We would like to switch to >CFEclipse except for one handy feature in Dreamweaver that would be hard to >live without. Could someone make a recommendation on how to use CF

RE: Custome Message Box?

2006-01-11 Thread Dan G. Switzer, II
>Your only option is an HTML Modal window - which retains focus. > >Search for "Modal + HTML + Window" in Google. should be loads of examples. A couple of notes: 1) True modal windows are only available in IE in Windows. Firefox/Gecko now has a "modal" parameter for it's window.open() command, bu

RE: Avoiding copying by value

2006-01-05 Thread Dan G. Switzer, II
Terry, >That's what I used to think, too. But take the following code: > > > > > >That cfdump works. This shows that the whole query HAS been copied to Q. All that shows is session.qncache_qn is just a reference to an internal CF hash. The structDelete() function is just remove the "qncache_qn"

RE: CF Processing Extensions other than CFM

2005-12-22 Thread Dan G. Switzer, II
Eric, >Has anyone had any experience setting up IIS6 with CFMX to process >extensions other than .cfm, say like .xyz? > >I edited the web-xml file and added the servlet mapping, and then addded >to the configuration in IIS that extension and pointed it to the same >dll as the cfm was. > >I generic

RE: Trying this again w/o the suject hijack (determinig if the refresh button has been clicked)

2005-12-22 Thread Dan G. Switzer, II
Ryan, >Well yeah, you use frames, theres lots of things that go out the >window! (sorry, im anti frames, I never consider them) Even without frames, it still doesn't work if people have multiple windows/tabs open to your site. Considering I almost always have multiple tabs open on a site, this so

RE: Trying this again w/o the suject hijack (determinig if the refresh button has been clicked)

2005-12-22 Thread Dan G. Switzer, II
Ryan, > >http://localhost/mypage.cfm?foo=bar"; /> > > > Page was refreshed > > Page was not refreshed > > > There's a lot of instances where that logic isn't true. If you're site is using frames or the user has multiple windows open, this logic fails. Also as you stated, if a page links back

RE: Trying this again w/o the suject hijack (determinig if the refresh button has been clicked)

2005-12-22 Thread Dan G. Switzer, II
>Obviously... but what would you be comparing that to? You'd have to keep track of each UID that's been visited. You wouldn't have to track the UIDs given out, just the ones visited. If a UID is discovered that already exists, then the page must have been a refresh. Like I said this very, very kl

RE: Joining two xml's?

2005-12-22 Thread Dan G. Switzer, II
Sarah, >A rookie question no doubt: Not really, as there isn't a straightforward way via straight CF to do this. >Using XmlElemNew(), I can't seem to do this without >overwriting all the child elements completely. > >I.E. How do you join this xml: > > > > 5 > 5 > > > >with this x

RE: Trying this again w/o the suject hijack (determinig if the refresh button has been clicked)

2005-12-21 Thread Dan G. Switzer, II
Bobby, >Wouldn't the flaw be that the refresh would generate a new UID... No. Because the UIDs would be in the links, so that would stay the same between refreshes. -Dan ~| Find out how CFTicket can increase your company's c

RE: Trying this again w/o the suject hijack (determinig if the refresh button has been clicked)

2005-12-21 Thread Dan G. Switzer, II
Scott, >Does anyone know of a way to programmatically determine if the browser's >refresh button has been clicked? There's really no way to do that. There's nothing that differentiates a "refresh" from a first time request. They both pass in the same header information to the server. Any kind of

RE: Whats wrong with this friendly URL idea?

2005-12-21 Thread Dan G. Switzer, II
>I ran thru that procedure exactly and got the same CF 'file not found' >error. Just to make sure I pulled the path from an Explorer window >and it blew up as well, so it wasn't a spelling error. Instead of using CFHTTP or CFINCLUDE, have you tried doing a server-side forward? getPageContext().

RE: Could anyone tell me what this error means?

2005-12-21 Thread Dan G. Switzer, II
Che, >Error Executing Database Query. [Macromedia][SQLServer JDBC >Driver][SQLServer]Internal Query Processor Error: The query processor ran >out of stack space during query optimization. >The error occurred on line 96. > >Win 2k3, IIS6, CFMX 6.1 I blogged about this recently: http://blog.pengowo

RE: Displaying data from XLS file

2005-12-21 Thread Dan G. Switzer, II
John, >I have a datasource created with XLS as below: > >SELECT * >FROM [HRJobPostings$] >IN 'd:\\Inetpub\wwwroot\HRJobPostings\HRJobPostings.xls' 'EXCEL 5.0;' > >In a row for the column, "Additional", it has: > >"Experience should also include: configuring and monitoring of Cisco >switches, route

RE: Known Bug in CFWDDX CFML2JS Variable Name Case?

2005-12-20 Thread Dan G. Switzer, II
Michael, >s1 = new Object(); s1["camelcase"] = "key is stored in uppercase"; >s2 = new Object(); s2["camelcase"] = "key is stored in camel-case"; Like I said, in the long run I think it's better if case doesn't carry over and that you just expect the JS keys to be lowercase. It gets to confusin

RE: Known Bug in CFWDDX CFML2JS Variable Name Case?

2005-12-19 Thread Dan G. Switzer, II
g it was a >typo. ;-) > >Thanks > > > > > > > > > > > > > > >toplevelvariable="myFamily"> > >-Original Message- >From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] >Sent: Monday, December 19, 2005 3:50 PM &

RE: Known Bug in CFWDDX CFML2JS Variable Name Case?

2005-12-19 Thread Dan G. Switzer, II
Michael, What's your CF code look like? Note that CF handles the following differently: If you use the dot notation, then CF stores the key in all upper case. If you use the bracket notation, CF will keep the case. You can verify this using . Lastly, note that the CFDOCS state that "query col

RE: AJAX related: onClick grab all form elements

2005-12-16 Thread Dan G. Switzer, II
Bryan, >Thanks for that DanI'm not sure I want to get qForms in the mix if all >I'd >use it for was that set of functions ;-).but good to know it's aout >there. The point of qForms is that it's an API to ease dealing with interfacing JavaScript and HTML forms. There's lots of stuff qForm

RE: AJAX related: onClick grab all form elements

2005-12-16 Thread Dan G. Switzer, II
Bryan, > How would you loop through the struct to access key and keyvalue once >you got this, structOfAllFields = qFormAPI.getFields();? You can loop through an associated array (aka structure) in JavaScript the same way you do with CFSCRIPT: for( key in structOfAllFields ){ alert(key

RE: AJAX related: onClick grab all form elements

2005-12-16 Thread Dan G. Switzer, II
Bryan, qForms has this functionality: You can do: oForm = new qForm("frmName"); // return all form fields in the document.frmName form structOfFields = oForm.getFields(); // return all form fields in every form object in the DOM structOfAllFields = qFormAPI.getFields(); -Dan >-Original Mes

RE: Love flash in CFCHART but hate...

2005-12-16 Thread Dan G. Switzer, II
:04 AM >To: CF-Talk >Subject: Re: Love flash in CFCHART but hate... > >I think you posted the wrong URL. That URL led to a tech note on memory >usage. > >On 12/15/05, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote: >> Steve, >> >> >You can configure a _lo

RE: Data Exchange Languages: What to do about empty values.

2005-12-15 Thread Dan G. Switzer, II
Jim, >How should a data exchange language deal with this? With a typed cell but >no value? For example > >In WDDX you might see: > >In YODEL you might see: > >In XML-RPC you might see: The problem w/any data exchange language is your potentially exchanging data between 2 different languages

RE: Love flash in CFCHART but hate...

2005-12-15 Thread Dan G. Switzer, II
Steve, >You can configure a _lot_ of stuff via the cfcharts command line >designer program. It is in your cfusion/bin folder I believe. If you >search Tim Buntel's blog, he wrote an entry about it a few months >back. > Here's some info I blogged a while back: http://www.macromedia.com/cfusion/kn

RE: How do you access XMLAttributes in order of appearance?

2005-12-09 Thread Dan G. Switzer, II
Alex, >I am on a project that requires me to loop over the attributes on an XML >element in the exact order that they appear. For example: > >[ELEMENT name="Alex" cellphone="555-555-"/] > >When you access the XMLAttributes struct when you XMLParse the string, the >'cellphone' attribute is pres

RE: Formatted Excel

2005-12-07 Thread Dan G. Switzer, II
>I've used HSSF (part of the Apache POI project) for several years to >accomplish what you're looking for. I have a few posts about it found here: > >http://www.d-ross.org/index.cfm?objectid=9C65ED5A-508B-E116- >6F4F7F38C6AE167C > >and more here: > >http://www.d-ross.org/index.cfm?objectid=9C65ECEC

RE: Keeping a session alive

2005-12-02 Thread Dan G. Switzer, II
Bobby, >Just out of curiosity... can a frame trigger a js event in another frame? Provider there are the same domain (which is usually the case,) yes. Just use the "parent" object to reference the document object that created the . >Just curious since I still refuse to use one :) > >That's the s

RE: Keeping a session alive

2005-12-02 Thread Dan G. Switzer, II
Bobby, >1) I absolutely REFUSE to use a frame or Iframe whatsoever. Then you like making life hard. ;) While an frame would be the most compatible, and IFRAME should really work in every modern browser (doesn't work in Netscape 4, but if you need that you could use an ILAYER tag for NS4.) Seriou

RE: GIF Pipes/AJAX/async gateway

2005-11-28 Thread Dan G. Switzer, II
Bryan, You might want to check out the Taconite project: http://taconite.sourceforge.net/ One thing I do really like about this AJAX implementation is that you continue to work with what you already know--HTML (well, technically XHTML.) What makes this library a little different from most AJAX l

RE: Prevent form submission if radio button and text field are not filled out

2005-11-23 Thread Dan G. Switzer, II
Andy, You can do this very easily in qForms using a dependency: // this says if the "pay" field is equal to "personal_credit", than // the "trooptaxnumber" field is required objForm.trooptaxnumber.createDependencyTo("pay", "personal_credit"); You can see an example of this on this form: http://w

RE: qForm issue

2005-11-09 Thread Dan G. Switzer, II
>The only modification I've done is with the qform.js file under >function _f_throwError(error) > >I have added these two lines in that function just to display inline error >msgs in the form. > >document.getElementById(id).style.visibility = "visible"; >document.getElementById(id).style.display =

RE: Tools to convert old Ami Pro v3 documents?

2005-11-09 Thread Dan G. Switzer, II
Howie, >Did you try this one: > >http://support.microsoft.com/Default.aspx?kbid=208863 Yes, but as stated in my e-mail, it does not correctly open Ami Pro files that have images/drawings in them. -Dan ~| Logware (www.logware

OT: Tools to convert old Ami Pro v3 documents?

2005-11-09 Thread Dan G. Switzer, II
Sorry for the slightly off-topic post, but I've got a client who's trying to convert a bunch of old Ami Pro v3 documents to Word (or at least some other modern day format.) Ami Pro v3 is an older Dos/Windows 3.1 application by Lotus that no longer runs under the new operating systems. While Wor

RE: deleting directories older than say 6 hours

2005-10-20 Thread Dan G. Switzer, II
>I want to delete some temporary directories but only older than a >certain number of hours (say 6) >The actual deleting is no worries - it just that I can't work out >to only select/delete directories older than x hours. Here's a function I wrote to purge old files. Use the createTimeSpan() funct

RE: Dedicated Server Recommendations

2005-10-10 Thread Dan G. Switzer, II
>I've got a dedicated with CT and I've never had a single problem. Same here... ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48

RE: FTP Server

2005-10-10 Thread Dan G. Switzer, II
Charlie, >Now, I'll be the first to admit that I'm not a network guy/system >administrator. Could I have set it up in an insecure manner? Sure. >It's possible. But I've also used bulletproof, IIS's FTP (bleh), and >filezilla...all with no issues (that I'm aware of, at least) :) > >So in my mind

RE: [SOT] Better WDDX JavaScript serializer/deserializer functions?

2005-10-10 Thread Dan G. Switzer, II
Jim, >I'm not sure if anybody actually manages the site at all anymore. But if >so it would probably be Nate or Sim. Yeah, I wonder if either of them is monitoring the site. Neither is as involved with the community as they used to be. I know Sim made the changes to the last version of the WDDX.

RE: FTP Server

2005-10-10 Thread Dan G. Switzer, II
Charlie, >If I have the choice of 'product A' or 'product B', and product A is >documented as being overwhelmingly targeted by hackers, I think that >should be a factor in my decision. But hey, to each their own and >all. I think you may be misreading some of the Serv-U quotes. It's not "targete

RE: [SOT] Better WDDX JavaScript serializer/deserializer functions?

2005-10-06 Thread Dan G. Switzer, II
Jim, >But the library was browser compatible for Netscape 3... there is an Which is why in my original post I said they wrote for maximum compatibility. You said (and I summarize) "Actually no... there was no other way to do it." I was just pointing out that there were other ways to do it, but

RE: [SOT] Better WDDX JavaScript serializer/deserializer functions?

2005-10-05 Thread Dan G. Switzer, II
Jim, >> The reason the wddx.js stuff is so slow is because it's parsing the XML >as >> a >> string. The larger the string the slow it is. It was written this way for >> maximum browser compatibility. > >Actually... no. ;^) > >It was written that way because at the time there was no other way to w

RE: [SOT] Better WDDX JavaScript serializer/deserializer functions?

2005-10-04 Thread Dan G. Switzer, II
The reason the wddx.js stuff is so slow is because it's parsing the XML as a string. The larger the string the slow it is. It was written this way for maximum browser compatibility. Since you're relying on AJAX (which would utilize an XML object within the browser,) you might be able to get a spee

RE: Best way of determining CF Datatypes

2005-09-27 Thread Dan G. Switzer, II
Jim, For Boolean, you could do something like: You could change the isBoolean() and use isSimpleValue() instead if you think it provides better performance. Not sure if one provides better performance over the other. -Dan >-Original Message- >From: Jim Davis [mailto:[EMAIL PROTECTED

RE: CFCHART X-Axis Labelling...

2005-09-14 Thread Dan G. Switzer, II
Tom, >Thanks for the hard work. It'll help me, too. I didn't know about the >"isHideOverlapped" attribute, and that's obviously key. I've been playing around with it to see if I should just create a wrapper for another Java API or whether CFCHART will do the trick. Or even if I should write anoth

RE: CFCHART X-Axis Labelling...

2005-09-14 Thread Dan G. Switzer, II
>Is there a way to get each item label to show up when using CFCHART? It >seems to want to skip some items. I need it to show each label item. Ok, after playing around w/the WebCharts3D Designer for a couple of days off and on, I finally figured out how to get all the labels to show up. To fix th

RE: CFCHART X-Axis Labelling...

2005-09-09 Thread Dan G. Switzer, II
Tom, >I was afraid of something like that. But I didn't know how severe the >problem was in your case; I was really just suggesting that you try >expanding the chart to make sure that the values were not "missing," but >simply not being displayed. > >Clearly, that's the case. Don't have an idea fo

RE: CFCHART X-Axis Labelling...

2005-09-09 Thread Dan G. Switzer, II
Rick, >Make your chart 5000 pixels wide, that'll solve it ;) Unfortunately, that seems to be the fix. -Dan ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com

RE: CFCHART X-Axis Labelling...

2005-09-09 Thread Dan G. Switzer, II
Tom, >I'm not sure about this, but I think I've experienced what you're >describing. And the issue seemed to be that the engine rendering the chart >decided there wasn't enough room to display all the labels. If this sounds >like what's happening for you, you might try making the chart wider, or >

RE: CFCHART X-Axis Labelling...

2005-09-08 Thread Dan G. Switzer, II
. WebCharts3D pretty much blows >as near as I can tell. Heavy on the flashy, to be sure, but >functionally quite poor. > >cheers, >barneyb > >On 9/8/05, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote: >> Is there a way to get each item label to show up when using CF

CFCHART X-Axis Labelling...

2005-09-08 Thread Dan G. Switzer, II
Is there a way to get each item label to show up when using CFCHART? It seems to want to skip some items. I need it to show each label item. -Dan ~| Logware (www.logware.us): a new and convenient web-based time tracking applic

Is there a way to send an attachment via CFMAIL w/out pulling it from disk?

2005-09-07 Thread Dan G. Switzer, II
I'm using CFCHART (yes, CFCHART, not CFGRAPH--I doubled checked it this time ) and need to send the charts via e-mail. When using the "name" attribute with CFCHART, it will store the binary in a variable in memory. I'd like to take this output and attach it to the e-mail w/out writing the file to

RE: CFCHART Problem with "tipstyle" attribute?

2005-09-07 Thread Dan G. Switzer, II
Ryan, >Well then the other thing I notice is that you are talking about >cfchart, but you are using cfgraph. Could that be the cause of the >confusion? I'm an idiot--that was it... -Dan ~| Find out how CFTicket can increase

<    1   2   3   4   5   6   7   >