Re: But it IS defined!

2005-01-20 Thread Tony Pimm
structure is stRecord.Holidays.stApproved, but your error message looks like there's a piece of code that thinks it's stRecord.stApproved.Holidaysis there a stray line of code that gets things backwards somewhere? -joe On Wed, 19 Jan 2005 11:18:08 -0400, Tony Pimm [EMAIL PROTECTED] wrote

But it IS defined!

2005-01-19 Thread Tony Pimm
This has had me scratching my head for ages now cfset var cfcAbsence = createobject(component, absence) !--- Set up the structure and other stuff--- cfset stRecord.Holidays.stApproved= cfcAbsence.search(arguments.userID1,1) cfset stRecord.Holidays.stNonApproved =

Calling CFCs from CFCs and Qry.currentrow

2005-01-17 Thread Tony Pimm
Hi, I've been having some problems with my code, which I've since fixed, but I was quite surprised at the behaviour. I was looping over a query returned from a CFC. Inside that Query loop, I was calling another CFC that did a load of queries, loops etc to return an employee's record. This

Re: CF-SQL to Stored Proc

2004-11-26 Thread Tony Pimm
That makes it very prone to caching the wrong execution plan: http://blog.mxconsulting. com/mxc-blog/archives/entries/B17FBDFD-EBB8-DFFC-87E24B10A97A0BA2. shtml In that case, if it's unlikely that SQL will be able to hold the execution plan for such a dynamic query, I'll keep it in CF.

CF-SQL to Stored Proc

2004-11-25 Thread Tony Pimm
I've got a great big SQL statement that I'd love to move into a stored procedure, but I can't see any obvious way of doing so. I know a fair bit about them, and can use them for simple queries, but as for advanced ones like this, I'm clueless. The main problem is that there are so many

CF Exchange Calendar

2004-11-05 Thread Tony Pimm
Has anyone found a way to use ColdFusion to interface with a Microsoft Exchange server, and create events for Public Calendars or tasks? Tony ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net

CF J2SE 1.5.0 Release Candidate

2004-09-13 Thread Tony Pimm
Has anyone tried to run CFMX on the new J2SE 1.5.0 RC java server, to replace the 1.4.2 Java VM that comes with CFMX? http://java.sun.com/j2se/1.5.0/docs/relnotes/features.html I'm running a server install rather than a Jrun install, so I'd be interested to know if there are any performance

Re: cfdump [unknown type]

2004-09-09 Thread Tony Pimm
Well it's rubbish, my code that used to simply try/catch a piece of code, if there was an error, passed the cfcatch structure to a custom tag which then handles it.It's now royally broken. I've now either got to use the custom tag suggested above, or rely on cferror to handle all my specific

Re: cfdump [unknown type]

2004-09-08 Thread Tony Pimm
Hi Tony, Yeah, I've noticed this a lot since the CFMX 6.1 Updater. I never had this problem before applying the updater.It's now appearing all over the place. Have you found the cause for this yet, or any solutions? Thanks. Tony (another) anyone ever get this when you cfdump var=#cfcatch#

Re: Auto-Login

2004-09-03 Thread Tony Pimm
Great! Can anyone tell me how to configure IIS to do this? Thanks. If I'm logged onto my local machine in the local domain, is there a way that ColdFusion can identify my username? Is there a way of identifying if the user is logged onto the local domain already? And who the user is?

Auto-Login

2004-09-02 Thread Tony Pimm
If I'm logged onto my local machine in the local domain, is there a way that ColdFusion can identify my username? Is there a way of identifying if the user is logged onto the local domain already? And who the user is? Basically, I want to avoid making users log on to an internal system, and for

Programmatically Creating Custom Tag Paths

2004-07-02 Thread Tony Pimm
One of my pet peeves is having to create a custom tag path in the CF Admin so that our custom tags and components are found by CF. What would be really great for us (and I guess loads of other people) would be if we could find a list of all the custom tag paths, check if our desired path is in

Best Java Integration Route?

2004-06-24 Thread Tony Pimm
Hi, I'm looking to use some Java code written by our Java team and integrate ColdFusion with it. What's the best way to do this?How easy is it to integrate CF with a Java Class?Does anyone have any really simple examples of this type of thing using a custom built Java class? Ta. Tony [Todays

Re: SSHA hash checking

2004-06-11 Thread Tony Pimm
SSHA stands for Secure Salted Hashing Algorithm, and can be used in LDAP to hash user passwords. Using your code below, how can I use this to hash a value? Tony What's SSHA?If you means just SHA, you can get a SHA hasher direct from the JRE: cfset shaHasher = createObject(java,

SSHA hash checking

2004-06-10 Thread Tony Pimm
Hi, Does anyone know of any SSHA extensions available for ColdFusion / Java? Thanks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

LDAP server is unwilling to perform

2004-05-26 Thread Tony Pimm
Hi, We have been using a simple LDAP authentication method, which basically queries the LDAP server for the user's own record using their own username and password. This in general works fine, however for a very small number of accounts (about 1 in 50ish), instead of returning the user's record,

XPath Help

2004-05-21 Thread Tony Pimm
Hi, I'm trying to get some XPath to work with respect to a navigation tree. ?xml version=1.0 encoding=utf-8 ? tree node objectid=3456 title=Informationa node objectid=2134 title=Contact / node objectid=5656 title=Top 1.2 / node objectid=5672 title=Top 1.3 / node objectid=123 title=Top

PDF to SWF ??

2004-05-05 Thread Tony Pimm
Does anyone know of any tools that I can use from within ColdFusion to convert a PDF to a SWF for use in an Flash application?Any related conversion utilities would be welcome, I just need to get some non-flash documents into an RIA. Any Java libraries that do this? Thanks. Tony [Todays