RE: Quick question on cflock...

2009-09-10 Thread Che Vilnonis
cfset structDelete(session.cart, url.sku) /cflock -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Wednesday, September 09, 2009 5:19 PM To: cf-talk Subject: Re: Quick question on cflock... Except for the fact that session.cart appears to be a struct, and lock

Re: Quick question on cflock...

2009-09-10 Thread Dave Watts
Brad or Dave... I take it that I don't want to have one unique name, eh? Would it make more sense to do something like the code snippet below? A combination of a descriptive phrase and a unique identifier? Thanks, Che. cflock name=sessioncart-#session.sessionid# type=exclusive timeout=20  

re: Quick question on cflock...

2009-09-09 Thread Jason Fisher
If you are on CF8+, then my understanding is that locking READ functions is no longer required. If you're still on CFMX 7, then, yes, cfif arrayLen(session.customer.custerrors) is a READ function and should be locked. Or was it is CFMX 7 that made the READ lock less important?

Re: Quick question on cflock...

2009-09-09 Thread Charlie Griefer
On Wed, Sep 9, 2009 at 11:04 AM, Jason Fisher ja...@wanax.com wrote: If you are on CF8+, then my understanding is that locking READ functions is no longer required. If you're still on CFMX 7, then, yes, cfif arrayLen(session.customer.custerrors) is a READ function and should be locked.

RE: Quick question on cflock...

2009-09-09 Thread Che Vilnonis
: Wednesday, September 09, 2009 2:05 PM To: cf-talk Subject: re: Quick question on cflock... If you are on CF8+, then my understanding is that locking READ functions is no longer required. If you're still on CFMX 7, then, yes, cfif arrayLen(session.customer.custerrors) is a READ function and should

Re: Quick question on cflock...

2009-09-09 Thread Jason Fisher
Thanks for the clarification, Charlie. Something in the back of my mind was hollering CF7 at the end of that last post, which is what made me post that last caveat. Your point about the race conditions is the key, definitely. In most of my apps, the chance of a race condition within the

RE: Quick question on cflock...

2009-09-09 Thread Jason Fisher
On CF8, following Charlie's response earlier, you do NOT need a READ lock, unless you think there could be race conditions (a pending Ajax call that writes the var you're trying to read, for example). If you DO need to lock, then, yes, the lock would go *outside* of the CFIF statement, since

RE: Quick question on cflock...

2009-09-09 Thread Che Vilnonis
Muchas gracias... thanks Jason... thanks for the affirmation... -Original Message- From: Jason Fisher [mailto:ja...@wanax.com] Sent: Wednesday, September 09, 2009 2:22 PM To: cf-talk Subject: RE: Quick question on cflock... On CF8, following Charlie's response earlier, you do NOT need

Re: Quick question on cflock...

2009-09-09 Thread Dave Watts
I think it was CFMX 7 that made it less important. Actually, no, that was CF 6.x. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore,

Re: Quick question on cflock...

2009-09-09 Thread Dave Watts
What is the best pratice when in comes to using cflock looking at the code snippets below? Basically does a session-based cfif block need to be nested within a cflock or not? I'm pretty sure it does. Thanks, Che cflock timeout=20 throwontimeout=No type=READONLY scope=SESSION   cfif

RE: Quick question on cflock...

2009-09-09 Thread Che Vilnonis
...@figleaf.com] Sent: Wednesday, September 09, 2009 2:46 PM To: cf-talk Subject: Re: Quick question on cflock... Third, you DON'T WANT TO LOCK AN ENTIRE SCOPE! This is why God* gave us named locks. In CF 5 and earlier, you had to lock the scope to prevent serious problems unrelated to the actual

RE: Quick question on cflock...

2009-09-09 Thread brad
This all depends on what the some code here... does. Let's be clear on what people mean when they say cflock is less important now. cflock is no longer required to ensure that memory does not get corrupted and variables aren't read at the same time they are being written. That being said,

Re: Quick question on cflock...

2009-09-09 Thread Dave Watts
Dave, would this be a better approach? Also, can you use any name you want as long as you are consistent? See below. Thanks, Che cflock name=#session.cart# type=exclusive timeout=20        cfset structDelete(session.cart, url.sku) /cflock Yes, that would be a better approach, and yes, you

RE: Quick question on cflock...

2009-09-09 Thread brad
Except for the fact that session.cart appears to be a struct, and lock names must be a string. You might want to take off those pound signs. :) ~Brad Original Message Subject: Re: Quick question on cflock... From: Dave Watts dwa...@figleaf.com Date: Wed, September 09, 2009

Re: Quick question on cflock...

2009-09-09 Thread Dave Watts
Except for the fact that session.cart appears to be a struct, and lock names must be a string.  You might want to take off those pound signs. :) Except that if you remove the hashes, you'd have a single name session.cart for all shopping cart locks across all sessions. D'oh! Dave Watts, CTO,

RE: Quick question on session issue (hopefully)

2008-11-16 Thread Adrian Lynch
too. Adrian Building a database of ColdFusion errors at http://cferror.org/ -Original Message- From: Dave Phillips Sent: 15 November 2008 23:30 To: cf-talk Subject: Re: Quick question on session issue (hopefully) Well, that didn't help either. I moved it to another server and it works

Re: Quick question on session issue (hopefully)

2008-11-15 Thread Brad Wood
Is statistics.cfm on the same domain? Dump out your cfid and cftoken to see if they stay the same on the redirect. ~Brad - Original Message - From: Dave Phillips [EMAIL PROTECTED] To: cf-talk cf-talk@houseoffusion.com Sent: Saturday, November 15, 2008 2:08 PM Subject: Quick question on

Re: Quick question on session issue (hopefully)

2008-11-15 Thread Dan Switzer
Dave, If your browser is blocking cookies and you're not passing in the session tokens, then your session info will be lost. Make sure that the cookies are indeed being used by your browsers and try passing the session tokens to the URL in your window.location call. -Dan On Sat, Nov 15, 2008 at

Re: Quick question on session issue (hopefully)

2008-11-15 Thread Dave Phillips
To answer both Brad and Dan: Brad: Yes, I have dumped the session and CFID, CFTOKEN and SESSION ID are all the same in both dumps. The dump in login_exec.cfm that shows session.isAuthorized value of true, and the dump in statistics.cfm that shows session.isAuthorized false, right after the

Re: Quick question on session issue (hopefully)

2008-11-15 Thread Barney Boisvert
different application names? On 11/15/08, Dave Phillips [EMAIL PROTECTED] wrote: To answer both Brad and Dan: Brad: Yes, I have dumped the session and CFID, CFTOKEN and SESSION ID are all the same in both dumps. The dump in login_exec.cfm that shows session.isAuthorized value of true, and

Re: Quick question on session issue (hopefully)

2008-11-15 Thread Brad Wood
Subject: Re: Quick question on session issue (hopefully) To answer both Brad and Dan: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk

Re: Quick question on session issue (hopefully)

2008-11-15 Thread Dave Phillips
Same application name. I even tried this: Instead of redirecting, I did the following in login_exec.cfm: cfdump var=#session# cfset session.isAuthorized = true a href=statistics.cfmStatistics/a cfdump var=#session# cfabort When I got to this page, I could see my session.isAuthorized was set to

Re: Quick question on session issue (hopefully)

2008-11-15 Thread Judah McAuley
Try appending cfid and cftoken to the url before going to your statistics page. If the cfid/cftoken stays the same and your session sticks, then you'll know that something is going on with the cookies. Judah On Sat, Nov 15, 2008 at 1:11 PM, Dave Phillips [EMAIL PROTECTED] wrote: Same

Re: Quick question on session issue (hopefully)

2008-11-15 Thread Dave Phillips
Well, that didn't help either. I moved it to another server and it works fine, so apparently my code is not the issue. I restarted ColdFusion and that didn't help the situation either. The bottom line is, my session variables aren't getting persisted, but only on this machine. Again, I've

Re: Quick question on presentation

2008-03-14 Thread William Seiter
Can you post the code you are using to generate this display currently? This way we can help you alter it to get the results that you desire. William On Mar 14, 2008, at 9:59 AM, Don L wrote: Hi, I have a small cfwindow in my app. Currently this window displays a) bla bla... b) blaB

Re: Quick question on presentation

2008-03-14 Thread Don L
Hi William, short version - 1. run a qry 2. display data table cfoutput query=getStuff trtd valign=top colspan=3b#title#/bbr/ #ParagraphFormat(description)#/td /tr /cfoutput /table

Re: Quick question on presentation

2008-03-14 Thread William Seiter
Not tested, but should at least get you started. style .showdiv {visibility: visible; display: block;} .hidediv {visibility: hidden; display: none;} /style table div onMouseOver=showMore() onMouseOut=showLess() cfoutput query=getStuff trtd

Re: Quick question on presentation

2008-03-14 Thread Don L
William, Would the intent of the following code extract each paragraph from ONE/SAME row, hence, show/display the First Paragraph by default, then use OnMouseOver, OnMouseOut event handlers to show the rest paragraph as well? trtd valign=top colspan=3div id=row#currentrow#

Re: Quick question on presentation

2008-03-14 Thread William Seiter
the intent is to display the first query result in full. When the table area is moused over, then display all of the other results. Once you mouseout of the table area, only the first result should be showing. If I have your intention incorrect, please let me know and I will try to

Re: Quick question on presentation

2008-03-14 Thread Don L
Sorry, William, your interpretation wasn't in 'snyc' with me. The intent was, extract each paragraph from ONE/SAME row, hence, show/display the First Paragraph by default, then use OnMouseOver, OnMouseOut event handlers to show the rest paragraph and all the rest. There might be p tag within

Re: Quick question on presentation

2008-03-14 Thread William Seiter
I can think of several different ways to accomplish what you are looking for, but each one of them would add a little bit of processing to the CF side of things, as well as the javascript code (which shouldn't slow the download at all). How slow is your page to load already? William On

Re: Quick question on presentation

2008-03-14 Thread William Seiter
for instance, since you are using the paragraphformat function, you can have a 2nd function that checks to see if there is more than 1 open 'p' tag in the results. If there is, then have it add a 'span' tag before the 2nd 'p' tag and then a closing 'span' tag at the end. have this span

Re: Quick question on presentation

2008-03-14 Thread Don L
Very much appreciate it, William, it's not on my priority list for now... let's deal with it another day... the window is not slow (but I'm a speed/efficiency maniac...) for instance, since you are using the paragraphformat function, you can have a 2nd function that checks to see if there is

Re: Quick Question About Dbase Architecture

2007-09-18 Thread gary gilbert
Joel, if you want to have your database relational to 3rd normal form then yes you should have separate tables for all of your lookups. Databases are designed to work well with joins of that nature and if you build your indexes correctly you should be ok. A lot of people forget to add indexes

Re: Quick Question About Dbase Architecture

2007-09-18 Thread Joel Watson
Joel, if you want to have your database relational to 3rd normal form then yes you should have separate tables for all of your lookups. Databases are designed to work well with joins of that nature and if you build your indexes correctly you should be ok. A lot of people forget to add indexes

RE: Quick Question About Dbase Architecture

2007-09-18 Thread Dave Watts
For improved performance you could build views that join the tables together. Views are faster than running plain old select queries and doing all the joins. This is not generally true, actually. To improve performance, views have to be indexed or materialized, and they generally aren't by

RE: Quick Question About Dbase Architecture

2007-09-18 Thread Brad Wood
I can tell you what I do... I have a utility table which has groups that populate all my drop downs. I store the utility_id as a foreign key and then join to get the actual display value. The utility table is small and utility_id is the primary key so those joins are pretty fast. The good thing

Re: Quick Question About Dbase Architecture

2007-09-18 Thread Matt Robertson
A single lookup table should work fine for this. I don't see a need to create a different table for each lookup. Field structure ID (int, indexed) ItemType (varchar 25, indexed) ItemStored (char3) ItemDisplay(varchar 25) The field lengths above are not set in stone, and I am assuming your

Re: Quick Question About Dbase Architecture

2007-09-18 Thread Dinner
On 9/18/07, Matt Robertson [EMAIL PROTECTED] wrote:... I suppose if you were a fanatic about data normalization you would create a table for 'lookups' and have it contain only ID and ItemType. Then your lookup table has an indexed ParentID field (foreign key) replacing the ItemType field.

Re: Quick Question about quot;upgradingquot; to CF 8

2007-08-09 Thread James Blaha
Hi Tom, You said: Or you can make a CAR of your CF7 settings How do I do this? Once I have CF8 running, how do I import the settings? -Jim ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active

Re: Quick Question about upgrading to CF 8

2007-08-08 Thread Tom Chiverton
On Wednesday 08 Aug 2007, [EMAIL PROTECTED] wrote: internal development server, and I wanna upgrade it, is it better for me to uninstall 7 before installing 8? Or should I just get the upgrade and install it over top of 7? I believe by default CF8 installs into a different directory, and

Re: Quick Question about upgrading to CF 8

2007-08-08 Thread Jochem van Dieten
LHWH Interactive wrote: I've looked on Adobe and I just can't find the answer to a really easy question regarding upgrading to CF8. If I've got CF 7 installed on our internal development server, and I wanna upgrade it, is it better for me to uninstall 7 before installing 8? Install CF 8 next

RE: Quick Question about upgrading to CF 8

2007-08-08 Thread Eric Roberts
It's always better to do a clean install...but CF 8 will also import setting from CF7 (and I believe 6). Eric -Original Message- From: LHWH Interactive [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 08, 2007 8:37 AM To: CF-Talk Subject: Quick Question about upgrading to CF 8 I've

Re: Quick question about character sets

2007-05-24 Thread Paul Hastings
Christopher Jordan wrote: cfset setEncoding(form,utf-8) cfset setEncoding(url,utf-8) ensures that your URL form scope vars are *always* interpreted as utf-8 if that was your original intent. these days, i guess it's normally used when your encoding isn't utf-8 (though i have vague

Re: Quick Question: Should I lock Session Scope Reads in MX 7

2007-01-31 Thread James Holmes
If there is a race condition and you don't use readonly locks you are going to get inconsistent data from that read. On 1/31/07, Matt Robertson [EMAIL PROTECTED] wrote: writes=yes. reads=no. At least thats my basic rule of thumb nowadays -- with the race condition caveat. -- CFAJAX docs

Re: Quick Question: Should I lock Session Scope Reads in MX 7

2007-01-31 Thread David Gardner
Dave, are you saying that it is NOT best practice, unnecessary in MX, and a bad idea in previous versions to (at beginning of script) copy your session structures to the request scope, utilize them from the request scope during processing, and then copy them back to session at the end? You

Re: Quick Question: Should I lock Session Scope Reads in MX 7

2007-01-31 Thread Mary Jo Sminkey
to (at beginning of script) copy your session structures to the request scope, utilize them from the request scope during processing, and then copy them back to session at the end? Definitely unnecessary in CFMX. I'd certainly be interested to see where you have been reading that! The only

Re: Quick Question: Should I lock Session Scope Reads in MX 7

2007-01-31 Thread David Gardner
When you're talking about only reading, I think you're right, but Dave seemed to go more general than that. I would much rather have full unlocked access to a request scope structure to do writes to, than to have to throw in locks around my writes to session scope. With what I'm saying, you

Re: Quick Question: Should I lock Session Scope Reads in MX 7

2007-01-31 Thread Jochem van Dieten
David Gardner wrote: Dave, are you saying that it is NOT best practice, unnecessary in MX, and a bad idea in previous versions to (at beginning of script) copy your session structures to the request scope, utilize them from the request scope during processing, and then copy them back to

Re: Quick Question: Should I lock Session Scope Reads in MX 7

2007-01-31 Thread Mary Jo Sminkey
When you're talking about only reading, I think you're right, but Dave seemed to go more general than that. I would much rather have full unlocked access to a request scope structure to do writes to, than to have to throw in locks around my writes to session scope. You do NOT have to lock writes

Re: Quick Question: Should I lock Session Scope Reads in MX 7

2007-01-31 Thread Matt Robertson
keep reading that post you copied in your message. You missed something. and as Dave said... a meaningful race condition is not particularly likely in any event in the session scope. On 1/31/07, James Holmes [EMAIL PROTECTED] wrote: If there is a race condition and you don't use readonly locks

Re: Quick Question: Should I lock Session Scope Reads in MX 7

2007-01-30 Thread David Gardner
And yes, I konw that it's best practice to read session vars into something like the request scope and then reference that new scope. But I'm in someone else's code. On 1/30/07, David Gardner [EMAIL PROTECTED] wrote: Should I lock Session Scope Reads in MX 7? There shouldn't be a race

Re: Quick Question: Should I lock Session Scope Reads in MX 7

2007-01-30 Thread Bryan Stevenson
Should be safe (if auto0locking is on).and ask the ISP if they've turned on the auto-locking feature.if notyou must lock ;-) Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell:

Re: Quick Question: Should I lock Session Scope Reads in MX 7

2007-01-30 Thread Charlie Griefer
If race conditions shouldn't be a problem, there's no reason to lock. Pre-MX, yes. Aside from race condition issues there were issues of memory corruption. Nowadays, you kids have it easy :) (not sure how about determining if the automatic locking is enabled...but assuming i'm not totally off

Re: Quick Question: Should I lock Session Scope Reads in MX 7

2007-01-30 Thread David Gardner
Ah, so I've got one Yes and one No! ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs

Re: Quick Question: Should I lock Session Scope Reads in MX 7

2007-01-30 Thread Charlie Griefer
well now we went and gave him conflicting info :) i'm under the impression that, as of MX+, locking is only necessary in instances where race conditions could occur. he had originally stated that race conditions shouldn't be a concern here. am I understanding incorrectly (don't get me

Re: Quick Question: Should I lock Session Scope Reads in MX 7

2007-01-30 Thread Bryan Stevenson
he had originally stated that race conditions shouldn't be a concern here. shouldn't does not mean won't ;-) (sorry if that's too nit picky) I'd just call the ISP and confirm if auto-locking is turned on (think it is by default).if it's not...then we can clarify (I'm not sure either if

Re: Quick Question: Should I lock Session Scope Reads in MX 7

2007-01-30 Thread David Gardner
Yeah, there are ways around using session vars, but we don't have to go there because that point is moot for my question. I'm stuck with the other guy's code. So are you saying that if auto-locking is OFF, that I would have to lock session var reads? and around and around we go..hehe

Re: Quick Question: Should I lock Session Scope Reads in MX 7

2007-01-30 Thread Bryan Stevenson
Nope I said I'm not 100% sure if it would be required for reads (mainly because I don't use them). My understanding of the auto-locking feature was if it's on you're fine and if it's not then you must lock. Charlie thinks that for reads you should be OK. So it may not be as black white as I

Re: Quick Question: Should I lock Session Scope Reads in MX 7

2007-01-30 Thread James Holmes
In CFMX, locking is only necessary if a race condition can be encountered. Since this is the session scope, unless you are using frames or otherwise simulrtaneously requesting data from the same session, race conditions will not occur. You therefore do not need to lock if this criterion is met.

RE: Quick Question: Should I lock Session Scope Reads in MX 7

2007-01-30 Thread Russ
would need to lock the whole block in an exclusive lock to prevent it. Russ -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 30, 2007 7:04 PM To: CF-Talk Subject: Re: Quick Question: Should I lock Session Scope Reads in MX 7 In CFMX, locking

Re: Quick Question: Should I lock Session Scope Reads in MX 7

2007-01-30 Thread Matt Robertson
writes=yes. reads=no. At least thats my basic rule of thumb nowadays -- with the race condition caveat. -- [EMAIL PROTECTED] Janitor, The Robertson Team mysecretbase.com ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2

RE: Quick Question: Should I lock Session Scope Reads in MX 7

2007-01-30 Thread Dave Watts
Should be safe (if auto0locking is on).and ask the ISP if they've turned on the auto-locking feature.if notyou must lock ;-) As of CF 6, there is no auto-locking feature. And, the danger of race conditions is pretty minimal in the Session scope, in my experience. Dave Watts,

RE: Quick Question: Should I lock Session Scope Reads in MX 7

2007-01-30 Thread Dave Watts
And yes, I konw that it's best practice to read session vars into something like the request scope and then reference that new scope. That is not a best practice. It is completely unnecessary in CFMX, and generally a bad idea in previous versions. Dave Watts, CTO, Fig Leaf Software

RE: Quick question on dynamic sorting

2007-01-26 Thread Dave Watts
What is the best way to do dynamic sorting? I have a recordset that has several columns, and the title row is a link that sends a URL parameter Sort with the sort variable. Specifically what should I do with the query results. Should I cache the results so I can use it each time they

Re: Quick question on dynamic sorting

2007-01-26 Thread Bruce Sorge
Well that is the problem. There are so far over 40K records, and if the user does not pick anything at all, then they get all of the records. So it could be as small as one record or over 40K. On 1/26/07, Dave Watts [EMAIL PROTECTED] wrote: What is the best way to do dynamic sorting? I have a

RE: Quick question on dynamic sorting

2007-01-26 Thread Dave Watts
Well that is the problem. There are so far over 40K records, and if the user does not pick anything at all, then they get all of the records. So it could be as small as one record or over 40K. Do you display them all within a single page? Have you considered requiring filters? Nobody in

Re: Quick question on dynamic sorting

2007-01-26 Thread Bruce Sorge
No, of course not. I am using Next N navigation, showing only 20 rows at a time. On 1/26/07, Dave Watts [EMAIL PROTECTED] wrote: Well that is the problem. There are so far over 40K records, and if the user does not pick anything at all, then they get all of the records. So it could be as

RE: Quick question on dynamic sorting

2007-01-26 Thread Dave Watts
No, of course not. I am using Next N navigation, showing only 20 rows at a time. Do you want to resort just within those 20 rows, or across the entire dataset? If you want to resort across the entire dataset, it would be easier for you to do that on the server. You can use query-of-queries for

Re: Quick question on dynamic sorting

2007-01-26 Thread Bruce Sorge
OK. Thanks. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs

Re: Quick Question

2006-09-01 Thread Teddy Payne
#chr(10)##chr(13)# will simulate a carriage return combination. Then when you need to modify the string that has delimeters in it, you can use ListChangeDelims to change delimeters or StripCR to yank out the trailing 10-13 comination. Teddy

RE: Quick Question

2006-09-01 Thread Dave Watts
chr(10) chr(13) isn't it? On Windows, text files use carriage return/line feed to begin a new line. On Unix, text files use line feed alone, and on Mac Classic text files use carriage return alone. The ASCII code for carriage return is 13, and the code for line feed is 10, so if you want to

RE: Quick Question

2006-08-31 Thread Ben Forta
ListChangeDelims() In your example: cfset myList=ListChangeDelims(myList, , -) --- Ben -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Thursday, August 31, 2006 8:43 AM To: CF-Talk Subject: Quick Question Say I have a list cfset myList = test1 test2 test3 What

Re: Quick Question

2006-08-31 Thread RichL
try: cfset myList = test1 test2 test3 cfset newList = listchangedelims(myList,-, ) cfoutput#mylist#, #newlist#/cfoutput On 8/31/06, Doug Brown [EMAIL PROTECTED] wrote: Say I have a list cfset myList = test1 test2 test3 What list function would I use to make it test1-test2-test3

Re: Quick Question

2006-08-31 Thread RichL
I thought the second parameter was the new list delimiter? (third the old) ? On 8/31/06, Ben Forta [EMAIL PROTECTED] wrote: ListChangeDelims() In your example: cfset myList=ListChangeDelims(myList, , -) --- Ben -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED]

RE: Quick Question

2006-08-31 Thread Mkruger
-Talk Subject: RE: Quick Question ListChangeDelims() In your example: cfset myList=ListChangeDelims(myList, , -) --- Ben -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Thursday, August 31, 2006 8:43 AM To: CF-Talk Subject: Quick Question Say I have a list cfset

Re: Quick Question

2006-08-31 Thread Doug Brown
cfset myList = test1 test2 test3 cfset myNewList=ListChangeDelims(myList, , -) cfoutput#myNewlist#/cfoutput Why is it not working? - Original Message - From: Ben Forta [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, August 31, 2006 6:50 AM Subject: RE: Quick

RE: Quick Question

2006-08-31 Thread Ken Ferguson
realized what the problem was before I asked anyone else to look at it. --Ferg -Original Message- From: Mkruger [mailto:[EMAIL PROTECTED] Sent: Thursday, August 31, 2006 8:09 AM To: CF-Talk Subject: RE: Quick Question Ah... another obscure function I forgot about... Tell the truth Ben

RE: Quick Question

2006-08-31 Thread Ben Forta
Ferguson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 31, 2006 9:39 AM To: CF-Talk Subject: RE: Quick Question Sometimes I think I need one of those - I must be gettin' old because my memory's leaving me. The other day I typed structKeyFind(...) and couldn't figure out for the life of me why

RE: Quick Question

2006-08-31 Thread Brian Polackoff
Doug, You could also try this.. cfset myNewList2='#ReReplace(mylist, ,-,all)#' cfoutput#myNewlist2#/cfoutput Enjoy, Brian -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Thursday, August 31, 2006 9:11 AM To: CF-Talk Subject: Re: Quick Question cfset myList

RE: Quick Question

2006-08-31 Thread Brian Polackoff
Doug, Also I just noticed in Ben's last, the and - are reversed... That's why it's not working for you.. Enjoy! -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Thursday, August 31, 2006 9:11 AM To: CF-Talk Subject: Re: Quick Question cfset myList = test1 test2

Re: Quick Question

2006-08-31 Thread Teddy Payne
=ListChangeDelims(myList, , -) cfoutput#myNewlist#/cfoutput Why is it not working? - Original Message - From: Ben Forta [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, August 31, 2006 6:50 AM Subject: RE: Quick Question ListChangeDelims() In your example

RE: Quick Question

2006-08-31 Thread Crow T Robot
That rocks! I never knew such a beast existed. Thanks Ben. -Original Message- From: Ben Forta [mailto:[EMAIL PROTECTED] Sent: Thursday, August 31, 2006 9:34 AM To: CF-Talk Subject: RE: Quick Question Wouldn't help, I'd need to carry a big old wall with me wherever I went

Re: Quick Question

2006-08-31 Thread Teddy Payne
(mylist, ,-,all)#' cfoutput#myNewlist2#/cfoutput Enjoy, Brian -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Thursday, August 31, 2006 9:11 AM To: CF-Talk Subject: Re: Quick Question cfset myList = test1 test2 test3 cfset myNewList=ListChangeDelims(myList

RE: Quick Question

2006-08-31 Thread Andy Matthews
Message- From: Crow T Robot [mailto:[EMAIL PROTECTED] Sent: Thursday, August 31, 2006 8:46 AM To: CF-Talk Subject: RE: Quick Question That rocks! I never knew such a beast existed. Thanks Ben. -Original Message- From: Ben Forta [mailto:[EMAIL PROTECTED] Sent: Thursday, August 31

Re: Quick Question

2006-08-31 Thread Kris Jones
AIM: cflivedocs Yahoo!: cflivedocs GoogleTalk: [EMAIL PROTECTED] This just made my day. Thanks Ben. Now if we could just get docs to work well in cfeclipse like they did back in cfstudio... Cheers, Kris ~| Introducing the

Re: Quick Question

2006-08-31 Thread Rick Root
Doug Brown wrote: Say I have a list cfset myList = test1 test2 test3 What list function would I use to make it test1-test2-test3 Dave, I realize your question has already been answered by thousands of vigilant readers here so... Here's a newbie tip for you. Coldfusion functions are

Re: Quick Question

2006-08-31 Thread James Holmes
To: CF-Talk Subject: RE: Quick Question Wouldn't help, I'd need to carry a big old wall with me wherever I went, not practical. But what does help is the cfdoc IM bot, I use that extensively for this type of stuff: AIM: cflivedocs Yahoo!: cflivedocs GoogleTalk: [EMAIL

Re: Quick Question

2006-08-31 Thread Douglas Knudsen
@houseoffusion.com Sent: Thursday, August 31, 2006 6:50 AM Subject: RE: Quick Question ListChangeDelims() In your example: cfset myList=ListChangeDelims(myList, , -) --- Ben -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Thursday

Re: Quick Question

2006-08-31 Thread Teddy Payne
[EMAIL PROTECTED] wrote: That rocks! I never knew such a beast existed. Thanks Ben. -Original Message- From: Ben Forta [mailto:[EMAIL PROTECTED] Sent: Thursday, August 31, 2006 9:34 AM To: CF-Talk Subject: RE: Quick Question Wouldn't help, I'd need to carry a big old

RE: Quick Question

2006-08-31 Thread Rick Faircloth
Ben...what's a cfdoc IM bot? Rick -Original Message- From: Ben Forta [mailto:[EMAIL PROTECTED] Sent: Thursday, August 31, 2006 9:34 AM To: CF-Talk Subject: RE: Quick Question Wouldn't help, I'd need to carry a big old wall with me wherever I went, not practical. But what does help

Re: Quick Question

2006-08-31 Thread Scott Stroz
To add a little bit more to Ricks suggestion. The functions are typically named similarly as well. Alll list functions begin with 'list', such as listLen(), listGetAt(), ListFirst(). Same goes for function dealing with structures, arrays, queries, xml On 8/31/06, Rick Root [EMAIL

Re: Quick Question

2006-08-31 Thread Scott Stroz
Also, on top of using the bot, you can use http://techfeed.net/cfQuickDocs/. I ahve this in my FF Bookmark toolbar and use it just about every day. On 8/31/06, Scott Stroz [EMAIL PROTECTED] wrote: To add a little bit more to Ricks suggestion. The functions are typically named similarly as

Re: Quick Question

2006-08-31 Thread Robyn
Ahhh... this is a *huge* improvement over that awful frames/heavy/Flash? CFDocs page that is installed locally or that you have to navigate via CFLiveDocs. Half the time I try to go there, it doesn't work in Firefox, anyway... Thanks for the link! Scott Stroz wrote: Also, on top of using

Re: Quick Question

2006-08-31 Thread Teddy Payne
AM To: CF-Talk Subject: RE: Quick Question Wouldn't help, I'd need to carry a big old wall with me wherever I went, not practical. But what does help is the cfdoc IM bot, I use that extensively for this type of stuff: AIM: cflivedocs Yahoo!: cflivedocs GoogleTalk: [EMAIL PROTECTED

Re: Quick Question

2006-08-31 Thread Teddy Payne
I also recommend http://techfeed.net/cfQuickDocs/ , which is an AJAX widget that acts similar to live docs. Teddy -- cf_payne / Blog: http://cfpayne.wordpress.com/ Atlanta CFUG: http://www.acfug.org ~| Introducing the Fusion

Re: Quick Question

2006-08-31 Thread Doug Brown
Thanks for the help from all of you on the list question I had. I have one more if you do not mind. Is there a way to use a carriage return as a delimeter in CF? I have a text document that lists categories that I am inserting into my DB IE: cfset myList = Antique (Pre-1900) Architecture

RE: Quick Question

2006-08-31 Thread Munson, Jacob
By the way, I'm in the process of taking over cfquickdocs.com. This domain points to cfQuickDocs right now, but some of the features don't work because the domain is not local to my server. Once I get the domain pointed, I'll drop a note on my blog, and you guys won't have to remember the funny

RE: Quick Question

2006-08-31 Thread Dawson, Michael
#chr(13)# is the code for CR. #chr(10)# is the code for LF. #chr(13)##chr(10)# is the combination of the two. M!ke -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Thursday, August 31, 2006 5:44 PM To: CF-Talk Subject: Re: Quick Question Thanks for the help from

RE: Quick Question

2006-08-31 Thread Loathe
chr(10) chr(13) isn't it? -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Thursday, August 31, 2006 6:44 PM To: CF-Talk Subject: Re: Quick Question Thanks for the help from all of you on the list question I had. I have one more if you do not mind

  1   2   3   >