Re: determining the exiistance of an Array element

2007-08-09 Thread Charlie Griefer
doesn't it always exist? even if it's empty? CF arrays are dynamically sized... so if an element doesn't exist, the array shrinks. are you getting that the element doesn't exist/is not defined? I would think that if anything, it'd just be an empty string (in which case, just test for the

Re: determining the exiistance of an Array element

2007-08-09 Thread Charlie Griefer
. Gotcha. Thanks (to you and Janet... and whoever else reponds after this) for clarifying :) -- 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

Re: Problem Outputting Dynamic Variable from a Query

2007-08-09 Thread Charlie Griefer
Rate1[Time1][n] where 'n' is the row number. if you're in a query driven cfoutput, you can use the 'currentrow' variable for 'n'. On 8/9/07, Zach Firestone [EMAIL PROTECTED] wrote: Hey, I am trying to output a dynamic variable within a ColdFusion query and have hit a wall. I'm creating a

Re: (CF8) Compressing the Ajax libraries

2007-08-09 Thread Charlie Griefer
http://www.reybango.com/index.cfm/2007/6/6/CF8-Ajax-Quick-Tip-for-Shrinking-the-Page-Size ? On 8/9/07, Michael Dinowitz [EMAIL PROTECTED] wrote: I was looking over the libraries for things like cfmenu and a standard usage of the tag loads something like 200k of javascript. Not something I

Re: Query with dynamic criterias?

2007-08-07 Thread Charlie Griefer
CUST like '#supplier#%' OR /cfloop 1 = 1 -- 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 catch you, digger, listener

Re: OT: Java Script Question

2007-08-02 Thread Charlie Griefer
script type=text/javascript function writetag() { document.write ('a href=' + myurlvar + 'img src=' + myimgvar + '/a'); } /script script type=text/javascriptwritetag()/script you could also do: script type=text/javascript function writetag(el) { var tag = 'a href=' +

Re: CFCs question

2007-08-01 Thread Charlie Griefer
As with any variable, it's really a case-by-case basis. Will all users of the app have frequent need for this variable/CFC? Application scope. Will all users of the app have frequent need for this variable/CFC specifically for them? Session scope. Will you just use it every so often?

Re: CF error

2007-08-01 Thread Charlie Griefer
your var scoped variables have to be at the top of your functions. cffunction cfargument cfset var foo = / cfset var bar = / cfmorestuff /cffunction anything (except cfargument) above a cfset of a var scoped variable will throw an error. On 8/1/07, Chad Gray [EMAIL

Re: Cfqueryparam and list

2007-08-01 Thread Charlie Griefer
cfloop list=#myList# index=idx prds.title LIKE cfqueryparam value=%#idx#% cfsqltype=cf_sql_char / OR /cfloop 1=1 /cfquery -- Charlie Griefer ...All the world shall be your enemy, Prince

Re: Cfqueryparam and list

2007-08-01 Thread Charlie Griefer
and prds.title IN (cfqueryparam... ) On 8/1/07, ch g [EMAIL PROTECTED] wrote: what's wrong with this code cfset keyword = test,test1 cfquery name='getdata' datasource='abcde' SELECT * from prds WHERE 1 = 1 and prds.title like cfqueryparam cfsqltype=cf_sql_varchar

Re: Cfqueryparam and list

2007-08-01 Thread Charlie Griefer
dynamically, i mean i don't know how many key words end user will enter... -- 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 catch you, digger

Re: cfquery error, help please.

2007-08-01 Thread Charlie Griefer
why not just do that string manipulation in the original query? On 8/1/07, Brad Wood [EMAIL PROTECTED] wrote: As far as I know it is not possible to do substring manipulation in a query of queries. Unless CF8 changed something, I think your only option is to loop manually over the result set

Re: ANN: Sean Corfield on fusebox 5.5 - first public preview!

2007-08-01 Thread Charlie Griefer
that's how good sean is. just the mere mention of an upcoming talk by him fixes peoples fusebox problems. On 8/1/07, Phillip M. Vector [EMAIL PROTECTED] wrote: It's funny. Just now, as I get this, I managed to get FB 5.1 working on my system. :) Nick Tong wrote: More information here:

Re: CFC defining vars

2007-07-30 Thread Charlie Griefer
using the 'var' keyword scopes the variable into the local scope *for that function/method*. so cfset var foo = / means 'foo' is available to only that method call and you don't have the potential issue of another method with a similarly named variable stomping the expected value. it's good

Re: How so I show prior month?

2007-07-25 Thread Charlie Griefer
the coldfusion reference has all functions, not only listed alphabetically, but also grouped by category (including a date category). http://livedocs.adobe.com/coldfusion/7/htmldocs/0354.htm i have to assume checking there would have been easier than beating your head as well :) On 7/25/07,

Re: Capturing Variable Correctly

2007-07-24 Thread Charlie Griefer
#form[textread n]# where 'n' is your variable value. On 7/24/07, Dakota Burns [EMAIL PROTECTED] wrote: I have a form that provides form elements (file uploads one text box per grouping) in a loop. The names of my form elements (specifically the problem one, which is the text box) are

Re: How so I show prior month?

2007-07-24 Thread Charlie Griefer
look up dateAdd() in the docs. heck i'll even give you the link. all you have to do is click :) http://livedocs.adobe.com/coldfusion/7/htmldocs/0437.htm On 7/24/07, Dae [EMAIL PROTECTED] wrote: Need some assistance. I know cfoutput#dateformat(now(),'mmm ')#/cfoutput will put out

Re: GROUP BY RIGHT()?

2007-07-23 Thread Charlie Griefer
cfquery name=foo datasource=bar SELECT filename, right(filename, 3) AS ext, othercol FROM table ORDER BY right(filename, 3) /cfquery cfoutput query=foo group=ext that, of course, assumes you only have file extensions of 3

Re: GROUP BY RIGHT()?

2007-07-23 Thread Charlie Griefer
did you ORDER BY appropriately? you need to ORDER BY the column(s) on which you're grouping. On 7/23/07, Robert Rawlins - Think Blue [EMAIL PROTECTED] wrote: Thanks guys for the suggestion, I'll agree that the calculated column is probably my best bet, you're right Charlie about that

Re: job postings?

2007-07-20 Thread Charlie Griefer
http://www.houseoffusion.com/groups/cf-jobs/ On 7/20/07, Leitch, Oblio [EMAIL PROTECTED] wrote: Where is a good place to look for CF developers? We might have an opening for a full-time temp. A freelancer would be a great choice. But where to people post resumes or go to look for jobs?

Re: CF Calendar like Display Function

2007-07-20 Thread Charlie Griefer
http://kalendar.riaforge.org/ On 7/20/07, Ben Nadel [EMAIL PROTECTED] wrote: Here's some stuff I put together a while back: Simple calendar display: http://www.bennadel.com/index.cfm?dax=blog:663.view Modified Detroit Schedule: http://www.bennadel.com/index.cfm?dax=blog:820.view

Re: Invoking CFC with Javascript onclick event

2007-07-19 Thread Charlie Griefer
you'd need the onclick to call a function that triggers tha AJAX call. I've found JSMX to be a very nice lightweight library for AJAX, and i think it'd work well for you here (you don't need all the bells and whistles of a jQuery or YUI or Prototype etc for this specific task).

Re: Invoking CFC with Javascript onclick event

2007-07-19 Thread Charlie Griefer
a complete noob when it comes to stuff like this...) i usually debug the AJAX stuff with the Firebug plugin for Firefox. Got that loaded up? If not, you should (not just for this... but in general, it's a must-have). -- Charlie Griefer ...All

Re: How do I properly check for an empty string?

2007-07-19 Thread Charlie Griefer
cfif len(trim(string)) GT 0 (/me anticipates the implicit boolean conversion raging debate...) :) On 7/19/07, Will Tomlinson [EMAIL PROTECTED] wrote: I'm tryin to check and see if some fields have any data in a spreadsheet, using Ben's POI utility. cfif Len(instructorid) AND Len(lastname)

Re: How do I properly check for an empty string?

2007-07-19 Thread Charlie Griefer
toss in a cfelse for debugging. cfif (len(trim(instructorID)) GT 0) AND (len(trim(lastName)) GT 0) AND (len(trim(firstName)) GT 0) do stuff cfelse instructorID: #len(trim(instructorID))#br / lastName: #len(trim(lastName))#br / firstName: #len(trim(firstName))# /cfif see

Re: HELP Please - Using Coldfusion to Import delimited txt files.

2007-07-19 Thread Charlie Griefer
for the last listGetAt() function... so it'd default to comma. -- 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 catch you, digger, listener

Re: cfc question

2007-07-18 Thread Charlie Griefer
#preserveSingleQuotes(arguments.criteria)# On 7/18/07, Chad Gray [EMAIL PROTECTED] wrote: I have a CRUD CFC that has this function and I load the CFC into the application scope: cffunction name=readZJF access=public returntype=query cfargument name=criteria type=string required=yes

Re: Session Variable Types

2007-07-17 Thread Charlie Griefer
Rick: even if there weren't any differences from a coding standpoint, the fact that you can choose between the two still suggests that they are different (at least different enough that the choice is there). J2EE sessions end on browser close. traditional cf sessions do not. you can time out a

Re: Simple JS math?

2007-07-17 Thread Charlie Griefer
take 3/8 out of quotes. it's not a string. it's a number. you'll get 20.375. or were you looking for 20 3/8? On 7/17/07, Che Vilnonis [EMAIL PROTECTED] wrote: Looking to add an integer and a fraction. How do I do this with Javascript? Thanks, Che! script language=JavaScript var num = 20;

Re: Session Variable Types

2007-07-17 Thread Charlie Griefer
On 7/17/07, Ben Doom [EMAIL PROTECTED] wrote: Charlie Griefer wrote: J2EE sessions end on browser close. traditional cf sessions do not. Now that's some useful information. All I have to do is figure out how it can be useful in my immediate future to clarify on that... there is one

Re: Session Variable Types

2007-07-17 Thread Charlie Griefer
a note that it's also easy to make normal CF sessions end on browser close by copying the cfid and cftoken cookie into a session-only cookie. It's about 4 lines of code. On 7/17/07, Ben Doom [EMAIL PROTECTED] wrote: Charlie Griefer wrote: J2EE sessions end on browser close. traditional

Re: Session Variable Types

2007-07-17 Thread Charlie Griefer
On 7/17/07, Rick Root [EMAIL PROTECTED] wrote: On 7/17/07, Charlie Griefer [EMAIL PROTECTED] wrote: J2EE sessions end on browser close. traditional cf sessions do not. Is that documented somewhere? http://livedocs.adobe.com/coldfusion/7/htmldocs/1163.htm (again tho... make sure you

Re: Session Variable Types

2007-07-17 Thread Charlie Griefer
, onSessionEnd will not fire. On 7/17/07, Charlie Griefer [EMAIL PROTECTED] wrote: Rick: even if there weren't any differences from a coding standpoint, the fact that you can choose between the two still suggests that they are different (at least different enough that the choice

Re: Setting variables from XML content.

2007-07-16 Thread Charlie Griefer
what's the error? On 7/16/07, Che Vilnonis [EMAIL PROTECTED] wrote: Having a bit of trouble with XML. From XML data that is returned to me, I can loop thru the data using something like this: cfloop from=1 to=#arrayLen(xmlcontent.message.payment_methods.payment_method)# index=x some code.

Re: Setting variables from XML content.

2007-07-16 Thread Charlie Griefer
and that one variable assignment is definitely the culprit? If you comment out that single line, everything works? can you do cfdump var=#xmlcontent.message.payment_methods.payment_method# ? how big of an array are we talkin'? :) On 7/16/07, Che Vilnonis [EMAIL PROTECTED] wrote:

Re: URLENCODEDFORMAT + $itemLabel$

2007-07-16 Thread Charlie Griefer
if i'm understanding correctly, you're passing the literal string, so you'd need to put in in quotes. departmentname=#URLEncodedFormat('GA')# departmentname=#URLEncodedFormat('Sales/Small Business')# On 7/16/07, Christopher Chin [EMAIL PROTECTED] wrote: Anyone know how to urlEncode an itemLabel

Re: Time for another CF hosting site thread...

2007-07-16 Thread Charlie Griefer
for fairly simple, basic and cheap, i use www.hostingAtoZ.com. They're definitely cheap :) $20 a year gets you CFMX7 Enterprise and mySQL. $35 a year gets you CFMX7 Enterprise and SQL Server2k5.And -very- few restrictions on disabled tags/functions. since i've started mentioning them more

Re: Time for another CF hosting site thread...

2007-07-16 Thread Charlie Griefer
pound instead of the Yankee Dollar. Again your suggestions and recommendations will be very much appreciated. Peter Donahue - Original Message - From: Charlie Griefer [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, July 16, 2007 4:27 PM Subject: Re: Time

Re: Session Variable Types

2007-07-16 Thread Charlie Griefer
traditional/J2EE On 7/16/07, Rick Root [EMAIL PROTECTED] wrote: I had an interviewer ask me the following question. What types of session variables do you use? Before reading any of the responses to this thread, I'd like to know how you would answer that question. Rick

Re: Head banging MySQL DateTime

2007-07-12 Thread Charlie Griefer
cf_sql_timestamp as the cfsqltype? On 7/12/07, Tom King [EMAIL PROTECTED] wrote: Hi all, this is driving me nuts: I'm trying to insert a date/time into a mysql database: the row is set up as datetime, NULL as default; I;m trying to insert from a form where I have drop downs which give me

Re: SOT: Eclipse Plugins

2007-07-12 Thread Charlie Griefer
the nightly build does http://update.aptana.com/update/nightly/3.2/ (yes, i know it says 3.2, but it works with 3.3) :) On 7/12/07, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 12 Jul 2007, Larry Lyons wrote: Check out the Aptana plugin for eclipse (http://www.aptana.com). Doesn't

Re: Query in a function

2007-07-12 Thread Charlie Griefer
why adverse to the 2 function route? they seem to serve 2 purposes... getAllUsers() getUserByID(userID) but you could easily do: cffunction name=getUsers returntype=query access=remote cfargument name=userID type=numeric required=no / cfset var qGetUsers = / cfquery name=qGetUsers

Re: Submitting form to .cfc page

2007-07-11 Thread Charlie Griefer
not sure of the right way myself... but you could always make the action page a normal .cfm page and call the CFC's method from that action page (passing the entire form struct as an argument)... and your cflocation in that same page. On 7/11/07, Steve Sequenzia [EMAIL PROTECTED] wrote: I am

Re: Dreamweaver and Vista

2007-07-04 Thread Charlie Griefer
dude if will could turn his brightness up, we wouldn't be having conversations like this :D On 7/4/07, Adrian Lynch [EMAIL PROTECTED] wrote: Just turn the brightness up! :OD -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: 04 July 2007 03:33 To: CF-Talk

Re: Dreamweaver and Vista

2007-07-03 Thread Charlie Griefer
If people take screen shots of Vista not freezing up on them... will that prove that it doesn't suck? :) On 7/3/07, Will Tomlinson [EMAIL PROTECTED] wrote: Hey Jim, Next time I'll try and get a cap of Vista freezing up on me. I doubt it'll work tho. :)

Re: OT - Gap when making element invisible

2007-07-02 Thread Charlie Griefer
and shouldn't the br / tags perhaps go inside the span block? or better yet... change the span tags to div tags and remove the br / tags altogether? On 7/2/07, Charlie Griefer [EMAIL PROTECTED] wrote: gone - document.getElementById(span_2).style.display = none; back

Re: OT - Gap when making element invisible

2007-07-02 Thread Charlie Griefer
gone - document.getElementById(span_2).style.display = none; back - document.getElementById(span_2).style.display = block | inline; On 7/2/07, Adrian Lynch [EMAIL PROTECTED] wrote: I have three spans: span id=span_11/spanbr / span id=span_22/spanbr / span id=span_33/span Which gives me

Re: cfeclipse tutorial

2007-07-02 Thread Charlie Griefer
http://cfeclipse.org/index.cfm?event=pagepage=TV On 7/2/07, Steve Good [EMAIL PROTECTED] wrote: Anyone have any links to some good cfeclipse tutorials? I am looking for a good alternative to Dreamweaver on Linux and cfeclipse seemed to be the right direction. I have installed eclipse,

Re: CF Editor

2007-06-28 Thread Charlie Griefer
and I had no idea you could do that. Nice! -- 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 catch you, digger, listener, runner, prince

Re: No question, just happy

2007-06-28 Thread Charlie Griefer
On 6/28/07, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Now, if only they meant something :-) This comes up now and again, but do people really are this cert as worth anything? why would you do this? did you not get enough woo-ha excitement in the eclipse thread? :) -- Charlie

Re: how can I dynamically build field names string in a sql update statement?

2007-06-28 Thread Charlie Griefer
define bombs and do a cfoutput on #column_string# to see exactly what SQL you're generating. On 6/28/07, david cowen [EMAIL PROTECTED] wrote: Hi, I'm trying to construct a dynamic sql server update statement on a table with a large number of fields, most of them type bit. First I evaluate

Re: CF Editor

2007-06-27 Thread Charlie Griefer
being actively developed (new features/functionality/plugins) - plethora of plugins (xml, css, javascript, etc) given items #2 and #3... why wouldn't you? -- Charlie Griefer ...All the world shall be your enemy, Prince with a Thousand Enemies

Re: CF Editor

2007-06-27 Thread Charlie Griefer
a file, or if a file is e-mailed to me... it just goes into the playground folder/site. -- 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 catch

Re: CF Editor

2007-06-27 Thread Charlie Griefer
can be made and how to make them. if you're not willing to do that, then you're not really giving it a fair evaluation, IMO. -- Charlie Griefer ...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you

Re: Good CF recommendations?

2007-06-27 Thread Charlie Griefer
AFAIK, the only current (covers CFMX7) print book is the ColdFusion Web Application Construction Kit (affectionately known as the WACK). http://tinyurl.com/2h6ntt -- standard (good place to start) :) http://tinyurl.com/23gf8u -- advanced On 6/26/07, Michael Stevens [EMAIL PROTECTED] wrote:

Re: Date and Time

2007-06-27 Thread Charlie Griefer
create a field that has a default value of the current date/time. that value depends on your database. in SQL Server, it's getDate(). in Access, it's now(). not sure about other databases. On 6/26/07, Steven Sprouse [EMAIL PROTECTED] wrote: Does anyone know how I can insert a date and time

Re: Good CF recommendations?

2007-06-27 Thread Charlie Griefer
oooh... there's also this: http://www.dcooper.org/blog/client/index.cfm?mode=entryentry=3E2F4BDD-4E22-1671-5A5ED6D0E2EFA31A (http://tinyurl.com/32xqhq) which is a pretty *friggin'* good deal. On 6/26/07, Mike Chabot [EMAIL PROTECTED] wrote: The free manuals are good, in addition to the Ben

Re: CF Editor

2007-06-27 Thread Charlie Griefer
as he said... he's using a specific plugin that's commercial. so, yeah :) On 6/27/07, Greg Luce [EMAIL PROTECTED] wrote: Alright, this thread got me to open CFE back up after more than a week. Like I said earlier, is there a licensing problem with Brian setting up Eclipse how he does with all

Re: Default Value for Select box - Very Urgent!!!

2007-06-27 Thread Charlie Griefer
why are all of your questions very urgent!!!? cfloop query=foo option value=#foo.id#cfif condition selected=selected/cfif#foo.data#/option /cfloop it's up to you to determine what condition is, since you didn't specify. On 6/27/07, Devi r [EMAIL PROTECTED] wrote: Hi All, I'm populating

Re: CF Editor

2007-06-27 Thread Charlie Griefer
a Signature Build and distribute it or even sell it? Greg On 6/27/07, Charlie Griefer [EMAIL PROTECTED] wrote: as he said... he's using a specific plugin that's commercial. so, yeah :) On 6/27/07, Greg Luce [EMAIL PROTECTED] wrote: Alright, this thread got me to open CFE back up after more

Re: Having problems with LEN()...

2007-06-26 Thread Charlie Griefer
fails miserably and blows up are kinda vague. got an error message? but a couple of points: 1) look up the numberFormat() function. you can pad a number with leading zeros. seems cfset order_number = numberFormat(form.reorder, '') / should be all the logic you need. 2) you've got

Re: Having problems with LEN()...

2007-06-26 Thread Charlie Griefer
and when that doesn't work, try it with 0's :) On 6/26/07, Bobby Hartsfield [EMAIL PROTECTED] wrote: Try Numberformat(var, '') ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Michael Stevens [mailto:[EMAIL PROTECTED]

Re: Query data to cfreport

2007-06-26 Thread Charlie Griefer
convert the array into a query. queryNew() querySetCell() and a loop and you should be good to go. then pass the generated query to cfreport. On 6/26/07, chr chr [EMAIL PROTECTED] wrote: I am creating a big array of information and I want to create my report based on it and not an SQL

Re: StringTokenizer in coldfusion???? - Urgent

2007-06-25 Thread Charlie Griefer
loop over the list using space as a delimiter cfloop list=#myList# index=idx delimiters= On 6/25/07, Devi r [EMAIL PROTECTED] wrote: Hi, I need to retrieve all the tokens from the form value A B with space as delimiter I mean i need to get the results as 1)A 2) 3)B Is there any

Re: web page snapshots

2007-06-18 Thread Charlie Griefer
http://www.coldfusionjedi.com/index.cfm/2007/6/13/ColdFusion-8-URL-Thumbnails On 6/18/07, Ariel Jakobovits [EMAIL PROTECTED] wrote: does anyone know how to make one of those server programs to retrieve a web page and save it as an image?

Re: CF var in javascript

2007-06-14 Thread Charlie Griefer
#getItems.title[currentRow]# unless you're looping over the query data using cfoutput query=getItems, i don't believe the 'currentrow' variable will be available. but i'm not sure you're trying to use *that* currentrow variable. looks like you're trying to use an argument passed in to the

Re: Jr. Going to Hendrick

2007-06-13 Thread Charlie Griefer
only a NASCAR fan would accidentally post this to cf-talk instead of cf-community :D On 6/13/07, Scott Stroz [EMAIL PROTECTED] wrote: I know there are more than a few NASCAR fans on the lits. Dale Earnhardt Jr. just announced he will be driving for Hendrick Motorsports starting in 2008.

Re: Best Solution

2007-06-13 Thread Charlie Griefer
JavaScript has a setTimeout() method that will call a function every 'n' miliseconds. no need for refreshing the page. set up a JS array of images/links, and loop thru that array changing the image and link attributes of your ad. On 6/13/07, Dan Vega [EMAIL PROTECTED] wrote: I know I can use

Re: Best Solution

2007-06-13 Thread Charlie Griefer
= adArray[adNum].text; adCounter++; setTimeout('displayAd(' + adCounter + ')', 3000); } /script /head body onload=displayAd(0); a href= id=adLink/a /body /html On 6/13/07, Charlie Griefer [EMAIL

Re: Best Solution

2007-06-13 Thread Charlie Griefer
; adCounter++; setTimeout('displayAd()', 3000); } and then just: body onload=displayAd(); -- Charlie Griefer ...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you

Re: Best Solution

2007-06-13 Thread Charlie Griefer
://www.elated.com/articles/javascript-timers-with-settimeout-and-setinterval/ On 6/13/07, Charlie Griefer [EMAIL PROTECTED] wrote: JavaScript has a setTimeout() method that will call a function every 'n' miliseconds. no need for refreshing the page. -- mxAjax / CFAjax docs and other useful

Re: AJAX/Fusebox Question

2007-06-11 Thread Charlie Griefer
are you sure #self# is defined as index.cfm?fuseaction=? generally i've seen #self# referenced as index.cfm and #myself# referenced as index.cfm?fuseaction= On 6/11/07, Phillip M. Vector [EMAIL PROTECTED] wrote: Since there is some discussion about AJAX on the list, I thought I would repost

Re: Frames in Fusebox solved.. kinda.

2007-06-11 Thread Charlie Griefer
pages with frameset frame don't get body tags. On 6/11/07, Phillip M. Vector [EMAIL PROTECTED] wrote: Strange... I have header loading up before the framesets are generated and that seems to be the issue. Is there a rule that says framesets need to be above the body tag? Phillip M. Vector

Re: Yahoo ColdFusion Developer Center

2007-06-11 Thread Charlie Griefer
i don't think it was a deal between Adobe and Yahoo. my understanding is that ray camden brokered the deal. http://www.coldfusionjedi.com/index.cfm/2007/6/7/It-is-here--Yahoo-launches-ColdFusion-Developer-Center but yes... very cool to be getting some positive exposure :) On 6/11/07, Wil

Re: Performance advantage - LIMIT VS. maxrows?

2007-06-11 Thread Charlie Griefer
I'll have to double check this... but I believe recent versions of CF (as of MX perhaps?) do -not- pull down the whole resultset. If this is the case (and I stress -if-...), then I'd say that using maxrows would be preferrable as it'd make your applications more portable across different

Re: Performance advantage - LIMIT VS. maxrows?

2007-06-11 Thread Charlie Griefer
db! listen, in this sql, just give me top N rows On 6/11/07, Charlie Griefer [EMAIL PROTECTED] wrote: I'll have to double check this... but I believe recent versions of CF (as of MX perhaps?) do -not- pull down the whole resultset. If this is the case (and I stress -if-...), then I'd say

Re: I am buying ColdFusion Enterprise Version 8

2007-06-08 Thread Charlie Griefer
that's why he asked how much it *will* cost (in the future... as opposed to how much it *does* cost now). On 6/8/07, Andrew Scott [EMAIL PROTECTED] wrote: Well good luck, its not for sale yet. On 6/9/07, Ravi Gehlot [EMAIL PROTECTED] wrote: Does anyone know how much it will cost?

Re: I am buying ColdFusion Enterprise Version 8

2007-06-08 Thread Charlie Griefer
comment, common sense prevails on this one. On 6/9/07, Charlie Griefer [EMAIL PROTECTED] wrote: that's why he asked how much it *will* cost (in the future... as opposed to how much it *does* cost now). On 6/8/07, Andrew Scott [EMAIL PROTECTED] wrote: Well good luck, its not for sale

Re: invoking a cfc function with minimal typing

2007-06-07 Thread Charlie Griefer
if you're sending form fields... cfset myInstance.updateTable(argumentcollection=form) / you can send an array, you can send a struct... you can send any number of simple variables wrapped up in a single complex var. On 6/7/07, Chad Gray [EMAIL PROTECTED] wrote: I have a function in a CFC that

Re: invoking a cfc function with minimal typing

2007-06-07 Thread Charlie Griefer
action page: cfset application.myComponent.updateTable(argumentcollection=form) / -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Thursday, June 07, 2007 11:38 AM To: CF-Talk Subject: Re: invoking a cfc function with minimal typing if you're sending form fields

Re: invoking a cfc function with minimal typing

2007-06-07 Thread Charlie Griefer
? Thanks! Chad -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Thursday, June 07, 2007 11:38 AM To: CF-Talk Subject: Re: invoking a cfc function with minimal typing if you're sending form fields... cfset myInstance.updateTable(argumentcollection=form

Re: How to escape the character # in a string

2007-06-05 Thread Charlie Griefer
doubling up on the # signs works for me. cfsavecontent variable=mystring we are #1! /cfsavecontent cfoutput #myString# br / #replace(mystring, ##, , all)# /cfoutput On 6/5/07, Dave Hatz [EMAIL PROTECTED] wrote: I am trying to do the following,

Re: javascript question

2007-06-01 Thread Charlie Griefer
the onchange() goes into the select element. select name=NEW_Plate_to_make onchange=displayStockLevels(this.options[this.selectedIndex].value); cfloop query=getPlates option value=#getPlates.ID##getPlates.Name#/option /cfloop /select On 6/1/07, Chad Gray [EMAIL PROTECTED] wrote: I thought

Re: CFMDIRECTORY

2007-06-01 Thread Charlie Griefer
ping pablo. you can find his e-mail address on the easycfm.com web site (sorry, i'd post it here, but i'm not comfortable posting somebody else's email to a public list... you understand) :) On 6/1/07, webmaster @ webstop. net webmaster @ webstop. net [EMAIL PROTECTED] wrote: Where can I get a

Re: output RSS feed CF 5

2007-06-01 Thread Charlie Griefer
pre-MX i think most people used a custom tag called soxml from site objects. since MX has these capabilities built in, the tag is no longer maintained. you might be able to find a copy via google. sorry... i don't have the tag handy anymore myself. On 6/1/07, Paul Henderson [EMAIL PROTECTED]

Re: output RSS feed CF 5

2007-06-01 Thread Charlie Griefer
know of a quick reference to an MX solution? Thanks again for your help. -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Friday, June 01, 2007 6:22 PM To: CF-Talk Subject: Re: output RSS feed CF 5 pre-MX i think most people used a custom tag called soxml from

Re: Alt tag

2007-06-01 Thread Charlie Griefer
FWIW, it works in IE, not Firefox. Add a 'title' attribute as well and you should be good to go cross-browser (at least as far as IE and FF cross) :) On 6/1/07, Pete [EMAIL PROTECTED] wrote: Hi there I'm trying to get an Alt tag to appear with the main image but having no luck? Any

Re: need help with updating date field

2007-05-30 Thread Charlie Griefer
oooh. good catch :) On 5/30/07, Marius Milosav [EMAIL PROTECTED] wrote: You are missing a comma after '#form.Fax#' Marius Milosav ScorpioSoft Corp. www.scorpiosoft.com -Original Message- From: Imperial, Robert [mailto:[EMAIL PROTECTED] Sent: May 30, 2007 12:21 PM To: CF-Talk

Re: need help with updating date field

2007-05-30 Thread Charlie Griefer
first off, DATE is a reserved word and probably shouldn't be used as a column name. if you can't change it, at least enclose it in brackets ([DATE]) in your SQL, remove the single quotes from the #createODBCDate(now())# value. also, look into using cfqueryparam (hey if i didn't say it, somebody

Re: Array Append on a two dimensional array

2007-05-30 Thread Charlie Griefer
in CF a 2d array is just a 1d array of 1d arrays. append a 1d array to your existing 2d array. run this code: cfset myArray = arrayNew(2) / cfset myArray[1][1] = id1 / cfset myArray[1][2] = searchTerm1 / cfdump var=#myArray# label=myArray / cfset arrayToAppend = arrayNew(1) / cfset

Re: Array Append on a two dimensional array

2007-05-30 Thread Charlie Griefer
curious... why not store it as a struct? you can have a key for ID, and a key for searchTerms (the latter being an array). unless i'm misunderstanding, the ID value will not change (?) so there's no reason to keep appending to a 2d array. On 5/30/07, Charlie Griefer [EMAIL PROTECTED] wrote

Re: Array Append on a two dimensional array

2007-05-30 Thread Charlie Griefer
this was built) when it's deleted it goes back to the previous search. I hope this makes sense.. -- Scott Stewart ColdFusion Developer SSTWebworks 7241 Jillspring Ct. Springfield, Va. 22152 (703) 220-2835 http://www.sstwebworks.com -Original Message- From: Charlie Griefer [mailto

Re: validate radio buttons

2007-05-30 Thread Charlie Griefer
if neither radio button is checked by default, and the user submits the form without checking one, there will be no value. the correct way to validate a radio button group is to loop over the array and determine if one is checked. script type=text/javascript function checkform(form) {

Re: validate radio buttons

2007-05-30 Thread Charlie Griefer
doesn't have a value. thanks for giving me the opportunity to clarify :) On 5/30/07, Charlie Griefer [EMAIL PROTECTED] wrote: if neither radio button is checked by default, and the user submits the form without checking one, there will be no value. the correct way to validate a radio button group

Re: ColdFusion Webserver

2007-05-29 Thread Charlie Griefer
for whatever it's worth, i don't think ravi was trying to implement constraints, nor do i disagree with his statement. i think it was misinterpreted by some. he (ravi) did answer a few questions in this thread. one of his answers was, you might want to hire help. it wasn't don't ask that

Re: Yet another CF is a dead or dying skill article

2007-05-24 Thread Charlie Griefer
already being discussed on cf-community On 5/24/07, Pete Ruckelshaus [EMAIL PROTECTED] wrote: I just love it when articles like this http://www.computerworld.com/action/article.do?command=viewArticleBasicarticleId=9020942pageNumber=2 come out. Makes me want to send them a photocopy of my

Re: password form not working -- strange

2007-05-24 Thread Charlie Griefer
or cfif structKeyExists(form, 'fieldnames') On 5/24/07, Rob O'Brien [EMAIL PROTECTED] wrote: I bet you're using the Enter key rather than clicking on the submit button. If you do that, the submit field will not be passed as a form field. Your best bet is to either test directly on password or

Re: Creating page betwn form and action page

2007-05-22 Thread Charlie Griefer
On 5/22/07, Melissa Weber [EMAIL PROTECTED] wrote: Do you know of any good links to learn more about session variables? The ones that I am finding are not very helpful. http://livedocs.adobe.com/coldfusion/7/htmldocs/1156.htm -- Charlie Griefer

Re: Shocked!

2007-05-21 Thread Charlie Griefer
if you were aware that CF does a top-down search through the myriad of scopes... why are you shocked? On 5/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I just looked at some code from another developer and noticed that they were accessing variables in the arguments scope witout using the

Re: Shocked!

2007-05-21 Thread Charlie Griefer
/ cfoutput#variables.myVar#/cfoutput could be a string. could be an int. doesn't matter tho... you know where it lives :) -- Charlie Griefer ...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill

<    3   4   5   6   7   8   9   10   11   12   >