XML - looking to return an XML object original parced format

2006-06-13 Thread Ian Sheridan
a pain to do this: cfoutput#xml.XmlChildren[1].XmlChildren[1].XmlChildren[1].xmltext#!/cfoutput I figure that I am missing something and I do not want to reinvent the wheel so to speak. - Ian -- -- Ian Sheridan http://www.savagevines.com

Re: XML - looking to return an XML object original parced format

2006-06-13 Thread Ian Sheridan
be a little off - I'm winging it, here. On 6/13/06, Ian Sheridan [EMAIL PROTECTED] wrote: My subject line pretty much says it all, but let me clarify. I want to return an XML object back to it's original format after I have used XMLSEARCH on it. I guess it's a matter of aesthetic but I'd

Re: XML - looking to return an XML object original parced format

2006-06-13 Thread Ian Sheridan
of processing to parse it twice in the same request. cfset xmlObj = xmlParse(xmlSource) cfset xmlResult = xmlSearch(xmlObj, //root/) cfset xmlString = xmlResult[1].toString() M!ke -Original Message- From: Ian Sheridan [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 13, 2006 10:24 AM

Re: How would I send an XML file to another server/application?

2005-10-30 Thread Ian Sheridan
Wow, thank you guys so much. I was not sure about the cfhttp thing. Much Much appreciated! - Ian On 10/27/05, Anthony Prato [EMAIL PROTECTED] wrote: I had a client who could not figure out how to send and xml post like Andy's example. On my recieving page I put this code to allow them to

How would I send an XML file to another server/application?

2005-10-27 Thread Ian Sheridan
? How do I recieve the file? CFFILE? Hehe sorry about the noobness - Ian -- -- Ian Sheridan http://www.savagevines.com -- ~| Logware (www.logware.us): a new and convenient web-based time

Re: Only 5 days remaining in Plum Public Beta... Be heard!

2004-12-13 Thread Ian Sheridan
Alas no one likes to support us mac users. Ian On Mon, 13 Dec 2004 10:45:59 -0500, Adam Churvis [EMAIL PROTECTED] wrote: We want to hear your voices on what you like and don't like about the Plum Public Beta, and if something doesn't work for you. Remember: Plum is a *free* tool for you,

Re: Eclipse, it rocks..

2004-12-09 Thread Ian Sheridan
You guys should look at CFEclipse. When I found this I expelled a sigh of relief at finally finding CF Studio again. and in some ways it has surpassed some of what CF Studio did for me. check it out at: http://cfeclipse.tigris.org/ Ian On Thu, 9 Dec 2004 09:53:37 -0500, Douglas Knudsen [EMAIL

CFEXECUTE A quandary

2004-11-05 Thread Ian Sheridan
Is it possible to execute a perl script with this? cfexecute name=perl arguments=perl mactoipsearch -s 255.255.255.0 00-aa-22-cc-44-ee variable=mactoip/cfexecute cfdump var=#mactoip# Ian -- -- Ian Sheridan http://www.savagevines.com

How to use Request scope?!

2004-11-03 Thread Ian Sheridan
can you set a request scope variable in an include? ex. -index.cfm --include1.cfm -- set request.test --include2.cfm -- read request.test can this be done? -- -- Ian Sheridan http://www.savagevines.com

Re: How to use Request scope?!

2004-11-03 Thread Ian Sheridan
-Original Message- From: Ian Sheridan [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 12:38 PM To: CF-Talk Subject: How to use Request scope?! can you set a request scope variable in an include? ex. -index.cfm --include1.cfm -- set request.test --include2

Re: How to use Request scope?!

2004-11-03 Thread Ian Sheridan
it. --Ben Ian Sheridan wrote: well that's the thing I am setting it in include not the index.cfm file. so I created it in the index.cfm file NOT the included file and it now works. Ian Sure, as long as you set it before you call it of course -Original Message

Re: How to use Request scope?!

2004-11-03 Thread Ian Sheridan
to be used in another. The includes are serial, not nested. So I don't know what your original problem was, but I'd be careful to check and make sure that the value being used in the second include is actually what's being set in the first, not in the index. --Ben Ian Sheridan wrote

Re: How to use Request scope?!

2004-11-03 Thread Ian Sheridan
in the second include is actually what's being set in the first, not in the index. --Ben Ian Sheridan wrote: Well let me be a little bit more descriptive. I have an index.cfm page that includes two files. I was then setting the REQUEST variable *in* the first include. In the second include

Re: How to use Request scope?!

2004-11-03 Thread Ian Sheridan
oh yeah it works I am getting the expected value in o.param. On Wed, 3 Nov 2004 15:15:46 -0800, Sean Corfield [EMAIL PROTECTED] wrote: Have you checked that o.param contains a valid value? On Wed, 3 Nov 2004 14:18:49 -0500, Ian Sheridan [EMAIL PROTECTED] wrote: I was getting

Re: How to use Request scope?!

2004-11-03 Thread Ian Sheridan
-0500, Ian Sheridan [EMAIL PROTECTED] wrote: oh yeah it works I am getting the expected value in o.param. Where is o.param set? You didn't show that in your cut-down code... !--- include1.cfm --- cfset request.actionpasser = o.param !--- include2.cfm --- cfoutput

Re: Getting 4 results where there should be only 2

2004-10-25 Thread Ian Sheridan
You need to join the data: select * from table1, table2 where table1.id = table2.FKid table2 should hold the ID of the record it belongs to in table1. or vice versa Ian On Mon, 25 Oct 2004 14:51:58 -0400, Ewok [EMAIL PROTECTED] wrote: You could try grouping by something distinct or

Re: Field Naming

2004-10-19 Thread Ian Sheridan
to the userroles table) This way when I do joins i do not have any confusion what table a column is from. Also I always use plurals in the table name because I do not have a tables that has only *one* item in it. Ian -- -- Ian Sheridan http://www.savagevines.com

Re: Field Naming

2004-10-19 Thread Ian Sheridan
On Tue, 19 Oct 2004 16:06:59 +0200, Jochem van Dieten [EMAIL PROTECTED] wrote: Ian Sheridan wrote: Name of application == My Sample Application == msa_ Table for users == msa_usr_users Application prefix? Isn't that what schema's are for? CREATE SCHEMA msa ... CREATE TABLE msa.users

Re: WWOT: OS X for Intel?

2004-09-20 Thread Ian Sheridan
would go down the road of getting, us the programers, to design a better UI that would function well across all OSs. There are failing in all OSs, but with that said I prefer Mac over all the others. Ian -- -- Ian Sheridan http://www.savagevines.com

Re: CSS Editor (Good CSS Developer)

2004-09-18 Thread Ian Sheridan
Valid CSS isn't exactly cross browser. - Original Message - From: Jim Davis [EMAIL PROTECTED] Date: Fri, 17 Sep 2004 12:41:53 -0400 Subject: RE: CSS Editor (Good CSS Developer) To: CF-Talk [EMAIL PROTECTED] Better yet you could hire me and I'll use the W3C CSS Validation service. ;^)

Re: XML parsing in ColdFusion

2004-09-02 Thread Ian Sheridan
I suggest that create a new XML doc and place all the information form bothe xml docs in the new one. here is a sample bit of code that I use to create a xml object. xmloutput = xmlnew(); xmloutput.XmlRoot = XmlElemNew(t.xmloutput,entries); xmloutput.entries.XmlChildren[1] =

Re: Postgres, ColdFusion and Transactions

2004-09-01 Thread Ian Sheridan
Sounds like the query is cached. Set the chachedwithin to 0. That should help. Ian - Original Message - From: Hansjoerg Posch [EMAIL PROTECTED] Date: Wed, 01 Sep 2004 07:50:07 +0200 Subject: Postgres, ColdFusion and Transactions To: CF-Talk [EMAIL PROTECTED] Hello! I've got the

Re: FTP client that works like Dreamweaver's site manager?

2004-09-01 Thread Ian Sheridan
you can write upload scripts in eclipse? can you direct me to any documentation about this? - Original Message - From: Mark Drew [EMAIL PROTECTED] Date: Wed, 1 Sep 2004 15:53:53 +0200 Subject: Re: FTP client that works like Dreamweaver's site manager? To: CF-Talk [EMAIL PROTECTED]

Re: galleon

2004-08-30 Thread Ian Sheridan
:54 -0400 Have you thought about using SQL server Express instead of Access? Qasim - Original Message - From: Ian Sheridan [EMAIL PROTECTED] Date: Mon, 30 Aug 2004 15:26:41 -0400 Subject: Re: galleon To: CF-Talk [EMAIL PROTECTED] I would defiantly advocate for support

Re: galleon

2004-08-30 Thread Ian Sheridan
[EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date:Mon, 30 Aug 2004 15:35:54 -0400 Have you thought about using SQL server Express instead of Access? Qasim - Original Message - From: Ian Sheridan [EMAIL PROTECTED] Date: Mon, 30 Aug 2004 15:26:41 -0400 Subject: Re: galleon

Re: CFEclipse question

2004-08-30 Thread Ian Sheridan
Use \) \( the back slash is used for this. Ian - Original Message - From: Peter Nyberg [EMAIL PROTECTED] Date: Mon, 30 Aug 2004 16:42:00 -0500 Subject: CFEclipse question To: CF-Talk [EMAIL PROTECTED] I just started using Eclipse + CFEclipse and absolutely love it (OSX, used BBEdit

Re: regexp help

2004-08-30 Thread Ian Sheridan
Why don;t you just go through the text as a list with CR as the delimiter? This way you can have much more focused regular expressions. Just a thought, Ian - Original Message - From: Michael Dinowitz [EMAIL PROTECTED] Date: Mon, 30 Aug 2004 16:49:48 -0400 Subject: RE: regexp help To:

Re: CFEclipse question

2004-08-30 Thread Ian Sheridan
oops well I shot that off fast. but I still use BBEdit myself. I see what you mean, this is a question best answered by the CFEclipse developers. It's a functionality that is not there they might be able to place it in there but I am not sure. why don;t you join the mailing list for CFEclipse

Re: regexp help

2004-08-30 Thread Ian Sheridan
I understand that, what I meant was, wouldn't it be easier to parse each line separately? This way you do not need to have such a highly complicated RegEx. You can make it much more simple and a little bit more flexible. Not to mention easier to maintain. (i.e. two separate regular expressions or

Re: regexp help

2004-08-30 Thread Ian Sheridan
heh after talk'n out of my but this should work for you ([[:alnum:] ]+)\r\s*([0-9]{7})\s*([0-9]+)\s*([0-3][0-9]/[0-1][0-9]/[0-9]{4})\s*([A-Z]{2,3})\s*([0-9]+\.[0-9]{2}) You have to add some of your own business logic to not parse the this is just a confirmation email emails. I do not know all

Re: Document Management System

2004-08-29 Thread Ian Sheridan
The thing about what you asked for it is most likely already made. I know at my company we have one (I did not participate in it creation), but I can't go placing the code and DB schema out here for you. I suggest that you start an Open Source project. I have been seeing the OpenXCF a bunch

Re: Download file

2004-08-28 Thread Ian Sheridan
] Thanks.I was using file path (D:\etc) like I used to create the file and forgot to change to http://. Thanks for helping me with my brain cramp. Andy -Original Message- From: Ian Sheridan [mailto:[EMAIL PROTECTED] Sent: Friday, August 27, 2004 10:48 AM To: CF-Talk Subject: Re

Re: UML Modeling

2004-08-27 Thread Ian Sheridan
wow thanks for pointing out ArgoUML. works great. Now somebody has to create the XMI translation CFCs. I would try but I just don't have the time at the moment. Ian - Original Message - From: Rob [EMAIL PROTECTED] Date: Thu, 26 Aug 2004 11:44:20 -0700 Subject: Re: UML Modeling To:

Re: Download file

2004-08-27 Thread Ian Sheridan
heh, man ok place this in your HTML doc: a href=""> this file/a Ian - Original Message - From: Andy Ousterhout [EMAIL PROTECTED] Date: Thu, 26 Aug 2004 21:37:03 -0500 Subject: RE: Download file To: CF-Talk [EMAIL PROTECTED] Actually, you are right on that this is probably so easy that

Re: stored procedures

2004-08-26 Thread Ian Sheridan
Can you really say that for Oracle? Point out any material on the net that talks about it? I'm actually curious about this. So if you have any links that talk further about this that would be great. Ian -- Ian Sheridan http://www.savagevines.com

Re: querying an array?

2004-08-26 Thread Ian Sheridan
why don't you just place the array in a query and query that query? (might be overkill though) or loop through the array and output only the rows that don't have Green in row[n][3] Ian -- Ian Sheridan http://www.savagevines.com -- - Original Message

Web Services

2004-08-25 Thread Ian Sheridan
).getUsers(arguments.showinactive); o.result = createobject(component,uau.com.utility).queryToXML(t.output.result,users,user); o.final = tostring(o.result); /cfscript cfreturn o.final /cffunction - - - - - END CODE - - - - - - -- -- Ian Sheridan http://www.savagevines.com

Web Services

2004-08-25 Thread Ian Sheridan
I am having trouble with sending an xml doc to the user of my web service. That user being me I am getting this error message: Could not perform web service invocation getUsers because java.lang.ClassCastException: java.lang.String I transform a query to xml and the xml to a string. I have done

Web Services

2004-08-25 Thread Ian Sheridan
in a txt file, here is the link. http://www.savagevines.com/stage/getUsers.txt -- -- Ian Sheridan http://www.savagevines.com -- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

OT: Oh brother

2004-08-25 Thread Ian Sheridan
sorry about the repeated posts. I just started using Gmail and it was not showing up so... repeat oops -- -- Ian Sheridan http://www.savagevines.com -- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings

Re: Displaying commas and hyphens

2004-08-25 Thread Ian Sheridan
, pcfloop index=i from=1 to=#listlen(Practice)#cfif i GT 1, /cfif#listgetat(Practice,i)#/cfloop/p /cfoutput so you make the practice variable this: cfset Practice = #Practice1#,#Practice2#,#Practice3#,#Practice4#,#Practice5#,#Practice6# Ian -- Ian Sheridan http

Re: Olympics web site - anyone know anything about how it's built?

2004-08-22 Thread Ian Sheridan
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ian Sheridan [EMAIL PROTECTED] http://www.savagevines.com - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: CF and Eclipse

2004-06-21 Thread Ian Sheridan
DL the FTP and WEBDAV plugin. it's a little tricky but basically you deploy with FTP. http://download.eclipse.org/downloads/drops/S-3.0RC2-200406111814/ index.php scroll down you should see what you need. I manage using the FTP deployment with import and export. Hope that helps Ian On Jun

Strange issue with large numbers

2004-06-15 Thread Ian Sheridan
this is happening? Those numbers are record IDs from a database so they would have to be compared in this way. Ian - - - - - - - - - - - - - - - Ian Sheridan Time Warner Cable 1-212-379-5138 x85138 [EMAIL PROTECTED] - - - - - - - - - - - - - - - [Todays Threads] [This Message] [Subscription] [Fast

Re: Strange issue with large numbers

2004-06-15 Thread Ian Sheridan
Well we ended up using CONTAINS and DOES NOT CONTAIN and it seems work consistently. Well I think that this is an issue that should at lease, as you say, throw and exception. On Jun 15, 2004, at 1:03 PM, Raymond Camden wrote: CF does have a concept of a maxint, the largest number it can hold

Re: OT: MX2004 Tools and New OS X Update

2004-06-08 Thread Ian Sheridan
(the *short name* under the System Pref / Accounts). And change MacromediaDirectories to the directory you have your MX stuff in. Do this for each directory. This will do no harm. Good luck! Ian - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ian Sheridan [EMAIL PROTECTED] http

Re: CFC problems

2004-06-08 Thread Ian Sheridan
Join the cfcdev list http://www.cfczone.org/listserv.cfm On Jun 8, 2004, at 1:23 PM, Cutter (CF-Talk) wrote: (Revised Repost) Does anyone have an example of a CFC used to instantiate an object. Something with a defined structure, get and set methods, etc. Someone suggested cfczone.org, but

Re: How do you *manage* time? (Add it, Subtract it, Track it)

2004-05-28 Thread Ian Sheridan
work with a base of hours and go up and down from there. This is a little more then you asked but I hope it helps. Ian - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ian Sheridan [EMAIL PROTECTED] http://www.savagevines.com

Re: XPath Help

2004-05-21 Thread Ian Sheridan
I found this site to be an excellent eye opener for xPath. http://www.zvon.org/xxl/XPathTutorial/General/examples.html Ian - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ian Sheridan [EMAIL PROTECTED] http://www.savagevines.com

Re: XPath Help

2004-05-21 Thread Ian Sheridan
I shot that off to fast here is a more focused link. the site is a little confusing. http://www.zvon.org/xxl/XPathTutorial/Output/example1.html On May 21, 2004, at 7:56 AM, Ian Sheridan wrote: I found this site to be an excellent eye opener for xPath. http://www.zvon.org/xxl/XPathTutorial

Re: **UPDATE** Arrange sequential selections into ranges how to???

2004-05-20 Thread Ian Sheridan
here is your answer: cfscript var2 = ; n = listlen(var1); for (i=1;i LTE n;i=i+1) { curr = listgetat(var1,i); if (i LT n) { next = listgetat(var1,i + 1); } else { next = ; } if (i GT 1) { last = listgetat(var1,i - 1); } else { last = ; } if (curr + 1 NEQ next) {

Re: **UPDATE** Arrange sequential selections into ranges how to???

2004-05-20 Thread Ian Sheridan
) { var2 = listappend(var2,listgetat(var1,i)); } else if (curr + 1 NEQ next) { var2 = listappend(var2,listgetat(var1,i),-); } } /cfscript On May 20, 2004, at 10:07 AM, Ian Sheridan wrote: here is your answer: cfscript var2 = ; n = listlen(var1); for (i=1;i LTE n;i=i+1) { curr

Re: **UPDATE** Arrange sequential selections into ranges how to???

2004-05-20 Thread Ian Sheridan
heh ok sorry here is the full script: cfscript var1 = 1,2,3,4,5,6,10,11,12,13,14,20,25,30,31,32,33,50; var2 = ; n = listlen(var1); for (i=1;i LTE n;i=i+1) { curr = listgetat(var1,i); if (i LT n) { next = listgetat(var1,i + 1); } else { next = ; } if (i GT 1) { last =

CFMX doc root as a Mounted Volume

2004-05-19 Thread Ian Sheridan
Hey, We are planing a cluster and we would like to place all our CFM/CFC files on a mounted volume so solve syncing. Can this work? and will there be any performance issues? Ian - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ian Sheridan [EMAIL PROTECTED] http

Re: CFMX doc root as a Mounted Volume

2004-05-19 Thread Ian Sheridan
On May 19, 2004, at 10:11 AM, Thomas Chiverton wrote: On Wednesday 19 May 2004 15:06 pm, Ian Sheridan wrote: files on a mounted volume so solve syncing. It'll run fine. Just watch the CF user has suitable permissions. there be any performance issues? Network is slower than disk, so yes

Re: Mihai Bazon ( mishoo ) website gone

2004-05-18 Thread Ian Sheridan
http://dynarch.com/mishoo/htmlarea.epl On May 17, 2004, at 10:43 AM, mayo wrote: -Original Message- From: Gilbert Midonnet [mailto:[EMAIL PROTECTED] Sent: Monday, May 17, 2004 9:40 AM To: CF-TALK Subject: Mihai Bazon ( mishoo ) website gone Does anyone know what's happened to