Re: SOT: Best CF development laptop

2010-08-04 Thread Mark Mandel
Some thoughts to add to the mix. I consistently buy Dell laptops, for a variety of reasons, but primarily for their 3 year, on site support. As a contractor, even a single day downtime is no good. No idea which part of the world you are in, but here in australia, I've called tech support at 3pm

Re: SOT: Best CF development laptop

2010-08-04 Thread Paul Stewart
And don't settle for less than 8gbs of RAM. 64 bit software has a tendency to eat up RAM news to me :0) is it not that just that 64bit tech has the ability to fully access 4gb of ram at the one time (If the os needs access to it) rather than eats it up. Anyone care to explain this one to me?

Re: SOT: Best CF development laptop

2010-08-04 Thread Andrew Clarke
I bought a high-end Vaio once. Within two years it was literally falling apart. Keys missing, screen shorting out, etc. The Apple Powerbook I bought to replace it still looks like new almost seven years later. IMHO nobody makes a better laptop than Apple, even if you just put Windows on

Re: SOT: Best CF development laptop

2010-08-04 Thread Andrew Clarke
This is the opposite of my experience. A VM running on the 7200 rpm drive in my almost 3 year old Macbook Pro is faster than one running on a FW800 Drobo off my Mac Pro. At least that's how it feels. Maybe I just expect less from my laptop! Andrew. On 2010-08-04, at 2:17, Mark Mandel

OOP Principles question

2010-08-04 Thread Scott Stewart
I understand the black box principle of CFC's, make sure that your cfc's can stand on their own as black boxes. When doing OOP based development, does this paradigm extend to non-cfc ColdFusion files, IE: display and action pages. Thanks sas -- Scott Stewart CTT+ Technical Trainer

Re: OOP Principles question

2010-08-04 Thread David McGraw
At some point your going to have to develop some uniqueness into your application that is project specific. You can spend a lot of time on form generators, and generic and configurable work flow engines, but is the time worth it? I even have some CFC's that are project specific. What I try

RE: Best CF development laptop

2010-08-04 Thread Sawyer, Edward
I'd have to put in a plug for Apple too. I just got the latest Macbook pro 15 with the core i7, 7200rpm 500gb drive, high-res screen. It's screaming fast and the build quality is among the best I have ever seen on *any* product, not just computers. It's certainly the king of laptops, no

SESSION variables and cflock

2010-08-04 Thread Stephens, Larry V
From time to time I go back and read my CF books to see if I can glean something new. I was reading the section again on locking and I'm (rather belatedly) confused. The book says you should act on SESSION variables within a cflock because of potential collisions. But are my SESSION variables

Re: Best CF development laptop

2010-08-04 Thread Tony Weeg
+1 just got same one same specs 2 weeks ago, hands down the best/fastest/most intuitive machine I've ever used! Sent from my iPhone... Don't hate. On Aug 4, 2010, at 8:40 AM, Sawyer, Edward ed.saw...@unh.edu wrote: I'd have to put in a plug for Apple too. I just got the latest Macbook pro

oracle database link

2010-08-04 Thread Dave P
Hello all, Has anyone actually gotten a database link working from a CF server to a second oracle server? I'm trying a connection string: create database link prodlink connect to myusername identified by mypass using 'PROD'; and getting: Error Executing Database Query. Executing the SQL

Re: Has anyone ever successfully changed an AD password through CFLDAP?!

2010-08-04 Thread Ivan Lazovic
There's a discrepancy that may be the issue in the way that CFLDAP's handling the final UTF-16LE encoded double-quote - that java's showing a 22 00 byte pair, but the CFLDAP's dropping the 2nd byte of the character: Java (works): 0050: 0A 01 02 30 2E 04 0A 75 6E 69 63 6F 64 65 50 77

RE: oracle database link

2010-08-04 Thread Mark A. Kruger
Dave, The error suggests something coming back from the first Oracle server. I would start by searching the oracle docs for that message. -Mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original

Re: oracle database link

2010-08-04 Thread Won Lee
I assume you mean a link from one oracle schema to another schema by executing the CREATE DATABASE LINK sql command through a CFML page. Is this correct? If it is check your permissions. This most likely has nothing to do with CF. As I side note, I don't think CFML pages should be running

Re: SOT: Best CF development laptop

2010-08-04 Thread Gerald Guido
I will take this as a segway to mention my favorite digital crack house: cedarpc.com http://www.cedarpc.com/index.php?open=onlinestore If you like a bargain and don't mind doing a little leg work you can find new and used machines here at a deep discount. They usually have some new sealed box

Re: OOP Principles question

2010-08-04 Thread Charlie Griefer
On Wed, Aug 4, 2010 at 3:22 AM, Scott Stewart sstwebwo...@bellsouth.netwrote: I understand the black box principle of CFC's, make sure that your cfc's can stand on their own as black boxes. When doing OOP based development, does this paradigm extend to non-cfc ColdFusion files, IE:

Re: cftextarea setValue() and jquery dialog

2010-08-04 Thread Scott Brady
Any ideas on this? Or, should I look at getting rid of the built-in CK editor and implementing the CK editor myself? Scott On Sat, Jul 31, 2010 at 12:16 PM, Scott Brady dsbr...@gmail.com wrote: Actually, I made a little progress. I realied #f1 should be my form ID, so I changed that, and

Re: SESSION variables and cflock

2010-08-04 Thread Dave Watts
The book says you should act on SESSION variables within a cflock because of potential collisions. But are my SESSION variables not mine and inaccessible to anyone else? How could there be a collision? The same browser can make multiple concurrent requests; they will all be in the same

Re: SOT: Best CF development laptop

2010-08-04 Thread Dave Watts
On another note - if you want the best performance out of your vms, put them on an external hd, the faster the better, with the fastest connection as well. Yikes! I'm sorry, but this is overall terrible advice unless you happen to have external eSATA or something along those lines. Most

Re: SOT: Best CF development laptop

2010-08-04 Thread Dave Watts
And don't settle for less than 8gbs of RAM. 64 bit software has a tendency to eat up RAM news to me :0) is it not that just that 64bit tech has the ability to fully access 4gb of ram at the one time (If the os needs access to it) rather than eats it up. Anyone care to explain this one to

Re: OOP Principles question

2010-08-04 Thread Dave Watts
I understand the black box principle of CFC's, make sure that your cfc's can stand on their own as black boxes. When doing OOP based development, does this paradigm extend to non-cfc ColdFusion files, IE: display and action pages. In general, any program should have a defined set of inputs

Re: SESSION variables and cflock

2010-08-04 Thread Jason Fisher
Think iframes or Ajax calls or other types of situations where A User may be session-linked to more than one current thread / process. In those cases, if there is potential for simultaneous writes to a session var, then you could theoretically have a clash. If your app uses no Ajax and has

Re: UBBCode img tag exploit

2010-08-04 Thread Pete Freitag
Hi Dennis, Take a look at AntiSamy for Java, it will sanitize HTML based on rules you specify. Also take a look at OWASP ESAPI for Java, which has encoder methods you can use when you output variables on your page to prevent XSS (ESAPI has support for using AntiSamy as well). I covered this at

Re: OOP Principles question

2010-08-04 Thread Sean Corfield
On Wed, Aug 4, 2010 at 7:50 AM, Dave Watts dwa...@figleaf.com wrote: So, my overall advice here would be not to overthink display logic - it's the least formal layer in an HTML-based MVC application. I might go further and suggest not to overthink any aspect of your design. The biggest

Re: OOP Principles question

2010-08-04 Thread Scott Stewart
So what your saying is, design patterns, like music theory, exist so you know when you're breaking them :) On Wed, Aug 4, 2010 at 11:56 AM, Sean Corfield seancorfi...@gmail.com wrote: On Wed, Aug 4, 2010 at 7:50 AM, Dave Watts dwa...@figleaf.com wrote: So, my overall advice here would be not

RE: UBBCode img tag exploit

2010-08-04 Thread Brook Davies
Hi Pete, Do you have any examples of how to integrate AntiSamy for Java with CF? Is that in your presentation? Brook -Original Message- From: Pete Freitag [mailto:p...@foundeo.com] Sent: August-04-10 8:37 AM To: cf-talk Subject: Re: UBBCode img tag exploit Hi Dennis, Take a look at

Re: UBBCode img tag exploit

2010-08-04 Thread Rick Root
Interesting thread. The parseBBML() UDF that I wrote for CFMBB (based on Jim Davis' DP_ParseBBML) has this flaw, I just tested it. Basically, I think the fix is to modify this line: Input = ReReplaceNoCase(Input,

Re: SOT: Best CF development laptop

2010-08-04 Thread Mark Mandel
Maybe I am off base with this one, but the research I did a while back stated that the biggest bottleneck to vm performance was disk io conflicts. I.e. if your vm lives on the same hd as your os and your programs they are all competing to read and write at the same time. Having a separate hd,

Re: SOT: Best CF development laptop

2010-08-04 Thread Dave Watts
Maybe I am off base with this one, but the research I did a while back stated that the biggest bottleneck to vm performance was disk io conflicts. That is definitely a big issue in a production environment, where you're more likely to be running multiple VMs. But in a developer's typical

Re: UBBCode img tag exploit

2010-08-04 Thread Rick Root
This does seem to work if you're using DP_ParseBBML or my parseBBML udf. rick On Wed, Aug 4, 2010 at 2:02 PM, Rick Root rick.r...@gmail.com wrote: Interesting thread. The parseBBML() UDF that I wrote for CFMBB (based on Jim Davis' DP_ParseBBML) has this flaw, I just tested it. Basically,

Re: CF9 Developer on Windows 7 Home Premium?

2010-08-04 Thread Michael Grant
Sadly my Win 7 64 machine almost never gets turned on. I seem to spend more time on the couch with my Vista laptop than in my office with my kick ass machine. Plus now every time I turn it on I get a blue screen after I log in. Then it restarts and works normally. Tis an odd thing. When I am

Re: onApplicationStart

2010-08-04 Thread Matt Coldfusion
This doesnt work for me and I cannot work out why? I run onApplicationStart in application.cfc and all my old application variables still exist, i have to restart the service all the time but i can't do this on my shared server. What is another way besides creating a temp file to

Cfform / cfformgroup question

2010-08-04 Thread Stephens, Larry V
cfform action=ClaimsTop.cfm method=post scriptsrc=../../CFIDE/scripts/ name=ClaimsTop height=285 width=480 format=Flash skin=HaloBlue cfformgroup type=tabnavigator height=240 style=marginTop: 0 cfformgroup type=page label=Contact Information

Re: onApplicationStart

2010-08-04 Thread Raymond Camden
That's by design. CF knows when an application starts. You can 'force' it a few ways. 1) In CF9, within onRequestStart, add a check for url.init (or some such), and run applicationStop(), you then need to reload the current request. 2) Or even simpler, within onRequestStart, add a check for a

Re: onApplicationStart

2010-08-04 Thread Eric Cobb
Here's the poor mans answer to applicationStop(), it works on CF7 CF8. |||cfset| |application.setIsInited(false) / | See Mister Dai for a more detailed explanation: http://misterdai.wordpress.com/2010/06/11/cf-flag-application-to-run-onapplicationstart/ | | Thanks, Eric Cobb ECAR

cflayout question

2010-08-04 Thread Victor Moore
I have the following layout and I can't make it work. All I want is the header and footer to be fixed size and the center to expand to fill the size of the screen. Thanks cflayout name=outerlayout type=vbox style=width:939; height:100% cflayoutarea

Re: onApplicationStart

2010-08-04 Thread Eric Cobb
Huh, not sure what happened with the formatting on that. Here you go: cfset application.setIsInited(false) / Thanks, Eric Cobb ECAR Technologies, LLC http://www.ecartech.com http://www.cfgears.com Eric Cobb wrote: Here's the poor mans answer to applicationStop(), it works on CF7 CF8.

Re: Cybersource - Coldfusion 8

2010-08-04 Thread heath stein
I'm hoping someone has dealt with CF8 and Cybersource (Simple Order API). We've gotten it to run on CF6.1 but can't seem to get past this on CF8. Here is the sniplet of error code: ROOT CAUSE: ROOT CAUSE: java.lang.NoClassDefFoundError: Could not initialize class com.

Re: Cybersource - Coldfusion 8

2010-08-04 Thread heath stein
Paul, were you ever able to find the issue with this, I am running into the same problem. I'm hoping someone has dealt with CF8 and Cybersource (Simple Order API). We've gotten it to run on CF6.1 but can't seem to get past this on CF8. Here is the sniplet of error code: ROOT

Read only text datasource?

2010-08-04 Thread Claude Schnéegans
Hi, I want to read records from a tab delimited log file, so I have defined an ODBC datasource on the directory, and a DSN on the ODBC socket in the CF administrator (CF 9). All I want to do is read the records: CFQUERY DATASOURCE=logSMTP NAME=getLogs SELECT * FROM [#file#.log] /CFQUERY I

Re: OOP Principles question

2010-08-04 Thread Sean Corfield
On Wed, Aug 4, 2010 at 9:27 AM, Scott Stewart webmas...@sstwebworks.com wrote: So what your saying is, design patterns, like music theory, exist so you know when you're breaking them :) That's a good way of phrasing it :) The key thing to remember about design patterns is they include a set

Handling errors under CF 9

2010-08-04 Thread Claude Schnéegans
Hi, I have this code in Application.cfm CFERROR TYPE = Exception template = /commun/requestError.cfm Under CF 5 and untill CF 8, the application scope was not changed when running requestError.cfm even if it is in the virtual directory \commun But now in CF 9, the Application.cfm in the commun

Re: Need a west coast (US) based CF host [spamtrap heur]

2010-08-04 Thread Michael Grant
Well i do something similar in a way. As do I. I've got a setLocalTZ() function and all my times are based on UTC. Once you go UTC you'll never go back. ;) ~| Order the Adobe Coldfusion Anthology now!

Re: Bind to a CFINPUT from a CFGRID

2010-08-04 Thread Michael Grant
As an aside: I see this time and time again and just don't get it. If you're going to bother to test that url.Parkname exists and isn't a zero length string then why aren't you trimming it when you check? On Fri, Jul 30, 2010 at 12:57 AM, Ria Ragam ragam0...@gmail.com wrote:

Re: query add row at top of query

2010-08-04 Thread Michael Grant
I know I'm a little late to the game here, but wouldn't the easier way be just to union an explicitly set row? It's a LOT less code and lets the db take the load. cfquery name=GetParks datasource=cfdocexamples SELECT PARKNAME, REGION, STATE, cORDER = 2 FROM Parks Where REGION = 'Southeast

Re: Need a west coast (US) based CF host [spamtrap heur]

2010-08-04 Thread Sean Corfield
Just noticed this thread and I thought it was worth pointing out that Railo allows you to set the server to any timezone on a per web application context basis (so you can have different sites on the same server all running in different timezones). On Thu, Jul 29, 2010 at 7:57 PM, Paul Hastings

Re: oracle database link

2010-08-04 Thread Qasim Rasheed
As someone already indicated, why do you want to run db link command from CF. It should be just a one time thing that your DBA can run. Later you can run query against a table in linked database like this SELECT * FROM On Wed, Aug 4, 2010 at 9:58 AM, Won Lee won...@gmail.com wrote: I assume

Re: oracle database link

2010-08-04 Thread Qasim Rasheed
My last email was incomplete SELECT * FROMyourtableinlinke...@nameofdblink On Wed, Aug 4, 2010 at 8:25 PM, Qasim Rasheed qasim.li...@gmail.com wrote: As someone already indicated, why do you want to run db link command from CF. It should be just a one time thing that your DBA can run.

Re: cflayout question

2010-08-04 Thread Victor Moore
There is definitely a difference between CF8 and CF9. I understand that the ext was changed to 3.x and I was wondering if anybody played with the css to make it work the same as CF8. The following code works fine in CF8 but not CF9. I mean it works, but the layout is different and I cannot make

Re: onApplicationStart

2010-08-04 Thread Larry Lyons
Something a bit simpler may be to use the ApplicationStop function. From QuickDocs: http://cfquickdocs.com/cf9/?getDoc=applicationstopDescription Stops or resets the current application. The application is restarted on the next request to the application. As a caveat, its CF9 only so far.

RE: UBBCode img tag exploit

2010-08-04 Thread UXB Internet
DP_ParseBBML) has this flaw, I just tested it. I looked at all the open source CF based forums I could find and they all had the same flaw. Many used the DP_ParseBBML module or some variation on it. Basically, I think if you prevent conversion of images with quotes, this goes away. That