Re: problems with cfscript functions

2007-02-02 Thread Charlie Griefer
altho the built in function takes a full date object as an argument (so as to handle february months...needs the year to be able to determine leap year or not). On 2/2/07, Charlie Griefer <[EMAIL PROTECTED]> wrote: > you do know there's a built-in daysInMonth() function, yes? :)

Re: problems with cfscript functions

2007-02-02 Thread Charlie Griefer
you do know there's a built-in daysInMonth() function, yes? :) On 2/2/07, daniel kessler <[EMAIL PROTECTED]> wrote: > I made two cfscript functions. I cfinclude them. They seem to work fine, > but now that I have them where I want them, I'm receiving an error that > didn't previously show: > >

Re: error in cfscript

2007-02-02 Thread Charlie Griefer
all var scoped variables must be at the top of a function. you're var'ing "the_type", then you're doin ga conditional...then more var'ing. that conditional either has to come after the vars...or var everything to an empty string (or 0) at the top...then set later. On 2/2/07, daniel kessler <[EMA

Re: previous date

2007-02-01 Thread Charlie Griefer
dateAdd('d', -1, now()) day(dateAdd('d', -1, now())) On 2/1/07, Orlini, Robert <[EMAIL PROTECTED]> wrote: > I using #DateFormat(Now(),"dd")-1# to get a previous date. However, using it > today it gives me the previous date of 0 as opposed to 31. > > How do I get it to generate the previous date a

Re: EQ vs IS

2007-01-31 Thread Charlie Griefer
On 1/31/07, Rick Root <[EMAIL PROTECTED]> wrote: > I must be backwards, because I use "is" for numeric comparisons and "eq" for > all others. dude that's just wrong. :) -- Charlie Griefer "...All th

Re: EQ vs IS

2007-01-30 Thread Charlie Griefer
they're the same. both are comparison operators and since CF is a typeless language, at the CF level it doesn't matter which you use. i do use IS for comparing strings and EQ for anything else, but that's just a matter of preference and has nothing to do with performance. On 1/30/07, David Gardn

Re: DailyRazor hosting comments?

2007-01-30 Thread Charlie Griefer
ntion of > > allowing. > > > > It's the same for an all you can eat buffet. It balances out in that some > > people eat a LOT, and some people only eat a small amount. But you can be > > sure that a restaurant manager would cut someone off were they to make >

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 wrong...wo

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 b

Re: JS Assistance

2007-01-30 Thread Charlie Griefer
ah wait... need to get information from the popup form into the opener... will reloading the opener show the new info? On 1/30/07, Charlie Griefer <[EMAIL PROTECTED]> wrote: > in the popup (on the form's action page). > > [ code to insert stuff into database ] >

Re: JS Assistance

2007-01-30 Thread Charlie Griefer
in the popup (on the form's action page). [ code to insert stuff into database ] opener.reload(); self.close(); On 1/30/07, Bruce Sorge <[EMAIL PROTECTED]> wrote: > Hello all, > I suck at JS and need a little assistance. I have an edit form that checks > to see - among other things -

Re: CFset problem

2007-01-30 Thread Charlie Griefer
wrap qryHighestNum.highestNumber in a val() in the event that the argument is an empty string, val() will it as a zero. so: On 1/30/07, Melissa Weber <[EMAIL PROTECTED]> wrote: > I've very new to ColdFusion and need some help. I've written a page that has > six fields: office, year, number,

Re: odd query issue returning 0 results in CFMC 7.2

2007-01-30 Thread Charlie Griefer
d'oH! :) On 1/30/07, Steve Dworman <[EMAIL PROTECTED]> wrote: > problem solved. forgot to commit new database changes. > > > well...i took a look at the query in the debugging info. then i took > > that query, which has the coldfusion variables parsed already, and ran > > it on the command line.

Re: odd query issue returning 0 results in CFMC 7.2

2007-01-30 Thread Charlie Griefer
how are you sure it's the same query? are there variables involved in the CFMX code? are you sure those variables are evaluating to what you expect? On 1/30/07, Steve Dworman <[EMAIL PROTECTED]> wrote: > i have a query that returns results when using sqlplus. however, when i run > the same que

Re: Referring to a specific field in a query

2007-01-30 Thread Charlie Griefer
alias one (or both of) the column names in the query. CF knows nothing about the tables (so you can't do #queryname.tablename.column#). On 1/30/07, Nathan C. Smith <[EMAIL PROTECTED]> wrote: > Hi All, > > I have two queries that have some overlapping names that I am using in a > cfoutput together

Re: cfif vs cfswitch

2007-01-29 Thread Charlie Griefer
t;, so ask him (in a non-challenging way) what those issues are. i'd be curious to know myself :) -- Charlie Griefer "...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill yo

Re: Odd error when inserting records

2007-01-29 Thread Charlie Griefer
my guess is that the single quote is coming from the first character (the single quote) within the block. what's being "caught" is the variable value in # signs...but the literal preceding it is not. try this out: This is a #variables.test#!! oops! obviously, #variables.test#

Re: Best resource for learning Flex?

2007-01-25 Thread Charlie Griefer
i've not made it all the way thru yet, but i think this is a great resource: http://www.totaltraining.com/prod/adobe/flex2_ria.asp On 1/25/07, Doug Brown <[EMAIL PROTECTED]> wrote: > Any suggestions? > > > > > Doug B. > > ~| Up

Re: Insert Current Date/Time into SQL DB (CF101)

2007-01-25 Thread Charlie Griefer
On 1/25/07, Paul Hastings <[EMAIL PROTECTED]> wrote: > Charlie Griefer wrote: > > I've not done much with i18n, so I'm not really familiar with the > > pros/cons of using getUTCDate() vs getDate(). Could you throw out a > > few bullet points? > > using

Re: Insert Current Date/Time into SQL DB (CF101)

2007-01-25 Thread Charlie Griefer
unction)). > > no need to make CF do any thinking :) > > -- > Charlie Griefer > > > > > > ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform

Re: Insert Current Date/Time into SQL DB (CF101)

2007-01-25 Thread Charlie Griefer
need for ColdFusion > to do the insertion. > > -Original Message- > From: Charlie Griefer > To: CF-Talk > Sent: Thu Jan 25 17:50:02 2007 > Subject: Re: Insert Current Date/Time into SQL DB (CF101) > > On 1/25/07, Tim Claremont <[EMAIL PROTECTED]> wrote: >

Re: Insert Current Date/Time into SQL DB (CF101)

2007-01-25 Thread Charlie Griefer
;s a SQL Server function, not a CF function)). no need to make CF do any thinking :) -- Charlie Griefer "...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. But first they must catc

Re: SOT - Google Map API

2007-01-24 Thread Charlie Griefer
On 1/24/07, Bruce Sorge <[EMAIL PROTECTED]> wrote: > Anyone use the Google Map API yet? I am getting ready to integrate it into a > site I am working on and was wondering if anyone has used it and what they > though. check out http://tutorial397.easycfm.com/ --

Re: Inserting current date into a data table

2007-01-23 Thread Charlie Griefer
On 1/23/07, Judah McAuley <[EMAIL PROTECTED]> wrote: > Charlie Griefer wrote: > > don't forget that preventing SQL injection attacks is only one benefit > > of cfqueryparam. creating bind variables to increase performance is > > another :) > > > > Fair

Re: Inserting current date into a data table

2007-01-23 Thread Charlie Griefer
attacks is only one benefit of cfqueryparam. creating bind variables to increase performance is another :) -- Charlie Griefer "...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you.

Re: CFSELECT Question

2007-01-23 Thread Charlie Griefer
i'm not a cfform user, so i'm not sure about the pound sign usage there. On 1/23/07, Bruce Sorge <[EMAIL PROTECTED]> wrote: > Hello list, > With the HTML SELECT tag, I can populate the option with a query (for > instance, a listing of all states from a database), and then using another > query w

Re: Image size

2007-01-23 Thread Charlie Griefer
CFX tags go back quite a ways. In the pre-MX days (when CF was written on C++), they were generally compiled C++ code. On 1/23/07, Chad Gray <[EMAIL PROTECTED]> wrote: > It depends on the CFX. You can load CFXs in 4.5 but it does not mean that > all CFXs will run on 4.5. > > > > -Original M

Re: CFEclipse / Eclipse question

2007-01-23 Thread Charlie Griefer
tions) on Fusion Debug. Check out his blog: http://carehart.org/blog/client/index.cfm/fusiondebug -- Charlie Griefer "...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. Bu

Re: Problems with a query

2007-01-22 Thread Charlie Griefer
On 1/22/07, Pete <[EMAIL PROTECTED]> wrote: > > > AND tbl_procedures.ProcedureID = '#Form.ProcedureID#' > > > > AND tbl_states.stateid = '#FORM.stateid#' > > ) > > what's the value coming from the form if the user cho

Re: Advanced Search

2007-01-18 Thread Charlie Griefer
i assume if they select all states then you don't want AND s.stateid=#form.stateid# in the query. so that should be surrounded by a conditional. On 1/18/07, Pete <[EMAIL PROTECTED]> wrote: > Oh just in case anyone is interested - here is a link to the development > site: > > http://202.157.17

Re: database function

2007-01-18 Thread Charlie Griefer
well you'd be returning a recordset (albeit with one record)...so you can't simply output it. try On 1/18/07, Chad Gray <[EMAIL PROTECTED]> wrote: > Hello, > > I am new to cfc's, functions etc... > > I have a query that will be used many times and would like to keep the query > code in a singl

Re: Teratech emails

2007-01-18 Thread Charlie Griefer
they're being posted to cf-talk. personally, i kinda think that if i wanted the teratech weekly newsletter, i'd have subscribed to it. but hey...there's enough civil unrest on cf-talk right now, y'know :) On 1/18/07, Chris Ditty <[EMAIL PROTECTED]> wrote: > Is anyone else getting teratech email

Re: CFML IDE's

2007-01-18 Thread Charlie Griefer
Ballot-box stuffing. Andy's disqualified. Please disregard his response. :) On 1/18/07, Andy Matthews <[EMAIL PROTECTED]> wrote: > www.Editplus.com > www.Editplus.com > www.Editplus.com > www.Editplus.com > www.Editplus.com > www.Editplus.com > www.Editplus.com > > :) > > -Original Message-

Re: CFML IDE's

2007-01-18 Thread Charlie Griefer
Eclipse/CFEclipse (plus JSEclipse + the Aptana plugin Eclipse is nothing if not extensible) :) On 1/18/07, John Sterrett <[EMAIL PROTECTED]> wrote: > Does anyone have any recommendations for Coldfusion IDE's on Windows platform > other than Dreamweaver? > >

Re: Multiple DISTINCT

2007-01-17 Thread Charlie Griefer
e me the answer I was looking for! Thank you so much! > > It just needed to be changed to ... > > SELECT DISTINCT MONTH(recw_assign_month) AS month, YEAR(recw_assign_month) AS > year > FROM dbo.tbl_recipe_monthly_winner > WHERE

Re: Required Fields

2007-01-15 Thread Charlie Griefer
ields aren't working") really doesn't give anybody here a lot to go on. -- Charlie Griefer "...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. But first they must c

Re: Coldfusion array, ArrayFind using built in java methods?

2007-01-15 Thread Charlie Griefer
Not sure about searching the goog, but here's the article in question: http://coldfused.blogspot.com/2007/01/extend-cf-native-objects-harnessing.html good stuff. i bookmarked it :) On 1/15/07, Andy Matthews <[EMAIL PROTECTED]> wrote: > I read something from the FullasaGoog feed on Friday, but n

Re: Any way to specify image size in this code?

2007-01-11 Thread Charlie Griefer
also...you're using firebug in mozilla for debugging this, right? RIGHT??? :) On 1/11/07, Charlie Griefer <[EMAIL PROTECTED]> wrote: > that should have worked from everything i've been reading. > > can you copy/paste the resulting JS code from a view source in the brow

Re: Any way to specify image size in this code?

2007-01-11 Thread Charlie Griefer
that should have worked from everything i've been reading. can you copy/paste the resulting JS code from a view source in the browser? On 1/11/07, Rick Faircloth <[EMAIL PROTECTED]> wrote: > Nope... that didn't work, either... > > > -Original Message- >

Re: Open a Web Page

2007-01-11 Thread Charlie Griefer
assuming the CFC returns a URL to the calling page... on the calling page, after the CFC call... window.open('#YOUR_CFC_RESULT_HERE#', 'title', 'new_window_attributes_here'); opening a new window is going to be client side JS code. it's not the responsibi

Re: Any way to specify image size in this code?

2007-01-11 Thread Charlie Griefer
googling also suggests that you can specify the height and width as arguments in the new Image() call itself. myFoo = newImage(100,200); http://docs.sun.com/source/816-6408-10/image.htm On 1/11/07, Charlie Griefer <[EMAIL PROTECTED]> wrote: > also, try img.width = "200px";

Re: Any way to specify image size in this code?

2007-01-11 Thread Charlie Griefer
also, try img.width = "200px"; not sure...just grasping at straws...but i'm fairly certin that Adrian was right in suggesting the .width and .height properties. now it's just a matter of finding the proper syntax for the values :) On 1/11/07, Josh Nathanson <[EMAIL PROTECTED]> wrote: > Could be

Re: passing values to cfc's in a dot notation

2007-01-11 Thread Charlie Griefer
it's the order in which the arguments are passed. you can also use name/value pairs: bAuthorized = objSecurity.authorize(user=form.user,groupID=form.groupID); there's also the argumentscollection struct, which is a handy way to do it at times. On 1/11/07, Richard Cooper <[EMAIL PROTECTED]> wrote

Re: how to make code display as text

2007-01-10 Thread Charlie Griefer
but that's exactly what HTMLEditFormat() does. it escapes the brackets. can you clarify "didn't get that to work"? On 1/10/07, daniel kessler <[EMAIL PROTECTED]> wrote: > well I didn't get that to work, at least not right away. But it got me > thinking and this did work: > >

Re: how to make code display as text

2007-01-10 Thread Charlie Griefer
look up HTMLEditFormat() in the docs. Under string functions. On 1/10/07, Daniel Kessler <[EMAIL PROTECTED]> wrote: > I have a web page where I describe how to use bits of code. I don't > want the code to enact, but to just display the actual line of code. > I thought that changing the file to .

Re: JS and Radio Button Issue

2007-01-09 Thread Charlie Griefer
few things i can see would be a problem. you have multiple elements with ids "with" and "without" (the radio buttons and the divs). the code below should work. function toggle(divToShow) { if (document.getElementById) { if (divToShow == "with") {

Re: GoDaddy Hosting Issue

2007-01-09 Thread Charlie Griefer
? see if that works and if so, what it displays. should the variable be spelled "exception" (as opposed to "exeption")? On 1/9/07, Bruce Sorge <[EMAIL PROTECTED]> wrote: > So if I comment out the CFDUMP tag, then all works fine. If I put the > #Arguments.Exeption# in a CFOUTPUT, I > getcoldfusio

Re: GoDaddy Hosting Issue

2007-01-09 Thread Charlie Griefer
that seems...odd. can you just throw a template up there with a just for shits and giggles? On 1/9/07, Bruce Sorge <[EMAIL PROTECTED]> wrote: > If anyone plans on using GoDaddy for CF hosting, be careful There are some > tags that they do not suport, like CFDUMP. I have in my Application.cfc a >

Re: Output not what I expect

2007-01-05 Thread Charlie Griefer
hat they're the same (which they should be if you're expecting the checkbox to be checked). also...shouldn't your have a query attribute (since you're using a group attribute)? -- Charlie Griefer "...All the world shall be

Re: Issue with "not of type numeric" when sending value to CFC

2007-01-04 Thread Charlie Griefer
use it to your heart's content (yes, it's available in MX 6) :) On 1/4/07, Christopher Jordan <[EMAIL PROTECTED]> wrote: > Well, that's cool! Is it limited to CF7? or can us lowly CF6 folks make > use of it too? -- Charlie Griefer =

Re: Issue with "not of type numeric" when sending value to CFC

2007-01-04 Thread Charlie Griefer
Chris: no, he's passing the arguments properly using the argumentCollection. it's a "special" kind of argument (there's probably a better way to phrase it...) that, when passed in as a struct, is deconstructed into individual argument variables inside the method. On 1/4/07, Christopher Jordan <

Re: Issue with "not of type numeric" when sending value to CFC

2007-01-04 Thread Charlie Griefer
hi dan... just posted to your blog. readers digest version: seems you need to add the record position in the query where you're looping over the query to populate the struct. you had: which, for some reason, does not create simple values for the struct values. seems to resolve it. i don'

Re: Interesting Date Problem

2007-01-04 Thread Charlie Griefer
gonna need more to go on, i think. using CFMX 7, the following code outputs 1945: #createDate(45, 1, 22)# On 1/4/07, Les Mizzell <[EMAIL PROTECTED]> wrote: > Form field requesting a birth date. > > Person enters "1/22/45" > > Coldfusion returns "1/22/2045" > > How can I insure it returns "1/22/1

Re: strange - stumped - need a 2nd pari of eyes

2007-01-04 Thread Charlie Griefer
wow. an image of a rotating baby. cool. so i take it that #id# is supposed to be evaluated, but you're getting the literal string "#id"? On 1/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > All, > > I've got this form ... > > method="post" name="preview"> > > but when the page processes,

Re: Pulling my hair out on a query

2007-01-03 Thread Charlie Griefer
heh. this exact question was posted on the Adobe forums. apparently, 'password' is a reserved word in Access. i couldn't find it on the reserved word list, but the original poster said after enclosing the word Password in square brackets, the query worked. INSERT INTO clients (Client_Name, Logi

Re: Using Eclipse/CFEclipse

2007-01-03 Thread Charlie Griefer
se (obviously), Aptana plugin for CSS, and JSEclipse for JavaScript). Takes getting used to, but I think it's well worth the investment. -- Charlie Griefer "...All the world shall be your enemy, Prince with a Thousand Enemies, and wh

Re: Combo Box in CF

2007-01-02 Thread Charlie Griefer
Varun: well, looks like the most options came back with a google search for DHTML Combobox (as opposed to HTML combobox, AJAX combobox, etc). this one looks promising: http://webfx.eae.net/dhtml/combobox/combobox.htm ? On 1/2/07, Varun Dixit <[EMAIL PROTECTED]> wrote: > Brian, > > Apologies for

Re: Help with

2007-01-02 Thread Charlie Griefer
k. not trying to dodge the question...i've just found that when people are having problems with 3rd party software, the 3rd party is usually the best place to get answers since they're the ones that wrote the code. so...not getting an error, but the image isn't resized? On 1/2/07, Doug Brown <[E

Re: Help with

2007-01-02 Thread Charlie Griefer
just curious, have you checked with eflare? i've used their stuff in the past and found that their support was always second-to-none. On 1/2/07, Doug Brown <[EMAIL PROTECTED]> wrote: > I have the following, but cannot seem to get it to work. Images do not > resize. Any help is appreciated. > >

Re: Combo Box in CF

2007-01-02 Thread Charlie Griefer
Hi Varun: Well, the examples you found may not behave like a "true" combobox simply because that exact control doesn't exist in HTML. Especially if you're going to be loading 650 options :) I don't know that any of the links I could provide would be any different than anything you saw. Most wer

Re: Combo Box in CF

2007-01-02 Thread Charlie Griefer
Wouldn't really be a CF thing (unless you do an AJAX implementation, in which case it'd just be CF on the server returning the appropriate options). Also, it's been done using JS and/or AJAX. If you want to do one as a learning experiment, that's cool. But if you're just looking to have one that

Re: Javascript and Dynamic CF Forms

2006-12-28 Thread Charlie Griefer
ery and define the form names like so: > > > > > size="4" maxlength="3"> > > > > and > > > > > > SHIPPED > > SHIPPED AVAILABLE > > DISCONTINUED > > OUT OF STOCK > > > > > > How can I, using Ja

Re: Javascript and Dynamic CF Forms

2006-12-28 Thread Charlie Griefer
sorry. my bad. remove the quotes from the 'this.options[this.selectedIndex].value' i was having you pass that literal string :\ On 12/28/06, Che Vilnonis <[EMAIL PROTECTED]> wrote: > Hmmm. Not working... Does selOpt need another name, dynamic name?

Re: Javascript and Dynamic CF Forms

2006-12-28 Thread Charlie Griefer
case sensitive. also also...if you're going to use the document.formName notation, make sure you use the actual name of the form instead of 'formName' :D On 12/28/06, Che Vilnonis <[EMAIL PROTECTED]> wrote: > Hmmm. Not working... Does selOpt need

Re: Javascript and Dynamic CF Forms

2006-12-28 Thread Charlie Griefer
just noticed something... change 'this.value' to 'this.options[this.selectedIndex].value' (please) :) On 12/28/06, Che Vilnonis <[EMAIL PROTECTED]> wrote: > Geez. That was fast. Thanks... Testing now... -- Charlie Griefer ===

Re: Javascript and Dynamic CF Forms

2006-12-28 Thread Charlie Griefer
function updateText(n, selOpt) { if (selOpt == "OUT OF STOCK") { document.formName.elements["QTYShipped" + n].value = 0; } } On 12/28/06, Che Vilnonis <[EMAIL PROTECTED]> wrote: > I have a form with a varied number of form fields (they are dynamical

Re: Date Comparison

2006-12-28 Thread Charlie Griefer
http://livedocs.macromedia.com/coldfusion/7/htmldocs/0440.htm On 12/28/06, Nick G <[EMAIL PROTECTED]> wrote: > What is the syntax of finding the difference in years between two date fields? > For example I'm selecting a field from a database and trying to find the > difference between that an

Re: Damnitt!!!! Was ?

2006-12-22 Thread Charlie Griefer
#arguments.asking2#, > >#Trim(arguments.price_option)# eq "free" OR #Trim(arguments.price_option)# > eq "no_price"> > price = NULL, > > -- Charlie Griefer "...All the world shall be you

Re: ?

2006-12-21 Thread Charlie Griefer
try a trim() as well. ... (etc) also, just out of curiousity... your first 2 radio buttons aren't named, so aren't passing anything to the action page, are they? just wondered what purpose they served. You might also just want to have one form field for "price", and then a chec

Re: grouped output and Mod 2

2006-12-21 Thread Charlie Griefer
set a counter var and increment it inside the inner do stuff do other stuff On 12/21/06, Richard Dillman <[EMAIL PROTECTED]> wrote: > Im trying to make a table output grouped query info. > Then i wan

Re: Javascript help

2006-12-21 Thread Charlie Griefer
arguments that way, but will calling the field that way work > cross browser? > > I don't know, I still write it using different techniques. > > > -Original Message- > > From: Charlie Griefer [mailto:[EMAIL PROTECTED] > > Sent: Thursday, December 21, 20

Re: Javascript help

2006-12-21 Thread Charlie Griefer
That should work cross-browser, no? it's pretty standard JS syntax. onfocus="statement1; statement2; statement3..." as long as each is separated by a semi-colon it should be ok? On 12/21/06, loathe <[EMAIL PROTECTED]> wrote: > No it won't. > > For that you'll need a function and you'll need to

Re: openid cfc

2006-12-21 Thread Charlie Griefer
http://openid.net/ On 12/21/06, Christopher Jordan <[EMAIL PROTECTED]> wrote: > What do you mean by openid? > > I've got a cfc method that obtains the next id for a given table and > then either inserts the next record or just returns the id based on a > passed in parameter. Is that the sort of th

Re: Values passed different in IE and Firefox??

2006-12-20 Thread Charlie Griefer
Foo Bar if you want the form to submit on the button click, do this instead: Foo Bar On 12/20/06, Les Mizzell <[EMAIL PROTECTED]> wrote: > Charlie Griefer wrote: > > sounds like more of a reason to go the kludgy JS route and populate a > > hidden form f

Re: Two questions

2006-12-20 Thread Charlie Griefer
On 12/20/06, Richard Colman <[EMAIL PROTECTED]> wrote: > 1) if I want to do a replace where the character to be replaced is a > forward or backward angle bracket "<" or ">" then I assume that this > will not work: > > wh

Re: Best practice to time out application

2006-12-20 Thread Charlie Griefer
dammit. i meant sessionTimeout :) On 12/20/06, Dave Watts <[EMAIL PROTECTED]> wrote: > > Can anyone tell me what the best way is to time out an > > application? I have some sites that I want to be able to log > > the user out after X minutes of inactivity. > > That's how session variables work, b

Re: Best practice to time out application

2006-12-20 Thread Charlie Griefer
wouldn't that just be the applicationTimeout value? On 12/20/06, Bruce Sorge <[EMAIL PROTECTED]> wrote: > Hey, > Can anyone tell me what the best way is to time out an application? I have > some sites that I want to be able to log the user out after X minutes of > inactivity. I recall seeing at a

Re: Values passed different in IE and Firefox??

2006-12-20 Thread Charlie Griefer
link that uses > javascript to submit the form, and passes a URL value at the same time > to cover the various actions. -- Charlie Griefer "...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch

Re: Values passed different in IE and Firefox??

2006-12-20 Thread Charlie Griefer
patibility issue. On 12/20/06, Les Mizzell <[EMAIL PROTECTED]> wrote: > Charlie Griefer wrote: > > try it like so: > > > > > > Not sure that's going to work because of needed HTML formatting of the > text. The text is sized with CSS and centered with CSS a

Re: Values passed different in IE and Firefox??

2006-12-20 Thread Charlie Griefer
try it like so: (move the text inside the tag using the "label" attribute) On 12/20/06, Les Mizzell <[EMAIL PROTECTED]> wrote: > I have a row of buttons at the top of a form. Depending on which one > clicked, a different action needs to be performed. IE is giving me a fit. > >type="

Re: time/date format in Access

2006-12-20 Thread Charlie Griefer
u brought that out > yesterday. I didn't forget. As soon as I get this thing running I will revise > my poor code habits on this and remember it for future reference. I know some > names I'm using would crash SQL. -- Charlie Griefer =

Re: evaluating according to a string and a variable

2006-12-20 Thread Charlie Griefer
find("&#city#&", doc) (or findNoCase()) :) On 12/20/06, paul zanini <[EMAIL PROTECTED]> wrote: > the problem is passing at the same time a string that contains a variable > encapsulated with characters. Sure someones has done that before... > >

Re: time/date format in Access

2006-12-20 Thread Charlie Griefer
btw this: is easier done as: and really (again), using 'month', 'day', and 'year' as variable values is a bad idea. On 12/20/06, Steve Brownlee <[EMAIL PROTECTED]> wrote: > Now that I think about it, you may want to use the day of year instead > > > > > Steve Brownlee > http://www

Re: evaluating according to a string and a variable

2006-12-20 Thread Charlie Griefer
findNoCase() maybe? On 12/20/06, paul zanini <[EMAIL PROTECTED]> wrote: > I am trying to find for a city name which is stored in a variable (city) > (looping thru a list) in a document. The difficulty I have is that I like to > add to the variable I am searching for a double quotation that enca

Re: Who fixed it so ya can't set a var inside cfswitch?

2006-12-19 Thread Charlie Griefer
why wouldn't you set your variable inside a ? if the variable setting isn't dependent on one of the values...why are you trying to set it inside of the anyway? :) On 12/19/06, Will Tomlinson <[EMAIL PROTECTED]> wrote: > I just tried looping inside a cfswitch and setting some dynamic variables,

Re: Disregard last email

2006-12-19 Thread Charlie Griefer
On 12/19/06, Charlie Griefer <[EMAIL PROTECTED]> wrote: > On 12/19/06, Christopher Jordan <[EMAIL PROTECTED]> wrote: > > It's probably worth mentioning then, that *ALL* of the ColdFusion scopes > > are structures. > >Server, > >Application, >

Re: Disregard last email

2006-12-19 Thread Charlie Griefer
;Session, >Caller (in custom tags) > > Have I missed any? :o) CGI Arguments Attributes Cookie ? -- Charlie Griefer "...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, th

Re: OT: javascript to prevent a normal link from working

2006-12-19 Thread Charlie Griefer
return false in your tag. foo On 12/19/06, Joshua Cyr <[EMAIL PROTECTED]> wrote: > I am playing with YUI and spry and have a fun task of having content from > other pages load into a tab system in spry. All is working well so far. > Next I have event listener code to check for the click of any

Re: remove time element

2006-12-19 Thread Charlie Griefer
you could keep it in... just set it to 11:59 pm on the "oneday" variable. (btw, if "year", "month", and "day" are your CF variable names...i'd rename those. those are built in functions in CF and using them as variable names is just asking for trouble) :) On 12/19/06, Orlini, Robert <[EMAIL P

Re: Disregard last email

2006-12-19 Thread Charlie Griefer
On 12/19/06, Bruce Sorge <[EMAIL PROTECTED]> wrote: > Hello all, > I googled looping through ColdFusion structs but it is > still not making sense. http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000296.htm -- Charlie Griefer =

Re: Disregard last email

2006-12-18 Thread Charlie Griefer
s did exclude all of the fields except the ones I want, but it is also > giving me all of the empty ones. If I just do this: > > > > Then I get all of the fields with Name_ in them but nothing else. Surely I > am missing something basic? > > On 12/18/06, Charlie Griefer <

Re: Why datediff

2006-12-18 Thread Charlie Griefer
don't believe you need the dateFormat() either. dateDiff doesn't particularly care what format a date's in. On 12/18/06, Jake Churchill <[EMAIL PROTECTED]> wrote: > 1: you don't need # inside cfset unless you're in a string. > 2: you need ticks around d ('d') > > [EMAIL PROTECTED] wrote: > > Wh

Re: Disregard last email

2006-12-18 Thread Charlie Griefer
of the fields with phone just fine, but when I add other fields to it, > nothing happens. So since I know the other two fields are not dynamic, how > can I exclude them from this so I get only the information I need? > > Bruce > > On 12/18/06, Charlie Griefer <[EMAIL PROTECTED]

Re: CFScript inside a CFC

2006-12-18 Thread Charlie Griefer
gt; examples that CFScript is faster, because it's closer in resemblance to > the byte code that ColdFusion ultimately parses. Phillip just stated > better than I could have. -- Charlie Griefer "...All the world shall be your enemy, Pri

Re: Disregard last email

2006-12-18 Thread Charlie Griefer
so, just out of curiousity...why do you need this array? you also don't need the evaluate(). you can simply do form[i] (which is -exactly- what you're doing in your conditional where you're testing len(form[i]).). On 12/18/06, Bruce Sorge <[EMAIL PROTECTED]> wrote: > OK, I figure it out so pleas

Re: cfloop: strange error

2006-12-18 Thread Charlie Griefer
#dirlist# is a query object (it's the name you gave your . you need to make a specfic reference to the 'size' "column" returned by the cfdirectory call. You also need to reference a particular row. you can do , which will always give you the size of the first file returned in the call. will g

Re: CFScript inside a CFC

2006-12-16 Thread Charlie Griefer
create "myFunction" outside of "someFunction", but call it from within. function MyFunction(arg) { return arg; } You'll notice that I left the 'MyFunction' function in ...which is legal. But here's some more advic

new firefox logo

2006-12-15 Thread Charlie Griefer
(maybe NSFW...) http://madvillainy.blogspot.com/2006/12/new-logo-for-mozilla-firefox-browser.html -- Charlie Griefer "...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you

Re: When Keystone releases a new CF7 video tutorial?

2006-12-15 Thread Charlie Griefer
few CF resources out there? I mean not necessarily videos, but tutorials/communities/etc. Ray Camden's done a pretty bang-up job of aggregating all of those resources into one portal: http://www.coldfusionportal.org/ -- Charlie Griefer "

Re: When Keystone releases a new CF7 video tutorial?

2006-12-15 Thread Charlie Griefer
case you're interested: http://www.totaltraining.com/prod/adobe/flex2_ria.asp) -- Charlie Griefer "...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. But first they must c

<    5   6   7   8   9   10   11   12   13   14   >