Re: 'Tis a sad, sad day...jQuery kills FireFox but works great in IE!

2009-11-13 Thread Peter Boughton
I have a (large) table that has a list of users with IDs of newUsers and oldUsers. This is wrong! Every ID on the page *must* be unique. Use CLASS for common attributes. ~| Want to reach the ColdFusion community with

Re: 'Tis a sad, sad day...jQuery kills FireFox but works great in IE!

2009-11-13 Thread Eric Cobb
Thank you Azadi! I figured it was something simple like that. I'll give it a try and let you know how it goes. Azadi Saryev wrote: your html is not valid: id's are supposed to be unique per page. chnage that and you'll see ff work fine. Azadi Saryev Sabai-dee.com

Re: 'Tis a sad, sad day...jQuery kills FireFox but works great in IE!

2009-11-13 Thread Eric Cobb
Yeah, after tinkering with it a little more I realized what I was trying to do would be better with classes instead of IDs. I really didn't want to have to deal with a unique ID for all 500 rows. Anyway, here's my jQuery now: $(#userFilter).click(function(){ // If checked

(ot) SQL Question - flattening data

2009-11-13 Thread Rick Root
I'm trying to flatten out some data using only SQL we currently have a mainframe job that produces a datafeed for me uses cobol to do the work of looping through all the entities and putting up to 5 record types in 5 record type fields in the output file. I'm trying to figure out a way

Re: CKEditor

2009-11-13 Thread Rick Root
I think CFFM integrates pretty easily into CKeditor so don't let CKeditor's lack of a free file browser stop you from using it. Both CFFM 1.22 (the non-ajax version) and 1.31 (the ajax version) work pretty well in CKeditor 3.0. Rick

RE: ColdFusion.Window.create set bodystyle attribute

2009-11-13 Thread Joshua Rowe
Hmmm.. The background color is gray by default on my machine for whatever reason. Also, for some reason, the headerstyle attribute works, but the bodystyle attribute does not. I'll play around with it some more and see if I can get it to work. -Original Message- From: Azadi Saryev

Re: Better manage bulk update process

2009-11-13 Thread Agha Mehdi
there are other tasks that run at the same time too but none that would interact with the same tables. One thing I did notice though that there is only one task that runs at 8:00 PM (which is this one) and there are 4 different tasks that run at 8:00 AM (including this task). Could that be an

Re: itemSelectEvent : Coldfusion AutoSuggest?

2009-11-13 Thread Tony Bentley
Never mind. I used the better autosuggest. Too bad Coldfusion did not make all of the methods available as attributes in the input. ~| Want to reach the ColdFusion community with something they want? Let them know on the

Re: 'Tis a sad, sad day...jQuery kills FireFox but works great in IE!

2009-11-13 Thread Nicholas Stein
Maybe I am missing something. Why not just to it this way... cfset rNum = 0 cfoutput query=searchresults cfset rNum = rNum + 1 trcfif rNum MOD 2 EQ 0 class=alternaterow/cfif ...display td/td /tr /cfoutput Nick ~| Want to

Re: 'Tis a sad, sad day...jQuery kills FireFox but works great in IE!

2009-11-13 Thread Charlie Griefer
Preference. Some people would prefer to not introduce the extra CFML markup into the HTML markup. The jQuery lets you manipulate the HTML without actually modifying the HTML. That's nice. The CF method will work even if the user has JS disabled. That's nice. Neither is right or wrong. On

Re: Better manage bulk update process

2009-11-13 Thread Agha Mehdi
I also just thought of something. I am using the following setting; Frequency: Daily every 12 hours start time: 11:00 PM. Do I need to specify End time too? On Fri, Nov 13, 2009 at 8:58 AM, Agha Mehdi aghaime...@gmail.com wrote: there are other tasks that run at the same time too but none

RE: (ot) SQL Question - flattening data

2009-11-13 Thread Dave Phelan
Is there a particular reason to return them in this format? I would think that the straight query output would be simpler to work with. However, you can accomplish this either by using cursors to loop over the query output and build what you are looking for or by building a crosstab query of

RE: 'Tis a sad, sad day...jQuery kills FireFox but works great in IE!

2009-11-13 Thread Josh Nathanson
You might get a tad bit more speed if you do this in your selectors: $(table.stripetbodytr.oldUsers) Instead of this: $(.oldUsers) This is because jQuery will execute the DOM search more specifically instead of having to traverse the whole DOM for that class. -- Josh -Original

RE: Better manage bulk update process

2009-11-13 Thread DURETTE, STEVEN J (ATTASIAIT)
I'd say no. The end time is only if you want the job to run between certain hours. For example I have a job that runs every 5 minutes between 8am and 4pm. Steve -Original Message- From: Agha Mehdi [mailto:aghaime...@gmail.com] Sent: Friday, November 13, 2009 12:58 PM To: cf-talk

RE: (ot) SQL Question - flattening data

2009-11-13 Thread DURETTE, STEVEN J (ATTASIAIT)
Actually, if MSSQL 2005+ is being used, PIVOT might come in handy here. I had a procedure that used cursors. It ran for 2 minutes. I converted it to use PIVOT instead and I get the same results in 2 seconds! Steve -Original Message- From: Dave Phelan [mailto:dphe...@lifepoint.com]

cfgrid

2009-11-13 Thread Won Lee
Hello, is cfgrid broken? the insert can't seem to add more than one row before it returns a uncaught exception: Multiple row insert is not supported error message. I would really like to avoid building out the grid in ext myself.

Re: 'Tis a sad, sad day...jQuery kills FireFox but works great in IE!

2009-11-13 Thread Eric Cobb
I'm not sure if you guys are following what I'm trying to do I want to dynamically hide/display certain table rows when a checkbox is selected/deselected. -- Thanks, Eric Cobb http://www.cfgears.com Charlie Griefer wrote: Preference. Some people would prefer to not introduce the

Re: 'Tis a sad, sad day...jQuery kills FireFox but works great in IE!

2009-11-13 Thread Eric Cobb
Thanks Josh! I'll give that a whirl and see how it works. -- Thanks, Eric Cobb http://www.cfgears.com Josh Nathanson wrote: You might get a tad bit more speed if you do this in your selectors: $(table.stripetbodytr.oldUsers) Instead of this: $(.oldUsers) This is because jQuery

Re: 'Tis a sad, sad day...jQuery kills FireFox but works great in IE!

2009-11-13 Thread Charlie Griefer
On Fri, Nov 13, 2009 at 10:47 AM, Eric Cobb cft...@ecartech.com wrote: I'm not sure if you guys are following what I'm trying to do I want to dynamically hide/display certain table rows when a checkbox is selected/deselected. No, I was with ya. I recognized that the question had to

Re: Better manage bulk update process

2009-11-13 Thread Jason Fisher
No, you shouldn't need to specify end, but make sure there's a timeout sufficient for the process to complete. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion

JPG in Database - Retrieve for web page

2009-11-13 Thread Kim Hoopingarner
I have not tried this before - so I thought I might see if this is feasible. I have stored 2 jpgs in my database - one for the header of the site and one for the left side graphic. I want to retrieve these 2 BLOBS and place them on my web page - removing the need to have the jpg on my file

RE: JPG in Database - Retrieve for web page

2009-11-13 Thread Jacob
You can store just about any type of file in a database.. jpg, doc, gif. Performance would be my only issue. If just two jpg, should be okay. But, for us, storing 10s of jpgs was a performance nightmare. So we keep the jpg on the hard drives with the path to the jgp in the database.

onRequestEnd.cfm exploit (need help)

2009-11-13 Thread Michael Patti
Three of my CF7-driven sites just got hit this morning with an exploit that I'm having trouble finding information on. The attack did the following: 1) wrote 0 KB Application.cfm file to the web-root of the sites 2) wrote an onRequestEnd.cfm file (also to the web-root) that contained a script

Re: JPG in Database - Retrieve for web page

2009-11-13 Thread Kim Hoopingarner
Thanks for the heads up on performance. Will definitely warn client. What is the trick to streaming to a web page? I am using the cfheader and cfcontent - to no avail. It puts the header out - and then the next line is not seen. here's my simple code ... just trying to get one of those

RE: JPG in Database - Retrieve for web page

2009-11-13 Thread DURETTE, STEVEN J (ATTASIAIT)
I don't fully remember but I believe that you have to wrap the data in toBase64() -Original Message- From: Kim Hoopingarner [mailto:k.hoopingar...@e-details.com] Sent: Friday, November 13, 2009 3:20 PM To: cf-talk Subject: Re: JPG in Database - Retrieve for web page Thanks for the

Re: JPG in Database - Retrieve for web page

2009-11-13 Thread Kim Hoopingarner
CORRECT CODE! cfform name=x action=home.cfm cfinvoke component=cfc.msr_multisigs method=getMSigImage returnvariable=qMsigImage /cfinvoke div cfheader name=Content-Disposition value=inline cfcontent type=image/jpg variable=qMsigImage.binaryObject

Re: JPG in Database - Retrieve for web page

2009-11-13 Thread Kim Hoopingarner
That gives an error that my data must be binary on the cfcontent. Any other thoughts? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

RE: JPG in Database - Retrieve for web page

2009-11-13 Thread DURETTE, STEVEN J (ATTASIAIT)
toBinary() ? -Original Message- From: Kim Hoopingarner [mailto:k.hoopingar...@e-details.com] Sent: Friday, November 13, 2009 3:25 PM To: cf-talk Subject: Re: JPG in Database - Retrieve for web page That gives an error that my data must be binary on the cfcontent. Any other thoughts?

RE: JPG in Database - Retrieve for web page

2009-11-13 Thread DURETTE, STEVEN J (ATTASIAIT)
You may have to do toBinary(toBase64(yourVariable)) -Original Message- From: Kim Hoopingarner [mailto:k.hoopingar...@e-details.com] Sent: Friday, November 13, 2009 3:25 PM To: cf-talk Subject: Re: JPG in Database - Retrieve for web page That gives an error that my data must be binary

Re: JPG in Database - Retrieve for web page

2009-11-13 Thread Leigh
That gives an error that my data must be binary on the cfcontent.  Any other thoughts? cfcontent type=image/jpg variable=qMsigImage.binaryObject You forgot the # signs. So CF thinks the value is the literal string: qMsigImage.binaryObject: cfcontent type=image/jpg

RE: JPG in Database - Retrieve for web page

2009-11-13 Thread DURETTE, STEVEN J (ATTASIAIT)
Well, Time for me to climb back down into the hole and hide my head! :) -Original Message- From: Leigh [mailto:cfsearch...@yahoo.com] Sent: Friday, November 13, 2009 3:37 PM To: cf-talk Subject: Re: JPG in Database - Retrieve for web page That gives an error that my data must be

RE: JPG in Database - Retrieve for web page

2009-11-13 Thread Leigh
Well, Time for me to climb back down into the hole and hide my head!  :) Brew a fresh pot of coffee would you? I am sure one of us will be joining you there soon enough ;-) ~| Want to reach the ColdFusion community

RE: 'Tis a sad, sad day...jQuery kills FireFox but works great in IE!

2009-11-13 Thread Andy Matthews
Josh... That's not true. Everything I've read says that the less specific you are, the faster your code will run. In your example, it has to search through a whole bunch of stuff rather than just going and finding items with a class of oldUsers. andy -Original Message- From: Josh

RE: 'Tis a sad, sad day...jQuery kills FireFox but works great in IE!

2009-11-13 Thread Andy Matthews
Eric. I've tried to do showing and hiding table rows with jQuery before and it's not that great. It has to do with the way JavaScript considers TR tags and all. Try taking a look at this example I wrote for Psychic Sales a long time ago: http://andymatthews.net/code/tablefilter/ -Original

Re: (ot) SQL Question - flattening data

2009-11-13 Thread Rick Root
From the documentation, pivot tables seem to require aggregate functions... The generic description would seem to work but the examples make it difficult to see how. But... I figured out a solution! Using SQL Server's row_number() over (partition by XXX order by XXX) I can make a subquery that

Re: onRequestEnd.cfm exploit (need help)

2009-11-13 Thread Dave Watts
Three of my CF7-driven sites just got hit this morning with an exploit that I'm having trouble finding information on. The attack did the following: 1) wrote 0 KB Application.cfm file to the web-root of the sites 2) wrote an onRequestEnd.cfm file (also to the web-root) that contained a

Post a form synchronously even though it is in a cfdiv

2009-11-13 Thread David Mineer
How do I force a form to post synchronously even thought it is inside a cfdiv and therefore defaults to posting asynchronously? -- David Mineer Jr - The critical ingredient is getting off your butt and doing something. It's as simple as that. A lot of people have ideas, but

Re: Post a form synchronously even though it is in a cfdiv

2009-11-13 Thread Dave Watts
How do I force a form to post synchronously even thought it is inside a cfdiv and therefore defaults to posting asynchronously? What exactly do you mean? Do you want the entire page to refresh, not just the contents of the CFDIV? If so, just change the TARGET to incorporate the entire page

RE: 'Tis a sad, sad day...jQuery kills FireFox but works great in IE!

2009-11-13 Thread Josh Nathanson
Hmmm...ok, maybe I was thinking of the difference between ID and class or something. Sorry about that. -- Josh -Original Message- From: Andy Matthews [mailto:li...@commadelimited.com] Sent: Friday, November 13, 2009 12:52 PM To: cf-talk Subject: RE: 'Tis a sad, sad day...jQuery kills

Re: Post a form synchronously even though it is in a cfdiv

2009-11-13 Thread David Mineer
That is what I mean. It submits inside the cfdiv, show the target page pulls up completely inside the cfdiv. I want it to pull up on a new page. I changed the cfform to just use form and that fixed it for me, but I didn't need any cfform goodness this time. I did breifly test your _top

CFMAP Problems in firefox

2009-11-13 Thread David Mineer
We are passing some addresses to the cfmap tag and it is working awesome. In IE. But in firefox it cuts of the right side of the map. Normally you see the map, hybrid, and satellite buttons. In firefox it cuts it off so you only barely see the left side of the map button, which is the leftmost

Re: CFMAP Problems in firefox

2009-11-13 Thread David Mineer
This has something to do with the css that we are using, cause when we remove it it works. Now to track down the specific part of the css and find a solution. On Fri, Nov 13, 2009 at 3:49 PM, David Mineer min...@gmail.com wrote: We are passing some addresses to the cfmap tag and it is working

Re: Better manage bulk update process

2009-11-13 Thread Maureen
Do any of the other tasks use the tables you are deleting or updating? On Fri, Nov 13, 2009 at 8:58 AM, Agha Mehdi aghaime...@gmail.com wrote: there are other tasks that run at the same time too but none that would interact with the same tables. One thing I did notice though that there is

Re: Compare records and update

2009-11-13 Thread Jason Congerton
Hi Just wondered if anyone had any ideas? Jason Thank you again for your response, sorry for time its taking for me to get my head around this!! Have a look at this http://tvpressings.jasoncongerton.co.uk/transteel-products/test. cfm?productid=2 all looks good, however no NA

Re: JPG in Database - Retrieve for web page

2009-11-13 Thread James Holmes
Why are you trying to oputput div and form tags as part of an image? mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/11/14 Kim Hoopingarner k.hoopingar...@e-details.com: CORRECT CODE!  cfform name=x action=home.cfm  cfinvoke

Re: Post a form synchronously even though it is in a cfdiv

2009-11-13 Thread Dave Watts
That is what I mean.  It submits inside the cfdiv, show the target page pulls up completely inside the cfdiv.  I want it to pull up on a new page. I changed the cfform to just use form and that fixed it for me, but I didn't need any cfform goodness this time.  I did breifly test your _top

Re: Better manage bulk update process

2009-11-13 Thread Agha Mehdi
nope, the other tasks don't do anything to those tables. so here's what I did. wrapped cftransaction around the process. created two staging tables that hold the process updates. once the process finishes, i call a stored proc, which deletes old data from prod tables, copy data from staging to

Re: 'Tis a sad, sad day...jQuery kills FireFox but works great in IE!

2009-11-13 Thread Azadi Saryev
jquery 'best practice' in regard to class selectors is to prefix them with tag name whenever possible. i am not sure if using parent-child selectors speeds up the code execution even more, but i imagine it could. Azadi Saryev On 14/11/2009 04:51, Andy Matthews wrote: Josh... That's not

How to save a web page as an image

2009-11-13 Thread Dave Hatz
I am not sure if this is possible or not, but I am trying to figure out how to save a web page as an image. We are using CF8 Enterprise. I am able to save the web page using CFSAVECONTENT, but, can't seem to find how to save it as an image. Is it even possible to do with CF8? Thanks, Dave

Re: How to save a web page as an image

2009-11-13 Thread Leigh
to figure out how to save a web page as an image http://www.coldfusionjedi.com/index.cfm/2007/6/13/ColdFusion-8-URL-Thumbnails ~| Want to reach the ColdFusion community with something they want? Let them know on the

The Ten Most Critical Web Application Security Risks

2009-11-13 Thread Andrew Grosset
Essential reading... http://www.owasp.org/images/0/0f/OWASP_T10_-_2010_rc1.pdf (released today 13th November) ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing