Re: Two queries and an array

2008-09-09 Thread s. isaac dealey
Assuming that you're sticking with passing back value objects, I would think an array would make more sense than a query... But in general, not knowing what this is being used for, it sounds like it's probably overcomplicated for what your flex application is likely to do with the data. Just a gues

Re: ColdFusion navigation help

2008-09-09 Thread Azadi Saryev
well, your link passes a ChilID url var - you can use that. wrap your second cfinvoke into a cfif checking for existence of url.childid. Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ erik tom wrote: > How can I do that . Shouid I use 1 more argument something like page. > >

RE: IIS integrated security and homesite problems

2008-09-09 Thread Dave Watts
> I am now having problems with HomeSite in that I get an > intermittent request to login, with an occasional "Remote > Server Operation Failure" > indicating access denied due to bad credentials in the > WWW-Authenticate header field. I am not sure why this would > be happening when I am using

Error Executing Database Query Connection reset errors.

2008-09-09 Thread Charles Charles
Recently we migrated our database server to a separate machine. This machine was on a separate standalone IP (our hosting company could not allow the two machines to be networked together), which we can connect via CF datasource. The website works fine and is actually faster than before when

IIS integrated security and homesite problems

2008-09-09 Thread Colman, Richard
I recently turned on "integrated authorization on IIS 6.0, in an attempt to use the CGI.AUTH_USER variable to detect the logged-in user based on the domain login. I am now having problems with HomeSite in that I get an intermittent request to login, with an occasional "Remote Server Operation Fa

RE: using dynamic variable in cfset statement

2008-09-09 Thread Bobby Hartsfield
Yeah, but it never stops. We still laugh at Will T. every chance we get. ..:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Patrick Santora [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 09, 2008 5:38 PM To: CF-Talk Subject: Re:

RE: using dynamic variable in cfset statement

2008-09-09 Thread David Moore, Jr.
Charlie wrote: > hey i was laughing at patrick laughing at you, not laughing at you directly,> so it's ok :) Oh, I'm cool. I worked in Radio for 15 years as a DJ, so I don't expect a whole lot out of myself. I thought it was funny too. :) ~David _

Re: using dynamic variable in cfset statement

2008-09-09 Thread Ian Skinner
Casey Dougall wrote: > > > Or the same thing with a few less pound signs and quotes. Or to completely eliminate the loop, but then you will be working with a record set rather then a simple structure. ~| Adobe® ColdF

RE: using dynamic variable in cfset statement

2008-09-09 Thread David Moore, Jr.
Pat wrote:> It's sometimes the best and fastest way to learn :-).> > Evaluate works, it's just not really recommended "Ouch". ;-)> Yes. It's just painful to the character of ones soul. I didn't know that about Evaluate. Glad I do know that...now. I wish there was an asterisks next to code s

Re: using dynamic variable in cfset statement

2008-09-09 Thread Patrick Santora
It's kind of like a right of passage It just looks to tempting to use sometimes :-) Well said Charlie. On Tue, Sep 9, 2008 at 2:33 PM, Charlie Griefer <[EMAIL PROTECTED]>wrote: > hey i was laughing at patrick laughing at you, not laughing at you > directly, > so it's ok :) > > > there's probab

Re: using dynamic variable in cfset statement

2008-09-09 Thread Charlie Griefer
hey i was laughing at patrick laughing at you, not laughing at you directly, so it's ok :) there's probably not one of us on this list that didn't used to use evaluate() before being taught to look at other alternatives (and i'm sure some who still do use it). it's all good. participating is ho

Re: using dynamic variable in cfset statement

2008-09-09 Thread Casey Dougall
On Tue, Sep 9, 2008 at 4:53 PM, Wally Randall <[EMAIL PROTECTED]>wrote: > Why does this fail inside a cfoutput loop over a query: > > > > It generates this message: > > "A CFML variable name cannot end with a "." character. > The variable application. ends with a "." character. You must supply a

Re: using dynamic variable in cfset statement

2008-09-09 Thread Patrick Santora
It's sometimes the best and fastest way to learn :-). Evaluate works, it's just not really recommended "Ouch". ;-) On Tue, Sep 9, 2008 at 2:27 PM, David Moore, Jr. <[EMAIL PROTECTED]>wrote: > I just love giving you guys something to laugh at ... Rag the newbie... > It's OK. At least I am learnin

RE: using dynamic variable in cfset statement

2008-09-09 Thread David Moore, Jr.
I just love giving you guys something to laugh at ... Rag the newbie... It's OK. At least I am learning, and trying. :)> hehe :) > Ouch! Evaluate _ See how Windows Mobile brings your life together—at home, work, or on the go. htt

Re: using dynamic variable in cfset statement

2008-09-09 Thread Charlie Griefer
hehe :) On Tue, Sep 9, 2008 at 2:18 PM, Patrick Santora <[EMAIL PROTECTED]> wrote: > Ouch! Evaluate > > On Tue, Sep 9, 2008 at 2:15 PM, David Moore, Jr. <[EMAIL PROTECTED] > >wrote: > > > Would something like this work? > > > > > '#appconfig.code_value#'> > > ~ David Moore > > __

Re: using dynamic variable in cfset statement

2008-09-09 Thread Claude Schneegans
>>Also, the [] is an invalid constrict in coldfusion. well, if appconfig.code_name is an empty string, then [appconfig.code_name] will be equivalent to [], which "is an invalid constrict in coldfusion". If I were you, I'll really make sure appconfig.code_name is not an empty string ;-) Just tr

Re: using dynamic variable in cfset statement

2008-09-09 Thread Patrick Santora
Ouch! Evaluate On Tue, Sep 9, 2008 at 2:15 PM, David Moore, Jr. <[EMAIL PROTECTED]>wrote: > Would something like this work? > > '#appconfig.code_value#'> > ~ David Moore > _ > Get more out of the Web. Learn 10 hidden secrets of

RE: using dynamic variable in cfset statement

2008-09-09 Thread David Moore, Jr.
Would something like this work? ~ David Moore _ Get more out of the Web. Learn 10 hidden secrets of Windows Live. http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_W

Re: using dynamic variable in cfset statement

2008-09-09 Thread Ian Skinner
Wally Randall wrote: > Why does this fail inside a cfoutput loop over a query: > "application." is an illegal variable name. To do this type of thing you need to use array notation. ~| Adobe® ColdFusion® 8 software 8 is the

Re: using dynamic variable in cfset statement

2008-09-09 Thread Phillip Vector
Not in this case. The []'s will work. On 9/9/08, Wally Randall <[EMAIL PROTECTED]> wrote: The variable application. ends with a "." character. >> >>This looks to me like appconfig.code_name is an empty string. > > It is not an empty string. Also, the [] is an invalid constrict in > coldfusio

Re: using dynamic variable in cfset statement

2008-09-09 Thread Patrick Santora
So are you saying: or even does not work? The second example with quotes around the set variable should also work I believe. -Pat On Tue, Sep 9, 2008 at 2:01 PM, Wally Randall <[EMAIL PROTECTED]>wrote: > >>>The variable application. ends with a "." character. > > > >This looks to me like ap

RE: using dynamic variable in cfset statement

2008-09-09 Thread Dave Watts
> Also, the [] is an invalid constrict in coldfusion. That hasn't been true since CF 4. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore,

Re: using dynamic variable in cfset statement

2008-09-09 Thread Charlie Griefer
On Tue, Sep 9, 2008 at 2:01 PM, Wally Randall <[EMAIL PROTECTED]>wrote: > Also, the [] is an invalid constrict in coldfusion. > could you elaborate on that please? -- I have failed as much as I have succeeded. But I love my life. I love my wife. And I wish you my kind of success. ~~

RE: using dynamic variable in cfset statement

2008-09-09 Thread Dave Watts
> Why does this fail inside a cfoutput loop over a query: > > It has nothing to do with the query. To set a variable whose name isn't known until runtime, you have three options: 1. The syntax in Charlie's email - my preference out of the three 2. 3. Dave Watts, CTO, Fig Leaf Software http:/

Re: using dynamic variable in cfset statement

2008-09-09 Thread Wally Randall
>>>The variable application. ends with a "." character. > >This looks to me like appconfig.code_name is an empty string. It is not an empty string. Also, the [] is an invalid constrict in coldfusion. ~| Adobe® ColdFusion® 8 s

Re: using dynamic variable in cfset statement

2008-09-09 Thread Patrick Santora
Charlie has the idea. It's because you are referring to a variable contained within an structure and doing dynamic dot notation has it's issues and will not work in this case. -Pat On Tue, Sep 9, 2008 at 1:57 PM, Charlie Griefer <[EMAIL PROTECTED]>wrote: > try > > On Tue, Sep 9, 2008 at 1:53 PM

Re: using dynamic variable in cfset statement

2008-09-09 Thread Justin Scott
> Why does this fail inside a cfoutput loop over a query: > It sounds like one of your code_name values is blank or null, resulting in an invalid variable name. -- Justin Scott, http://www.tlson.com/ ~| Adobe® ColdFusion® 8

Re: using dynamic variable in cfset statement

2008-09-09 Thread Claude Schneegans
>>The variable application. ends with a "." character. This looks to me like appconfig.code_name is an empty string. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http:

Re: using dynamic variable in cfset statement

2008-09-09 Thread Charlie Griefer
try On Tue, Sep 9, 2008 at 1:53 PM, Wally Randall <[EMAIL PROTECTED]>wrote: > Why does this fail inside a cfoutput loop over a query: > > > > It generates this message: > > "A CFML variable name cannot end with a "." character. > The variable application. ends with a "." character. You must su

using dynamic variable in cfset statement

2008-09-09 Thread Wally Randall
Why does this fail inside a cfoutput loop over a query: It generates this message: "A CFML variable name cannot end with a "." character. The variable application. ends with a "." character. You must supply an additional structure key or delete the "." character." ~~

Two queries and an array

2008-09-09 Thread Simon Bailey
Hi all, I am trying to do the following and was wondering if any one could offer a solution. Currently I am returning to Flex a query from cf. I now want to extend this by running two queries, the first gets user details the second gets user results. Example Table One :: user_id, user_name

Re: cfhttp and Google Search Appliance

2008-09-09 Thread Steve Nelson
Oh my bad, your example was searching for the word "Google Mini" which isn't on the full appliance. Thanks Kevin you've cured my ulcer. Steve ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date

Re: cfhttp and Google Search Appliance

2008-09-09 Thread Steve Nelson
Kevin I was trying this exact same thing last week and got the exact same error. I just tried your code and am still unable to login. Can you explain what it is you did to make it work? Steve Nelson > Dave, thanks for your help but I finally got it to work. Just in case > you are interested:

Re: xml include not working

2008-09-09 Thread Richard White
hi, i have just joined the model glue group, thanks for the link also i tried your suggestion dan but also didnt work unfortunately :( thanks for your responses richard >Richard, > >It is not an event handler so should not go in that section - try it >right under your opening > >Dan > > >>

Re: ColdFusion navigation help

2008-09-09 Thread erik tom
> erik tom wrote: > > On this page I only want to the root menu. After i click on the > link it should take me to the child menu where i CAN CLICK ON THE iTEM > AND IT SHOULD TAKE ME TO THE NEXT MENU. aND SO ON AND SO FORTH > Then don't loop over all the children and output them. Just output a

Re: ColdFusion navigation help

2008-09-09 Thread Ian Skinner
erik tom wrote: > On this page I only want to the root menu. After i click on the link it > should take me to the child menu where i CAN CLICK ON THE iTEM AND IT SHOULD > TAKE ME TO THE NEXT MENU. aND SO ON AND SO FORTH Then don't loop over all the children and output them. Just output a sing

ColdFusion navigation help

2008-09-09 Thread erik tom
Hi guys I want to design a dynamic menu. For this purpose I written some cfc. select a.label,b.menuID from menu a inner join menufoundon b on a.menuId=b.menUId where b.foundON=0 sele

Re: xml include not working

2008-09-09 Thread Dan O'Keefe
Richard, It is not an event handler so should not go in that section - try it right under your opening Dan On Tue, Sep 9, 2008 at 8:58 AM, Richard White <[EMAIL PROTECTED]> wrote: > hi, > > i am trying to include one xml file into another > > can anyone tell me what i am doing wrong please: > >

Railo 3 Released

2008-09-09 Thread gary gilbert
Railo has just announced the release of their new major version Railo 3 You can check out the lastest features over on the Railo website http://www.railo.ch/blog/index.cfm/2008/9/9/Railo-30-released--Features-part-1 Some really cool stuff those guys in Switzerland are doing! Gary Gilbert http:/

RE: cfdocument playing silly buggers on production.

2008-09-09 Thread Robert Rawlins
Hi Marcus, Thanks for that suggestion. That certainly works for the most part, css and images anyway. The problem I have now is that some of the documents have a cfcart on them, these present the same problems as the css and images but I'm not able to specify the path like that. Any ideas? Cheers

dynamic js field verification

2008-09-09 Thread Jessica Kennedy
Hi, I am working on a page where an admin would enter an id number for one or more of a list of people. as it is important that the numbers match, I am making a verification field to check the numbers match. All fine and dandy, however I would like to have js check this before the form is subm

Re: How to speed up Hard Refresh

2008-09-09 Thread Brian Kotek
If you need to, point it back at the older JVM. Or just back up the JVM config file and if things go wrong, copy it back. :-) On Tue, Sep 9, 2008 at 9:36 AM, Bryan S <[EMAIL PROTECTED]> wrote: > Sorry about the delay in my response. Something came up at work that > distracted me from this project

Re: cfdocument playing silly buggers on production.

2008-09-09 Thread Marcus Raphelt
Hi, as far as I can remember, we solved this in a CF7 project by pointing to images using file:///-Links. Not very elegant, but it worked. bye, marcus Robert Rawlins schrieb: > > > Does anyone know a work around for this? I'm sure it's something some of you > have come across in the past. > >

cfdocument playing silly buggers on production.

2008-09-09 Thread Robert Rawlins
Guys, Quick buzz for some advice. I've just rolled a copy of my application onto the production server and cfdocument seems to not load any external resources such as images or css. The code works perfectly in development. The only thing that comes to mind for the moment is that the site i

Re: JVM memory and query cache

2008-09-09 Thread Brad Wood
Quite possibly. What scope are you caching the query in? How many columns and records is the query? How many times is the query being cached? i.e. once for each user... If your operating system has enough RAM (remember to save some for Windows, SQL, etc) it is possible to increase the upper limit

Re: mac address and additional protection

2008-09-09 Thread Al Musella, DPM
Or you could try to do what microsoft did with windows... allow the licensing terms to easily be bypassed - and let a huge installed base of loyal users get hooked on it.. then when it comes times for upgrades - crack down. Have the upgrade count how many users are in the database and refus

Re: NullPointers error problem

2008-09-09 Thread Matt Quackenbush
There is a known bug with the MySQL drivers. In your CF Administrator, click to edit your datasource and do the following: 1) uncheck the "maintain connection", and 2) add the number zero in the "validation query" box That should fix your issue. On Tue, Sep 9, 2008 at 9:36 AM, Stefano Borali w

Re: JVM memory and query cache

2008-09-09 Thread Fabio Serra
Brad Wood wrote: > When you say the Maximum is 640 MB, do you mean the "Maximum JVM Heap Size > (MB)" setting on the "Java and JVM" page of CF Administrator is set to 640? My Maximum JVM Heap Size (MB) in CF Administrator is set to 640 MB and -XX:MaxPermSize=192m The result of the cfml script (

Re: CF8 Bug? CFReport / Flashpaper

2008-09-09 Thread Brad Wood
It looks like you need to find out what your server is doing during those 10 minutes. I would recommend installing SeeFusion or Fusion-Reactor and start looking at the stack trace while it is processing. If there is no CPU usage, it might be getting hung on an image, query, or basically any co

Re: JVM memory and query cache

2008-09-09 Thread Brad Wood
When you say the Maximum is 640 MB, do you mean the "Maximum JVM Heap Size (MB)" setting on the "Java and JVM" page of CF Administrator is set to 640? Also, run this code: Max Memory Available to JVM: #Round(maxMemory)#MB Total Memory Allocated: #Round(totalMemory)#MB Free Allocated

CF8 Bug? CFReport / Flashpaper

2008-09-09 Thread Marcus Raphelt
Hi List, I posted the message "CF7 ENT => CF8, CFReport Font size issues" a few days ago, I'm pretty sure now that this is a bug in CF8, more details on this: The source report is a pretty complex (as far as the layout is concerned) one-page report with some calculated fields that are fed by a

Re: JVM memory and query cache

2008-09-09 Thread Fabio Serra
Tom Chiverton wrote: > On Tuesday 09 Sep 2008, Fabio Serra wrote: > >> The server has a lot of free memory, but I receive the JVM Memory Alert >> from ColdFusion. >> > > But how much of that is CF allocated to use ? > > Do you mean the JVM heap size? The maximum is 640 Mb and I have an a

Re: JVM memory and query cache

2008-09-09 Thread Tom Chiverton
On Tuesday 09 Sep 2008, Fabio Serra wrote: > The server has a lot of free memory, but I receive the JVM Memory Alert > from ColdFusion. But how much of that is CF allocated to use ? -- Tom Chiverton This email is sent for and on behalf of Ha

Re: NullPointers error problem

2008-09-09 Thread Stefano Borali
right! I'm using MySQL 5.0.22 dbase on the same server. It's always return me correct data.. at least when the error does not occour. s. isaac dealey ha scritto: > That looks to me like an issue with the drivers for your database. If > you've been using the ODBC drivers with CF7 I would try swi

Re: NullPointers error problem

2008-09-09 Thread s. isaac dealey
That looks to me like an issue with the drivers for your database. If you've been using the ODBC drivers with CF7 I would try switching to Java drivers if they're available. I don't know whose database you're using (Access, MySQL, SQL Server, etc.) so I can't say if there are Java drivers for it.

NullPointers error problem

2008-09-09 Thread Stefano Borali
Hi all, I've upgraded my server from CF7 to CF8 without make any changes to the website code. Sometimes.. I've got an error like the server lose values of some variables. It's random. If i try to reload the same page, it works fine... and after twice time i've got the same error. No data entry..

RE: (ot) How do you preload a SWF file?

2008-09-09 Thread Dave Watts
> Hey, i know I'm a week late in responding (I was on vacation, > forgive me!), but I do have one more question about this: > Are there any concerns around the additional load on the web > server from having to load the swf file for every user, even > those that may never actually launch the a

Re: (ot) How do you preload a SWF file?

2008-09-09 Thread Dave Phillips
Hey, i know I'm a week late in responding (I was on vacation, forgive me!), but I do have one more question about this: Are there any concerns around the additional load on the web server from having to load the swf file for every user, even those that may never actually launch the application?

JVM memory and query cache

2008-09-09 Thread Fabio Serra
The maximum JVM heap size is used for the query cache too? I have in cache (using query cache) some large result set and the server sometimes respond very slowly. The server has a lot of free memory, but I receive the JVM Memory Alert from ColdFusion. I'm wondering if increasing the jvm heap size

Re: xml include not working

2008-09-09 Thread s. isaac dealey
Hey Richard, You might want to ask this question over on the model-glue google group. This is fairly specific to model-glue and while you may get a response here, there's liable to be more help available on the google group. I know a lot of folks I've spoken to over the years have mentioned not b

Re: How to speed up Hard Refresh

2008-09-09 Thread Bryan S
Sorry about the delay in my response. Something came up at work that distracted me from this project. On Wed, Sep 3, 2008 at 1:09 PM, Brian Kotek <[EMAIL PROTECTED]> wrote: > Because of the nature of dependencies in a large OO application, reloading > one component can be difficult or impossible.

xml include not working

2008-09-09 Thread Richard White
hi, i am trying to include one xml file into another can anyone tell me what i am doing wrong please: i am getting no errors but when i run the page it cannot find the error handlers inside the MainControllerEventHandlers.xml file that i am trying to include -

Re: CFC and MG2 where does validation fit in?

2008-09-09 Thread Richard White
thanks jaime. wow i didnt even know about cfcdev but looks amazing :) thanks again richard >Richard, > >There was a ton of discussion on this just recently - maybe on CFCDEV - so >there might be a bit of validation fatigue out there. On the upside, you >should find rich pickings in the list arc

Re: mac address and additional protection

2008-09-09 Thread Tom Chiverton
On Monday 08 Sep 2008, Richard White wrote: > however there is nothing stopping them from creating a login and providing > that same login to various people If you can't trust your end users not to violate the license terms, you can't trust them not to alter your code. You could, for instance, us