Re: why use coldfusion 7? (Result)

2005-05-24 Thread mike hanson
Thanks in part to your responses I have agreement to skip cf6 and go straight to 7. :-) ~| Find out how CFTicket can increase your company's customer support efficiency by 100%

RE: (OT) Object tag - text/html in IE Cross Domain

2005-05-24 Thread Micha Schopman
Jim, This is done for security reasons. Imagine someone creating his own scripting to access Javascript methods which return sensitive information (bankaccount). There are some things one can do, like P3P tags, but essentially it comes down to someone modifying the cross domain scripting

SMTP problems

2005-05-24 Thread Protoculture
Some of our email seems to get lost and either stuck in the queue or not sent at all. I checked the log files of the SMTP server and found this... what do you guys make of it? any idea why our email server would be returning this in the log file? 00:03:44 dns_query: rcode=refused for from

RE: Verity and Security

2005-05-24 Thread Ian Vaughan
Ray Thanks for your help the following q of q solved the problem cfquery name=GetResults dbtype=query select * from GetResults where custom2 IN (#PreserveSingleQuotes(session.groupname)#) /cfquery -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: 23 May 2005

Re: SMTP problems

2005-05-24 Thread Jochem van Dieten
Protoculture wrote: any idea why our email server would be returning this in the log file? 00:03:44 dns_query: rcode=refused for from 158.152.1.43:53 I guess it misses a record to query for and it should read: 00:03:44 dns_query: rcode=refused for record from 158.152.1.43:53 That would

Re: String to SHA1 to Base 64 Encryption Help!

2005-05-24 Thread Jochem van Dieten
Aldon wrote: Imports System.Security.Cryptography Private Function ComputeHash(ByVal Key As String) As String Dim objSHA1 As New SHA1CryptoServiceProvider objSHA1.ComputeHash(System.Text.Encoding.UTF8.GetBytes(Key.ToCharArray)) Dim buffer() As Byte = objSHA1.Hash Dim HashValue As String =

Re: SMTP problems

2005-05-24 Thread Protoculture
huh? so what does that mean to someone who has no idea about SMTP? Protoculture wrote: any idea why our email server would be returning this in the log file? 00:03:44 dns_query: rcode=refused for from 158.152.1.43:53 I guess it misses a record to query for and it should read: 00:03:44

Re: SMTP problems

2005-05-24 Thread Paul Hastings
Protoculture wrote: huh? so what does that mean to someone who has no idea about SMTP? dns-speak for: FQDN == fully qualified domain name canonicalization == converting domain names (or any kind of data) into some standard representation validated/scrubbed your email addresses?

RE: Verity and Security

2005-05-24 Thread James Holmes
cf_smug All of this guff makes me glad I have Oracle Text at my command. With one query I can add any number of custom criteria to a full-text query and get back exactly what I want. Anyone who has Oracle should check it out. /cf_smug -Original Message- From: Ian Vaughan [mailto:[EMAIL

Verity Problem running with NT account

2005-05-24 Thread John Beynon
Here's my environment. Two Windows 2003 servers, IIS6, CF7 using Windows Load Balancing ColdFusion Standard in a windows domain Code is all served up from a clustered fileshare. CFMX is running as a domain account as well as the Search Service. Both ColdFusions are configured to talk to the

Verity Problem running with NT account

2005-05-24 Thread John Beynon
in a second test, creating a local verity collection and leaving search/cfmx running as a cfmxservice account i was able to query the collection (populated with the same data) Am i able to have verity access remote collections? Is it a good idea to have a single collection being accessed by

Re: why use coldfusion 7? (Result)

2005-05-24 Thread Calvin Ward
Congratulations! Looking forward to helping out with your migration questions :P There's a great manual that comes with 7 (maybe only in pdf) that talks about the migration process and considerations. - Calvin On 5/24/05 2:44 AM, mike hanson [EMAIL PROTECTED] wrote: Thanks in part to your

Re: SMTP problems

2005-05-24 Thread Protoculture
Alright, so I did some more digging and found the following problem that seems to plague or system... WSACONNABORTED - Software caused connection abort. An established connection was aborted by the software in your host machine, possibly due to a data transmission timeout or protocol error. It

Re: Viewing files in another server/directory outside CF server

2005-05-24 Thread Michel Deloux
Thank you Pascal for your answer. But don't work for us. With CF I(administrator user) can view all files stored in that protected dir/server. But final user(without rights for read/write) don't... Using cflocation, cffile with read and after write, all fails... Do you have other choice? Can help

RE: There's got to be a way around this

2005-05-24 Thread Dave Watts
There are generally two reasons for something like that: 1) The code is very old - we've still got code from CF 2.0 around and it's pretty damn nasty. ;^) A lot of the stuff we take for granted (structs, scopes as structs, even arrays) didn't exist in earlier versions of the language.

RE: There's got to be a way around this

2005-05-24 Thread S . Isaac Dealey
I'm not sure what you're asking and want to be. Ben and Isaac (a biblical sounding pair if ever I've heard one) have already shown you several methods for accessing arbitrary form fields. My confusion is your mention of CFPARAM. CFPARAM has nothing specifically to do with Forms - it's

RE: Viewing files in another server/directory outside CF server

2005-05-24 Thread Pascal Peters
The final user does not need access to that folder, just CF. Let's say I want to access a file C:\docs\test.doc, but the user doesn't have access to C:\docs. CF has access to it, and the user has access to a CF application in the webroot. Create a file download.cfm under the webroot somewhere and

popup blocker detector script

2005-05-24 Thread Simon Cornelius P . Umacob
Basically, you just see if your JavaScript can successfully invoke window.open(). There is a myriad of ways to do that, so it would be fun to self-explore and look for alternate solutions. :) Cheers, [ simon.cpu ] i was on a site once and i clicked on popup and it said i had a popup

SMS Event Gateway?

2005-05-24 Thread Chris Alvarado
Hello all, Im having some trouble finding some concrete info on exactly what is needed to get the SMS Event Gateway working. From what I can gather I can go about it 1 of 2 way. Either obtain SMPP accounts with all of the wireless providers, OR work with a Connection Aggregator (3rd

Re: Viewing files in another server/directory outside CF server

2005-05-24 Thread Michel Deloux
Thanx Pascal I'm using this script to show to the user a href=### onclick=javascript: window.open('file://CA_LA_Fresno/Docs/FresnoPower.doc'); title=Please click here to view this documentoFresnoPower.doc/a All users have READ only access to Docs subdir. In that situation if user clicks

RE: Viewing files in another server/directory outside CF server

2005-05-24 Thread Dave Watts
I'm using this script to show to the user a href=### onclick=javascript: window.open('file://CA_LA_Fresno/Docs/FresnoPower.doc'); title=Please click here to view this documentoFresnoPower.doc/a All users have READ only access to Docs subdir. In that situation if user clicks

Re: There's got to be a way around this

2005-05-24 Thread Richard Crawford
On Tuesday 24 May 2005 06:54, S. Isaac Dealey wrote: cfparam name=x default= instead of this: cfparam name=form.x default= I'm still not entirely certain how that comes across as the question he asked, except perhaps that he's trying to scope his variables as say variables.x instead of

Re: Viewing files in another server/directory outside CF server

2005-05-24 Thread Michel Deloux
Thanx Dave, CF lives in CA_LA_WS server and all docs lives in CA_LA_Fresno server. How to show for our users docs stored in CA_LA_Fresno server with IE? It's possible? For IE I need to store my files in CF server? 2005/5/24, Dave Watts [EMAIL PROTECTED]: I'm using this script to show to the

Re: There's got to be a way around this

2005-05-24 Thread Richard Crawford
On Monday 23 May 2005 22:03, Jim Davis wrote: The developer in question used it as an example of how hard it was to do simple things in CF compared to Java in meeting.  I wrote #listfirst(var, -)# and #listlast(var, -)# on the whiteboard.  ;^) In general, I prefer to program in PHP since I

RE: Viewing files in another server/directory outside CF server

2005-05-24 Thread Dave Watts
CF lives in CA_LA_WS server and all docs lives in CA_LA_Fresno server. How to show for our users docs stored in CA_LA_Fresno server with IE? It's possible? For IE I need to store my files in CF server? You have all sorts of options. You can allow direct access via UNC path to the server in

Re: There's got to be a way around this

2005-05-24 Thread S . Isaac Dealey
On Tuesday 24 May 2005 06:54, S. Isaac Dealey wrote: cfparam name=x default= instead of this: cfparam name=form.x default= I'm still not entirely certain how that comes across as the question he asked, except perhaps that he's trying to scope his variables as say variables.x instead of

Re: Viewing files in another server/directory outside CF server

2005-05-24 Thread Michel Deloux
Thanx Dave. and that your clients have network logon rights to that machine and read access to the share in question... it's impossible! What's UNC? How to setup? Thanx once more again. 2005/5/24, Dave Watts [EMAIL PROTECTED]: CF lives in CA_LA_WS server and all docs lives in

Security Issue?

2005-05-24 Thread David Delbridge
Hi all, Does anybody recognize this URL string pattern (%C2%A0%C2%A0It) as a security exploit? For example: http://www.mywebsite.com/form.cfm?ID=89%C2%A0%C2%A0It It produces the following error in CF: Incorrect syntax near 'Â'. SQL = select * from DbName where (ID = 89Â Â It) I've received

RE: Security Issue?

2005-05-24 Thread Damien McKenna
Please tell me you are using cfqueryparam? -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h ~| Logware (www.logware.us): a new and

RE: Viewing files in another server/directory outside CF server

2005-05-24 Thread SStewart
UNC: universal network connection, or something like that. Basically it's Windows Shared folder/or drive. Scott A. Stewart, Web Application Developer Engineering Consulting Services, Ltd. (ECS) 14026 Thunderbolt Place, Suite 300 Chantilly, VA 20151 Phone: (703) 995-1737 Fax: (703) 834-5527

RE: Security Issue?

2005-05-24 Thread Kevin Aebig
My guess is that you're using CFencrypt on a variable before you pass it through a query param. Is this the case? Kevin -Original Message- From: David Delbridge [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 10:57 AM To: CF-Talk Subject: Security Issue? Hi all, Does anybody

Re: Security Issue?

2005-05-24 Thread S . Isaac Dealey
Hi all, Does anybody recognize this URL string pattern (%C2%A0%C2%A0It) as a security exploit? For example: http://www.mywebsite.com/form.cfm?ID=89%C2%A0%C2%A0It It produces the following error in CF: Incorrect syntax near 'Â'. SQL = select * from DbName where (ID = 89Â Â It) I've

RE: Viewing files in another server/directory outside CF server

2005-05-24 Thread Dave Watts
and that your clients have network logon rights to that machine and read access to the share in question... it's impossible! What's UNC? How to setup? If that's impossible, you won't be able to offer links using the file: pseudo-protocol. If the service account used by the CF server

RE: There's got to be a way around this

2005-05-24 Thread Jim Davis
-Original Message- From: Richard Crawford [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 12:30 PM To: CF-Talk Subject: Re: There's got to be a way around this On Monday 23 May 2005 22:03, Jim Davis wrote: The developer in question used it as an example of how hard it was

Re: CFMX XML/XSLT questions....

2005-05-24 Thread Jon Gunnip
XSLT can be a little bit tricky to get your head around if you are new to it. For example, variables can only be set once within their scope and you often use recursion implicitly (apply-templates) or explicitly (call a template inside of itself) to get things done that you might you accomplish

Re: RESOLVED CFMX GC every 60 sec.?

2005-05-24 Thread Chris Norloff
Thanks, Sean. Yes, I've wondered why JVM's seem to be installed by default with the ability for any programmer to call a Garbage Collection. I've never heard anyone say it was good to do (though I don't doubt there could be cases where it would be good). And I agree about protecting the

Returning XML data via a CFC?

2005-05-24 Thread Pete Ruckelshaus
I'm using XMLhttp to do some RIA stuff. Rather than having a separate CFM file for each XML file that I need to return, I want to have a single CFC with a bunch of methods in it that return the proper content (XML, using cfheader/cfcontent) to the app. The question is, can I do this (and is it

RE: popup blocker detector script

2005-05-24 Thread Connie DeCinko
Just check the code of that page (view source) and see how they did it. i was on a site once and i clicked on popup and it said i had a popup blocker enabled, cant remember site, anyone have a script 4 that? Thanks ~Dave the disruptor~

Re: popup blocker detector script

2005-05-24 Thread Daniel Mackey
http://www.visitor-stats.com/articles/detect-popup-blocker.php Dan. Connie DeCinko wrote: Just check the code of that page (view source) and see how they did it. i was on a site once and i clicked on popup and it said i had a popup blocker enabled, cant remember site, anyone have a

format XML string?

2005-05-24 Thread Johnny Le
Hi, Is there a way to format the xml string before writing back to the file? The problem I have is when I use toString(xmlObject) to convert the xml object to string to write to a file, it becomes one long ugly string. Is there an easy to format it with indentation and all? Johnny

Re: format XML string?

2005-05-24 Thread Barney Boisvert
Not with CF natively. XML (like HTML) is whitespace agnostic, so the XML doesnt care if it's one long line, or a nicely formatted (according to an arbitrary human). You could probably write a formatter fairly easily, depending on the complexity of the formatting rules you wanted to enforce. At

RE: format XML string?

2005-05-24 Thread Kerry
parse it into an xml object, then use: xmlobj.getDocumentElement().toString() except that will probably Unicode format it, dunno if theres a unicode2msdos() function floating around anywhere... -Original Message- From: Johnny Le [mailto:[EMAIL PROTECTED] Sent: 24 May 2005 18:36 To:

RE: format XML string?

2005-05-24 Thread Dave Watts
Is there a way to format the xml string before writing back to the file? The problem I have is when I use toString(xmlObject) to convert the xml object to string to write to a file, it becomes one long ugly string. Is there an easy to format it with indentation and all? I would

RE: Returning XML data via a CFC?

2005-05-24 Thread Dave Watts
cfsetting enablecfoutputonly=No /cfcomponent Are there any glaring errors in this code that would explain why I'm not getting anything but whitespace back? You are using CFSETTING to require output be within a CFOUTPUT tag. I'm not sure how that plays with your CFHEADER and CFCONTENT tags.

Re: Returning XML data via a CFC?

2005-05-24 Thread Dave Carabetta
On 5/24/05, Pete Ruckelshaus [EMAIL PROTECTED] wrote: I'm using XMLhttp to do some RIA stuff. Rather than having a separate CFM file for each XML file that I need to return, I want to have a single CFC with a bunch of methods in it that return the proper content (XML, using

Re: CFMX XML/XSLT questions....

2005-05-24 Thread Massimo, Tiziana e Federica
Also, with CF 7, you can pass parameters to XMLParse(), so if you want to separate your data from your display logic, you can put your data in the XML and pass the display options to XMLParse() at runtime. If you would like to perform XSLT transformation with parameters you can check this UDF:

RE: Viewing files in another server/directory outside CF server

2005-05-24 Thread Kerry
UNC: \\servername\sharename\directory\file AFAIK, your CF service will need to login as a user with rights to the remote server -Original Message- From: Michel Deloux [mailto:[EMAIL PROTECTED] Sent: 24 May 2005 17:45 To: CF-Talk Subject: Re: Viewing files in another server/directory

Re: Returning XML data via a CFC?

2005-05-24 Thread Pete Ruckelshaus
Dave, That's what I'm doing in a similar CFM page (that I want to convert to CFC), and it works fine: cfsetting enablecfoutputonly=yes showdebugoutput=no cfquery name=getEmail datasource=local select firstname, email fromtblArsUsers where

Re: There's got to be a way around this

2005-05-24 Thread Richard Crawford
On Tuesday 24 May 2005 10:12, Jim Davis wrote: In my company however this is the norm: we moved away from CF almost purely on the say-so of the Java programmers like the one I mentioned and their assertions that Java was easier to work with. In short they produced complete crap and blamed the

Re: Viewing files in another server/directory outside CF server

2005-05-24 Thread Michel Deloux
Thanx Dave using CFCONTENT and CFHEADER I need to get that file right? After that I can send that file to user browser... Works with users with no server rights? 2005/5/24, Dave Watts [EMAIL PROTECTED]: and that your clients have network logon rights to that machine and read access to

Re: format XML string?

2005-05-24 Thread Joe Rinehart
If it helps, I wrote a little UDF for this...can't guarantee it'll be 100% on all of the time, I scrawled it out quickly for my own quick use a while back. cffunction name=prettyXml returnType=string output=false cfargument name=xmlNode cfargument name=depth default=0

RE: format XML string?

2005-05-24 Thread S . Isaac Dealey
Is there a way to format the xml string before writing back to the file? The problem I have is when I use toString(xmlObject) to convert the xml object to string to write to a file, it becomes one long ugly string. Is there an easy to format it with indentation and all? I would

Re: There's got to be a way around this

2005-05-24 Thread S . Isaac Dealey
On Tuesday 24 May 2005 10:12, Jim Davis wrote: In my company however this is the norm: we moved away from CF almost purely on the say-so of the Java programmers like the one I mentioned and their assertions that Java was easier to work with. In short they produced complete crap and blamed

Re: format XML string?

2005-05-24 Thread S . Isaac Dealey
This should work fine (if slowly) asside from the fact that you need to add xmlformat() around the attribute and text node values. If it helps, I wrote a little UDF for this...can't guarantee it'll be 100% on all of the time, I scrawled it out quickly for my own quick use a while back.

RE: format XML string?

2005-05-24 Thread Johnny Le
Yes, I do have the need for that. That is why I asked. I auto-generate the circuit.xml files, but I want other developers to be able to manually edit them if needed without any difficulty. Kerry, your suggestion seems to do the trick. Thank you. Johnny Is there a way to format the xml

Re: format XML string?

2005-05-24 Thread S . Isaac Dealey
Not with CF natively. XML (like HTML) is whitespace agnostic, so the XML doesnt care if it's one long line, or a nicely formatted (according to an arbitrary human). You could probably write a formatter fairly easily, depending on the complexity of the formatting rules you wanted to

Re: Returning XML data via a CFC?

2005-05-24 Thread Dave Carabetta
On 5/24/05, Pete Ruckelshaus [EMAIL PROTECTED] wrote: Dave, That's what I'm doing in a similar CFM page (that I want to convert to CFC), and it works fine: cfsetting enablecfoutputonly=yes showdebugoutput=no cfquery name=getEmail datasource=local select firstname, email

RE: format XML string?

2005-05-24 Thread Kevin Aebig
If you're just looking to quickly see your output, You could just write it out and set the content type of the page. Kevin -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 12:23 PM To: CF-Talk Subject: RE: format XML string? Is there a way

Re: popup blocker detector script

2005-05-24 Thread dave
that works, thanks! ~Dave the disruptor~ From: Daniel Mackey [EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 1:36 PM To: CF-Talk cf-talk@houseoffusion.com Subject: Re: popup blocker detector script

RE: popup blocker detector script

2005-05-24 Thread dave
hence the cant remember site in my ? ;)~ ~Dave the disruptor~ From: Connie DeCinko [EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 1:32 PM To: CF-Talk cf-talk@houseoffusion.com Subject: RE: popup blocker detector script Just check the code of that page

Re: format XML string?

2005-05-24 Thread Massimo, Tiziana e Federica
Johnny Le [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yes, I do have the need for that. You can try a pretty printer XSLT. This should be a starting point: xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; !--Normalize whitespace by stripping space

RE: Returning XML data via a CFC?

2005-05-24 Thread Kevin Aebig
From what I see happening, you'd probably be better off returning a string with the content and handling the output elsewhere. The method you're using isn't very flexible and the cfcontent within a CFC isn't a real good idea. Also, I've had issues where only whitespace is returned if there is

Re: Returning XML data via a CFC?

2005-05-24 Thread Pete Ruckelshaus
Dave C, Thanks, but I was unable to get that to work when calling it via URL. At this point I'm more focused on getting it to work than I am on CFC best practices, and getting it to work isn't, well, working. Macromedia's docs are incomplete and nearly devoid of useful examples. I hate to say

RE: format XML string?

2005-05-24 Thread Johnny Le
I spoke too soon, Kerry. It didn't work. The toString() function seems to work properly when you create the file for the first time, but when you access an existing xml file and modify it with the xmlElemNew() and other xml functions, then the output is just one long string. Also some of you

ACH file format

2005-05-24 Thread Chris Terrebonne
Any chance one of you have experience with using CF to format a standardized ACH file? Any CFC's or custom tags that will do this? I was going to write one, but no need to reinvent if it already exists. Thanks! Chris This email and its attachments may contain confidential information which

Re: format XML string?

2005-05-24 Thread Joe Rinehart
This should work fine (if slowly) asside from the fact that you need to add xmlformat() around the attribute and text node values. Thanks, I'll add them in if I ever need to use it again. It was put together in about 10 minutes for debug purposes a while back when I couldn't use a browser

Re: Returning XML data via a CFC?

2005-05-24 Thread Dave Carabetta
On 5/24/05, Pete Ruckelshaus [EMAIL PROTECTED] wrote: Dave C, Thanks, but I was unable to get that to work when calling it via URL. At this point I'm more focused on getting it to work than I am on CFC best practices, and getting it to work isn't, well, working. Macromedia's docs are

RE: format XML string?

2005-05-24 Thread Dave Watts
Also some of you missed my point, I am trying to format it so it would look readable when I modify it in Dreamweaver or CFEclipse. I don't have problem viewing it in IE or on a web page. So I don't see how XSLT can play a role here. If you export the string to a file, and let your

RE: Viewing files in another server/directory outside CF server

2005-05-24 Thread Dave Watts
using CFCONTENT and CFHEADER I need to get that file right? After that I can send that file to user browser... Works with users with no server rights? Yes, you would be fetching the file with CF, then returning it to the browser. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/

Re: format XML string?

2005-05-24 Thread Massimo, Tiziana e Federica
So I don't see how XSLT can play a role here. It can play a role, because you can post-process your XML string using XSLT as pretty printer. Try the code below (hope carriage returns will not break it): cfsavecontent variable=xslStr xsl:stylesheet version=1.0

RE: ACH file format

2005-05-24 Thread Jeff Waris
I have one but unfortunately the code is not public to use. It our proprietary ACH file writer. I can however answer any questions you might have writing one. A lot of 7 records are different depending on which financial institution you are sending it to, but all the formatting and line

3.4 Drivers - Any Early Adopters Care To Comment?

2005-05-24 Thread Nathan Strutz
The new CF database drivers based on DataDirect 3.4 came out a couple weeks ago. Are there any early adopters who have tried these on busy systems with success? Are they better than the last, about the same, anything? I'll even accept me too type posts (or even aol/ as we learned yesterday).

RE: format XML string?

2005-05-24 Thread Johnny Le
If you export the string to a file, and let your XML-aware text editor (or other XML reader software like a browser) know it's an XML file (typically by the file extension), the text editor will automatically display it as a tree. Unfortunately, the current version of Dreamweaver doesn't seem to

Re: Security Issue?

2005-05-24 Thread David Delbridge
Good point. I do, but then there's a small matter of a few hundred hosting customers Dave Damien McKenna wrote: Please tell me you are using cfqueryparam? -- David M. Delbridge Circa 3000 ColdFusion Hosting http://www.circa3k.com 866-CIRCA3K (247-2235) Outside U.S: +1.775-832-2445

Re: Viewing files in another server/directory outside CF server

2005-05-24 Thread Michel Deloux
Using CFCONTENT and CFHEADER with MS Word files show me a Save/Download screen in IE. Please look my simple code: view_files.cfm?fileX=file://CA_LA_Fresno/systems/Fresno2004_12.doc in view_files I remove file: and change / bar to \ bar and after:: cfheader name=Content-Disposition

Re: Security Issue?

2005-05-24 Thread David Delbridge
I'm afraid not. The offending characters arrived unpromted in the URL. Dave Kevin Aebig wrote: My guess is that you're using CFencrypt on a variable before you pass it through a query param. Is this the case? Kevin -Original Message- From: David Delbridge [mailto:[EMAIL

Re: Returning XML data via a CFC?

2005-05-24 Thread Donnie Bachan
Pete, What are you doing with the XML once it is returned via the CFC? Are you returning for the javascript to manipulate it or is the javascript going to write it directly to the page? -- Donnie Bachan Website: http://www.islandwizards.com Blog: http://angrytrini.blogspot.com Nitendo Vinces -

Re: format XML string?

2005-05-24 Thread Johnny Le
Your method works, but it doesn't do indentation. I'll look more into it. Thanks. Johnny So I don't see how XSLT can play a role here. It can play a role, because you can post-process your XML string using XSLT as pretty printer. Try the code below (hope carriage returns will not break it):

Re: format XML string?

2005-05-24 Thread Massimo, Tiziana e Federica
Your method works, but it doesn't do indentation. I'll look more into it. Thanks. Yes, the XSLT code I posted is too generic for doing indentation too. You have to customize it, that's why I said it was a starting point. Massimo Foti Tools for ColdFusion and

RE: format XML string?

2005-05-24 Thread Dawson, Michael
If you really need to view it, open the xml in IE or an xml editor like XML Spy. They will format it nicely for display regardless of the file's formatting. M!ke ~| Logware (www.logware.us): a new and convenient web-based time

RE: ACH file format

2005-05-24 Thread Dawson, Michael
From what I have seen, ACH files are just fixed-width files. Sometimes, the format can be flexible. The parser, on the other end, can be setup to read your format and do what it needs to do. We had the need for this on our mainframe. It only created fixed-width text files. There was nothing

Re: Viewing files in another server/directory outside CF server

2005-05-24 Thread Deanna Schneider
That's the proper behavior. If you want them to display in the browser, you'll ned to change your value=attachment; to value=inline; - Original Message - From: Michel Deloux [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, May 24, 2005 2:49 PM Subject: Re: Viewing

CFFORM + FLASH

2005-05-24 Thread Stuart Kidd
Hi guys, I¹m using the CFFORM tag and wanted to add some extra validation. My tag is like so: cfform action = /?kissMyDate=yes format = Flash skin = haloBlue width = 400 height=420 name=Part1 onsubmit=if(

Java and JVM page in CF Administrator

2005-05-24 Thread B G
This question is in regards to CFMX 6.1 Enterprise. I am working on a box I inherited and in the admin there is no link to the Java and JVM settings. I have never seen this before and I have no idea where to even look to correct this. Could the installation be corrupt? All CF pages seem to

Structures vs. Real Structures

2005-05-24 Thread Rebecca Wells
This reminds me of something that my boss and I argued about... I said that query recordsets and forms are structures, and he said that it's not the same kind of structure as a struct(), that the structure function is better because it's indexed and that the query and forms are not real

Nest query inside structure in CFMX web service?

2005-05-24 Thread Ben Mueller
I would like to nest a query object inside of a structure that is returned by a web service I'm building. The web service is to be consumed by CFMX. I thought I had it working at one point, but now I get an ugly error that says the QueryBean cannot be deserialized. So, now I'm wondering if

Re: Returning XML data via a CFC?

2005-05-24 Thread Pete Ruckelshaus
Dave, I get back a blank page. There is some whitespace (CR/LF's, tabs). No error messages. Donnie, I'm trying to access the CFC directly and return XML data so that I can use it in an xmlhttp.request transaction to populate some form fields, sort of like Google suggest. Thanks Pete

Re: Java and JVM page in CF Administrator

2005-05-24 Thread Douglas Knudsen
sounds like you have the J2EE version with full Jrun. In this case the CFAdmin tool doesn't have this. You can use the JMC, I think its fixed now, used to have a bug that messedup your JVM settings. Personally, I mod these directly. See JRun/bin for your jvm.config. Note by default, this file

RE: Structures vs. Real Structures

2005-05-24 Thread Kevin Aebig
I'm not sure you could actually make an argument one way or another. Like most tools, they're better than the other depending on the situation. To say that one is real is to assume the other is fake... and everyone knows thats not the case. Kevin -Original Message- From: Rebecca Wells

RE: Security Issue?

2005-05-24 Thread Kevin Aebig
It could be a homemade spider from overseas. In what context is the page called? Is it an include, a website page, webapp page? Is it under SSL? Is it protected in any way? Kevin -Original Message- From: David Delbridge [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 1:52 PM To:

RE: Structures vs. Real Structures

2005-05-24 Thread Jim Davis
-Original Message- From: Rebecca Wells [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 5:30 PM To: CF-Talk Subject: Structures vs. Real Structures This reminds me of something that my boss and I argued about... I said that query recordsets and forms are structures, and he

Re: next and previous records

2005-05-24 Thread J Elder
You're not passing your variables. cfif IsDefined(DUE) cfset qryvar = DUE / cfelseif isdefined(PASTDUE) cfset qryvar = PASTDUE / A HREF=loaddataSummaryResults.cfm?StartRow=#Next#qryvar=#qryvar# On 5/20/05, WebStop Internet Services wrote: Help! This keeps failing after the

RE: Structures vs. Real Structures

2005-05-24 Thread Rebecca Wells
So, if you can't just use the structname[structKey] kind of reference for a query then how can you reference reference a query value using this model, if at all? -Original Message- The FORM scope (and all other scopes) are plain-jane structs - there's no real difference between them

Re: Security Issue?

2005-05-24 Thread David Delbridge
It's a public webpage. No SSL. The ID variable simply specifies which news story to view. Dave Kevin Aebig wrote: It could be a homemade spider from overseas. In what context is the page called? Is it an include, a website page, webapp page? Is it under SSL? Is it protected in any way?

Re: Structures vs. Real Structures

2005-05-24 Thread Charlie Griefer
actually you can... queryname.columnName[rowNumber] (which is a way to loop over query data in cfscript) On 5/24/05, Rebecca Wells [EMAIL PROTECTED] wrote: So, if you can't just use the structname[structKey] kind of reference for a query then how can you reference reference a query value

Re: Returning XML data via a CFC?

2005-05-24 Thread Sean Corfield
On 5/24/05, Pete Ruckelshaus [EMAIL PROTECTED] wrote: I get back a blank page. There is some whitespace (CR/LF's, tabs). If you return a value from a CFC, it's only useful if you call it from other CF code. If you attempt to call it via the browser as you are doing, then the Servlet API encodes

js popup resizing ?

2005-05-24 Thread dave
ina ll the good browsers this script auto resizes to the pics size but in ie it doesn't, it just goes to the 200 x 200 is there a hack for it? script language=JavaScript type=text/javascript    function PopupPic(sPicURL) { window.open( popup.cfm?+sPicURL, ,

Re: js popup resizing ?

2005-05-24 Thread Bryan Stevenson
How the heck does that change the window size in any browser? looks to me that it hardcodes the window size to 200x200...which is what IE is doing...what's that about the good browsers Dave?? ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc.

Re: js popup resizing ?

2005-05-24 Thread Richard Crawford
On Tuesday 24 May 2005 16:57, Bryan Stevenson wrote: How the heck does that change the window size in any browser? looks to me that it hardcodes the window size to 200x200...which is what IE is doing...what's that about the good browsers Dave?? ;-);-) Uh oh... *donning asbestos pajamas* --

RE: js popup resizing ?

2005-05-24 Thread Dawson, Michael
p align=\left\bfont face=\Arial\ size=\2\GFI MailSecurity's HTML threat engine found HTML scripts in this email and has disabled them./font/b/pThat is a user-configurable setting in the browser. For example, I may have FF set to auto-scale the images (no scroll bars), but in IE, I want to see

  1   2   >