Re: missing error details in application.log - what could be the cause? [follow-up]

2009-11-03 Thread Azadi Saryev
a bit of follow-up: reviewing his exception.log file, we saw that the exceptions thrown were java.lang.NullPointerException(s), but, again, that's all there was - no exception message/detail there either. the exception stack is there - just no error message: 1: Error,jrpp-95,10/30/09,09:21:07,,

AJAX CFGRID will not sort by column?

2009-11-03 Thread Glyn Jackson
Can anyone spot what is wrong here? my AJAX grid IS working but when I try and sort the columns (by clicking in the grid) I get the following error... Error Executing Database Query. :http: Invoking CFC: /admin/coldboxproxy.cfc , function: getAllproducts , arguments:

Re: AJAX CFGRID will not sort by column?

2009-11-03 Thread Glyn Jackson
Found the issues on this line... ORDER BY cfqueryparam cfsqltype=cf_sql_varchar value=#ARGUMENTS.gridsortcolumn# cfqueryparam cfsqltype=cf_sql_varchar value=#ARGUMENTS.gridsortdir# it seems to work without the cfqueryparam. can anyone tell me why this is the case?

Re: AJAX CFGRID will not sort by column?

2009-11-03 Thread Raymond Camden
You can't use QueryParams for the order by (or dir) parts of SQL. It can only be used for values in WHERE clauses. On Tue, Nov 3, 2009 at 5:30 AM, Glyn Jackson glyn.jack...@newebia.co.uk wrote: Found the issues on this line...  ORDER BY cfqueryparam cfsqltype=cf_sql_varchar

Re: AJAX CFGRID will not sort by column?

2009-11-03 Thread Glyn Jackson
Thanks Ray, seems strange, I did not know that. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

Re: CFCHART Question: Multiple bar colors with Single Series Chart

2009-11-03 Thread Robert Bell
Not sure if I am reading your post correct, but this makes multiple bar colors on a bar chart for me ? cfchart yAxisTitle=Project Count xAxisTitle=Projects by Status cfchartseries colorlist=black,olive,green,red,blue,yellow,purple type=bar query=count_status valueColumn=status_count

Re: CFCHART Question: Multiple bar colors with Single Series Chart

2009-11-03 Thread Leigh
Not sure if I am reading your post correct, but this makes multiple bar colors on a bar chart for me ? Yes. It must be a bug in the documentation that colorList can only be used for pie charts. As you say, it works fine for bar charts as well. -Leigh

RE: missing error details in application.log - what could be the cause? [follow-up]

2009-11-03 Thread brad
Can you provide us with the stack trace? ~Brad Original Message Subject: Re: missing error details in application.log - what could be the cause? [follow-up] From: Azadi Saryev az...@sabai-dee.com Date: Tue, November 03, 2009 3:33 am To: cf-talk cf-talk@houseoffusion.com a

RE: AJAX CFGRID will not sort by column?

2009-11-03 Thread brad
To be a bit more exact, you can only use cfqueryparam in a place where a regular SQL parameter could be used. For MSSQL server, this could be in the WHERE clause, the SELECT clause, JOINs, etc. However, SQL Server doesn't allow you to do this: DECLARE @orderBy varchar(50) SET @orderBy = 'name'

Re: Active Directory Question

2009-11-03 Thread Ian Skinner
Billy Cox wrote: I seem to recall that you have to enable 'Integrated Windows authentication' for the applicable website in IIS. You don't *have* to enable Integrate Windows Authentication. You just need to know the user you care to query the Active Directory for. Integrated Windows

License Key in DW CS3

2009-11-03 Thread Agha Mehdi
Where is it stored in DW? Can't find it. need to reinstall it because it's crashing every time I try to select something ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion

CFPOD and CFMENU - multiple drop-down arrows

2009-11-03 Thread Joshua Rowe
Hello, When I use the cfpod tag on a page that contains a horizontal cfmenu, each menu item adds an extra drop-down arrow for each menu item. For example, each menu item has one drop-down arrow by default. If I add two cfpod's to the page, two extra arrows are added to each menu item for a

Return an image from a CFC directly to an img src tag

2009-11-03 Thread Brook Davies
Hello, I am trying to return a CFCHART image created via a CFC like this: img src=mycfc.cfc?method=getimageid=xyz The image is being generated correctly but when I try to return it using returnType=binary, The resulting data is still wddx encoded: wddxPacket

RE: Return an image from a CFC directly to an img src tag

2009-11-03 Thread Brook Davies
Hi Tony, Thanks for the tip. But I am dynamically changing the image via JS to re-render the chart image, so I am basically setting myimage.dom.src = 'mycfc.cfc' Is there no way to return an image like that? -Original Message- From: Tony Bentley [mailto:t...@tonybentley.com] Sent:

Re: License Key in DW CS3

2009-11-03 Thread Casey Dougall
On Tue, Nov 3, 2009 at 7:49 PM, Agha Mehdi aghaime...@gmail.com wrote: Where is it stored in DW? Can't find it. need to reinstall it because it's crashing every time I try to select something This may help, I know it has for me in the past. Corrupted file cache Dreamweaver creates a

Active Directory Question

2009-11-03 Thread Scott Stewart
I know squat about AD, first off :-) Can I query an AD server and have it send back all the data that it has on a user? I'm trying to set up a role based security system and I want to use as much out of AD as possible (as opposed to creating user tables in a DB) -- Scott Stewart IT

RE: Active Directory Question

2009-11-03 Thread Dawson, Michael
Yes, you can. You get can all kinds of things about a user: name, phone, office, title, group membership, manager, etc. Group membership may mean the most to you, regarding a security system. Thanks, Mike -Original Message- From: Scott Stewart [mailto:sstwebwo...@bellsouth.net] Sent:

Re: Active Directory Question

2009-11-03 Thread Charlie Griefer
I know squat about AD too, so this is pretty much the blind leading the blind... but cfldap? On Tue, Nov 3, 2009 at 10:18 AM, Scott Stewart sstwebwo...@bellsouth.netwrote: I know squat about AD, first off :-) Can I query an AD server and have it send back all the data that it has on a

Re: Apache + CF8 + CFIDE = Config Prob?

2009-11-03 Thread Dave Watts
Thinking I needed to start over from the beginning, I uninstalled CF8 completely. However, now when I run the installer the first option Standalone Sever Configuration is disabled. It says that it thinks that a previous version of CF8 is already on the machine and only gives me the

Re: Active Directory Question

2009-11-03 Thread Scott Stroz
If all you need is the groups a user is part of, you can use cfnyauthenticate / http://www.cfquickdocs.com/cf8/#cfNTauthenticate On Tue, Nov 3, 2009 at 1:18 PM, Scott Stewart sstwebwo...@bellsouth.net wrote: I know squat about AD, first off :-) Can I query an AD server and have it send back

Re: Active Directory Question

2009-11-03 Thread Billy Cox
I seem to recall that you have to enable 'Integrated Windows authentication' for the applicable website in IIS. I have an internal app in which the application.cfm checks the value of session.accessgranted and then either lets the user into the app or evaluates whether the user's Windows

tinymce with cfwindow

2009-11-03 Thread M P
I've been trying to get tinymce to work on a textarea inside a cfwindow, but for some reason it doesn't seem to work. I put a textarea on the main page, and tinymce works just fine on it, but not on the one in the cfwindow. Anyone else seen this issue and know how to get it to work? Thanks,

Re: Return an image from a CFC directly to an img src tag

2009-11-03 Thread Tony Bentley
Return the image source dynamically. Get the source in your cfc, then invoke the cfc's method and use the method call as your var. cfscript img = createObject(component,imagecfc); /cfscript cfoutput img src=#img.getSource()# /cfoutput

Deploying a WAR (or EAR) file to JRun under CF9?

2009-11-03 Thread Marie Taylore
Hi all, I have the trial of ColdFusion 9 running on Linux and am wondering... if I have a Java WAR (or EAR) file how do I deploy that into a JRun instance on my server? I installed as 2- Enterprise Multiserver configuration so I'm assuming that includes the full J2EE engine, but I'm curious

Re: Sign String with RSA key

2009-11-03 Thread denstar
On Tue, Nov 3, 2009 at 1:31 PM, Tom Jones wrote: Hello, I'm looking for a tag or extension which will allow me to sign a string with a RSA private key so that I can verify it with the public key. What can I use to do this? You can try this, which I had lying around, and may or may not work:

Re: Active Directory Question

2009-11-03 Thread Ian Skinner
Scott Stewart wrote: I know squat about AD, first off :-) Can I query an AD server and have it send back all the data that it has on a user? Yes, if Active Directory lets you. Your CFML code has to query the Active Directory database as a user that has permissions to read all the data

Re: License Key in DW CS3

2009-11-03 Thread Agha Mehdi
Worked like a charm. Thanks a lot Casey. On Tue, Nov 3, 2009 at 4:54 PM, Casey Dougall ca...@uberwebsitesolutions.com wrote: On Tue, Nov 3, 2009 at 7:49 PM, Agha Mehdi aghaime...@gmail.com wrote: Where is it stored in DW? Can't find it. need to reinstall it because it's crashing

Re: Deploying a WAR (or EAR) file to JRun under CF9?

2009-11-03 Thread Dave Watts
I have the trial of ColdFusion 9 running on Linux and am wondering... if I have a Java WAR (or EAR) file how do I deploy that into a JRun instance on my server?  I installed as 2- Enterprise Multiserver configuration so I'm assuming that includes the full J2EE engine, but I'm curious how I

Re: License Key in DW CS3

2009-11-03 Thread Casey Dougall
On Tue, Nov 3, 2009 at 8:09 PM, Agha Mehdi aghaime...@gmail.com wrote: Worked like a charm. Thanks a lot Casey. Nice, have fun! ~| Want to reach the ColdFusion community with something they want? Let them know on the

Re: Active Directory Question

2009-11-03 Thread Charlie Griefer
cfnyauthenticate ensures the user roots for the Giants and knows good pizza. On Tue, Nov 3, 2009 at 10:50 AM, Scott Stroz boyz...@gmail.com wrote: If all you need is the groups a user is part of, you can use cfnyauthenticate / http://www.cfquickdocs.com/cf8/#cfNTauthenticate On Tue, Nov

Consuming a webservice fails in CF but not in Eclipse WPT

2009-11-03 Thread Paul Vernon
I'm looking at integrating with Taleo at the moment and I'm having problems consuming their web service. The wsdl file is located here: https://tbe.taleo.net/NA1/ats/services/rpcrouter?wsdl The error I get is: Cannot generate stub objects for web service invocation. Name:

Sign String with RSA key

2009-11-03 Thread Tom Jones
Hello, I'm looking for a tag or extension which will allow me to sign a string with a RSA private key so that I can verify it with the public key. What can I use to do this? Thanks, tom ~| Want to reach the ColdFusion

RE: Return an image from a CFC directly to an img src tag

2009-11-03 Thread Brook Davies
I figured this out by doing: cfcontent type=image/png variable=#image# -Original Message- From: Tony Bentley [mailto:t...@tonybentley.com] Sent: November-03-09 3:33 PM To: cf-talk Subject: Re: Return an image from a CFC directly to an img src tag Return the image source dynamically.

Real stumper: You have attempted to dereference a scalar variable of type class java.lang.String as a structure with members

2009-11-03 Thread Victor Moore
Hi, I'm getting a real nasty error and not sure how to fix it. This is the code: cfloop collection=#arguments.stArg# item=i cfset descr = arguments.stArg[i].descr !--- gives You have attempted to dereference a scalar variable of type class java.lang.String as a structure with members.

Re: Real stumper: You have attempted to dereference a scalar variable of type class java.lang.String as a structure with members

2009-11-03 Thread Mike Chabot
Replace that cfset line with the following to see if it throws the same error: cfset variables.x = arguments.stArg[i].descr -Mike Chabot On Tue, Nov 3, 2009 at 10:24 PM, Victor Moore victor.mo...@gmail.com wrote: Hi, I'm getting a real nasty error and not sure how to fix it. This is the

RE: Real stumper: You have attempted to dereference a scalar variable of type class java.lang.String as a structure with members

2009-11-03 Thread brad
I agree with Mike's suggestion. Your descr variables might be overlapping there. If that doesn't work, can you post a complete working example of the error that builds the struct as well? Also, you can try/catch the error and dump out the current value of arguments.stArg[i] at the point of the

Re: Real stumper: You have attempted to dereference a scalar variable of type class java.lang.String as a structure with members

2009-11-03 Thread Victor Moore
Hi Mike, The good news is that it worked, no more error. The thing is that I'm passing the struct to a cffunction and then loop and insert each one in the db. So basically I will have to var and to deconstruct the struct values and then use them for the insert. Any reason for this behaviour?

Re: tinymce with cfwindow

2009-11-03 Thread Azadi Saryev
does your cfwindow use a source or has a body? what your should do depends on this... Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 04/11/2009 08:34, M P wrote: I've been trying to get tinymce to work on a textarea inside a cfwindow, but for some reason it doesn't seem to work.

Re: Deploying a WAR (or EAR) file to JRun under CF9?

2009-11-03 Thread Marie Taylore
Thanks Dave! I tried going to localhost:8000, but nothing is listening there. Do I need to start a separate JRun server/service? I thought it would already be running along with ColdFusion?? The only port listening in the 8000 range is 8300 (CF web trial server). Any help anyone can

Re: Deploying a WAR (or EAR) file to JRun under CF9?

2009-11-03 Thread Marie Taylore
I think I got it. Run ./bin/jrun -start admin Now I can get into the Java Management Console (JMC). Will see if I can deploy a WAR now. Thanks! --- On Tue, 11/3/09, Marie Taylore mt4yl...@yahoo.com wrote: From: Marie Taylore mt4yl...@yahoo.com Subject: Re: Deploying a WAR (or EAR) file