Form Fields

2009-03-04 Thread Pranathi Reddy
Hi All, I have an issue and my brain is not working Actually I am trying to pull the data back to the formfield from sql database when there is a selection in dropdownlist. I am really not sure of how I could realy implement it. Any Help??? Thanks, Pranathi

Form Fields

2009-03-04 Thread Pranathi Reddy
Hi All, I have an issue and my brain is not working Actually I am trying to pull the data back to the formfield from sql database when there is a selection in dropdownlist. I am really not sure of how I could realy implement it. Any Help??? Thanks, Pranathi

Re: Max Simultaneous Requests - in a vertical cluster

2009-03-04 Thread Wil Genovese
Exactly what Barney said. It's app and hardware specific. On our servers we run one CF8 instance per server and we're set to handle up to 100 simultaneous requests. Once in a while we hit that limit. Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for

Re: Oracle 11G CLOBs\BLOBs yielding non-standard characters with CF7

2009-03-04 Thread Craigsell
I can't answer your question since we are still on 10G but I would suggest you check/update the drivers. We were running the drivers that came with CF7 -- certain things in 10G wouldn't work at all. We are now running 3.50 on CF7 and 3.6 on CF8.

Re: Sessions timing out too soon

2009-03-04 Thread James Holmes
Did you change the JRrun session timeout to match? mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/3/5 Stan Winchester : > > In my Application.cfc I have the following code: > >        output="true" >        hint="Handle the application."> > >         >  

Re: Max Simultaneous Requests - in a vertical cluster

2009-03-04 Thread Barney Boisvert
That's a starting point, and needs to be tuned for your specific application, so it's kind of irrelevant how good of an estimate it is. I'd say each instance gets (4 * CPUs / instances) to start with, and then do your tuning from there. And make sure if your instances are sharing hardware resour

Re: Moving a ColdFusion server.

2009-03-04 Thread Maureen Barger
Depending on how your jvm is configured you will need to restart all of them because of dns cache and ttl values. Also I guess it would depend on how you are configuring your jrun connection. If you are using something like JRunConfig Bootstrap 127.0.0.1:{port} and connecting to your localhost you

Max Simultaneous Requests - in a vertical cluster

2009-03-04 Thread Kris Jones
I've read in various places that the recommended starting point for determining the Max Simultaneous Requests (MSR) value is 3-4 per CPU. But I'm not seeing how this works in a vertical cluster. Say I have a box with 4 CPUs, and 4 instances on that box. How would that suss-out? Do you set each in

FCKeditor not retaining format when used in CF CMS

2009-03-04 Thread cfcom
I am running a CF based CMS that uses FCKeditor. Everytime I put content into a textarea it loses its line breaks and formatting. Does anyone know how to configure the FCKconfig.js to correct this issue? ~| Adobe® ColdFusion® 8

Re: ANNOUNCE: Shrinkadoo, a jQuery powered URL shortening AIR application

2009-03-04 Thread Rick Root
On Tue, Mar 3, 2009 at 2:11 PM, Andy Matthews wrote: > > Nice. Didn't even know about that one. Note that this app doesn't shrink the > URLs itself, it just accesses the APIs of other services. yup, same thing mine did, except I just used "url.rickroot.com" that's cool that snurl has an api

Re: Moving a ColdFusion server.

2009-03-04 Thread Shannon Peevey
Did you restart apache? On 3/4/09, Ian Skinner wrote: > > Is there anything about moving a ColdFusion server to a new IP address > that affects Jrun and|or ColdFusion. > > We just moved a new production box from within our firewall to our > external DMZ which gives it new IP address. > > When we

Re: Apache Configuration Question.

2009-03-04 Thread Ian Skinner
Dave Watts wrote: >> I know I don't need them, I just want them. >> > > No, you don't! > Yes I do, I know it is really weird, but I was just trying to make something that would work now and someday in the future. Right now, we do not have DNS names set up for all these sites. All we ca

Re: Apache Configuration Question.

2009-03-04 Thread Dave Watts
> I know I don't need them, I just want them. No, you don't! The point of host headers is to let you use a single socket (IP address and port) for multiple virtual servers. If you don't use the same port, host headers aren't used to determine how to dispatch requests. Dave Watts, CTO, Fig Leaf

Re: Ajax cfgrid bind problem

2009-03-04 Thread scott welker
hi there, was there an actual hot fix released for this issue? i'm experiencing the exact same problem. thanks. scott scott.wel...@gmail.com >I am trying to use the cfgrid CFC binding feature in CF8 but I am >having trouble getting the CFC to populate the Ajax grid. > >URL: http://site/ >

Re: Apache Configuration Question.

2009-03-04 Thread Ian Skinner
Barney Boisvert wrote: > If you're doing that, you don't need name hosts, because each host is > on a different Listen. Go read the docs. Really. It'll make your > job a lot easier. I know I don't need them, I just want them. I'm trying to read as much documentation as I can, but I'm trying

Re: Apache Configuration Question.

2009-03-04 Thread Barney Boisvert
If you're doing that, you don't need name hosts, because each host is on a different Listen. Go read the docs. Really. It'll make your job a lot easier. On Wed, Mar 4, 2009 at 11:39 AM, Ian Skinner wrote: > > Barney Boisvert wrote: >> Listen 1.2.3.4:80 >> NameVirtualHost 1.2.3.4:80 >> >> >>

Re: Apache Configuration Question.

2009-03-04 Thread Ian Skinner
Barney Boisvert wrote: > Listen 1.2.3.4:80 > NameVirtualHost 1.2.3.4:80 > > > ServerName my.domain.com > > > > ServerName other.domain.com > To extrapolate this to our situation where we have different ports, does this make sense? Listen 1.2.3.4: Listen 1.2.3.4: NameVirtualHost 1.2.

Moving a ColdFusion server.

2009-03-04 Thread Ian Skinner
Is there anything about moving a ColdFusion server to a new IP address that affects Jrun and|or ColdFusion. We just moved a new production box from within our firewall to our external DMZ which gives it new IP address. When we did this two or our five ColdFusion instances continued to work co

Sessions timing out too soon

2009-03-04 Thread Stan Winchester
In my Application.cfc I have the following code: In the CF Admin the max timeout is 4-hours, and yet session don't last longer than 20-minutes or so. Any ideas what's going on? Thank you, Aftershock Web Design, Inc. by: Stan Winchester Pre

Re: Apache Configuration Question.

2009-03-04 Thread Barney Boisvert
Listen 1.2.3.4:80 NameVirtualHost 1.2.3.4:80 ServerName my.domain.com ServerName other.domain.com On Wed, Mar 4, 2009 at 10:57 AM, Ian Skinner wrote: > > Barney Boisvert wrote: >> ServerName sets the name for the server (as you'd expect).  There can >> be only one per server.  ServerAlias

Re: CSV File Upload. best way?

2009-03-04 Thread Pete Ruckelshaus
You basically have a couple of options (there are obviously many more ways, these are the two approaches that I would take): 1) if it's a small file, just read it into memory and loop through the contents of the file 2) if it's a large file, set up a Microsoft Access database to use an external f

Re: Apache Configuration Question.

2009-03-04 Thread Ian Skinner
Barney Boisvert wrote: > ServerName sets the name for the server (as you'd expect). There can > be only one per server. ServerAlias sets up additional non-canonical > names for the server that it will pay attention to. There can be any > number per server. > > You have to have a Listen for ever

Oracle 11G CLOBs\BLOBs yielding non-standard characters with CF7

2009-03-04 Thread Earl, George
Our development environment was just upgraded from Oracle 10G to Oracle 11G (which is not officially supported by ColdFusion, but it's not our decision). We're on ColdFusion 7 Enterprise and we're using the supplied Data Direct drivers. We are getting some unexpected non-standard special character

Re: order query object

2009-03-04 Thread Jason Fisher
Dominic makes a good point. To this end, I often find it useful to use my 'sortBy' params as aliases rather than as direct SQL, so something like this: SELECT personID, firstName, lastName, title FROM person ORDER BY #order# Note that not only is my qu

Re: Populate form field based on query run after another form field is set

2009-03-04 Thread Andrew Peterson
>Must not recommend jQuery, I must not recommend jQuery, I must not recommend >jQuery, I must not recommend jQuery, I must not recommend jQuery. > >Use jQuery! :OD > I KNEW you were going to recommend jQuery! Been following Ray's posts about jQuery as of late, and this is just the thing I neede

RE: Populate form field based on query run after another form field is set

2009-03-04 Thread Adrian Lynch
Must not recommend jQuery, I must not recommend jQuery, I must not recommend jQuery, I must not recommend jQuery, I must not recommend jQuery. Use jQuery! :OD $(function() { $("button").click(function() { var firstValue = $("#field1").val();

Populate form field based on query run after another form field is set

2009-03-04 Thread Andrew Peterson
Hi, You guys prolly do this every day. Say I've got a form with two fields. When a user enters the value in field a, I'd like to query the db and populate field b with the result of the query whose where clause is based on the value set in field A. I could do this after the form is submitted,

Re: order query object

2009-03-04 Thread Dominic Watson
Something to note is that you cannot, of course, queryparam the sortorder column that will be supplied. If the sort order field is passed to your cfc from either get or post data, you may want to do the sorting in a QoQ after the database query to get rid of the sql injection threat. Ie. SELECT

RE: displaying a tree structure

2009-03-04 Thread Chad Gray
Oh... interesting. Would be nice to do it in SQL. I will study this. Thanks Donnie! > -Original Message- > From: Donnie Carvajal [mailto:donnie.carva...@transformyx.com] > Sent: Wednesday, March 04, 2009 9:52 AM > To: cf-talk > Subject: Re: displaying a tree structure > > > > I have

RE: displaying a tree structure

2009-03-04 Thread Chad Gray
I found Doug Boude's blog post on Recursive Functions in CF. Great post and explanation of how it works. My head was hurting trying to do it myself, but his explanation was priceless. http://www.dougboude.com/blog/1/2006/06/Recursive-Functions-in-ColdFusion.cfm > -Original Message-

cfdocument putting part of the row on the bottom of page 1 and the other on the top of page 2. Please help!

2009-03-04 Thread cf coder
Hello everybody, I'm new to cfdocument. I'm using it to create pdf documents from data returned by a query with ColdFusion8. The problem is that cfdocument is putting part of the data contained in the table row at the bottom of page 1 and the other on the top of page 2. I know that there is a

CSV File Upload. best way?

2009-03-04 Thread Glyn Jackson
Hi everyone, I have a CSV file I need to take the values out of and update a database with them. Any suggestion or best ways to do this? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Ge

Re: displaying a tree structure

2009-03-04 Thread Donnie Carvajal
> I have data in a table like this: > > IDParentIDName > 1 0 Top > 2 1 Level1 > 3 1 Level2 > 4 2 Child1 Of Level2 > 5 2 Child2 Of Level2 > 6 3 Child1 Of Level2 > > So the tree

Re: Chrome now higher traffic than IE on some of my sites

2009-03-04 Thread Gerald Guido
>> I've got one where 'wget' is top :-) I really don't put much into browser stats. They are all over the place. Now if the guy that did the fivethirtyeight.com did a meta analysis I would pay it some mind. G! On Wed, Mar 4, 2009 at 8:27 AM, Tom Chiverton wrote: > > On Tuesday 03 Mar 2009, Mi

Re: Chrome now higher traffic than IE on some of my sites

2009-03-04 Thread Tom Chiverton
On Tuesday 03 Mar 2009, Mike Kear wrote: > All I was saying is it's the first time I've seen IE as not the top > browser.(one swallow does not a summer make!) I've got one where 'wget' is top :-) -- Tom Chiverton Helping to administratively engineer fourth-generation relationships as part o

Unable to update cfGrid

2009-03-04 Thread Pranathi Reddy
I am trying to work on the sample in livedoces but I am unable to update the database and also I am unable to display the updated contents. Can any one help me with it. I have appended the columns to reduce the content. Grid2.cfm SELECT * FROM Employee handle_gri