RE: How to use ExpandPath

2003-06-10 Thread Josh Trefethen
I would do it like this: HTH, -- Josh Trefethen .:[ Exciteworks, Inc ]::[ http://exciteworks.com ]:. .::[ cf hosting on linux ]::[ consulting ]::[ expertise ]::. > -Original Message- > From: Paige Chandler [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 10, 2003 10:1

RE: How to use ExpandPath

2003-06-10 Thread Pascal Peters
Expnadpath takes a relative path, so use "images/...". Also expandpath calculates a full path from the relative path starting from the base template (the one you requested in the URL). Otherwise this use of Expandpath is correct. -Oorspronkelijk bericht- Van: Paige Chandl

RE: How to use ExpandPath

2003-06-10 Thread Matthew Walker
I find a good way to debug this is to display it then eyeball it: !#ExpandPath("Images\#Trim(Session.Client_ID)##Trim(Session.Insure d_ID)#1.jpg")#! > -Original Message- > From: Paige Chandler [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 11 June 2003 5:17 p.m. > To: CF-Talk > Subject: H

RE: Red Sky beta 2 released

2003-06-10 Thread Tilbrook, Peter
Strewth, all I stated was the beta 2 was available. ** The information contained in this e-mail, and any attachments to it, is intended for the use of the addressee and is confidential. If you are not the intended recipient you

How to use ExpandPath

2003-06-10 Thread Paige Chandler
Hello All, Is the following the correct usage of ExpandPath? The .jpg image does exist. I don't get a error but it doesn't display the buttons either. Help will be appreciated. TIA. Regards, Paige ~| Archives: http:

Re: CFMX and JSP connections

2003-06-10 Thread CF Dude
>DSN-less connections aren't directly supported in CFMX; apparently, either they aren't supported in JDBC at all I know for a fact that DSN-less connections are in fact supported by JSP, but I really can't comment on CFMX yet. I've noticed a lot of posts about people having connection issues whe

Re: In General: CF vs ActionScript

2003-06-10 Thread Sean A Corfield
On Tuesday, Jun 10, 2003, at 04:56 US/Pacific, E. Keith Dodd wrote: > Is it a wise rule of thumb, that all else being equal, use CF rather > than > ActionScript where possible? Obviously, would depend on specific > situation, > but in general...? There is no "general" answer to that (there's rar

RE: Cftextarea...

2003-06-10 Thread Jon Hart
> We had at least one thread on *exactly* this at the beginning of Christian Cantrell's > tenure here. I'd like to see a sort of runtime swf compiler in CF that would compile a > cfflashform, or a cfflashgrid or cfflashtree or cfwhatever and have flash replace the > gamut of CF's applets, which

RE: Cftextarea...

2003-06-10 Thread Matt Robertson
As soon as I actually load the copy of Flash MX I bought and installed 3 months ago I'll be able to tell you :D Matt Robertson [EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com -Ori

RE: Cftextarea...

2003-06-10 Thread Matthew Walker
Can you embed a flash widget within an HTML form and get the data to submit or does the entire form need to be flash? > -Original Message- > From: Matt Robertson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 11 June 2003 2:09 p.m. > To: CF-Talk > Subject: RE: Cftextarea... > > We had at le

RE: Cftextarea...

2003-06-10 Thread Matt Robertson
We had at least one thread on *exactly* this at the beginning of Christian Cantrell's tenure here. I'd like to see a sort of runtime swf compiler in CF that would compile a cfflashform, or a cfflashgrid or cfflashtree or cfwhatever and have flash replace the gamut of CF's applets, which imho can't

Re: Cftextarea...

2003-06-10 Thread jonhall
Yup...I would put money on the chance that DW will support Royale down the road. I fully anticipate many sleepless nights after it comes out...oh wait...that's every night. Still... :) -- mailto:[EMAIL PROTECTED] Tuesday, June 10, 2003, 9:41:59 PM, you wrote: MW> Well, I'm working on that sort o

louisville cfug members

2003-06-10 Thread Dave Lyons
Just want to take a second and thank you all for not showing up and allowing me to take home all of the prizes & give-aways tonight! Granted I was hoping paul would be there so I could win my monthly supply of cdr's, haha But seriously, it was tonight & not Thursday night, just fyi ~~~

RE: Cftextarea...

2003-06-10 Thread Matthew Walker
Well, I'm working on that sort of thing and I'm sure others are too. However it seems like MACR's Royale release later this year might have significant impact on this area. > -Original Message- > From: Angel Stewart [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 11 June 2003 1:13 p.m. > To:

RE: Stepping through months

2003-06-10 Thread Jim Davis
Look at the DatePart function - this will convert your months into numerals perfect for the looping and whooping and the fun party-time stuff. Jim Davis President, http://www.depressedpress.com Webmaster, http://www.firstnight.org Webmaster, http://www.cfAdvocacy.org Senior Consultant, http://www.

RE: Cftextarea...

2003-06-10 Thread Angel Stewart
Hey! How about Flash Widgets! You know..we have CFINput...how about FLASHINPUT! A little tag that would put all the code in the page to do the Flash stuff for a simple input box! And..and..oh wait no. That would mean generating a little .swf file. Welll...well have a CF_FLASHFORM! That would g

Stepping through months

2003-06-10 Thread Jim McAtee
Say you have a begin date and an end date. For instance 7/12/03 and 2/23/04. I want to create calendars for each month in the date range, so I want to construct a loop to step through each month in the date range. From July 2003 through February 2004 in the above example it should iterate 8 time

RE: Parsing a large text file

2003-06-10 Thread Issac Rosa
Jon, Thanks for the responses. Sorry to confuse the issue. I was just listing the available options that I have, so any combination of the below versions would work. The solution does not need to work on all versions. I think I will look into DTS and see what I can come up with. Thanks, Issac

Re: Parsing a large text file

2003-06-10 Thread jon hall
The variety of databases and cf versions makes it a bit more challenging, but this cfx tag works well, and it's relatively quick at reading the text file. http://www.macromedia.com/cfusion/exchange/index.cfm#loc=en_us&view=sn131&viewName=ColdFusion%20Extension&extID=1000558 However you would still

RE: Cftextarea...

2003-06-10 Thread Matthew Walker
> While I've never been a big fan of HTML interfaces, to say the least, > radio > buttons are individual elements - you can put them one right after the > other, or you can separate them with line breaks. So I don't really see > how > the syntax for radio buttons could be that similar to the syntax

RE: Cftextarea...

2003-06-10 Thread Dave Watts
> But it's not CF's fault (it's just that in my view CF > doesn't help much). We are trying to build web apps > with HTML elements that are fundamentally flawed. Aside > from lack of widgets, lack of persistence of data in a > form, automatic validation, key filtering, required > fields, etc,

RE: Parsing a large text file

2003-06-10 Thread Issac Rosa
Sorry, CF 4.5/5 and possibly MX. Also, the DB would be SQL Server 7/2000 or Oracle 8i or 9i. Issac -Original Message- From: jon hall [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 7:17 PM To: CF-Talk Subject: Re: Parsing a large text file Which version of CF? -- jon mailto

Re: Parsing a large text file

2003-06-10 Thread jon hall
One more thing, Which database? -- jon mailto:[EMAIL PROTECTED] Tuesday, June 10, 2003, 7:13:11 PM, you wrote: IR> What would be the best way to parse a large text file (>5mb)? Actually, IR> the text file is 1 large string. I need to create either a file with IR> each new record on a line or

RE: Cftextarea...

2003-06-10 Thread Matthew Walker
I think HTML form handling and validation is a particular weakness of ColdFusion, given that it is a key element of (non-flash) web apps. I certainly don't think cfform-level functionality is anything to aspire to. That's why I and others have spent so much time working on forms tools. It would

Re: Parsing a large text file

2003-06-10 Thread jon hall
Which version of CF? -- jon mailto:[EMAIL PROTECTED] Tuesday, June 10, 2003, 7:13:11 PM, you wrote: IR> What would be the best way to parse a large text file (>5mb)? Actually, IR> the text file is 1 large string. I need to create either a file with IR> each new record on a line or enter each

RE: CFMX and JSP connections

2003-06-10 Thread Dave Watts
> It seems that CF5 was able to connect even more than previous > versions. Now I'm starting to get the feeling that CFMX > can only connect to datasources that Java can connect to. That is correct. CFMX can only connect to datasources through JDBC. However, CFMX does provide an ODBC service, wh

Parsing a large text file

2003-06-10 Thread Issac Rosa
What would be the best way to parse a large text file (>5mb)? Actually, the text file is 1 large string. I need to create either a file with each new record on a line or enter each new record into a table (new record = every 60 chars). Here's what I've tried, but there must be a more efficien

RE: ArrayDeleteAt for a 2d array?

2003-06-10 Thread Matt Robertson
Perfect, Brian. I do indeed have to save more than 2 items to each row. I was trying ArrayDeleteAt but screwing up the syntax. Thanks very much for your help yesterday and today nursemaiding me thru this. In case its useful to anyone poking around in the archives some day, here's the templat

RE: ArrayDeleteAt for a 2d array?

2003-06-10 Thread Bruce, Rodney S HQISEC/Veridian IT Services
sorry this will leave the array row there, but empty. works better with ArrayDeleteAt( LoginArray,ArrayRows) which will completely take that row out of the array -Original Message- From: Bruce, Rodney S HQISEC/Veridian IT Services [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 3:

Re: Reinstalled everything... still not working...

2003-06-10 Thread Richard Crawford
Yeah... "Technique 2" is what I wound up using. After a brief tussle with the administrator page, wherein I found that our server wants the database's IP address instead of the server name (I have a note in to our netadmin guy about that), I got everything up and running on our development serv

RE: ArrayDeleteAt for a 2d array?

2003-06-10 Thread Bruce, Rodney S HQISEC/Veridian IT Services
ArrayClear(LoginArray[ArrayRows] ) If I remember correctly a 2d arrray is just an array of arrays so this should work. -Original Message- From: Matt Robertson [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 2:50 PM To: CF-Talk Subject: ArrayDeleteAt for a 2d array? How do you loo

RE: ArrayDeleteAt for a 2d array?

2003-06-10 Thread Bryan Love
Here you go. By the way, if you are only storing two values you would be much better off using a single array where, say, odd indices are the userID and even indices are the username. Then you could do something like this (it doesn't buy you much here, but if you do other manipulations it could s

RE: Red Sky beta 2 released

2003-06-10 Thread Lee Fuller
Uhm... Naw.. Better leave this one alone too. Nevermind. ;) Lee (As mother always said -- if you can't say something nice ... ) | -Original Message- | From: Bryan Stevenson [mailto:[EMAIL PROTECTED] | Sent: Tuesday, June 10, 2003 11:28 AM | To: CF-Talk | Subject: Re: Red Sky

OT: Custom Oracle Functions

2003-06-10 Thread Casey C Cook
Hi all - Does anyone know of a good source/web-site for custom Oracle PL/SQL functions, I dont want to invent the wheel if I dont have to. Thanks much in advance. Casey Cook This is a PRIVATE message. If y

RE: Cftextarea...

2003-06-10 Thread Angel Stewart
*sits and sulks* I dunno. I just want one with cfform validation and stuff. *sighs* Oh well I guess that's a good reason.Changes too often to be built into the server, and too many different browsers to support. Activedit and others can get away with being IE specific. CF won't be able to. Y

Uploading files

2003-06-10 Thread Carol Chandler
Hello all. I have noticed in the past that when using that sometimes the contents of the file will be stored in myfilename, and sometimes the file will be uploaded to a temp directory and the path/filename will be stored in myfilename. I was never able to determine what made particular behavi

RE: Cftextarea...

2003-06-10 Thread Barney Boisvert
soEditor is a pretty nice one that's free. It's windows/IE only. There are a lot of other ones out there, but that's the one that I'm most familiar with. As for one built into CF, editing tools are far beyond the scope of an application server. From it's perspective, text is text, whether it ha

Re: Cftextarea...

2003-06-10 Thread jon hall
Like SoEditor, eWebEditPro (3.1 rocks), or ActiveEdit? SoEditor and ActiveEdit take 10 minutes to set up...if that. -- jon mailto:[EMAIL PROTECTED] Tuesday, June 10, 2003, 5:54:52 PM, you wrote: AS> Why isn't there a simple WYSIWYG capable Cftextarea control? AS> 0_0 AS> -Gel AS>

RE: Cftextarea...

2003-06-10 Thread Philip Arnold
> Why isn't there a simple WYSIWYG capable Cftextarea control? This funny thing called the Browser New ones have new controls... So how is CF meant to keep up with these? ~| Archives: http://www.houseoffusion.com/cf_lists/inde

Cftextarea...

2003-06-10 Thread Angel Stewart
Why isn't there a simple WYSIWYG capable Cftextarea control? 0_0 -Gel ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid

ArrayDeleteAt for a 2d array?

2003-06-10 Thread Matt Robertson
How do you loop over a *2d* array and delete a single row (and all its elements), where that row is determined by a test of the contents. Like so: I've been fighting a losing battle with this all afternoon. --- Ma

RE: Is there a good way to do this?

2003-06-10 Thread Barney Boisvert
I'm pretty sure CF4 had it, because I recall doing struct(Delete|Insert|Update) calls without a lvalue in the tag, but that might have been CF4.5. --- Barney Boisvert, Senior Development Engineer AudienceCentral (formerly PIER System, Inc.) [EMAIL PROTECTED] voice : 360.756.8080 x12 fax : 360.64

RE: Red Sky beta 2 released

2003-06-10 Thread Cantrell, Adam
It seems that some people confuse private beta's with some type of elitist recognition, and then feel the need to let everyone know about it. I used to get a bit irked when 'neo' was under development, and people that didn't even work at mm would gnash their teeth at others for even bringing up the

Re: Generating HTML

2003-06-10 Thread Jochem van Dieten
Brook Davies wrote: > > I just saw this now for some reason, but thats a great idea. Thanks! BTW, > does Tidy correct mistakes in the HTML also? No idea. But I would be interested in seeing what you come up with :-) Jochem ~|

Re: Reinstalled everything... still not working...

2003-06-10 Thread Dave Carabetta
>Bad form to reply to my own post, I know. Why? > >Solved part of the problem, at least. The trick was to go into all of the >JRun configuration files and comment out everything that had anything to do >with Apache Axis. CFMX now starts with no error messages. Actually, the trick with CFMX on

RE: Is there a good way to do this?

2003-06-10 Thread S . Isaac Dealey
I tend to salt everything "to taste". heh. :) > Guess it needs to be taken with 4 grains of salt 8^). > -- > Mosh Teitelbaum > evoch, LLC > Tel: (301) 942-5378 > Fax: (301) 933-3651 > Email: [EMAIL PROTECTED] > WWW: http://www.evoch.com/ >> -Original Message- >> From: S. Isaac Dealey [m

RE: Is there a good way to do this?

2003-06-10 Thread Douglas.Knudsen
IIRC, this was new to CF5. Doug >-Original Message- >From: Mark W. Breneman [mailto:[EMAIL PROTECTED] >Sent: Tuesday, June 10, 2003 5:34 PM >To: CF-Talk >Subject: RE: Is there a good way to do this? > > >That seems too simple. :-) > >Did it work that way in CF 3? (The ver I learned cf in)

RE: Is there a good way to do this?

2003-06-10 Thread Mark W. Breneman
That seems too simple. :-) Did it work that way in CF 3? (The ver I learned cf in) I seem to remember needing the "variable part" regardless of what you were doing, just to be valid syntax. Mark W. Breneman -Macromedia Certified ColdFusion Developer -Network / Web Server Administrator Vivid Med

Re: Prevent Refresh

2003-06-10 Thread Matt Robertson
>Well, I was commenting on having passed a variable from a form >and simply determining whether to perform the action or >display the message on the basis of just that one form field, >without any other context such as the db, etc. ah... I missed that boat. >Gotta love fire-and-forget solution

RE: Is there a good way to do this?

2003-06-10 Thread Mosh Teitelbaum
When using a CFSET tag, you only need the variable part if you want to capture the result of the function/expression. So, if you were adding 2 numbers, you'd want to have the variable as in: But if the function directly modifies one of its arguments and you don't need to use the result

RE: Is there a good way to do this?

2003-06-10 Thread Mosh Teitelbaum
Guess it needs to be taken with 4 grains of salt 8^). -- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ > -Original Message- > From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 10, 2003 4:28 PM >

Re: Generating HTML

2003-06-10 Thread Brook Davies
Jochem, I just saw this now for some reason, but thats a great idea. Thanks! BTW, does Tidy correct mistakes in the HTML also? Brook At 01:34 AM 5/31/2003 +0200, you wrote: >Brook Davies wrote: > > > > I am trying to generate some HTML via CF and I want the HTML to come out > > clean. But I en

RE: multiple select drop down from query

2003-06-10 Thread Tony Walker
If you are using MX put these two queries in a .CFC and invoke it with #pageid# as an argument. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?

Re: Prevent Refresh

2003-06-10 Thread S . Isaac Dealey
> Isaac wrote: >>You could do that -- you'd have to use javascript to >>submit >>the form and set the value of the field after the form is >>submitted. > Nope. I use something very close to the code below. The > user is assigned a form ID on arrival. This ID is checked > for using both the pers

Re: Weird XMLTransform error (long)

2003-06-10 Thread Massimo, Tiziana e Federica
> javax.xml.transform.TransformerException: "with-param" attribute is not > allowed on the xsl:call-template element! > > But I'm not doing any with-param call (though I'd like to). Here's the > XSL: Yes, you are, the XSL template expect three of them: > yes > profile > profile Unless you provid

RE: Is there a good way to do this?

2003-06-10 Thread S . Isaac Dealey
>> > One word - CFSCRIPT >> >> Why? > Speed and WhiteSpace > I know CFMX "levels" the speed between CF tags and > CFSCRIPT but it's > easier to read and easier if the code is running on CF5 > and CFMX > As for WhiteSpace, I know that CFSETTING can get rid of > that, but most > people tend to not

Re: Reinstalled everything... still not working...

2003-06-10 Thread Richard Crawford
Dave, You were correct. For some reason I had to remove, then re-install the JRun connector to Apache. That seems to have solved some of the problems. Thanks for the tip. :) I'm having one last problem with the server, but it may be a datasource connection problem. If so, I will have to t

Re: Prevent Refresh

2003-06-10 Thread Matt Robertson
Isaac wrote: >You could do that -- you'd have to use javascript to submit >the form and set the value of the field after the form is >submitted. Nope. I use something very close to the code below. The user is assigned a form ID on arrival. This ID is checked for using both the persistent var

RE: Is there a good way to do this?

2003-06-10 Thread S . Isaac Dealey
Oops... forgot to remove the temp= ... heh. :) > Why even create the temp variable?? > > chris >>-Original Message- >>From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] >>Sent: Tuesday, June 10, 2003 1:14 PM >>To: CF-Talk >>Subject: Re: Is there a good way to do this? >> >>You weren't t

Re: Prevent Refresh

2003-06-10 Thread S . Isaac Dealey
> wouldn't that fire every time the form was submitted? Right, it would... I think my interpretation of what you were saying goes something like this: form.submit --> action page, begin processing meanwhile, the user is still looking at the form since they don't get the action page results unt

RE: Is there a good way to do this?

2003-06-10 Thread Mark W. Breneman
To be honest, I was not sure if I needed to or not. I thought about it for a sec and decided that I was sure it would work with the temp variable. Is there a rule of thumb to when you have to use a temp var for doing stuff like that. I found some function last week that required me to make a tem

Re: Reinstalled everything... still not working...

2003-06-10 Thread Dave Lyons
sounds just like what i mentioned in my last post. Doesnt seem like Apache is acknowledging your cfm pages - Original Message - From: "Richard Crawford" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 4:24 PM Subject: Re: Reinstalled everything... still

Re: Prevent Refresh

2003-06-10 Thread Dave Lyons
yeah, I thought about that afterwards. somewhere I have done it and I don't remember what I did. I think I had set a session and used that as the default value for the hidden field and added +1. So if it was more that 1 it gave the error message. I told u I don't know crap, lol - Original Mes

RE: Is there a good way to do this?

2003-06-10 Thread Philip Arnold
> > One word - CFSCRIPT > > Why? Speed and WhiteSpace I know CFMX "levels" the speed between CF tags and CFSCRIPT but it's easier to read and easier if the code is running on CF5 and CFMX As for WhiteSpace, I know that CFSETTING can get rid of that, but most people tend to not use it...

RE: Building alongside to asp.net pages???

2003-06-10 Thread Charlie Arehart
I'll just throw out that while in this case you just wanted to grab some static files shared with ASP.NET, in the future you (or other readers) may want to do more direct integration, like we can do currently with J2EE pages in CFMX and BlueDragon, such as sharing session and application variables,

RE: Is there a good way to do this?

2003-06-10 Thread S . Isaac Dealey
> I haven't tried it, so take this with a grain or three of > salt, but 2 things > stand out: > 1) Start x at 1, not 0, and > 2) You probably have to use the Evaluate() function around > the i[x] bit as > in: > replace(Evaluate("getreg.#i#[#x#]"),"'", "''","all") > Again, untested. This sh

RE: Is there a good way to do this?

2003-06-10 Thread Chris Kief
Why even create the temp variable?? chris >-Original Message- >From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] >Sent: Tuesday, June 10, 2003 1:14 PM >To: CF-Talk >Subject: Re: Is there a good way to do this? > >You weren't too far off... > > > >replace(getreg[i][currentrow],

Re: Prevent Refresh

2003-06-10 Thread Charlie Griefer
wouldn't that fire every time the form was submitted? and if refresh was pressed on the form's action page...how would it prevent the data from re-posting? - Original Message - From: "Dave Lyons" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 1:04 PM Su

RE: Is there a good way to do this?

2003-06-10 Thread S . Isaac Dealey
> One word - CFSCRIPT Why? Outside of having a structtoquery() function... > Also, when you refer to a cell in a query with square > brackets it's > Query[Field][Row] > So it'd be GetReg[i][x] >> From: Mark W. Breneman [mailto:[EMAIL PROTECTED] >> >> I need to replace all single quotes with do

RE: Reinstalled everything... still not working...

2003-06-10 Thread Richard Crawford
The latest one... but keep an eye out for another e-mail I sent with this same subject line. At 01:20 PM 6/10/2003 -0700, you wrote: >Which ColdFusion installer did you use? The same one as before or did you >download the latest one from Macromedia's website? > >chris ~~

Re: Reinstalled everything... still not working...

2003-06-10 Thread Richard Crawford
Bad form to reply to my own post, I know. Solved part of the problem, at least. The trick was to go into all of the JRun configuration files and comment out everything that had anything to do with Apache Axis. CFMX now starts with no error messages. I still am experiencing a problem, however,

Re: Prevent Refresh

2003-06-10 Thread S . Isaac Dealey
You could do that -- you'd have to use javascript to submit the form and set the value of the field after the form is submitted. > can always add a hidden field to the form with a specified > value > and then on the processing page add something like: > > > Geezo have some patients, you alread

Re: Reinstalled everything... still not working...

2003-06-10 Thread Dave Lyons
im not to familiar with apache but do you need to go in and tell it to look for and process cfm pages like you have to do with IIS? Because obviously in IIS if you don't enter cfm it wont process cfm pages. Dave - Original Message - From: "Richard Crawford" <[EMAIL PROTECTED]> To: "CF-T

RE: Is there a good way to do this?

2003-06-10 Thread Mark W. Breneman
Thank you! I knew it was something simple like that. Yes, CFSCRIPT is how I should do it. Mark W. Breneman -Macromedia Certified ColdFusion Developer -Network / Web Server Administrator Vivid Media [EMAIL PROTECTED] www.vividmedia.com 608.270.9770 -Original Message- From: Philip

Re: Red Sky beta 2 released

2003-06-10 Thread Doug White
Got mine a little while ago. == Stop spam on your domain, use our gateway! For hosting solutions http://www.clickdoug.com ISP rated: http://www.forta.com/cf/isp/isp.cfm?isp_id=772 == If you are not satisfied with my service, m

RE: Reinstalled everything... still not working...

2003-06-10 Thread Chris Kief
Which ColdFusion installer did you use? The same one as before or did you download the latest one from Macromedia's website? chris >-Original Message- >From: Richard Crawford [mailto:[EMAIL PROTECTED] >Sent: Tuesday, June 10, 2003 12:56 PM >To: CF-Talk >Subject: Reinstalled everything..

RE: Is there a good way to do this?

2003-06-10 Thread Mosh Teitelbaum
Actually, either way would work. Both of the following produce the same result: QueryName.ColumnName[RowNumber] QueryName["ColumnName"][RowNumber] I had forgotten about this second format which is a good way of getting around having to use Evaluate(). -- Mosh Teitelbaum evoch,

CFMX and JSP connections

2003-06-10 Thread CF Dude
I've got a question about CFMX and connections to datasources. It seems that CF5 was able to connect even more than previous versions. Now I'm starting to get the feeling that CFMX can only connect to datasources that Java can connect to. Can anybody clear this up for me? I was all excited abo

Re: Is there a good way to do this?

2003-06-10 Thread S . Isaac Dealey
You weren't too far off... Sorry for the wrap... > I need to replace all single quotes with double single > quotes in all of the > fields of a query. I know that I could do it in a query > but in this case I > am opting not to. > I have come up with this idea of but I am having a

RE: Is there a good way to do this?

2003-06-10 Thread Mosh Teitelbaum
I haven't tried it, so take this with a grain or three of salt, but 2 things stand out: 1) Start x at 1, not 0, and 2) You probably have to use the Evaluate() function around the i[x] bit as in: replace(Evaluate("getreg.#i#[#x#]"),"'", "''","all") Again, untested. -- Mosh Teitelbaum evoc

Reinstalled everything... still not working...

2003-06-10 Thread Richard Crawford
I backed up all of my data files, deleted Cold Fusion and JRun, and reinstalled everything from scratch. I first installed JRun 4, then the JRun 4 service pack 1a updater. Then I installed Cold Fusion, then the Cold Fusion MX Updater 3. All of the installations seemed to work fine, with no e

Re: Prevent Refresh

2003-06-10 Thread Dave Lyons
can always add a hidden field to the form with a specified value and then on the processing page add something like: Geezo have some patients, you already submitted the form! but then again, i know jack squat about cf - Original Message - From: "Charlie Griefer" <[EMAIL PROTECTED]

RE: Is there a good way to do this?

2003-06-10 Thread Philip Arnold
One word - CFSCRIPT Also, when you refer to a cell in a query with square brackets it's Query[Field][Row] So it'd be GetReg[i][x] > From: Mark W. Breneman [mailto:[EMAIL PROTECTED] > > I need to replace all single quotes with double single quotes > in all of the fields of a query. I know that I

RE: Microsoft Excel DSN

2003-06-10 Thread Philip Arnold
Excel DSNs are notoriouly horrible Make an Access Link Table and then use Access as the datasource - it also means that it's easier to replace the Excel spreadsheet > From: Tyagi, Badal [mailto:[EMAIL PROTECTED] > > I'm unable to make dsn in CFMX of Microsoft Excel sheet. If I > do it through ODB

RE: multiple select drop down from query

2003-06-10 Thread Philip Arnold
Is this all of your logic? If so, I'd look into streamlining your CFIF's You're doing a CFIF NOT NewRecord, then doing exactly the same CFIF straight after... What I normally do is use the same SELECT for both, but have an empty string for the new records > From: Venable, John [mailto:[EMAIL PRO

RE: CFC Newbie Discussion.

2003-06-10 Thread Raymond Camden
> > Two follow up questions. You can't directly use the var key > word in the tag; . Correct. You also can't do after any line of real code. So, your first N lines of a method will be cfargument tags, then cfset var tags, then 'real' code. So, that's why you saw me do: > Also, when

Re: Prevent Refresh

2003-06-10 Thread Matt Robertson
I assign a UUID to the form in both a persistent var (session or client) and a hidden form var (as a backup). Then test for that in the db upon an insert attempt. Any user who hits refresh gets a nice note saying "I don't THINK so". The same mechanism and a cfif or two also prevents a user fr

Weird XMLTransform error (long)

2003-06-10 Thread Howard Fore
Hi, I'm trying to do some XMLTransform operations and am getting the following error: javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: "with-param" attribute is not allowed on the xsl:call-template eleme

Is there a good way to do this?

2003-06-10 Thread Mark W. Breneman
I need to replace all single quotes with double single quotes in all of the fields of a query. I know that I could do it in a query but in this case I am opting not to. I have come up with this idea of but I am having a problem with the "i[x]" part. Any ideas?

RE: CFC Newbie Discussion.

2003-06-10 Thread Ian Skinner
Two follow up questions. You can't directly use the var key word in the tag; . Also, when exactly does this data get garbage collected? Since it is in a method, does a query get created and destroyed every time that method is used? I does it persist for the life of the entire component? -

Re: Quick question on the Technote: Known ColdFusion MX issues

2003-06-10 Thread S . Isaac Dealey
These are current issues not fixed in updater 3. There was a known database issue that was fixed in updater 3 that prevented the installer for my cms from functioning on cfmx until updater 3 was released. ( Some queries which didn't produce a recordset, such as create or alter table statements w

Re: Prevent Refresh

2003-06-10 Thread S . Isaac Dealey
Thanks for clarifying that Charlie. :) I just realized my explanation was a little fuzzy. > I agree with just about everything Isaac said, but wanted > to chime in and > say that the easiest solution would be the on > the form's action > page. This is generally how I prevent the duplicate > sub

CFID\CFTOKEN being overwritten from debugger

2003-06-10 Thread Marius Milosav
In the debug window,there are a number of items available for inspection. each of the items can be expanded/closed by clicking on the + (-) sign. Each click is saves the item in the application cookie. If more than 10 items are expanded/closed the cookie written by the debugger JS, will eventually

Re: Prevent Refresh

2003-06-10 Thread Charlie Griefer
I agree with just about everything Isaac said, but wanted to chime in and say that the easiest solution would be the on the form's action page. This is generally how I prevent the duplicate submissions. The form's action page contains no HTML, just the insert query. After the query successfully

RE: CFC Newbie Discussion.

2003-06-10 Thread Raymond Camden
> > So this example was meant to show how to protect variables > inside the method? If I follow correctly, you created a > variable scoped to the 'var' scope (named "myQuery"), then > set the variable equal to the value of the Query? Does this > mean that, if I follow what you say below... >

Re: Prevent Refresh

2003-06-10 Thread S . Isaac Dealey
Aren't there issues with disabled in some fairly common versions of NS and Mozilla? > Something else you can do is disable the submit button > onClick > onClick="this.disabled=true;"> > I think thats the right value to assign to disabled. > Stephen > - Original Message - > From: "Shahz

Re: Prevent Refresh

2003-06-10 Thread S . Isaac Dealey
> What is best way of preventing multiple entries in DB > through form > submission when user clicks on REFRESH or BACK button of > browser? > Thanks > Shaz I usually use cflocation to move the browser to a confirmation template which informs the user that the record has been updated. In my ca

Re: CFC Newbie Discussion.

2003-06-10 Thread Jeff
on 6/10/03 2:55 PM, Raymond Camden at [EMAIL PROTECTED] wrote: > By the way, there is one more scope you should be convered with - and > that is 'var' scoped method variables. Whenever you use a value in a > method, a value that is NOT meant to exist in the CFC whole, you should > use the var scop

RE: CFC Newbie Discussion.

2003-06-10 Thread Ian Skinner
Thanks, this is actually beginning to make some sense. As to the variables.A throwing an error, I figured out that I wasn't being consistent in my naming. I set it as variables.A, but then I called it in the calculation as just A. When I changed that call to variables.A everything worked/didn't

Re: CFC Newbie Discussion.

2003-06-10 Thread Michael Tangorre
You are asking all the right quesitons to learn... keep asking. :-) to keep variables protected within functions, use: to keep variables protected to the cfc and functions within the cfc, use: your own structure or use no scope. to allow variables to be exposed to the cfc (including the funct

  1   2   3   >