Re: Flex3 and CF 8 connection problem

2008-05-06 Thread cf-talk
Hello Mike and everybody who answered, I installed it on another host and there everything works fine. Thank you. Uwe Regarding the version number, no you don't need to upgrade. Someone reported a problem with Flex after upgrading. The source of the problem most likely relates to your answer

Re: cflocation problem

2008-05-06 Thread alex poyaoan
thanks to all the inputs will try which is best ... Hi everybody need help on this I have this code on an action template CFQUERY NAME=AddHL datasource=db INSERT into table1(listID, secondID, emailID) VALUES('#Form.ListID#','#Form.secondID#','#form.emailID#' ) /cfquery CFLOCATION

Re: create variables from a string

2008-05-06 Thread Dominic Watson
cfquery datasource=#application.ds# name=pull_data SELECT * FROM #URL.TABLE# /cfquery cfset yopath = #application.masterpath#/#dateFormat(now(), _mm_dd)#_#URL.TABLE#.csv cffile action=WRITE file=#yopath# output=#pull_data.columnList# addnewline=yes cfloop query=pull_data

Re: OT: IIS Question...

2008-05-06 Thread JediHomer
I tend to create 2 sites in IIS, one containing the host-header www.mydomain.com, this one contains the site, then the other site created contains all the variations to the host-header, then set the home directory to be a permanent redirection to the first site. HTH 2008/5/5 Che Vilnonis [EMAIL

RE: create variables from a string

2008-05-06 Thread Bobby Hartsfield
If I understand you correctly, try this: cfloop list=red,green,blue,yellow index=i cfset variables[i] = 'whatever' / /cfloop cfdump var=#variables# / ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Steve Good

cfdiv display problem

2008-05-06 Thread Victor Moore
Hi, I'm using cfdiv to dynamically load information on a page based on a user selection. Everything works well except that information displayed (which is text in the db and contains line feeds) doesn't preserve the carriage returns and all the information is being displayed as one long string.

Re: cfdiv display problem

2008-05-06 Thread Azadi Saryev
use replace() cf function to replace all instances of chr(10)chr(13) with br in the returned text that goes into your cfdiv Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Victor Moore wrote: Hi, I'm using cfdiv to dynamically load information on a page based on a user selection.

Re: cfdiv display problem

2008-05-06 Thread Victor Moore
Never mind. I found out that I can format the output in the cfc and send it formatted to the cfdiv tag and it works. Thanks Victor On Tue, May 6, 2008 at 10:41 AM, Azadi Saryev [EMAIL PROTECTED] wrote: use replace() cf function to replace all instances of chr(10)chr(13) with br in the

Re: Shopping cart with focus on inventory management? Or just inventory management?

2008-05-06 Thread Mary Jo Sminkey
Hi. I'm looking for a ColdFusion shopping cart that also has a good feature set for managing inventory. Really looking for an inventory management system that also has a shopping cart. Or actually it might not even *have* to have a shopping cart, if you know of a good CF inventory

Re: create variables from a string

2008-05-06 Thread Richard White
many have suggested solutions but in case your interested there is a function on cflib called querytovars http://cflib.org/udf.cfm?ID=538 Is there a way to create named variables from a dynamic list (the list doesn't always have the same number of elements)? One instance might be:

Re: Shopping cart with focus on inventory management? Or just inventory management?

2008-05-06 Thread Tom McNeer
+1 for SiteDirector (http://www.quilldesign.com). -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560 ~| Adobe® ColdFusion® 8 software 8 is the most important

or in a cfcase statement

2008-05-06 Thread Scott Stewart
Hey All, Can an or be used in a CFCase statement IE: cfcase value=X or Y or something like this. -- Scott Stewart ColdFusion Developer SSTWebworks 4405 Oakshyre Way Raleigh, NC. 27616 (919) 874-6229 (home) (703) 220-2835 (cell)

Re: or in a cfcase statement

2008-05-06 Thread Barney Boisvert
CFCASE accepts a list of values, and an optional delimiter attribute. Check the docs for more. cheers, barneyb On Tue, May 6, 2008 at 9:08 AM, Scott Stewart [EMAIL PROTECTED] wrote: Hey All, Can an or be used in a CFCase statement IE: cfcase value=X or Y or something like this. --

RE: or in a cfcase statement

2008-05-06 Thread Che Vilnonis
Just use a comma. :) cfcase value=X,Y -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 06, 2008 12:09 PM To: CF-Talk Subject: or in a cfcase statement Hey All, Can an or be used in a CFCase statement IE: cfcase value=X or Y or something like this.

Re: or in a cfcase statement

2008-05-06 Thread Greg Morphis
cfcase value=x,y I believe that works On Tue, May 6, 2008 at 11:08 AM, Scott Stewart [EMAIL PROTECTED] wrote: Hey All, Can an or be used in a CFCase statement IE: cfcase value=X or Y or something like this. -- Scott Stewart ColdFusion Developer SSTWebworks 4405

RE: or in a cfcase statement

2008-05-06 Thread Brad Wood
You can compare the value being switched upon to multiple case values. Syntax cfcase value = value|delimited set of values delimiters = delimiter characters If you want some sort of additional Boolean logic then cfswitch is not the tool for that... cfif and cfelseif is what you need.

Re: or in a cfcase statement

2008-05-06 Thread Ian Skinner
Scott Stewart wrote: Hey All, Can an or be used in a CFCase statement IE: cfcase value=X or Y or something like this. cfcase value=x,y delimiter=, !--- That is the default delimiter so can be skipped unless one wants to use something other then a comma to separate values.---

RE: or in a cfcase statement

2008-05-06 Thread Dave Watts
Can an or be used in a CFCase statement IE: cfcase value=X or Y or something like this. cfcase value=X,Y http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pa9.htm Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Training: Adobe/Google/Paperthin Certified Partners

RE: or in a cfcase statement

2008-05-06 Thread Scott Stewart
That's the nicest way I've ever heard someone say RTFM :) Thanks Barney (I actually found another way to do the logic) :) sas -- Scott Stewart ColdFusion Developer SSTWebworks 4405 Oakshyre Way Raleigh, NC. 27616 (919) 874-6229 (home) (703) 220-2835 (cell) -Original Message- From:

Re: or in a cfcase statement

2008-05-06 Thread Greg Morphis
yeah.. http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-pa9.htm On Tue, May 6, 2008 at 11:12 AM, Greg Morphis [EMAIL PROTECTED] wrote: cfcase value=x,y I believe that works On Tue, May 6, 2008 at 11:08 AM, Scott Stewart [EMAIL PROTECTED] wrote: Hey All, Can an or

RE: or in a cfcase statement

2008-05-06 Thread William
Curious What 'other' method did you find? William Seiter (mobile) Have you ever read a book that changed your life? go to: http://www.winninginthemargins.com and use passcode: GoldenGrove -Original Message- From: Scott Stewart [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com

RE: create variables from a string

2008-05-06 Thread Steve Good
Thanks guys, this definitely helped me get this thing done. ~Steve http://lanctr.com/ -Original Message- From: Dominic Watson [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 06, 2008 4:15 AM To: CF-Talk Subject: Re: create variables from a string cfquery datasource=#application.ds#

Re: or in a cfcase statement

2008-05-06 Thread Gerald Guido
As a side note you can use IIF to do conditionals as an inline variable . The basic syntax is like so: #IIf(expr, truepart, falsepart)# iif((Myvar eq x Or Myvar eq y, returnX, returnY) Or sumptin like that. G On Tue, May 6, 2008 at 12:08 PM, Scott Stewart [EMAIL PROTECTED] wrote: Hey All,

Re: or in a cfcase statement

2008-05-06 Thread Sonny Savage
cfcase value=X,Y' On Tue, May 6, 2008 at 12:08 PM, Brad Wood [EMAIL PROTECTED] wrote: You can compare the value being switched upon to multiple case values. Syntax cfcase value = value|delimited set of values delimiters = delimiter characters If you want some sort of additional

query on query advice

2008-05-06 Thread Richard White
hi, i have 2 coldfusion queries and need to combine them together on their primary keys the problem is, is that i don't know what the column names will be, i only know what the primary keys will be. therefore i have no idea how to join them together based on this. i usually join queries

Re: query on query advice

2008-05-06 Thread Gerald Guido
you can use ColumnList to tease out the column names and use them to dynamicly created the query. cfquery name=getProj datasource=#application.DSN# SELECT * FROM tblProj /cfquery cfset mystring = getProj.ColumnList And

RE: query on query advice

2008-05-06 Thread Bobby Hartsfield
I, and another guy, used this years ago to do just that. http://cflib.org/udf.cfm?ID=1021 ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Richard White [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 06, 2008 1:22 PM To:

Support for Japanese

2008-05-06 Thread Rey Bango
Guys, I've never done development for sites that need to support the Japanese language. What's a good starting point for this? Does CF have built-in capabilities for this? Any advice would be greatly appreciated. Rey ~|

RE: Support for Japanese

2008-05-06 Thread Dale Fraser
It's just UTF-8 ColdFusion supports this well, just set your headers etc to UTF-8. Install the Japanese language pack on the servers if your using CFDOCUMENT so that it has to fonts for PDF. Pretty easy actually. Regards Dale Fraser http://learncf.com http://flexcf.com -Original

CF 8 Standard on 64 bit Windows

2008-05-06 Thread Sean Kozey
Does anyone know if Adobe intends to support native 64 bit mode for CF 8 Standard Edition, as opposed to just for Enterprise and the Developer Edition? Thanks, Sean Kozey ~| Adobe® ColdFusion®

Re: Error E0-0602 (Vdb Access): Error in read_entry: 00000001.ddd, RESUME, 0

2008-05-06 Thread Kevin Feeley
Hi Gurus, I work on peoplesoft and we use verity to index our applicant details. we use mkvdk to index the data from *.bif and *.dat files. while searching for applicants online, I get the following errorE0-0602 (Vdb Access): Error in read_entry: 0001.ddd, RESUME, 0 . Does

Re: Error E0-0602 (Vdb Access): Error in read_entry: 00000001.ddd, RESUME, 0

2008-05-06 Thread Kevin Feeley
Vinod, I created the same attachment temp directory on my application server as I specified when building my applicant index and exists on my process scheduler server. I also copied the VerityDummy.txt file from the attachment temp directory on my process scheduler to the attachment temp

Re: Support for Japanese

2008-05-06 Thread Axel Schultze
UTF-8, like Dale said make sure your DB is UTF-8 It happened that your DB may be default UTF-8 but due to some scripts it may actually have Latin-1 tables (we experienced that some time ago). So take care of that. Check date/time format: it's typically /mm/dd in Japan. Check address

Best way to create cflist of unique words from long text ...

2008-05-06 Thread Walter Conti
Please advice function or steps to start putting together one. Thank you. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: Best way to create cflist of unique words from long text ...

2008-05-06 Thread Ian Skinner
Walter Conti wrote: Please advice function or steps to start putting together one. Thank you. Create a structure with the words as the keys. Since a structure can have only one key of any given value, any duplicates will be consolidated. You can then use structKeyList() if you truly need a

RE: CF 8 Standard on 64 bit Windows

2008-05-06 Thread Dave Watts
Does anyone know if Adobe intends to support native 64 bit mode for CF 8 Standard Edition, as opposed to just for Enterprise and the Developer Edition? Since they released 64-bit support for Enterprise but not for Standard, my guess is that they don't plan to support that feature in CF 8

Preventing user from changing ID number in URL

2008-05-06 Thread Bruce Sorge
Howdy all, My help desk site I am building uses a URL variable for the ticket ID when the admin or user is viewing details, and I seem to recall reading somewhere that you can write your code so that if the user decides to change the ID number in the URL, it will default to the one they

Re: Preventing user from changing ID number in URL

2008-05-06 Thread Phillip Vector
Store it in session.TicketID and don't pass it along via the URL at all. On Tue, May 6, 2008 at 3:20 PM, Bruce Sorge [EMAIL PROTECTED] wrote: Howdy all, My help desk site I am building uses a URL variable for the ticket ID when the admin or user is viewing details, and I seem to recall

Re: Best way to create cflist of unique words from long text ...

2008-05-06 Thread Walter Conti
Walter Conti wrote: Please advice function or steps to start putting together one. Thank you. Create a structure with the words as the keys. Since a structure can have only one key of any given value, any duplicates will be consolidated. You can then use structKeyList() if you truly need a

Re: Preventing user from changing ID number in URL

2008-05-06 Thread Josh Nathanson
My help desk site I am building uses a URL variable for the ticket ID when the admin or user is viewing details, and I seem to recall reading somewhere that you can write your code so that if the user decides to change the ID number in the URL, it will default to the one they originally

Re: Preventing user from changing ID number in URL

2008-05-06 Thread Alan Rother
This isn't exactly what you were asking about, but if your main concern is someone getting to see the details of a ticket that they shouldn't see, I recommend using an UUID for either the PK or a solid Secondary Key (if you are already using an auto incrementing Int as the primary key). Then pass

CF redefines math: 5 = 6

2008-05-06 Thread Brad Wood
My coworker ran into this today. We were able to reproduce it on CF 6, 7, and 8. The variable x is equal to 6. When passed into the int function you get 5 back. This must be some sort of precision thing with internal rounding. cfset x = (2280.66 + 0.00) / 380.11 !--- output results ---

RE: Preventing user from changing ID number in URL

2008-05-06 Thread Brad Wood
Obscurity still isn't security though. Better yet, run whatever security checks are necessary when displaying a ticket to verify the person logged in should be able to view it. That really is the only way to be sure sensitive data isn't exposed to others. All someone would need was a copy of

Re: CF redefines math: 5 = 6

2008-05-06 Thread Barney Boisvert
This is a relic of CF's refusal to understand integers. All numerics within CF are treated as floating point numbers (java.lang.Double). As such, integer arithmetic doesn't exist. Most of the time it's no big deal, and CF does some autocorrection when doing certain operations, but it can

Re: CF redefines math: 5 = 6

2008-05-06 Thread Greg Morphis
Doesn't int() just string anything after the decimal away? so 5. would be 5? rnd(5.9) would be 6. ceil(5.99) would also be 6. On Tue, May 6, 2008 at 5:40 PM, Brad Wood [EMAIL PROTECTED] wrote: My coworker ran into this today. We were able to reproduce it on CF 6, 7, and 8.

Re: Preventing user from changing ID number in URL

2008-05-06 Thread Bruce Sorge
That would work except that they get to the ticket via a link. I guess I could make it into a button link and pass the session variable that way. Phillip Vector wrote: Store it in session.TicketID and don't pass it along via the URL at all.

Re: Preventing user from changing ID number in URL

2008-05-06 Thread Bruce Sorge
Yeah, that would work. When they log in, their role is stored in a session variable so I could just do the check that way. Brad Wood wrote: Obscurity still isn't security though. Better yet, run whatever security checks are necessary when displaying a ticket to verify the person logged in

Re: Preventing user from changing ID number in URL

2008-05-06 Thread Phillip Vector
Well, I'm assuming that you have a set of links and the user clicks on one and it goes to the ticket.. Right? If so, once the link is clicked, do another query (the same that brought up his list of tickets) where ticketID = #url.ticketid# If it's showing up as no records, boot him out, cause a

Re: Preventing user from changing ID number in URL

2008-05-06 Thread denstar
On Tue, May 6, 2008 at 5:11 PM, Bruce Sorge [EMAIL PROTECTED] wrote: Yeah, that would work. When they log in, their role is stored in a session variable so I could just do the check that way. That's the ticket! Then all you gotta watch out for is XSS session stealers... :-P -- Limit the