RE: CF-Smarty

2004-08-25 Thread Micha Schopman
Well, I made up my mind, it will be a template parser, generating the cfml code instantly. This has more advantages then the post parsing engine. Micha Schopman Software Engineer Modern Media, Databankweg 12 M, 3821 ALAmersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679,

cfx JRun closed connection

2004-08-25 Thread joe velez
hi - i created a simple CFX tag to resize images since i couldnt find a tag out there ... if anyone has one (java, not c++) we don't have to try to resolve this post :) the tag works cuz i can go and view the resized image, however, the page that runs the script always displays: Server Error

test

2004-08-25 Thread joe velez
test [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: Using Struts with CF

2004-08-25 Thread Thomas Chiverton
On Tuesday 24 Aug 2004 18:18 pm, Marco Antonio C. Santos wrote: Anybody here develops CF apps with Struts MVC pattern? What's your impressions? I looked at it (in Java). It basicaly looked massivly over complicated for the sort of job it was intended to do (form processing). -- Tom Chiverton

RE: categories, subcategories and sub-subcategories in a database

2004-08-25 Thread Andy Ousterhout
When building hierarchal tables I always recommend having both a parent, left sibling and left-most child pointers.This makes it easy to traverse the hierarchy in all directions. Andy -Original Message- From: Nando [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 24, 2004 10:25 PM To:

Re: for all you gmail users

2004-08-25 Thread Mark Drew
For the genral laugh of it all, I added gmail as a folder as mentioned in this thread but as soon as I go to another folder and come back I get On Fri, 20 Aug 2004 13:50:30 -0400, Adam Haskell [EMAIL PROTECTED] wrote: As an aside if you really hate Outlook, try Lotus Notes for a while Try

Re: for all you gmail users

2004-08-25 Thread Mark Drew
...cut off for one and for another I get Unable to Display this folder any ideas anyone? I am using outlook 2002 Thanks in advance MD On Wed, 25 Aug 2004 14:20:18 +0200, Mark Drew [EMAIL PROTECTED] wrote: For the genral laugh of it all, I added gmail as a folder as mentioned in this thread

Re: Using Struts with CF

2004-08-25 Thread Mark Drew
Java looks like that for most things I have to deal with :D On Wed, 25 Aug 2004 11:58:18 +0100, Thomas Chiverton [EMAIL PROTECTED] wrote: On Tuesday 24 Aug 2004 18:18 pm, Marco Antonio C. Santos wrote: Anybody here develops CF apps with Struts MVC pattern? What's your impressions? I

RE: Login a User Problem - code not in email body....couldn't post message with it...

2004-08-25 Thread Ken Ferguson
So, just for giggles change the following: cfparam name=session.allowin default=0 AND cfset session.allowin = True to cfset session.allowin = 1 AND cfif session.allowin neq true to cfif not session.allowin I always like to stick with good ole 1s and 0s when making these sort of comparisons.

Looping problem

2004-08-25 Thread Steve Logan
I have a CF page written that gets called by the scheduler once every 15 minutes to look for e-mail in a POP mailbox, and if it meets criteria, distribute it to the list members.I've tested it out with no problems, and 3 list members had used it fine until yesterday afternoon.One list member sent

CSV to Query

2004-08-25 Thread Mark Drew
Anybody have a UDF for this? I need it sharpish, I can write it myself but if someone else has done this.. whooho! Much apreciated -- Mark Drew mailto:[EMAIL PROTECTED] blog:http://cybersonic.blogspot.com/ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User

Re: Login a User Problem - code not in email body....couldn't post message with it...

2004-08-25 Thread Les Mizzell
Ken Ferguson wrote: So, just for giggles change the following: cfparam name=session.allowin default=0 AND cfset session.allowin = True to cfset session.allowin = 1 AND cfif session.allowin neq true to cfif not session.allowin After really pulling my hair out on this - it seems to be

Code in Email body prevents posting?

2004-08-25 Thread Les Mizzell
Morning, Just curious, but what specifically could I put into the body of an email to this list that would cause it not to post? Tried a number of times to post a recent problem with less than 30 lines of code - and it refused to go through until I removed the code and placed it in an

Re: Code in Email body prevents posting?

2004-08-25 Thread Michael Dinowitz
It might be that your posting in HTML format and your mail program is not sending the required text only portion as well. The list strips out the HTML portion and if no text portion exists, the post is considered having no content and bounced. Did you get an error email? Morning, Just curious,

Re: CSV to Query

2004-08-25 Thread simon
I don't know if there's anything on cflib.org, but if you have access to DRK3, the DFA API does this (and a ton more). ~Simon Simon Horwith CTO, eTRILOGY ltd. Member of Team Macromedia Macromedia Certified Master Instructor Blog - http://www.horwith.com Anybody have a UDF for this? I need

Re: CSV to Query

2004-08-25 Thread Dick Applebaum
Have a look at cfhttp HTH Dick On Aug 25, 2004, at 5:56 AM, Mark Drew wrote: Anybody have a UDF for this? I need it sharpish, I can write it myself but if someone else has done this.. whooho! Much apreciated -- Mark Drew mailto:[EMAIL PROTECTED] blog:http://cybersonic.blogspot.com/

RE: Login a User Problem - code not in email body....couldn't post message with it...

2004-08-25 Thread Joe Gooch
On line 10, it would make more sense to do: cfif not session.allowin If you're going to use Boolean values, you might as well go all the way. Line 11 will never evaluate true, since you're using listlast with / as a delimiter, and testing against a string with the same delimiter. cfif

Re: .cfmail to .eml

2004-08-25 Thread Howie Hamlin
The parameter is ATTACHMENTS (with an s). HTH, HOwie - Original Message - From: Andy Jarrett To: CF-Talk Sent: Tuesday, August 24, 2004 6:46 PM Subject: Re: .cfmail to .eml Howie, thanks for all your help so far, your new DLL did the trick. One more issue though (sorry about this),

Re: CSV to Query

2004-08-25 Thread Mark Drew
I have looked at this.. there is one small problem one of the columns is a date so I am not sure how dbtype= query handles it but the results seem a bit odd cfhttp url="" name=info method=get textqualifier= cfquery name=qryOrders dbtype=query SELECT * FROM info WHERE orderdate cfqueryparam

Re: Code in Email body prevents posting?

2004-08-25 Thread Les Mizzell
Michael Dinowitz wrote: It might be that your posting in HTML format and your mail program is not sending the required text only portion as well. The list strips out the HTML portion and if no text portion exists, the post is considered having no content and bounced. Did you get an error

Re: CSV to Query

2004-08-25 Thread Dick Applebaum
Can we see a few lines of your CSV file? Dick On Aug 25, 2004, at 7:03 AM, Mark Drew wrote: I have looked at this.. there is one small problem one of the columns is a date so I am not sure how dbtype= query handles it but the results seem a bit odd cfhttp url="" name=info method=get

Re: Strange Oracle Error

2004-08-25 Thread Deanna Schneider
Check your logs. I think we've found that we often get these following another error that's tying up Oracle. To all you oracle guru's out there, can any of you shed some light for me? A client sent me this error, they could not get a screen shot of the error so I am not 100% positive that this

Re: CSV to Query

2004-08-25 Thread Marc Campeau
Anybody have a UDF for this? I need it sharpish, I can write it myself but if someone else has done this.. whooho! I use a Java library (ExcelCSVParser) from www.Ostermiller.com. You can find some other great utils there too. This is the code I use to parse a CSV file... it creates an array

Re: for all you gmail users

2004-08-25 Thread Kay Smoljak
On Wed, 25 Aug 2004 14:21:03 +0200, Mark Drew [EMAIL PROTECTED] wrote: cut off for one and for another I get Unable to Display this folder any ideas anyone? I am using outlook 2002 On my Tablet PC, I get that too (Outlook 2003, XP Pro SP2) At work, (Outlook 2003, XP Pro SP1) I can load the

Re: CSV to Query

2004-08-25 Thread Mark Drew
The file is something like Part,PartDesc,OrderRef,Qty,orderdate XX,A descriptoin of an Item,OrderRefno222,1,14/05/2004 15:20 you get the idea It is the date that kills me! MD On Wed, 25 Aug 2004 10:20:29 -0400, Marc Campeau [EMAIL PROTECTED] wrote: Anybody have a UDF for this? I need

Connecting to remote database

2004-08-25 Thread Kurt Knazek
A client has asked us to pull data from a database (Sybase Adaptive Server Enterprise) that is hosted on their internal server and post the data to their web site. A little background information When the user log into the site they are presented with a page that needs to display some

Kill a Session when User Leaves

2004-08-25 Thread Les Mizzell
If I set this when a user successfully logs in: cfset session.user_id = someVALUE What's the best practice way for killing this when the user closes his browser or leaves the secured area? -- Les Mizzell --- A vanta as mr relyar! Nai eleni

RE: for all you gmail users

2004-08-25 Thread Dave Watts
On my Tablet PC, I get that too (Outlook 2003, XP Pro SP2) At work, (Outlook 2003, XP Pro SP1) I can load the site initially, but when I go back to it I get a message about requiring cookies. I click the try again links that gmail provides, and that works. I can't find anywhere to

RE: Kill a Session when User Leaves

2004-08-25 Thread Micha Schopman
With cfif IsDefined(Cookie.CFID) AND IsDefined(Cookie.CFTOKEN) cfset localCFID = Cookie.CFID cfset localCFTOKEN = Cookie.CFTOKEN cfcookie name=CFID value=#localCFID# cfcookie name=CFTOKEN value=#localCFTOKEN# /cfif Micha Schopman Software Engineer Modern Media, Databankweg 12 M, 3821

RE: Kill a Session when User Leaves

2004-08-25 Thread Dave Watts
If I set this when a user successfully logs in: cfset session.user_id = someVALUE What's the best practice way for killing this when the user closes his browser or leaves the secured area? You can disconnect a user's session data from that user's browser by making the session

RE: Kill a Session when User Leaves

2004-08-25 Thread Dave Watts
With cfif IsDefined(Cookie.CFID) AND IsDefined(Cookie.CFTOKEN) cfset localCFID = Cookie.CFID cfset localCFTOKEN = Cookie.CFTOKEN cfcookie name=CFID value=#localCFID# cfcookie name=CFTOKEN value=#localCFTOKEN# /cfif It's worth noting that this will rewrite the cookies on every page

Re: for all you gmail users

2004-08-25 Thread Kay Smoljak
On Wed, 25 Aug 2004 10:50:10 -0400, Dave Watts [EMAIL PROTECTED] wrote: By default, Outlook 2003 treats all content as Restricted Zone content, I think, so adding something to Trusted Sites won't affect it. Unfortunately, I don't have a solution for you, as I wouldn't recommend weakening

SOT: ASX/WVX files in Firefox

2004-08-25 Thread Deanna Schneider
Hey all Anyone know what is wrong with this picture that FF would just show the text, but IE would render it fine? ASX version=3 Entry Ref href="" / /Entry /ASX I don't think it's my FF, as I can render the sample about 3/4 down on this page:

GetProfileSections() for CF5?

2004-08-25 Thread Mark Drew
I thought CF5 had this.. any idea if there is a workaround or UDF to read a standard format ini file? regards -- Mark Drew mailto:[EMAIL PROTECTED] blog:http://cybersonic.blogspot.com/ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and

Re: Strange Oracle Error

2004-08-25 Thread Greg Morphis
I've seen that error when I've done soemthing in the DB and did not commit the changes. On Wed, 25 Aug 2004 09:20:37 -0500, Deanna Schneider [EMAIL PROTECTED] wrote: Check your logs. I think we've found that we often get these following another error that's tying up Oracle. To all you

get file

2004-08-25 Thread CFDEV
Hi, I have files on our server and I want people (once they're logged in) to download a file without knowing hte path of the file.. Right now I was doing a popup with the file (a PDF) and it was alright.. but now that many anti-virus or google toolbar are blocking pop up file, I need

RE: get file

2004-08-25 Thread Mark A. Kruger - CFG
You can use cfcontent to serve the file - it does not even need to be inside the web root. -Mark -Original Message- From: CFDEV [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 25, 2004 10:29 AM To: CF-Talk Subject: get file Hi, I have files on our server and I want people (once

Re: get file

2004-08-25 Thread Mark Drew
checkout cfcontent, depends how you reference your files you can have them all somewhere that isnt web accessable and reference them like index.cfm?file=mypdf.pfd MD On Wed, 25 Aug 2004 11:28:31 -0400, CFDEV [EMAIL PROTECTED] wrote: Hi, I have files on our server and I want people (once

Re: get file

2004-08-25 Thread Joe Rinehart
Hi Pat, The most common way to do it is to use CFHeader / CFContent in combination to get the file from a non-web-accessible directory, looking up the actual path based on an identifier passed in the URL. If you search the list archives or Google, there should be plenty of examples out there.

RE: get file

2004-08-25 Thread CFDEV
ok but since it'n in pdf what type do i use in cfcontent? and is it gonna stop the rest of the page? Pat _ From: Mark Drew [mailto:[EMAIL PROTECTED] Sent: August 25, 2004 11:35 To: CF-Talk Subject: Re: get file checkout cfcontent, depends how you reference your files you can have them

RE: get file

2004-08-25 Thread Tangorre, Michael
Unless you want the users system to try and open the file in the associated program, don't use a specific type... Here is an example... cfheader name=Content-Disposition value=attachment; filename=#DOCUMENT_NAME#.#DOCUMENT_EXTENSION# cfcontent file=#variables['strDoc']#

Re: CSV to Query

2004-08-25 Thread Barney Boisvert
Here's a second vote for ostermiller's CSV parser.It's java, so it requires a touch of Java knowlesge, but it's very easy to use, as Marc's demo illustrates, and quite fast. cheers, barneyb On Wed, 25 Aug 2004 10:20:29 -0400, Marc Campeau [EMAIL PROTECTED] wrote: Anybody have a UDF for this?

RE: Simultaneous File download limiting system

2004-08-25 Thread Dennis Powers
If serv-u can't, Pureftpd can do this: http://www.pureftpd.org/ It looks like a nice FTP server however it is *nix based and we are (dare I say it) A windows house. Best Regards, Dennis Powers UXB Internet- A Website Design and Hosting Company 690 Wolcott Road - P.O. Box 6028 Wolcott, CT 06716

Re: Date format issues

2004-08-25 Thread Peter Farrell
I agree with Paul and see no reason not to use LSParseDateTime.Macromedia (and Allaire) are American companies.In the future, I don't see them changing the standard (I use that very loosely) way in which CF stores dates (which is the U.S. format).If they did, backwards compatibility would with CF

Webmail Clients

2004-08-25 Thread cfhelp
I need to replace Uebiuma (What ever) PHP Client and I want a good robust Cold Fusion one. I am looking at WebMail Pro (Surprisingly in expensive) are there any others? Rick Eidson Partner CTO ArcRiver Technology, LLC ASP, PHP, PERL, Cold Fusion Hosting Kansas City http://www.arcriver.com/

Cfhttp problems

2004-08-25 Thread Jen Mitcham
Hi there, I'm having problems using CFHTTP in ColdFusion 4.5 I want to send an XML request containing a postcode sector off to a web server which is then supposed to spit XML back at me with x and y coordinates for that postcode sector. Sounds simple? Well it's not working for me! All I get is a

Re: Simultaneous File download limiting system

2004-08-25 Thread Jordan Michaels
Hi Dennis, Hahaha. That's quite alright. Windows has the ability to be useful sometimes. The point is, I doubt you're the only one who ever wanted that kind of functionality in an FTP server. If serv-u won't do it, then there are almost certainly other FTP servers out there that can. No need

Re: Strange Oracle Error

2004-08-25 Thread djones
I have too but this is all through coldfusion and sp's should I have to commit or close any connections when executing via CF5.0? Thanks, David -Original message- From: Greg Morphis [EMAIL PROTECTED] Date: Wed, 25 Aug 2004 11:25:56 -0400 To: CF-Talk [EMAIL PROTECTED] Subject: Re:

Re: Simultaneous File download limiting system

2004-08-25 Thread Jordan Michaels
Hi Dennis, Hahaha. That's quite alright. Windows has the ability to be useful sometimes. The point is, I doubt you're the only one who ever wanted that kind of functionality in an FTP server. If serv-u won't do it, then there are almost certainly other FTP servers out there that can. No need

Re: Looping problem

2004-08-25 Thread Jim Louis
What do the query bnimailapp look like? Jim Louis [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

MSDE datasource

2004-08-25 Thread Marco Antonio C. Santos
Hi MSDE is an free(true!!) DBMS based in SQL Server... 1Giga space, 10 max connections how to use with CFMX? It's possible? Thanx [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

RegEx - is it possible to strip all HTML except certain tags?

2004-08-25 Thread Cassidy Symons
I've been testing this out and can't find a way to strip all HTML except certain tags...is there any sort of 'not' modifier in RegEx in CF5, so I could do something like: cfset mytext = '#REReplaceNoCase(mytext,/?(NOT{b,i,strong,p,etc...}[^]*,,all)#' Which would leave in tags that aren't

Re: RegEx - is it possible to strip all HTML except certain tags?

2004-08-25 Thread Barney Boisvert
RE doesn't have that kind of negation operator, in any implementation. I usually do something like this (untested): str = REreplaceNoCase(str, (/?)(b|i|strong|p), #chr(5)#\1\2, all); str = REreplaceNoCase(str,/?[^]*,,all); str = replace(str, chr(5), , all); Wrap it up in a UDF that takes the

Re: RegEx - is it possible to strip all HTML except certain tags?

2004-08-25 Thread Ben Doom
Can ColdFusion's RegEx functions accomplish this, or am I going to have to figure out a workaround? Neither, actually.Try S. Isaac Dealey's StripTags UDF from http://www.cflib.org. IIRC, it does exactly what you want.:-) --Ben [Todays Threads] [This Message] [Subscription] [Fast

Re: RegEx - is it possible to strip all HTML except certain tags?

2004-08-25 Thread Mike Kelp
I wrote a cfc to do things like this a while back...I'll see if I can send it to you shortly. I wrote it for adding smiley face code and securing HTML in a forum so it takes a list of accepted tags and removes the rest. I know this doesn't help you a lot now, but if I can find a good snippet of

Re: CSV to Query

2004-08-25 Thread Dick Applebaum
Oops, forgot to send this! Dick That looks like a date time field. I never thought much about it, but I don't think that cfhttp can determine that the field is a datetime -- I think it simply creates a charfield. So, you can't do a QofQ on a datetime value as only text comparisons are

Re: RegEx - is it possible to strip all HTML except certain tags?

2004-08-25 Thread Cassidy Symons
Thanks! Giving it a quick spin it looks like it's probably going to be the simplest way to accomplish what I want. Barney Boisvert wrote: RE doesn't have that kind of negation operator, in any implementation. I usually do something like this (untested): str = REreplaceNoCase(str,

Re: RegEx - is it possible to strip all HTML except certain tags?

2004-08-25 Thread Mike Kelp
Here you go...So you know, in regex: x?!y matches x only if it is not followed by y x?=y matches x only if it is followed by y These are referred to as lookahead expressions The attached file has that function I had mentioned. Hope this helps you, Mike On Wed, 25 Aug 2004 12:08:37 -0500, Mike

Re: CSV to Query

2004-08-25 Thread Bert Dawson
Not to forget querySim: there's the original tag which you can get from http://www.halhelms.com/index.cfm?fuseaction=code.detail or the UDF version from http://www.cflib.org/udf.cfm?ID=255 Both do pretty much the same thing - take some formatted text and return a recordset. As to which to use,

Re: RegEx - is it possible to strip all HTML except certain tags?

2004-08-25 Thread S . Isaac Dealey
Can ColdFusion's RegEx functions accomplish this, or am I going to have to figure out a workaround? Neither, actually.Try S. Isaac Dealey's StripTags UDF from http://www.cflib.org. IIRC, it does exactly what you want.:-) --Ben Unless of course what you want is actually a pastrami on

Re: RegEx - is it possible to strip all HTML except certain tags?

2004-08-25 Thread S . Isaac Dealey
You'll have to send it directly to him - the list doesn't maintain attachments. Here you go...So you know, in regex: x?!y matches x only if it is not followed by y x?=y matches x only if it is followed by y These are referred to as lookahead expressions The attached file has that function I

Re: RegEx - is it possible to strip all HTML except certain tags?

2004-08-25 Thread Ben Doom
CF5 doesn't support lookahead.It's got a fairly weak engine.:-( --Ben Mike Kelp wrote: Here you go...So you know, in regex: x?!y matches x only if it is not followed by y x?=y matches x only if it is followed by y These are referred to as lookahead expressions The attached file has that

Re: RegEx - is it possible to strip all HTML except certain tags?

2004-08-25 Thread Joe Rinehart
No lookahead in CF5.I've got a regex that does stuff like this for me in CFMX, tho. -joe - Original Message - From: S. Isaac Dealey [EMAIL PROTECTED] Date: Wed, 25 Aug 2004 13:24:56 -0400 Subject: Re: RegEx - is it possible to strip all HTML except certain tags? To: CF-Talk [EMAIL

Re: RegEx - is it possible to strip all HTML except certain tags?

2004-08-25 Thread Mike Kelp
Ahhh, didn't catch the CF5...thanks for mentioning that. Ahh well, here's the regex I was using if its useful or anyone wants to critique it... cfset Result = REReplaceNoCase(txtData,(?!/{0,1}(#Arguments.ltAllow#)(\s[^]*?|))[^]*?,,ALL) Where #Arguments.ltAllow# is a '|' (pipe) delimited list of

Re: RegEx - is it possible to strip all HTML except certain tags?

2004-08-25 Thread Ben Doom
Ahh well, here's the regex I was using if its useful or anyone wants to critique it... cfset Result = REReplaceNoCase(txtData,(?!/{0,1}(#Arguments.ltAllow#)(\s[^]*?|))[^]*?,,ALL) Off the top of my head, it looks like it requires 2 closing brackets. --Ben [Todays Threads] [This Message]

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
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

Re: Connecting to remote database

2004-08-25 Thread Dick Applebaum
Kurt How much raw data are we talking about? Why not use the Sybase jdbc driver or Macromedia's jdbc driver for Sybase? You could do a query of the remote Sybase db and cache it on your CF server. Depending on what is used on the internal server (do they have CFMX) to update the Sybase db,

RE: Simultaneous File download limiting system

2004-08-25 Thread Dennis Powers
I doubt you're the only one who ever wanted that kind of functionality in an FTP server. Actually Serv-U will do it and I have used in on many occasion however what I am trying to do is have it fail gracefully. When someone clicks the link to download a file we use a URL of

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

looping through checkboxes

2004-08-25 Thread Daniel Kessler
I'm trying to do a cfloop to go through a set of checkboxes by an array of their names and if they're define, then take their value and make an appended string.If a variable is missing, it dies on the isDefined and also did so with parameterExists with this error Parameter 1 of function

Re: looping through checkboxes

2004-08-25 Thread Chris Stoner
Kill the evaluate and reference the form or url scope as a struct: cfif structKeyExists(form,departments[i]) ...do crap... /cfif Daniel Kessler wrote: I'm trying to do a cfloop to go through a set of checkboxes by an array of their names and if they're define, then take their value and make

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: looping through checkboxes

2004-08-25 Thread Patricia Lee
Assuming that your form has a checkbox named aging, try this syntax instead: cfif structkeyexists(form, aging) cfset the_dept = form.aging /cfif I didn't attempt to replicate your entire logic, however so tweak as needed. -P I'm trying to do a cfloop to go through a set of checkboxes by an

Re: looping through checkboxes

2004-08-25 Thread Matthew Fusfield
I'm not sure I exactly follow you, but if you name the checkboxes the same with different values, the checked boxes will appear to CF as form.checkbox - which will be a comma separated list of the checked values. For example, input type=checkbox name=choice value=1 input type=checkbox

Re: looping through checkboxes

2004-08-25 Thread Joe Rinehart
Daniel, This may help: cfset the_dept = cfloop list=aging,fmst,knes,dean,pch,studserv index=ii cfif structKeyExists(form, ii) cfset listAppend(the_dept, form[ii], |) /cfif /cfloop -joe - Original Message - From: Daniel Kessler [EMAIL PROTECTED] Date: Wed, 25 Aug 2004 14:58:17 -0400

Re: Alagad Image CFC

2004-08-25 Thread Doug Hughes
I've had a couple users of the component report this problem.I'm working on resolving it ASAP. The problem stems from the JPEG specification which allows the red and either green or blue channel to be swapped.In the case of the Image Component when it reads one of these images the channels are

Re: looping through checkboxes

2004-08-25 Thread Ben Doom
Drop the evaluate.evaluate(bob) is the value contained within bob, not the literal string bob. --Ben Daniel Kessler wrote: I'm trying to do a cfloop to go through a set of checkboxes by an array of their names and if they're define, then take their value and make an appended string.If a

Window close and logout

2004-08-25 Thread Jake
All, I've been using this standard code to logout a user when they close the browser window for a while now: cfif IsDefined(Cookie.CFID) AND IsDefined(Cookie.CFTOKEN) cfcookie name=CFID value=#Session.CFID# cfcookie name=CFTOKEN value=#Session.CFTOKEN# cfset cfid_local = Cookie.CFID cfset

Farcry x SpeckCMS: The best CMS is....

2004-08-25 Thread Marco Antonio C. Santos
Do you have the answer? Two great CMS... Only one choice... Thanx [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: cfx JRun closed connection

2004-08-25 Thread Doug Hughes
Joe, Why don't you give my Image Component a try: http://www.alagad.com/index.cfm/name-aic/ This will resize images and much much more. Doug -- Doug Hughes (Check out my Image Manipulation CFC at http://www.alagad.com) On Wed, 25 Aug 2004 03:19:10 -0400, joe velez [EMAIL PROTECTED] wrote:

Re: Farcry x SpeckCMS: The best CMS is....

2004-08-25 Thread C. Hatton Humphrey
Do you have the answer? Two great CMS... Only one choice... Heh, never heard of Speck and haven't had a chance to test out FarCry. Hatton [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: looping through checkboxes

2004-08-25 Thread daniel kessler
wow, all good answers, thanks! Matt, I'm curious.What happens if the value has a comma in it? I'm trying to do a cfloop to go through a set of checkboxes by an array of their names and if they're define, then take their value and make an appended string.If a variable is missing, it dies on the

Re: Looping problem

2004-08-25 Thread Steve Logan
What do the query bnimailapp look like? Jim Louis it's the CFX_POP3 function - this gets the messages from the mail server - sender, to, subject, body, UID etc. CFX_POP3 SERVER=mail.server.name PORT=110 USERNAME=loginname PASSWORD=password ACTION="" NAME=bnimailapp [Todays Threads]

Re: looping through checkboxes

2004-08-25 Thread Matthew Fusfield
I'm pretty sure it will show up right in the value - so you need to be careful with the values you set for those. Matt From: daniel kessler [EMAIL PROTECTED] Date: Wed, 25 Aug 2004 15:24:58 -0400 Subject: Re: looping through checkboxes To: CF-Talk [EMAIL PROTECTED] wow, all good answers,

A Quick Question - Javascript

2004-08-25 Thread Qasim Rasheed
Hello everyone, Using _javascript_, I want to display numbers from 1 to 5 such that numbers are ordered randomly on each page refresh and none of the number is repeated. e.g first refresh 1,3,4,2,5 second refesh 2,3,5,1,2 etc etc Any help is appreciated. Thanks [Todays Threads] [This

Re: cfx JRun closed connection

2004-08-25 Thread Andy Allan
I'll back you 100% on that Doug! Definately worth the $50, or my case, winning it in my local user group raffle :-) Andy Doug Hughes wrote: Joe, Why don't you give my Image Component a try: http://www.alagad.com/index.cfm/name-aic/ This will resize images and much much more. Doug --

Re: Kill a Session when User Leaves

2004-08-25 Thread Jake .
If I set this when a user successfully logs in: cfset session.user_id = someVALUE What's the best practice way for killing this when the user closes his browser or leaves the secured area? You can disconnect a user's session data from that user's browser by making the session

Re: A Quick Question - Javascript

2004-08-25 Thread Jason Lemahieu
Hello everyone, Using _javascript_, I want to display numbers from 1 to 5 such that numbers are ordered randomly on each page refresh and none of the number is repeated. e.g first refresh 1,3,4,2,5 second refesh 2,3,5,1,2 etc etc Any help is appreciated. Thanks How about something like

Doubling of single quotes in query when using a CF function

2004-08-25 Thread Jim McAtee
I've got a simple UPDATE query operating in CF5 on an Access 2000 db via ODBC.If a CF function call is used within the query statement for a string value, then any single quotes get doubled.Without the function call this doesn't happen. UPDATE mytable SET somefield =

Re: RegEx - is it possible to strip all HTML except certain tags?

2004-08-25 Thread Jake .
Can ColdFusion's RegEx functions accomplish this, or am I going to have to figure out a workaround? Neither, actually.Try S. Isaac Dealey's StripTags UDF from http://www.cflib.org. IIRC, it does exactly what you want.:-) I noticed just yesterday that I had a problem using this UDF. If

Re: A Quick Question - Javascript

2004-08-25 Thread Charlie Griefer
?xml version=1.0 encoding=iso-8859-1? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html xmlns=http://www.w3.org/1999/xhtml head titleUntitled/title meta http-equiv=Content-Type content=text/html;charset=iso-8859-1 / /head

RE: Farcry x SpeckCMS: The best CMS is....

2004-08-25 Thread Donna French
Haven't heard of Speck - tried to install Farcry on CrystalTech.com servers and gave up... -Original Message- From: Marco Antonio C. Santos [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 25, 2004 2:14 PM To: CF-Talk Subject: Farcry x SpeckCMS: The best CMS is Do you have the

Re: Doubling of single quotes in query when using a CF function

2004-08-25 Thread Jim McAtee
- Original Message - From: Jim McAtee [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, August 25, 2004 2:03 PM Subject: Doubling of single quotes in query when using a CF function I've got a simple UPDATE query operating in CF5 on an Access 2000 db via ODBC.If a CF

Re: Doubling of single quotes in query when using a CF function

2004-08-25 Thread Damien McKenna
Try: cfqueryparam value=#form.somefield# cfsqltype=cf_sql_varchar maxlength=#max# / and replace #max# with the maximum size of the field.If its a text or cblob field then just remove the maxlength string altogether. -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company -

Calculating Sales Tax within the US

2004-08-25 Thread Brook Davies
Hello, I'm from Vancouver Canada eh, and my client is in Texas. They are selling an online service (ASP model) withinthe US. Is there any resources or web services that help calculate tax in the US? Brook [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User

Scripting to add a mapping to CF Administrator

2004-08-25 Thread Patricia Lee
Does anyone know of a script that will write a mapping to the CF Administrator, without the user having to open the administrator manually? Possible?Too insecure for MM to have allowed? -P [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and

Re: Calculating Sales Tax within the US

2004-08-25 Thread Bryan Stevenson
Hey Brook, I'm right next door to you in Victoria ;-) Sales tax in the US is a PITAit all depends how far you want to go, but there are up to 5 levels that I am aware of: -Federal -State -District -County -City Sure makes for a fun time trying to charge the appropriate tax. That said, in

Re: A Quick Question - Javascript

2004-08-25 Thread Qasim Rasheed
Thanks Charlie that worked perfectly - Original Message - From: Charlie Griefer [EMAIL PROTECTED] Date: Wed, 25 Aug 2004 13:14:14 -0700 Subject: Re: A Quick Question - _javascript_ To: CF-Talk [EMAIL PROTECTED] ?xml version=1.0 encoding=iso-8859-1? !DOCTYPE html PUBLIC -//W3C//DTD XHTML

RE: Scripting to add a mapping to CF Administrator

2004-08-25 Thread Spike
cfset factory = createObject('java','coldfusion.server.ServiceFactory') cfset mappings = factory.runtimeService.getMappings() >From there you can add and remove mappings as you please. e.g. Add a mapping: cfset mappings[/test] = C:\somedirectory Remove a mapping: cfset

  1   2   >