Re: special chars in xml?

2007-09-11 Thread James Holmes
Quite right - you can't add it as a child tag then? On 9/12/07, Paul Hastings <[EMAIL PROTECTED]> wrote: > Dave Watts wrote: > > You can't use CDATA for attribute values, if I recall correctly. > > that appears to be the case. > > "xml. what they speak in hell." ;-) > > ~

Re: special chars in xml?

2007-09-11 Thread Paul Hastings
Dave Watts wrote: > You can't use CDATA for attribute values, if I recall correctly. that appears to be the case. "xml. what they speak in hell." ;-) ~| Check out the new features and enhancements in the latest product release -

RE: special chars in xml?

2007-09-11 Thread Dave Watts
> > if i push this sql onto the node's xml attributes > > Can you store the clause as CDATA, or is that going to make > using it later on too difficult? You can't use CDATA for attribute values, if I recall correctly. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software

Re: special chars in xml?

2007-09-11 Thread James Holmes
Can you store the clause as CDATA, or is that going to make using it later on too difficult? On 9/12/07, Paul Hastings <[EMAIL PROTECTED]> wrote: > my xml torture continues. i need to squirt an sql where clause wrapped in xml > at > a server, something like: > > WHERE a >= 40 AND b < 42 > > if i

special chars in xml?

2007-09-11 Thread Paul Hastings
my xml torture continues. i need to squirt an sql where clause wrapped in xml at a server, something like: WHERE a >= 40 AND b < 42 if i push this sql onto the node's xml attributes, cf8's only escaping the last "<", spatialQuery=xmlElemNew(axl,"SPATIALQUERY"); spatialQuery.xmlAttributes["whe

RE: Odd database behavior: duplicate key error

2007-09-11 Thread Dave Watts
> I can't test it myself to simulate the race condition, but I > definitely know that people have been talking about this > issue for a very long time. I can remember reading posts > about it going back for years, and in those cases, people had > tried CFTRANSACTION alone and it didn't make a d

Re: Odd database behavior: duplicate key error

2007-09-11 Thread James Holmes
No, it's definitely set by the DB. For our Oracle servers, it's read-committed. I've checked this with code to make sure (I can do so again if no-one believes me :-) Regardless, Dave's points still hold - cftransaction works across all DB sessions, across all connections. What it you have two CF s

RE: Odd database behavior: duplicate key error

2007-09-11 Thread Dave Watts
> If he is using MS SQL server wouldn't with(tablock holdlock) > also need to be used on the delete AS WELL as a transaction > to actually prevent another process from inserting into the > table until the transaction was complete. Not if you specify a sufficiently restrictive isolation level.

RE: Odd database behavior: duplicate key error

2007-09-11 Thread Dave Watts
> Yes, you could use CFtransaction for this type of isolation, > but this can also cause problems that you wouldn't see with > cflock. Cftransaction isoloation='serializabile' for example > will give you an exclusive lock to all tables within the > transaction (most restrictive level of isloati

RE: Odd database behavior: duplicate key error

2007-09-11 Thread Dave Watts
> According to livedocs cftransaction by default uses the > default isolation level of the database - which in most > installations will be either read committed or repeatable > read. This has come up before; I believe that this may be a documentation error. I recall receiving an email about th

RE: <cfwindow> making page jump to top..

2007-09-11 Thread William Seiter
When you have the onclick as well as an 'href', you are calling 2 separate actions at the same time. In which order they are executed will be determined by your browser. Try this one: Show students that didn't complete an evaluation The 'javascript:' tells the browser that it is to run javascri

Re: multi-level coldfusion menu that reads from a database

2007-09-11 Thread James Holmes
The manual is always a good start: http://livedocs.adobe.com/coldfusion/8/htmldocs/ajaxui_4.html#1129478 On 9/12/07, Ali Majdzadeh <[EMAIL PROTECTED]> wrote: > >Did you look at the docs for ? > > > > > >> > Okay it seems mine will be CF8 soon. > Then how can I use CFMENU? I'm waiting for Ben For

Re: Ajax cfgrid bind problem

2007-09-11 Thread James Holmes
Do you have a CF mapping to go with that virtual directory? On 9/12/07, Mike Chabot <[EMAIL PROTECTED]> wrote: > I am trying to use the cfgrid CFC binding feature in CF8 but I am > having trouble getting the CFC to populate the Ajax grid. > > URL: http://site/ > Folder: c:\inetpub\wwwroot > > URL:

Re: Coldfusion and Bar code APi

2007-09-11 Thread James Holmes
http://www.bifrost.com.au/blog/index.cfm/2006/8/24/Generating-Barcodes-with-Barbecue-and-Coldfusion On 9/12/07, vishnu prasad <[EMAIL PROTECTED]> wrote: > Hi > > Are there any Barcode api for coldfusion > If yes what is that -- mxAjax / CFAjax docs and other useful articles: http://www.

RE: Ajax cfgrid bind problem

2007-09-11 Thread Dale Fraser
Mike, It should work, not sure if it's your code or config. Have a look here http://tutorial1.learncf.com/ This is a working example, if you download and drop that code (there is a download and demo button on the page) and see if this works, if this works perhaps it's something wrong with your

Re: Ajax cfgrid bind problem

2007-09-11 Thread Mike Chabot
You just write query="variables.qryGetData" as an attribute for the cfgrid tag, just like you do for flash grids and java grids. You have to give the grid a name and put it in a cfform, but that is pretty much it. "Binding" wasn't the most accurate word to use in this case. -Mike On 9/12/07, vish

RE: Web Service question

2007-09-11 Thread Eric Roberts
I got a different error now, so I think I am on the right track (that's what I keep telling myself anyhow hehehe) I will post that tomorrow as I can't access this from outside our firewall yet. Eric -Original Message- From: Matthew Chambers [mailto:[EMAIL PROTECTED] Sent: Tuesday, Septem

Re: Ajax cfgrid bind problem

2007-09-11 Thread vishnu prasad
Hi Mike How you are binding the local cfquery ? can you post the sample cfgrid which binds the cfquery? > Yes. The full CFIDE directory is there. The grid works fine when I > change the binding to be a local cfquery. However, ultimately I want > to bind to a CFC on the server. > > When I view s

Coldfusion and Bar code APi

2007-09-11 Thread vishnu prasad
Hi Are there any Barcode api for coldfusion If yes what is that ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Arc

Re: <cfwindow> making page jump to top..

2007-09-11 Thread Will Tomlinson
>If you add "return false;" to your onClick, it will negate the original >behavior of the anchor tag, thus only executing the other onClick functions >and not the actual click action. > >Show students that didn't complete an evaluation > >Rob Well, it's still jumpin up with return false. But I not

Re: Web Service question

2007-09-11 Thread James Holmes
Correct, there is no such thing as an optional webservice argument - all are required. On 9/12/07, James Bailey <[EMAIL PROTECTED]> wrote: > > I've found that CF and webservices don't play well with required="no" or > optional arguments :) -- mxAjax / CFAjax docs and other useful articles: htt

RE: making page jump to top..

2007-09-11 Thread Rob O'Brien
If you add "return false;" to your onClick, it will negate the original behavior of the anchor tag, thus only executing the other onClick functions and not the actual click action. Show students that didn't complete an evaluation Rob -Original Message- From: Will Tomlinson [mailto:[EMAI

Re: <cfwindow> making page jump to top..

2007-09-11 Thread Will Tomlinson
Hmm... it's still doin' it. I'll keep messin with it. Thanks much, Will ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php

Re: making page jump to top..

2007-09-11 Thread J.J. Merrick
The issue is the href="##" is essentially saying "click me and I will take you to Anchor Nothing.. or index.cfm#" change this... Show students that didn't complete an evaluation to Show students that didn't complete an evaluation and that should do it for you. J.J. On 9/11/07, Will Tomlinso

making page jump to top..

2007-09-11 Thread Will Tomlinson
Man I love this tag. My only problem is, on a long page with a vertical scrollbar, if you click the link that pops the cfwindow open, the page jumps to the top. The window opens like it should, but you're back at the top of the page. Any ideas on what I'm doin wrong? Here's my code. It's in

Re: Directory Watcher Skipping Files

2007-09-11 Thread Chris Velevitch
On 9/12/07, Brian Kotek <[EMAIL PROTECTED]> wrote: > Does this help? > > http://coldfusion.sys-con.com/read/317586.htm No, because my files are XML files 35K or less and I would have picked that fact that it was partially reading files when I checked the validity of the XML data. If there was a pr

Re: Ajax cfgrid bind problem

2007-09-11 Thread Mike Chabot
Yes. The full CFIDE directory is there. The grid works fine when I change the binding to be a local cfquery. However, ultimately I want to bind to a CFC on the server. When I view source, the line that is wrong is this one: ColdFusion.Bind.cfcBindHandler(null, {'bindTo':ColdFusion.Grid.loadData,'

RE: Ajax cfgrid bind problem

2007-09-11 Thread Dale Fraser
Do you have a CFIDE virtual directory, this is required for all the AJAX stuff. Regards Dale Fraser http://learncf.com -Original Message- From: Mike Chabot [mailto:[EMAIL PROTECTED] Sent: Wednesday, 12 September 2007 11:15 AM To: CF-Talk Subject: Re: Ajax cfgrid bind problem Windows 2

Re: Ajax cfgrid bind problem

2007-09-11 Thread Mike Chabot
Windows 2003 Standard 32 bit with IIS6. My example is simplified. The cfm file is not in the same directory as the cfc in actuality. Although that gave me an idea. I put the cfc in the same directory as the cfm file and shortened the cfc path, but the result is the same. The Ajax call is looking f

RE: Ajax cfgrid bind problem

2007-09-11 Thread Dale Fraser
What OS etc. I could not get this stuff to work under Vista and IIS, works find on a Windows server. Also if the cfm is in the same as the cfc you don't need the projects. Regards Dale Fraser http://learncf.com -Original Message- From: Mike Chabot [mailto:[EMAIL PROTECTED] Sent: Wedne

Ajax cfgrid bind problem

2007-09-11 Thread Mike Chabot
I am trying to use the cfgrid CFC binding feature in CF8 but I am having trouble getting the CFC to populate the Ajax grid. URL: http://site/ Folder: c:\inetpub\wwwroot URL: http://site/projects/ (virtual directory) Folder: c:\projects\ This folder has a cfc called myCFC My bind attribute starts

RE: mail getting rejected

2007-09-11 Thread Dave Francis
Hi Wil, First off, many thanks for your reply. My problem, other than not knowing much at all about mail servers, is that a lot of mail IS being delivered. Which led me to believe that the "mechanics" are all OK, and maybe I was being rejected by the recipient for some reason. Any ideas wo

Re: multi-level coldfusion menu that reads from a database

2007-09-11 Thread Web Specialist
Ali, I'll want to suggest you to know this jQuery plugin: http://labs.activespotlight.net/jQuery/menu_demo.html Using ajax call could be a very nice solution to your needs. Cheers p.s.: open that link and click in Toggle Menu(top left position). 2007/9/11, Ali Majdzadeh <[EMAIL PROTECTED]>: >

Re: Web Service question

2007-09-11 Thread Matthew Chambers
Hi Eric, I had similar problem when I was first introduced to WS's. I've found that numerous problems can cause this but the most common cause is that you are not passing the parameters correctly. With some of the WS I've consumed I found that I had to pass almost all arguments even if they wer

Re: Odd behavior when using cfform inside a CFC

2007-09-11 Thread Charles Sheehan-Miles
Unfortunately, I'm on a very tight self-imposed deadline, so I've dropped it for the time being and I'm skipping the cf8 ajax functions. I'll revisit in the next version. I did try moving the relevant CFCs to the request scope. Didn't do the trick. Even those I invoked the CFC fresh on ev

Re: CFINPUT type="datefield" popup calendar underlaps other form fields

2007-09-11 Thread Andrew Scott
Yes I blogged about it a long time ago, and have reported it as a bug to adobe as well. On 9/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I'm using CFINPUT type="datefield" to create a popup calendar and the > calendar works > fine but is showing up under other form fields and is hard t

Re: multi-level coldfusion menu that reads from a database

2007-09-11 Thread Ali Majdzadeh
>Did you look at the docs for ? > > >> Okay it seems mine will be CF8 soon. Then how can I use CFMENU? I'm waiting for Ben Forta's books to learn more about the new features of CF8 and I wonder where I can learn more about it meanwhile. thanks Benign

Re: mail getting rejected

2007-09-11 Thread Wil Genovese
This is a BIG question. Since your trying to use localhost (127.0.0.1) as your mail server you need to make sure you really have a SMTP server running at that IP address and identify which port it is listening on. This is normally port 25. Does the cfadmin 'Verify mail server Connection' show

SAX XML parser for ColdFusion (wrapper component for Java maybe)

2007-09-11 Thread Hansjoerg
Hello! I have the problem that I always run out of memory when parsing very, very huge .XML files (up to 500 MB). So the way to go is SAX with an event-based approach, but I cannot find useable code for ColdFusion using this technology. In an (quite cold) article a component was mentioned (htt

Re: Web Service question

2007-09-11 Thread James Bailey
> Web service operation "listPositions" with parameters > {client_id={xx},} > could not be found. > > (x represents a number) > > I am calling a cfc (guts of query and datasource removed) that is on the > same server, but in a different "site": > > > > > > *snip and apologi

RE: Odd database behavior: duplicate key error

2007-09-11 Thread Jaime Metcher
Dave, According to livedocs cftransaction by default uses the default isolation level of the database - which in most installations will be either read committed or repeatable read. What you say is true if one sets the isolation level explicitly to serializable. However (I'm sure you know this b

RE: Odd behavior when using cfform inside a CFC

2007-09-11 Thread Jaime Metcher
Not sure how much effort you want to go to, but if you want to have it both ways you could have a per-request object which has composed into it the session-scope object. Did you do that dump of the variables scope? I'd be interested to see how CFGRID is doing this. I'd have a look myself, but my

CFINPUT type="datefield" popup calendar underlaps other form fields

2007-09-11 Thread coldfusion . developer
I'm using CFINPUT type="datefield" to create a popup calendar and the calendar works fine but is showing up under other form fields and is hard to read. I've tried applying a class with a z-index through CSS and it doesn work. Has anyone ever ran into this? Any Advice? Thanks Dan ~

Re: Odd database behavior: duplicate key error

2007-09-11 Thread Jake Pilgrim
Yes, you could use CFtransaction for this type of isolation, but this can also cause problems that you wouldn't see with cflock. Cftransaction isoloation='serializabile' for example will give you an exclusive lock to all tables within the transaction (most restrictive level of isloation). Depend

RE: multi-level coldfusion menu that reads from a database

2007-09-11 Thread Bill Betournay
www.crystaltech.com www.hostmysite.com To get the list started once again. Bill -Original Message- From: Ali Majdzadeh [mailto:[EMAIL PROTECTED] Sent: September 11, 2007 6:46 PM To: CF-Talk Subject: Re: multi-level coldfusion menu that reads from a database >That's problem then...but

Re: multi-level coldfusion menu that reads from a database

2007-09-11 Thread Ali Majdzadeh
>That's problem then...but you must try CFMENU tag, it's amazingly easy >to use. > >Jayesh > >Yes, I really love to use CFMENU but it is a CF8 tag and my hosting is a >shared host from crystal tech and they still are on CF7. >Thanks >Benign Okay but there is a question. What CF8 hosting service do

RE: multi-level coldfusion menu that reads from a database

2007-09-11 Thread Jayesh Viradiya
That's problem then...but you must try CFMENU tag, it's amazingly easy to use. Jayesh -Original Message- From: Ali Majdzadeh [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 11, 2007 3:24 PM To: CF-Talk Subject: Re: multi-level coldfusion menu that reads from a database >Did you look

Re: multi-level coldfusion menu that reads from a database

2007-09-11 Thread Ali Majdzadeh
>Did you look at the docs for cfmenu? > > >>\ Yes, I really love to use CFMENU but it is a CF8 tag and my hosting is a shared host from crystal tech and they still are on CF7. Thanks Benign ~| Check out the new features and enh

Re: multi-level coldfusion menu that reads from a database

2007-09-11 Thread Raymond Camden
Did you look at the docs for cfmenu? On 9/11/07, Ali Majdzadeh <[EMAIL PROTECTED]> wrote: > Hi everybody: > I have a problem and I believe you experts can help me. > I need to make a dynamic manu which generates the menu from a database > conetnt and has three levels. It means something like that

RE: multi-level coldfusion menu that reads from a database

2007-09-11 Thread jake
Check out this example, I've based many of my own menus on this: http://www.cssplay.co.uk/menus/flyout2.html Jake Original Message --- Hi everybody: I have a problem and I believe you experts can help me. I need to make a dynamic manu which generates the menu from a database

Re: Odd database behavior: duplicate key error

2007-09-11 Thread Josh Nathanson
Original poster here...for the record I'm using MySQL 5. Update: I added the named lock and that squashed the problem completely. In my case there is some additional code involved rather than just back-to-back database updates, PLUS the possibility of some shared scope issues, AND we are on a s

multi-level coldfusion menu that reads from a database

2007-09-11 Thread Ali Majdzadeh
Hi everybody: I have a problem and I believe you experts can help me. I need to make a dynamic manu which generates the menu from a database conetnt and has three levels. It means something like that: Menu>>>Submenu_level1>>>Submenu_level2 for example for a book shop menu: Home Books>>>Kids

RE: Odd database behavior: duplicate key error

2007-09-11 Thread Brad Wood
If he is using MS SQL server wouldn't with(tablock holdlock) also need to be used on the delete AS WELL as a transaction to actually prevent another process from inserting into the table until the transaction was complete. It is my understanding that with(holdlock) would be necessary for the lock

RE: CF8 - Exchange appointment time issue, DST?

2007-09-11 Thread Dawson, Michael
It's been a while, but I don't remember if we had to run an Exchange DST patch or not. Our sys admin would have done that if it was required. However, I remember that we had to run a patch on each Windows PC to update the appts in Outlook. I don't think it worked as advertised. Finally, we just

Re: Odd database behavior: duplicate key error

2007-09-11 Thread Brian Kotek
Well that's just it, from what Dave (and Simon's article) are saying, this is not the case. CFTRANSACTION (with the appropriate level of isolation) should handle concurrency across threads as well as handling rollbacks. I'd like to confirm that this is true, because if it is, my whole understanding

CF8 - Exchange appointment time issue, DST?

2007-09-11 Thread Konopka, Dave
We're experiencing a problem with appointment times using cfexchange against an Exchange 2003 server. When we pull back appointments scheduled after November 4th, the time is +1 hour from the actual time. November 4th is the new end of Daylight Savings Time. The same appointments appear with the

Re: Odd database behavior: duplicate key error

2007-09-11 Thread Claude Schneegans
>>people had tried CFTRANSACTION alone and it didn't make a difference. CFTRANSACTION won't help for race condition problems, it only handles rollback if a problem happens during execution. But two updates can still compete one against another without causing any execution error. CFLOCK will h

Re: Web Service question

2007-09-11 Thread Eric Roberts
I get the wsdl... Eric On 9/11/07, Ian Skinner <[EMAIL PROTECTED]> wrote: > > What happens when you put the url into a browser. You should get a WSDL > file displayed in the browser. If you don't maybe the generate error > message could be informative. > > > > ~~~

Re: Odd database behavior: duplicate key error

2007-09-11 Thread Brian Kotek
I can't test it myself to simulate the race condition, but I definitely know that people have been talking about this issue for a very long time. I can remember reading posts about it going back for years, and in those cases, people had tried CFTRANSACTION alone and it didn't make a difference. Whe

Re: CFWINDOW form action?

2007-09-11 Thread Asim .
Got it working. The form should be submitted with the submit type button. If you try to submit the form using Javascript, it will refresh the whole page, not just the window. Maybe its a bug, not sure. Thanks for your help Ray. appreciate that. Asim > well thats the problem, I am using the

Re: CFWINDOW form action?

2007-09-11 Thread Asim .
well thats the problem, I am using the cffrom inside that cfwindow, and once I just use the submit, the whole form refreshed. Am I doing something wrong here? >Err, so wait. You said even if you use cfform, the whole page >refreshes? That isn't right. > > >> ~~~

Re: CFWINDOW form action?

2007-09-11 Thread Raymond Camden
Err, so wait. You said even if you use cfform, the whole page refreshes? That isn't right. On 9/11/07, Asim . <[EMAIL PROTECTED]> wrote: > if I use the regular form submission, my whole page shows the confirmation > page, not just the windows, infact I am using cfform. > > > > >If you use submitF

Re: add xml node?

2007-09-11 Thread Paul Hastings
Brian Kotek wrote: > 'd')) /> well that was intuitive ;-) many thanks brian. ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/ent

Re: Web Service question

2007-09-11 Thread Ian Skinner
What happens when you put the url into a browser. You should get a WSDL file displayed in the browser. If you don't maybe the generate error message could be informative. ~| Download the latest ColdFusion 8 utilities includi

Re: CFWINDOW form action?

2007-09-11 Thread Asim .
if I use the regular form submission, my whole page shows the confirmation page, not just the windows, infact I am using cfform. >If you use submitForm, then you are doing an AJAX request. If you want >something to change in the display, you have to do it yourself. You >may want to NOT use subm

RE: Odd database behavior: duplicate key error

2007-09-11 Thread Dave Watts
> Yes. CFTRANSACTION only creates a transaction for the current > thread (actually the current database connection from the > connection pool). If multiple threads could be running the > same process at the same time, resulting in a race condition, > then you need to lock that set of queries as

Re: CFWINDOW form action?

2007-09-11 Thread Raymond Camden
If you use submitForm, then you are doing an AJAX request. If you want something to change in the display, you have to do it yourself. You may want to NOT use submitForm() and just use cfform and post to the confirmation page. On 9/11/07, Asim . <[EMAIL PROTECTED]> wrote: > onclick button event I

Re: Web Service question

2007-09-11 Thread Eric Roberts
1: No 2: It didn't work...but I did do this without having it registered and using the url. If I run the query and output of the cfc on it's own, I get the expected results. I based what I did on the following tutorial... http://www.quackit.com/coldfusion/tutorial/coldfusion_web_services.cfm E

Re: Web Service question

2007-09-11 Thread Eric Roberts
you are correct...but when you register the service in CF Admin...you can use a name. Like I said...this is on the same box, so I just registered it to make it easire. I got the same results with the url. On 9/11/07, Ian Skinner <[EMAIL PROTECTED]> wrote: > > Also web services are access as clie

Re: cfhttp XML from a directory problem

2007-09-11 Thread Paul Ihrig
nice ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/mes

Re: Web Service question

2007-09-11 Thread Ian Skinner
Also web services are access as client-server http reqeusts so your http://myDomain/listPositions.cfc?wsdl";> ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates

Re: cfhttp XML from a directory problem

2007-09-11 Thread Paul Ihrig
Dug, thank you. looks like that worked! now i just need to find out how to move the xml files now from the directory once its processed to a back up dir. man, i am so rusty & have never seen any one do any of this with xml! thanks again! -paul

PDF Creation in Coldfusion

2007-09-11 Thread Rosana Levesque
Hi, Although I just registered to House of Fusion, I have been reading and getting info and solutions from it for a long time now. About my question: I know how to create PDFs, not a problem. The problem is when I want to edit these PDFs in a Vector Software, like Corel Draw. It displays a b

Re: Web Service question

2007-09-11 Thread Bryan Stevenson
1st question: Have you successfully run this before? 2nd question: If so, have you changed any of the argument names or data types since the last successful run WITHOUT updating the webservice via CF Admin? If you answered yes to number 2...then go refresh that webservice and away you go If yo

Re: CF8 CFPOP? Better?

2007-09-11 Thread Eric Roberts
Depends...if you are accessing an exchange server...check out the cfexchange tags... Eric On 9/11/07, Scott Weikert <[EMAIL PROTECTED]> wrote: > > For a good while I've been using the 'CFX_POP3' tag in lieu of CF's > built in 'CFPOP' (using 6.1). It's always worked better/faster for me. > > Now,

Web Service question

2007-09-11 Thread Eric Roberts
I am getting hte following error: Web service operation "listPositions" with parameters {client_id={xx},} could not be found. (x represents a number) I am calling a cfc (guts of query and datasource removed) that is on the same server, but in a different "site":

RE: cfhttp XML from a directory problem

2007-09-11 Thread Doug Arthur
Try this the code below, there might be some syntax issues as this is all off the top of my head, but I think it's all right: Also, I added the Trim because sometimes when you write a file it can add a return carriage at the end of the file which is unwanted whitespace for xml.

Re: How to protect this query?

2007-09-11 Thread Ian Skinner
Nope, in this case it is just that simple, actually with a lot of CF it's just simple, thats why we all love it after all! :-) ~| Check out the new features and enhancements in the latest product release - download the "What's Ne

Re: Parent - Child data in a drop down

2007-09-11 Thread [EMAIL PROTECTED]
How 'deep' can this go for parent records? You indicate to the 'Sub Sub' level (3 deep), can it go 4 deep? I am pondering a method that orders and groups all the data by the parent ID and then does a loop. That loop would create a 'prefixdisplay' variable based on how many deep the child recor

RE: How to protect this query?

2007-09-11 Thread Bobby Hartsfield
WHERE pa_name like ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 11, 2007 12:34 PM To: CF-Talk Subject: Re: How to protect this query? I guess I'm a little unclear on

Re: CFWINDOW form action?

2007-09-11 Thread Asim .
onclick button event I use ColdFusion.Ajax.submitForm() it is inside the cfform. on the action page i have a confirmation page, when I submit the button, it should take me to the confirmation page. but nothing happens. on the ColdFusion Ajax logger. I see this entry info:http: Form submission su

cfhttp XML from a directory problem

2007-09-11 Thread Paul Ihrig
we have a page that post xml data which works fine. during the night we do a back up on a server. during this time we write out the data to a static xml file like myXML.xml it contains the exact same data that process just fine as: but what i loop over my directory & try to change from type xml

Re: How to protect this query?

2007-09-11 Thread Les Mizzell
> WHERE pa_name like The percent signs aren't escaped? I thought they were and it wouldn't work. I haven't tested this - let me check. Seems too simple, huh? ~| ColdFusion is delivering applications solutions at at top companie

RE: How to protect this query?

2007-09-11 Thread Andy Matthews
You should be able to straight up replace the part after like with a cfqueryparam. Keep the percent signs in and everything. -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 11, 2007 11:22 AM To: CF-Talk Subject: How to protect this query? I'm work

Re: How to protect this query?

2007-09-11 Thread Ian Skinner
Just LIKE this, sorry could not resist: WHERE pa_name like ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf

Re: How to protect this query?

2007-09-11 Thread Les Mizzell
I guess I'm a little unclear on how to use a "like" with cfqueryparam. > I'd change the select * to a specific list of columns, and replace the > '%... with a cfqueryparam as you well know. > > > On 9/11/07, Les Mizzell <[EMAIL PROTECTED]> wrote: >> I'm working my way through some legacy sites

Re: Parent - Child data in a drop down

2007-09-11 Thread Joe Lakey
By "drop down" do you mean a DHTML navigation menu? -Joe Lakey ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsn

Re: How to protect this query?

2007-09-11 Thread Raymond Camden
I'd change the select * to a specific list of columns, and replace the '%... with a cfqueryparam as you well know. On 9/11/07, Les Mizzell <[EMAIL PROTECTED]> wrote: > I'm working my way through some legacy sites that have queries that need > a little securing from SQL injection attacks. Most of

Re: Smart Parsing of E-mail Attachments...

2007-09-11 Thread Jochem van Dieten
Dan G. Switzer, II wrote: >> >> But you can still distinguish between embedded and attached images, >> the one is multipart/related and the other multipart/mixed. > > Are you positive that's the case? Barring broken implementations, yes. Jochem

How to protect this query?

2007-09-11 Thread Les Mizzell
I'm working my way through some legacy sites that have queries that need a little securing from SQL injection attacks. Most of them simply need cfqueryparam added. But, what's "best practice" for the simple query below? SELECT * FROM pa WHERE pa_name like '%#form.pa_name#%' ~~~

RE: Smart Parsing of E-mail Attachments...

2007-09-11 Thread Dan G. Switzer, II
Jochem, >But you can still distinguish between embedded and attached images, >the one is multipart/related and the other multipart/mixed. Are you positive that's the case? If I recall from some earlier testing (which was about 8 months ago) not every mail client marked embedded images as multipa

Re: CFWINDOW form action?

2007-09-11 Thread Raymond Camden
Use cfform. Or use ColdFusion.Ajax.submitForm. On 9/11/07, Asim Manzur <[EMAIL PROTECTED]> wrote: > I have a form inside cfwindow, when the form submit, it refresh the main > page, not just the window. how can I just limit the form submission just > only inside the cfwindow? > > Thanks, > > > ~~

CF8 CFPOP? Better?

2007-09-11 Thread Scott Weikert
For a good while I've been using the 'CFX_POP3' tag in lieu of CF's built in 'CFPOP' (using 6.1). It's always worked better/faster for me. Now, we're in the process of prepping a couple of new servers, with CF8, and I'm curious whether or not I should continue to use the CFX tag or migrate back

CFWINDOW form action?

2007-09-11 Thread Asim Manzur
I have a form inside cfwindow, when the form submit, it refresh the main page, not just the window. how can I just limit the form submission just only inside the cfwindow? Thanks, ~| Get the answers you are looking for on the Co

Re: add xml node?

2007-09-11 Thread Brian Kotek
On 9/11/07, Paul Hastings <[EMAIL PROTECTED]> wrote: > > say i have an xml doc > > > > > > > how would i add a node "d" to node "b", so i'd end up with something like > this? > > > > > > > > > > i've tried

Re: Odd database behavior: duplicate key error

2007-09-11 Thread Vince Collins
Thanks Brian! Brian Kotek wrote: > Yes. CFTRANSACTION only creates a transaction for the current thread > (actually the current database connection from the connection pool). If > multiple threads could be running the same process at the same time, > resulting in a race condition, then you need to

Re: CF8 Docs

2007-09-11 Thread Bruce Sorge
Yeah, same here on my Vista work computer. Fortunately there are some great resources on-line so that helped. ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/produ

Re: Odd database behavior: duplicate key error

2007-09-11 Thread Brian Kotek
Yes. CFTRANSACTION only creates a transaction for the current thread (actually the current database connection from the connection pool). If multiple threads could be running the same process at the same time, resulting in a race condition, then you need to lock that set of queries as well. Use a n

RE: CF8 Docs

2007-09-11 Thread Robert Harrison
I could swear I did not choose that... but I'm not reinstalling as it took a lot to get CF8, IIS7 and SQL2005 all working together properly on my Vista laptop. Robert B. Harrison Director of Interactive services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ex

RE: CF8 Docs

2007-09-11 Thread Robert Harrison
Thanks Robert B. Harrison Director of Interactive services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be &. -Original Message- From: Andy Allan [mail

  1   2   >