Space problem with cfpdf

2009-10-19 Thread Thorsteinn Jonsson
We are using cfpdf with action=processddx. It is working fine. But... at the same time it creates temporary files in: C:\Documents and Settings\profile\Local Settings\Temp\ (this is on the dev server) On production they end up in C:\WINDOWS\Temp\ They look something like this:

Re: special/reserved characters

2009-10-19 Thread Peter Boughton
A very quick summary... Use cfqueryparam tags to insert user-provided data into the database. Use the appropriate function (HtmlEditFormat, XmlFormat, UrlEncodedFormat, JsStringFormat) to output user-provided data. These will (should) deal with escaping all reserved characters. If in doubt,

Re: Problem with JSON Grid | ColdExt

2009-10-19 Thread Raymond Camden
http://www.insideria.com/2009/06/quick-video-example-of-firebug.html Enjoy. On Mon, Oct 19, 2009 at 12:52 AM, Arsalan Tariq Keen arsalk...@hotmail.com wrote: Hmmm... Camden, can you guide me about using Firebug... actually I am a newbie to Ajax and I am using IE7, I guess firebug would work

Sending XML Post via cfhttp

2009-10-19 Thread Chuka Anene
cfset server=http://www.infobip.com/AddOn/SMSService/XML/XMLInput.aspx; cfxml variable=XML cfsavecontent variable=c XML EngineDocList DocVersion1.0/DocVersion EngineDoc ContentTypeSMS/ContentType SMS authentification usernameQuorium/username

Re: Sending XML Post via cfhttp

2009-10-19 Thread Francois Levesque
You shouldn't have a cfsavecontent in there. Just use the xml variable (declared in your cfxml tag) in your cfhttp call. Francois Lévesque on the road On 2009-10-19, at 8:22, Chuka Anene anene.quor...@yahoo.com wrote: cfset server=http://www.infobip.com/AddOn/SMSService/XML/XMLInput.aspx

Webservice exceptions

2009-10-19 Thread Michael van Leest
Hi all, I'm having some issues with server to server data exchange over webservices both running CF8 Ent. Sometimes I get this message: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: coldfusion.xml.rpc.CFCInvocationException:

Re: Sending XML Post via cfhttp

2009-10-19 Thread Anene Isioma Wealth
even worse, after removing the cfsave tag, i get this error: Complex object types cannot be converted to simple values. The expression has requested a variable or an intermediate expression result as a simple value, however, the result cannot be converted to a simple value. Simple values are

Re: Sending XML Post via cfhttp

2009-10-19 Thread Francois Levesque
Oops, forgive the brain fart. XML is a complex value, you need to convert it to a string first. All you need to do is wrap your xml variable with toString() and it should work. Francois Lévesque on the road On 2009-10-19, at 8:31, Anene Isioma Wealth anene.quor...@yahoo.com wrote: even

Re: Sending XML Post via cfhttp

2009-10-19 Thread Anene Isioma Wealth
same error bro: Error Occurred While Processing Request Complex object types cannot be converted to simple values. The expression has requested a variable or an intermediate expression result as a simple value, however, the result cannot be converted to a simple value. Simple values are

Re: Sending XML Post via cfhttp

2009-10-19 Thread Francois Levesque
This doesn't work? I was able to output the string to the screen, so cfhttp should know what to do with it. cfset server=http://www.infobip.com/AddOn/SMSService/XML/XMLInput.aspx; cfxml variable=XML XML EngineDocList DocVersion1.0/DocVersion EngineDoc ContentTypeSMS/ContentType SMS

Re: Sending XML Post via cfhttp

2009-10-19 Thread Anene Isioma Wealth
Oh well, it didn't work for me here. Sincerely, Chuka I.W. Anene Chief Software Eng./CEO Quorium Solutions www.quorium.org 07029609185,07032696113 From: Francois Levesque cfab...@gmail.com To: cf-talk cf-talk@houseoffusion.com Sent: Mon, October 19, 2009

Re: Flash File in Oracle - Retrieving...

2009-10-19 Thread Kim Hoopingarner
Anyone have input to this thread? Help... Thanks! ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

(ot) Tool for Users to build their own Queries

2009-10-19 Thread Dave Hatz
We have a client that has a data analyst on staff and would like access to some of our tables to build her own data sets. Can I get recommendations from the CF community on what my choices would be for this? We are running Oracle Database for their application. Thanks, Dave

Re: (ot) Tool for Users to build their own Queries

2009-10-19 Thread Cameron Childress
On Mon, Oct 19, 2009 at 10:43 AM, Dave Hatz daveh...@hatzventures.orgwrote: We have a client that has a data analyst on staff and would like access to some of our tables to build her own data sets. Can I get recommendations from the CF community on what my choices would be for this? We are

Re: Flash File in Oracle - Retrieving...

2009-10-19 Thread James Holmes
As another test, try writing the file out to the server and using cfcontent to serve it instead (then delete it). mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/10/19 Kim Hoopingarner k.hoopingar...@e-details.com: Anyone have input to this thread?  

Re: (ot) Tool for Users to build their own Queries

2009-10-19 Thread Dave Hatz
Cameron, Thanks for the info on setting up the user account. My programmers and I use TOAD for all our Oracle Data access. I am not sure if she will have the budget to go out and buy TOAD. Do you know of any other tools on the market that she might be able to use? Dave

Re: (ot) Tool for Users to build their own Queries

2009-10-19 Thread Dan Vega
Oracle SQL Developer is a pretty nice program for free. Thank You Dan Vega danv...@gmail.com http://www.danvega.org/ On Mon, Oct 19, 2009 at 11:29 AM, Dave Hatz daveh...@hatzventures.orgwrote: Cameron, Thanks for the info on setting up the user account. My programmers and I use TOAD for

cflock within Application.cfc?

2009-10-19 Thread Andrew Clarke
Hi. I've used code like this vastly simplified Application.cfc example for a couple years now, in CF7 and CF8: cfcomponent cfscript this.name = My Application; this.sessionManagement = true; /cfscript cflock timeout=5 type=exclusive scope=sessioncfset session.x = y //cflock /cfcomponent I

Re: (ot) Tool for Users to build their own Queries

2009-10-19 Thread Gerald Guido
I had a situation like this where the client need to generate some numbers for ordering. I did this with MySQL and MS Access so you should (in theory) be able to do this with Oracle. I created a read only account and had them install the MyODBC driver on their machine, Then I had them create a

Re: cflock within Application.cfc?

2009-10-19 Thread s. isaac dealey
Hey Andrew, that sounds like a real tough problem... probably one of those issues that will seem simple in hindsight. :) You covered all the bases that spring to mind for me immediately. But I didn't see what error message you're getting from the code. I think you just said it's failing. Maybe

Re: (ot) Tool for Users to build their own Queries

2009-10-19 Thread Cameron Childress
As Dan suggested, you can suggest Oracle SQL Developer to her. Honestly though if she really is a Data Analyst and her job is working with data and databases for a living, she is likely to already have a favorite Oracle toolset. YMMV -Cameron On Mon, Oct 19, 2009 at 11:29 AM, Dave Hatz

Re: (ot) Tool for Users to build their own Queries

2009-10-19 Thread Dave Hatz
Cameron, I totally agree with you. I told her the same thing, I mentioned TOAD to her and she said is that part of MS Access? So, I think she has a title with no clue as to what she is doing, but I get paid to keep her butt happy. Thanks for you input Cameron, much appreciated. And Dan,

Re: (ot) Tool for Users to build their own Queries

2009-10-19 Thread Judah McAuley
Remember to giver her only SELECT access though and find out what kind of queries she is doing. If she is doing a lot of heavy load/poorly written queries that slow down your server, you might be better off with shipping her a weekly DB backup or something so she can run her queries locally

Re: cflock within Application.cfc?

2009-10-19 Thread Andrew Clarke
Thanks, I meant to post the actual error but I guess I forgot. Here it is: Cannot lock SESSION scope. Cannot use cflock to lock the application or session shared scopes without these scopes being established through the use of the cfapplication tag. To use the session scope you need to enable

Re: Sending XML Post via cfhttp

2009-10-19 Thread Anene Isioma Wealth
my guess is that you ran out of ideas, thanks anyway for your efforts. Sincerely, Chuka I.W. Anene Chief Software Eng./CEO Quorium Solutions www.quorium.org 07029609185,07032696113 From: Francois Levesque cfab...@gmail.com To: cf-talk

Another quick update to CFJS

2009-10-19 Thread Chris Jordan
Hey folks, I've made another quick update to the DateFormat function in CFJS. You can read about it on my blog if you like (http://cjordan.us/index.cfm/CFJS). It's at version 1.1.12, and as always is available from http://cfjs.riaforge.org. Cheers! Chris

Re: Problem with JSON Grid | ColdExt

2009-10-19 Thread Arsalan Tariq Keen
Camden... firebug is saying... Ext.ux.grid is undefined http://127.0.0.1:/ext/ext-all.js Line 32 any clues? -- From: Raymond Camden rcam...@gmail.com Sent: Monday, October 19, 2009 5:30 PM To: cf-talk cf-talk@houseoffusion.com

Re: Problem with JSON Grid | ColdExt

2009-10-19 Thread Arsalan Tariq Keen
Camden... firebug is saying... Ext.ux.grid is undefined http://127.0.0.1:/ext/ext-all.js Line 32 any clues? -- From: Raymond Camden rcam...@gmail.com Sent: Monday, October 19, 2009 5:30 PM To: cf-talk cf-talk@houseoffusion.com

Re: cfqueryparam DECREASES performance?

2009-10-19 Thread d...@realmagnet.com d...@realmagnet.com
I ran into this old thread while researching cfqueryparam and performance issues. Stephen, Your idea about 2 seperate datasources for unicode and non-unicode queries is useful for some queries. But it does not solve issues with queries where unicode and non-unicode fields are used in same

Variable scope

2009-10-19 Thread Brian Bradley
I am writing a security structure and have a session variable that is being set basically saying loggedIn=y at the root of the site. In subfolders I have other application files looking for that variable but not able to find it. I know that I can write a cookie but was wondering if anyone

Re: Variable scope

2009-10-19 Thread Patrick Santora
Does each folder have a different application scope? If so, then unless each application scope has the same name then different session containers will be used within each application. Can you supply us with some more clarity about your setup on a per application level? -Pat On Mon, Oct 19,

Re: Problem with JSON Grid | ColdExt

2009-10-19 Thread Raymond Camden
Sounds like the library didn't load. But it worked before so I'm not sure about that. What do you see in the XHR requests? You should see one to fetch your data. Try right click/open in new tab and see if you notice a CF error. On Mon, Oct 19, 2009 at 2:33 PM, Arsalan Tariq Keen

Re: Variable scope

2009-10-19 Thread Brian Bradley
In the one off of the root - I name it login_app and it has a session variable named loggedIn. In the contact folder (for example) the name of that application is contact_app and it is looking for the loggedIn variable. If loggedIn exists, it lets the user access the pages in that directory,

Re: Variable scope

2009-10-19 Thread Alan Rother
Why are you using so many application.cfm files? You really only need one, from what you've described. On Mon, Oct 19, 2009 at 2:34 PM, Brian Bradley bbrad...@plrb.org wrote: In the one off of the root - I name it login_app and it has a session variable named loggedIn. In the contact folder

Re: Variable scope

2009-10-19 Thread Patrick Santora
Alan's right. Coldfusion sits on top of the directories, so you can head the user off at the pass before showing off anything that may be within that folder. In your case you may want to consider trapping whether or not the user has access by pushing in some security logic into the onRequestStart

Re: Variable scope

2009-10-19 Thread Patrick Santora
I think I have the findNoCase arguments mixed up :P. Switch them. If you are using CF 7+ then application.cfc should be available to use. -Pat On Mon, Oct 19, 2009 at 3:21 PM, Patrick Santora patwe...@gmail.com wrote: Alan's right. Coldfusion sits on top of the directories, so you can head

Re: (ot) Tool for Users to build their own Queries

2009-10-19 Thread Maureen
There is a freeware version of Toad that should let her do basic data extraction. http://www.toadsoft.com/lic_agree.html On Mon, Oct 19, 2009 at 8:29 AM, Dave Hatz daveh...@hatzventures.org wrote: Cameron, Thanks for the info on setting up the user account.  My programmers and I use TOAD

Re: (ot) Tool for Users to build their own Queries

2009-10-19 Thread Gerald Guido
Honestly though if she really is a Data Analyst and her job is working with data and databases for a living, she is likely to already have a favorite Oracle toolset. Not necessarily. I work with a slew of Data Analyst's as we do a lot of research, and the vast majority of the data

Re: Variable scope

2009-10-19 Thread Brian Bradley
The thing is, it is a HGE site - 30,000+ documents so some of it is secured and some of it isn't. I figured it would be best at the directory (we are running Windows server) level to just decide which directories get application files that have security and which don't. There are too

Re: cflock within Application.cfc?

2009-10-19 Thread s. isaac dealey
Cannot lock SESSION scope. Cannot use cflock to lock the application or session shared scopes without these scopes being established through the use of the cfapplication tag. To use the session scope you need to enable session management. Application and/or Session variables must also be

Re: Variable scope

2009-10-19 Thread Patrick Santora
Wow! That makes quite the difference on how you might want to approach this. You have a lot of files to manage, which easily promotes something a little more senior/enterprise based. Knowing this you may want to consider going one of the below routes instead of shoehorning in the bit of code I

Re: Variable scope

2009-10-19 Thread Brian Bradley
We have been using windows iis, etc. since 1999 and are trying to take more control since we now have so many bs membership types. It is a crazy project that was just handed to me. I think that I am just going to have to bite the bullet and use cookies to house the information and pass it on

Re: Variable scope

2009-10-19 Thread Patrick Santora
Best of luck! Just know there are options in case you get stuck. Projects like the one you are describing can have some interesting curve balls. Just watch out for them. They can sting! ;-) On Mon, Oct 19, 2009 at 6:57 PM, Brian Bradley bbrad...@plrb.org wrote: We have been using windows iis,

Re: Problem with JSON Grid | ColdExt

2009-10-19 Thread Arsalan Tariq Keen
I guess I got too carried away with FireBug :) it helped me clear out many bugs in my application. Now my grid is showing the content I wanted with the WHERE clause in CFQUERY. However, one problem persists. When I use the gridsearch plugin, the grid does not showup at all and firebug is also

Re: Problem with JSON Grid | ColdExt

2009-10-19 Thread Arsalan Tariq Keen
Well... I tried the same pages in IE7 and there it is showing two browser errors. 1. 'Ext.ux.grid.Search' is null or not an object 2. Could not complete the operation due to Error 80020101 please help me with this, I am running real short on deadlines!