RE: Best practice question?

2005-03-28 Thread Calvin Ward
Jared is correct, 

Scoping improves performance and avoids ambiguity (ref CFMX study guide),
and this makes sense.

If you aren't going to scope, then you are decreasing performance and
increasing ambiguity.

So the best practice is to scope. In an application, based on the needs, you
may consider not scoping, but it is that level that is application specific.

The broad question of is scoping a best practice, I would answer with a
'yes'.

- Calvin


-Original Message-
From: Jared Rypka-Hauer - CMG, LLC [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 27, 2005 1:41 PM
To: CF-Talk
Subject: Re: Best practice question?

But it IS a broad application-development question!

You can't decide *not* to scope a variable until you know *why* you
would scope one to begin with. You can't decide to rely on CF's
default scoping capabilities successfully until you know all the
implications of them. It is a broad app-dev question because the
decision to use a particular technique must be founded in good app-dev
skills. There's no getting around that.

Explicit scoping _IS_always_ the best idea, unless you have a
compelling rationale to break with the best practice.

Laterz,
J


On Sun, 27 Mar 2005 11:48:42 -0500, Claude Schneegans
[EMAIL PROTECTED] wrote:
  looks like scoping AND no scoping are desirable depending on the
 application.
 
 Exact, that's one of the advantages of using a weakly or dynimically
 typed language.
 Since both scoping and no scoping (or default scoping) are features of
 CF, rules like  never  do or always  do
 can only make the programmer loose one of the features. 


-- 
Continuum Media Group LLC
Burnsville, MN 55337
http://www.web-relevant.com
http://www.web-relevant.com/blogs/cfobjective



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200192
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


New Hotfixes - Apply if you have IIS Issues

2005-03-28 Thread Robertson-Ravo, Neil (RX)
All,

Apologies if you all know of these but At last (and after months of denying
via support that something was wrong *) - two Hotfixes were recently
released which fix a whole host of issues with CFMX and IIS (plus other
unrelated to IIS problems). 

ColdFusion MX 6.1 Updater: Hot Fix to upgrade web server connectors 
http://www.macromedia.com/go/238944b1 

Hot fix for JRun 4.0 and JRun 4.0-based servers (applies to all versions 
of CFMX) 
http://www.macromedia.com/go/f7736ad 
 

Anyone who has had problems with hanging sites on IIS - should apply these.

* I said that they ignored the problems as we had the problems last year (we
discovered a memory leak with IIS and CFMX) and the standard tech support
guys we had contact with simply did not have a clue what they were talking
about when it came to debugging or providing us with Beta fixes (as they
were no doubt in development during our problems).  It was a classic case of
first line support dealing with complex problems which they simply will
never be able to solve or will pass on - it is much easier to simply close
the issue, send out the standard if you would like to re-open type email
and be done with it (anyone who has had these emails know they are ignored
and you usually get nothing back anyhow!

Anyway, these should sort all your issues out!  I know Michael you had
problems like this.

N

This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions.
Visit our website at http://www.reedexpo.com

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200193
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFC or UDF

2005-03-28 Thread Adam Haskell
The answers thus far are great. Generally they way I look at it is
this. CFCs are stateful, meaning they can hold data and persist over
time, udfs are just a place to put commonly used code. For instance if
you have a bunch of time calculation functions could just put them in
a time_finctions.cfm and using them that way as opposed to creating a
time_functions component. I say this becuase generally with time
calculations you want to feed it a time and some other data and it
returns something...you don't need it to maintain a state between
calls. On the other hand if you have a shopping cart where you will do
calculations on say an order...you may put your Order into a CFC. Your
CFC will maintain the order information as well as a suite of
functions that can act upon that information. Hope this simplistic
example helps you apply all the knowledge that you will inevitabley be
given in this thread :)


Adam H 

On Mon, 28 Mar 2005 00:18:55 -0500, David Brown [EMAIL PROTECTED] wrote:
 I am new to both of these features, but I am getting the hang of them.  My
 question is: What is the difference between them?
 
 What are the pro's and cons to each?
 
 If I create a CFC with a several methods in it is that not the same thing if
 I have one template with the several functions on it?  Is a CFC just a
 collection of UDF's?
 
 Does CFC use up more memory then UDF's?
 
 I am looking for best practice I guess.  Sorry for the steam of thought
 email.
 
 David
 
 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200194
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFC or UDF

2005-03-28 Thread David Brown
Jim and others thank you for your responses.  I am a bit wet behind the ears 
here for sure.
Do I need to set the object to nothing to kill it?

Here are the small number I have so foar
(LDAP.cfc) In it I have a method for querying based on CN, a method for 
modify add and one for modify replace.
(sql.cfc) Methods to insert, update and delete
(kronos.cfc) All methods (sql calls really) that are related to the 
application kronos.
(utils.cfc) one method to create a datetime based on two arguments that 
passed it it. I thought I would add more functions to it for string and 
mathmatical needs that are not easley done in CF.

Does this seem like I am on the right track?

Is it best per application to create the ojects in application.cfm?  For 
example :  We have a folder off of root for our IT department.  Everything 
related to IT is under that folder.  So in application.cfm (just learned 
about application.cfc (we are on cfmx 7)) I have 3 objects created 
(ldap,kronos,utils).  Here is the code.
cfobject name=ldap component=com.ldap
cfobject name=Kronos component=com.Kronos
cfobject name=sqlDataBase component=com.sqlDataBase

But I also need ldap.cfc at the root level of the site too and may need the 
utils.cfc there.  Do I create the objects in both places since there are two 
application.cfm's one at root and one at IT folder level?


David

- Original Message - 
From: Jim Davis [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, March 28, 2005 1:19 AM
Subject: RE: CFC or UDF


 -Original Message-
 From: David Brown [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 28, 2005 12:19 AM
 To: CF-Talk
 Subject: CFC or UDF

 I am new to both of these features, but I am getting the hang of them. 
 My
 question is: What is the difference between them?

 These are very big questions... here's a shot at it, but I think it will
 leave you wanting:

 A UDF is a function: it can be called (perhaps with defined input
 parameters) to do something.  That's it: call it (maybe giving it 
 something
 to work with) and get an answer (or some work done).

 Functions generally represent a task, a verb: Find(), Replace(), Delete(),
 etc - these are all functions.

 Functions tend to be generalized: I can call Find() all over the place, 
 in
 all sorts of code and use it.  The function doesn't maintain state, it's 
 not
 persistent and it's not picky - it just works on what its given.

 A CFC is an object (OO people might slap me for saying this but it stands 
 up
 well enough at a glance).  Objects know things (data) and can do 
 things
 (methods).

 CFC methods (those things that the CFC can do) are actually UDFs - so CFCs
 can also be seen as collections of variables and UDFs.  However the UDFs 
 in
 a CFC are usable only in relation to that CFC.  So, in this way at least,
 CFCs and UDFs aren't in competition.

 CFCs generally represent some thing.  Some tangible (or virtual) noun. 
 For
 example you might have a Blog CFC.  This CFC might contain data
 (variables) containing the authoring information, system information, etc.
 It would also contain methods (UDFs) that helped you work with the blog.
 Things like Add(), Update(), Delete(), Display(), etc.

 What are the pro's and cons to each?

 They are both very different things so it's not really a choice of using 
 one
 or the other.  However:

 On the plus side using CF Mappings CFCs (like Custom Tags) can be 
 included
 in an application with no fuss and muss: once the mapping is made you 
 access
 the CFC as if it were part of the language.

 CFCs also allow for more structured programming in CF (something often
 missing in CF applications).  They don't really enforce better coding, but
 they can definitely lead to it.

 CFCs tend to be confusing to people that don't know OO (although they are
 the gentlest introduction to OO available).  They are slightly more 
 complex
 to plan for an write (since each CFC must be maintained in its own, 
 separate
 file.

 UDFs are great for adding functionality to the language.  CFML doesn't 
 have
 a CountMyToes() function and you need it?  No sweat: create a UDF.  UDFs
 are also very fast in CFML.

 Since they are treated by CF as data (as are JavaScript functions) they 
 can
 be copied, moved, sent, etc.

 Like CFCs UDFs can often lead to better code.  For example you might have 
 a
 complex calculation going on in an output loop.  By moving that calc to a
 UDF you can greatly simplify the presentation code and separate the calc
 from your presentation.

 UDFs can also be a pain the butt as there is no server-level option for
 including them.  You must, on the other hand, make sure to include them
 where you need them.

 Because of this UDF management can become a real chore.  Unless some
 standards are put in place you'll find yourself getting those cannot
 declare the same UDF twice errors all over the place.

 If I create a CFC with a several methods in it is that not the same thing
 if
 I have one 

Re: CFC or UDF

2005-03-28 Thread David Brown
One other question:
I know the web does not have state. By CFCs are statefull;  Do you mean 
that in our shopping cart example I have a authentication.cfc once a user is 
authenticated by the cfc that it knows about the user through their 
purchase?  Or do I have to create the cfc in session scope and then that cfc 
for that session knows about the user through their purchases?  If the later 
is true, is it the cfc that has state or the session scope?

David



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200196
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFC or UDF

2005-03-28 Thread Dave Watts
 I know the web does not have state. By CFCs are statefull;  
 Do you mean that in our shopping cart example I have a 
 authentication.cfc once a user is authenticated by the cfc 
 that it knows about the user through their purchase?  Or do I 
 have to create the cfc in session scope and then that cfc for 
 that session knows about the user through their purchases?  
 If the later is true, is it the cfc that has state or the 
 session scope?

CFC instances are stateful to the same degree as any other variables you
create - no more and no less. If you wanted to maintain a CFC instance
across multiple pages, you'd need to store it in the Session, Application or
Server scopes.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200197
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Help With RegEXp.

2005-03-28 Thread David Manriquez
i need to remove some tags from HTML like inputs , images, selects ans scripts

i test the RegExp in Visual REgEXP 3.0 and works .. but not in Coldfusion.

Any tip?..

How i can test RegExp for Coldfusion?

Mi code :

cfset myHTML  = rereplace(myHTML,img .*?,,ALL)
cfset myHTML = rereplace(myHTML ,input .*?,,ALL)
cfset myHTML = rereplace(myHTML ,select .*?.+/select,,ALL)
cfset myHTML  = rereplace(myHTML ,InvalidTag*?.+/script,,ALL)

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200198
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


adminapi and j2ee packaging

2005-03-28 Thread Cliff Meyers
(I posted this on the MM forums too... very curious if anyone has an answer)

I want to access the  Packaging  Deployment area of the CF Administrator
programatically so that we can automate the building of CFapps into .war
files. I noticed that this isn't available via any of the CFCs listed in
the adminapi documentation. Are there plans to add a CFC with this
functionality? Is there a way I can do it with CFHTTP?  The latter
approach sounds messy; having a CFC would be great. Thanks!


-Cliff Meyers

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200199
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Shared hosting -- please forward

2005-03-28 Thread Adam Churvis
If any of you know of any good ColdFusion shared hosting providers, would
you please do me a favor and forward this message to their sales department?
We have some new business for them.  Thanks! :)

-
We need to publish a list of hosting providers that allow the following
permissions for their shared ColdFusion hosting accounts:

1) CFFILE reads and writes (for directories inside the website's
subdirectories only)

2) Verity (you can require developers to store Verity collections in a
subdirectory of the website's root)

3) CFOBJECT and CreateObject() (for components only)

4) ColdFusion Server mapping (one per application)

This list is free to all hosting providers, and we will also place a free
banner ad inside our software product so developers can click the banner and
go directly to this list on our website.

We will be happy to place your company's logo and a link to whatever page
you want in this list so developers can conveniently sign-up with your
service.  Any advertising verbiage (reasonable size, but not miserly by any
means), pricing details, or other things that will help you sell your
services will be allowed and encouraged.

Please send your information to [EMAIL PROTECTED] as soon as
you can.

Thanks in advance for your help.
-

Respectfully,

Adam Phillip Churvis
Member of Team Macromedia
http://www.ProductivityEnhancement.com

Download Plum and other cool development tools,
and get advanced intensive Master-level training:

* C#  ASP.NET for ColdFusion Developers
* ColdFusion MX Master Class
* Advanced Development with CFMX and SQL Server 2000


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200200
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Best practice question?

2005-03-28 Thread Johnny Le
I just tried ArraySum(queryname[fieldname]) and it works, but when I tried to 
get the array queryname[fieldname], all I got is the value of the first row.  
I use cfdump var=#queryname[fieldname]#.  I used cfset something = 
queryname[fieldname]/.  None of them comes out as an array.

Johnny


 On Sun, 27 Mar 2005 15:06:43 -0500, Andrew Tyrone [EMAIL PROTECTED]
 wrote:
  I might be crazy, but I seem to remember, at least in CF 4.x versions,
 that
  if you scoped a query column within a cfoutput, it would only output the
  data in the first row of the query, not the current row, no matter where
 you
  were in the loop.

Matt's right here, the basic rule doesn't change depending on scope, it
changes on situation.

If your looping over the query (with a cfoutput or cfloop using the query
attribute) then doing queryname.fieldname will always output the current
row's value.

If you're not looping over a query then queryname.fieldname will always
return the value of the first row as if you said queryname.fieldname[1].

The odd thing is with queries should you use indexed notation you get a
different value.  While the value of queryname.fieldname is the value of
the first row the value of queryname[fieldname] is actually a reference
the column - essentially a one dimensional array containing all of the rows
values.

For most everything you can use this as an array.  To get the sum of a query
column, for example, you can do ArraySum(queryname[fieldname]).

This is a very powerful feature - but test it first.  CFMX had some minor
bugs with this related to the fact that in some cases it counted the array
from zero (as Java) and not from one (as CF).

Just to plug much of this information comes from my guide to CFML variables.
It's actually long overdue for a clean up (many of the links inside it are
dead and some information has changed since CF 6.0) but it's still rather
good if I do say so myself:

http://www.depressedpress.com/DepressedPress/Content/Development/ColdFusion/
Guides/Variables/Index.cfm


Jim Davis

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200201
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Requested resource 'null'???

2005-03-28 Thread Alisa Thomson
We just upgraded our CF5 server to CFMX over the weekend and in the 
cfserver.log, I see the following error a few times each minute:

03/28 10:52:02 error Requested resource 'null' (null) not found

This did not occur in any of our development or test environments.  We are 
running CFMX 6.1 Updater as a standalone on Solaris.  Any ideas?

Thanks,
Ci-Ci

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200202
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


New CFFORM website

2005-03-28 Thread Jeff Small
Just got this off Tim Buntel's blog:

In case you haven't heard, cfform.com has officially launched! This is a 
site that Mike Nimer, the principal engineer on the CFFORM features for CFMX 
7, has put together for sharing skins and other extensions for both Flash 
and XML forms. Think cflib.org for the Form set. I'm extremely excited to 
see what folks publish - and a big hearty thanks to Mike for putting this 
together (on his own personal accord, I may point out).

Thought I'd share it. It looks like potentially an awesome site. What got me 
was the think cflib.org for the form set. That's all I needed to hear... 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200203
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Help With RegEXp.

2005-03-28 Thread Claude Schneegans
 How i can test RegExp for Coldfusion?

Try the REWizard at the address below.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200204
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Help With RegEXp.

2005-03-28 Thread Ben Doom
 cfset myHTML  = rereplace(myHTML ,InvalidTag*?.+/script,,ALL)

You're missing a dot in this one, after the invalidtag bit.

Also, try using rereplacenocase() and see if that picks up better.
Also, what version of CF?

--Ben


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200205
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Help With RegEXp.

2005-03-28 Thread Adam Haskell
try chaging rereplace to rereplaceNOCASE see if that fixes it.

Adam H

On Mon, 28 Mar 2005 11:26:33 -0500, Ben Doom [EMAIL PROTECTED] wrote:
  cfset myHTML  = rereplace(myHTML ,InvalidTag*?.+/script,,ALL)
 
 You're missing a dot in this one, after the invalidtag bit.
 
 Also, try using rereplacenocase() and see if that picks up better.
 Also, what version of CF?
 
 --Ben
 
 
 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200206
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Best practice question?

2005-03-28 Thread Jim Davis
 -Original Message-
 From: Johnny Le [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 28, 2005 10:07 AM
 To: CF-Talk
 Subject: Re: Best practice question?
 
 I just tried ArraySum(queryname[fieldname]) and it works, but when I
 tried to get the array queryname[fieldname], all I got is the value of
 the first row.  I use cfdump var=#queryname[fieldname]#.  I used
 cfset something = queryname[fieldname]/.  None of them comes out as an
 array.

It's definitely at least a little flakey (which is why I stressed testing
this stuff out first).  It seems to only be an array on a direct access, not
an assignment.  So the following all work fine:

+) IsArray(QueryName[Column]) does indeed return Yes.

+) cfloop from=1 to=#ArrayLen(QueryName[Column])# index=Cnt works
just fine.

+) ArrayToList(QueryName[Column]) gives you a list of all column values
(as would ValueList()).

However you're right: when making an assignment (which, I _think_ CFDump
does internally) you get the value of the first row.

So cfset foo = QueryName[Column] / has the same result as cfset foo =
QueryName.Column /

However things get stranger still because this

cfoutput#QueryName[Column]#/cfoutput

actually results in a error (Complex object types cannot be converted to
simple values.) were this

cfoutput#QueryName.Column#/cfoutput

results in the output of the first cell of the column.

So while you can use the indexed notation reference as an array nearly every
place you can't copy it.  At least not simply - however you CAN duplicate
it!  The following will get you your array:

cfset foo = Duplicate(QueryName[Column]) /

Foo will now be an array of all values in the column.

I'm sure that's not exhaustive, but I hope it at least frames how this works
and further underlines the point to test it out before you rely on it.

Jim Davis










~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200207
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFUnited - Where's Macromedia?

2005-03-28 Thread David Epler
It is great that Macromedia is allowing several of its employees to speak at 
CFUnited and they have been doing that for several years now. That does add 
value to the conference, but is not the same as being a sponsor. With 3 months 
to go, one would have thought they would have been a sponsor well before this 
point and possibly at a higher level than their competitors.

 Macromedia can never ignore their existing customer base - us - but to
 some extent it's preaching to the choir.  The place to do the most
 selling work is amongst the 'unbelievers' and the 'unsaved'.

I don't expect Macromedia to have to resell ColdFusion to those already using 
it, but what about upgrading to CFMX 7? They do have other products to showcase 
(captivate, contribute, wps, flex). Conferences are one of the best places to 
get one-on-one demos and talk face-to-face. If a person is limited to one 
conference a year for their organization, it is a lost opportunity.

Both Microsoft and New Atlanta wouldn't be there if they didn't see an 
opportunity. An opportunity that becomes larger if Macromedia does not show up 
as a sponsor.


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200208
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Best practice question?

2005-03-28 Thread Johnny Le
Thanks, Jim.  This helps a lot.

Johnny

 -Original Message-

It's definitely at least a little flakey (which is why I stressed testing
this stuff out first).  It seems to only be an array on a direct access, not
an assignment.  So the following all work fine:

+) IsArray(QueryName[Column]) does indeed return Yes.

+) cfloop from=1 to=#ArrayLen(QueryName[Column])# index=Cnt works
just fine.

+) ArrayToList(QueryName[Column]) gives you a list of all column values
(as would ValueList()).

However you're right: when making an assignment (which, I _think_ CFDump
does internally) you get the value of the first row.

So cfset foo = QueryName[Column] / has the same result as cfset foo =
QueryName.Column /

However things get stranger still because this

cfoutput#QueryName[Column]#/cfoutput

actually results in a error (Complex object types cannot be converted to
simple values.) were this

cfoutput#QueryName.Column#/cfoutput

results in the output of the first cell of the column.

So while you can use the indexed notation reference as an array nearly every
place you can't copy it.  At least not simply - however you CAN duplicate
it!  The following will get you your array:

cfset foo = Duplicate(QueryName[Column]) /

Foo will now be an array of all values in the column.

I'm sure that's not exhaustive, but I hope it at least frames how this works
and further underlines the point to test it out before you rely on it.

Jim Davis

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200209
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Apply CSS to CFChart

2005-03-28 Thread Connie DeCinko
I see that you can apply CSS to Flash Forms in a ColdFusion page.  What
about applying CSS to CFChart objects?  I don't see any documentation for
that and as such must specify the font and font size, etc. for each chart on
the page.
 
 
Constanty Connie DeCinko III
Web Architect, Webmaster, Web Developer
Lone Jet Enterprises
Glendale, Arizona
 http://www.lonejet.com/ www.LoneJet.com
 




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200210
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


REPOST: Determine session timeout setting in CF5 on Linux

2005-03-28 Thread Scott Brady
We have an application that runs on a Linux box (a box we almost never
use, except one client refuses to be on a Windows machine) and is
running CF5.  The application is timing out after 20 minutes, when
it's supposed to be an hour.

When we first got told about this issue, we realized the admin had set
the max session timeout at 20 minutes (which means it overrode the
cfapplication tag, which has it set to 1 hour).

Even after that, the app is timing out after 20 minutes. I've
restarted CF multiple time, and it hasn't helped.  My concern is that
the restart isn't really taking, so I'd like to see if the
application's timeout is indeed an hour and we're just running into
some other issue.

As of now, our only idea is to restart the entire machine, but that's
a bit of an annoying process, because we have to notify another client
who uses that Linux machine for their Single Sign-On and manually
start some processes after the machine starts up, so that can't happen
till next week.

So, to make a long story longer, is there a variable or function which
can output what value CF is using for the current application's
session timeout setting?

Scott
-- 
-
Scott Brady
http://www.scottbrady.net/

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200211
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Empty list for an IN clause

2005-03-28 Thread Ian Skinner
What is the simplest way to handle the possibility of an empty list for an IN 
clause.

For Example:
RDT_MOBLID IN (cfqueryparam value=#valueList(Safetrace.R_MDL_MOBLID)# 
list=yes cfsqltype=cf_sql_varchar)

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200212
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Empty list for an IN clause

2005-03-28 Thread Ian Skinner
Ok, this seems to be working.

RDT_MOBLID IN (cfqueryparam 
value=#listAppend(valueList(Safetrace.R_MDL_MOBLID),'0')# list=yes 
cfsqltype=cf_sql_varchar) AND


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

-Original Message-
From: Ian Skinner
Sent: Monday, March 28, 2005 9:20 AM
To: CF-Talk
Subject: Empty list for an IN clause

What is the simplest way to handle the possibility of an empty list for
an IN clause.

For Example:
RDT_MOBLID IN (cfqueryparam value=#valueList(Safetrace.R_MDL_MOBLID)#
list=yes cfsqltype=cf_sql_varchar)

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200213
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


.CAR Deployment issue CFMX7 new install

2005-03-28 Thread Tony Weeg
hi there.

my .car file is saying that it deployed but no datasources, no
mappings... nothing?

any ideas?

thanks.

-- 
tony

Tony Weeg

macromedia certified coldfusion mx developer
email: tonyweeg [at] gmail [dot] com
blog: http://www.revolutionwebdesign.com/blog/
cool tool: http://www.antiwrap.com

...straight cash homey
- randy moss, now a raider

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200214
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Empty list for an IN clause

2005-03-28 Thread Douglas Knudsen
in your case, perhaps this would suffice

cfif safetrace.recordcount GT 0
RDT_MOBLID IN (cfqueryparam
value=#valueList(Safetrace.R_MDL_MOBLID)# list=yes
cfsqltype=cf_sql_varchar)
/cfif


D
On Mon, 28 Mar 2005 09:19:35 -0800, Ian Skinner
[EMAIL PROTECTED] wrote:
 What is the simplest way to handle the possibility of an empty list for an IN 
 clause.
 
 For Example:
 RDT_MOBLID IN (cfqueryparam value=#valueList(Safetrace.R_MDL_MOBLID)# 
 list=yes cfsqltype=cf_sql_varchar)
 
 --
 Ian Skinner
 Web Programmer
 BloodSource
 www.BloodSource.org
 Sacramento, CA
 
 C code. C code run. Run code run. Please!
 - Cynthia Dunning
 
 Confidentiality Notice:  This message including any
 attachments is for the sole use of the intended
 recipient(s) and may contain confidential and privileged
 information. Any unauthorized review, use, disclosure or
 distribution is prohibited. If you are not the
 intended recipient, please contact the sender and
 delete any copies of this message.
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200215
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFUnited - Where's Macromedia?

2005-03-28 Thread Rick Root
David Epler wrote:
 It is great that Macromedia is allowing several of its employees to speak at 
 CFUnited and they have been doing that for several years now. That does add 
 value to the conference, but is not the same as being a sponsor. With 3 
 months to go, one would have thought they would have been a sponsor well 
 before this point and possibly at a higher level than their competitors.

Well, to be quite honest, why would macromedia NEED to be a sponsor? 
Sponsors become sponsors for the purpose of MARKETING.  I mean, it's not 
like they need to promote themselves to a bunch of coldfusion and flash 
developers.  The conference (CFUNITED) is already very successful and 
doesn't exactly need the support of Macromedia...

  - Rick


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200217
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Empty list for an IN clause

2005-03-28 Thread Sam Farmer
Put the whole clause in a cfif statement:

cfif Safetrace.recordCount
   RDT_MOBLID IN (cfqueryparam
value=#valueList(Safetrace.R_MDL_MOBLID)# list=yes
cfsqltype=cf_sql_varchar)
/cfif

Sam



On Mon, 28 Mar 2005 09:19:35 -0800, Ian Skinner
[EMAIL PROTECTED] wrote:
 What is the simplest way to handle the possibility of an empty list for an IN 
 clause.
 
 For Example:
 RDT_MOBLID IN (cfqueryparam value=#valueList(Safetrace.R_MDL_MOBLID)# 
 list=yes cfsqltype=cf_sql_varchar)
 
 --
 Ian Skinner
 Web Programmer
 BloodSource
 www.BloodSource.org
 Sacramento, CA
 
 C code. C code run. Run code run. Please!
 - Cynthia Dunning
 
 Confidentiality Notice:  This message including any
 attachments is for the sole use of the intended
 recipient(s) and may contain confidential and privileged
 information. Any unauthorized review, use, disclosure or
 distribution is prohibited. If you are not the
 intended recipient, please contact the sender and
 delete any copies of this message.
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200216
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Empty list for an IN clause

2005-03-28 Thread Scott Kellogg
Add null=#yesnoformat(NOT listlen(valuelist(Safetrace.R_MDL_MOBLID)))#

RDT_MOBLID IN (cfqueryparam value=#valueList(Safetrace.R_MDL_MOBLID)#
list=yes cfsqltype=cf_sql_varchar null=#yesnoformat(NOT 
listlen(valuelist(Safetrace.R_MDL_MOBLID)))#)



Ian Skinner wrote:

Ok, this seems to be working.

RDT_MOBLID IN (cfqueryparam 
value=#listAppend(valueList(Safetrace.R_MDL_MOBLID),'0')# list=yes 
cfsqltype=cf_sql_varchar) AND


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

-Original Message-
From: Ian Skinner
Sent: Monday, March 28, 2005 9:20 AM
To: CF-Talk
Subject: Empty list for an IN clause

What is the simplest way to handle the possibility of an empty list for
an IN clause.

For Example:
RDT_MOBLID IN (cfqueryparam value=#valueList(Safetrace.R_MDL_MOBLID)#
list=yes cfsqltype=cf_sql_varchar)

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.







~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200218
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Empty list for an IN clause

2005-03-28 Thread Sam Farmer
That will work fine but if there is an empty list you are asking the
database to search for a clause that you know it will not find. 
Depending on your set up this could cause a performance hit.

Sam


On Mon, 28 Mar 2005 09:27:27 -0800, Ian Skinner
[EMAIL PROTECTED] wrote:
 Ok, this seems to be working.
 
 RDT_MOBLID IN (cfqueryparam 
 value=#listAppend(valueList(Safetrace.R_MDL_MOBLID),'0')# list=yes 
 cfsqltype=cf_sql_varchar) AND
 
 
 --
 Ian Skinner
 Web Programmer
 BloodSource
 www.BloodSource.org
 Sacramento, CA
 
 C code. C code run. Run code run. Please!
 - Cynthia Dunning
 
 -Original Message-
 From: Ian Skinner
 Sent: Monday, March 28, 2005 9:20 AM
 To: CF-Talk
 Subject: Empty list for an IN clause
 
 What is the simplest way to handle the possibility of an empty list for
 an IN clause.
 
 For Example:
 RDT_MOBLID IN (cfqueryparam value=#valueList(Safetrace.R_MDL_MOBLID)#
 list=yes cfsqltype=cf_sql_varchar)
 
 --
 Ian Skinner
 Web Programmer
 BloodSource
 www.BloodSource.org
 Sacramento, CA
 
 C code. C code run. Run code run. Please!
 - Cynthia Dunning
 
 Confidentiality Notice:  This message including any
 attachments is for the sole use of the intended
 recipient(s) and may contain confidential and privileged
 information. Any unauthorized review, use, disclosure or
 distribution is prohibited. If you are not the
 intended recipient, please contact the sender and
 delete any copies of this message.
 
 
 
 
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200219
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Empty list for an IN clause

2005-03-28 Thread Ian Skinner
Tried that, it still threw an error, since IN (NULL) I believe is not valid 
SQL syntax.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

-Original Message-
From: Scott Kellogg [mailto:[EMAIL PROTECTED]
Sent: Monday, March 28, 2005 9:44 AM
To: CF-Talk
Subject: Re: Empty list for an IN clause

Add null=#yesnoformat(NOT listlen(valuelist(Safetrace.R_MDL_MOBLID)))#

RDT_MOBLID IN (cfqueryparam value=#valueList(Safetrace.R_MDL_MOBLID)#
list=yes cfsqltype=cf_sql_varchar null=#yesnoformat(NOT
listlen(valuelist(Safetrace.R_MDL_MOBLID)))#)



Ian Skinner wrote:

Ok, this seems to be working.

RDT_MOBLID IN (cfqueryparam
value=#listAppend(valueList(Safetrace.R_MDL_MOBLID),'0')# list=yes
cfsqltype=cf_sql_varchar) AND


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

C code. C code run. Run code run. Please!
- Cynthia Dunning

-Original Message-
From: Ian Skinner
Sent: Monday, March 28, 2005 9:20 AM
To: CF-Talk
Subject: Empty list for an IN clause

What is the simplest way to handle the possibility of an empty list
for
an IN clause.

For Example:
RDT_MOBLID IN (cfqueryparam
value=#valueList(Safetrace.R_MDL_MOBLID)#
list=yes cfsqltype=cf_sql_varchar)

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.









~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200220
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Empty list for an IN clause

2005-03-28 Thread Ian Skinner
I thought of that, but I need the query to return no records, and because of 
other statements in the where clause, this would cause the query to return all 
records.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

-Original Message-
From: Sam Farmer [mailto:[EMAIL PROTECTED]
Sent: Monday, March 28, 2005 9:37 AM
To: CF-Talk
Subject: Re: Empty list for an IN clause

Put the whole clause in a cfif statement:

cfif Safetrace.recordCount
   RDT_MOBLID IN (cfqueryparam
value=#valueList(Safetrace.R_MDL_MOBLID)# list=yes
cfsqltype=cf_sql_varchar)
/cfif

Sam



On Mon, 28 Mar 2005 09:19:35 -0800, Ian Skinner
[EMAIL PROTECTED] wrote:
 What is the simplest way to handle the possibility of an empty list for
an IN clause.

 For Example:
 RDT_MOBLID IN (cfqueryparam
value=#valueList(Safetrace.R_MDL_MOBLID)# list=yes
cfsqltype=cf_sql_varchar)

 --
 Ian Skinner
 Web Programmer
 BloodSource
 www.BloodSource.org
 Sacramento, CA

 C code. C code run. Run code run. Please!
 - Cynthia Dunning

 Confidentiality Notice:  This message including any
 attachments is for the sole use of the intended
 recipient(s) and may contain confidential and privileged
 information. Any unauthorized review, use, disclosure or
 distribution is prohibited. If you are not the
 intended recipient, please contact the sender and
 delete any copies of this message.





~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200221
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


OT- Reseller CFMX hosting

2005-03-28 Thread Asim Manzur
Is there  any hosting service available for coldfusion which offers
some sort of refferal service.

i.e. receive some % on your refferal hosting a/c.

-- 
Regards,

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200222
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


redirection/user authentication

2005-03-28 Thread Jack Benson
Hey, folks. Having a bit of trouble setting up a basic application based user 
authentication on my site. I keep getting an error in mozilla-based browers, 
redirection limit for this URL exceeded, that sort of thing. In IE, it just 
won't load at all - eventually gives me a server unavailable error. 

I've been browsing through forum posts on this sort of problem, and it seems 
it's sometimes related to cflocation, though I haven't been able to find any 
sort of clear explanation. 

Anyway, here's my application.cfm code:

cfsetting showdebugoutput=no
cfapplication name=02133 sessionmanagement=Yes setclientcookies=Yes 
applicationtimeout=#CreateTimeSpan(0,0,3,0)#
cfparam Name=Application.DSN Default=MassInc2
cfparam name=Request.Debug default=

cfparam Name=Application.SearchCollectionName Default=02133



!--- check if user has logged out ---
   cfif IsDefined(Form.logout)
  cflogout
  cflocation url=/index.cfm
   /cfif

!--- check if user is logged in ---
cfset referrer = GetFileFromPath(CGI.Path_info)
cfif  referrer neq login.cfm
  cfif NOT IsDefined(cflogin)
cflocation url=login.cfm
 cfabort
/cfif
/cfif


What I'm looking for this to do is, if a user hasn't been logged in, send them 
along to login.cfm - unless, of course, they're already there. 

Any idea why I'm getting this redirection limit error when I try to call up any 
of the pages in this application?

Thanks!

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200223
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Empty list for an IN clause

2005-03-28 Thread Marius Milosav
try this:

cfset mdlList = valueList (Safetrace.R_MDL_MOBLID)
cfif listLen (mdlList) gt 0
run your normal query
cfelse
select * from your table
where 0 = 1

/cfif

Marius Milosav
www.scorpiosoft.com
It's not about Technology, it's about people
Virtual Company (VICO) Application demo
www.scorpiosoft.com/vicodemo/login.cfm
- Original Message - 
From: Ian Skinner [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, March 28, 2005 12:51 PM
Subject: RE: Empty list for an IN clause


 I thought of that, but I need the query to return no records, and because
of other statements in the where clause, this would cause the query to
return all records.


 --
 Ian Skinner
 Web Programmer
 BloodSource
 www.BloodSource.org
 Sacramento, CA

 C code. C code run. Run code run. Please!
 - Cynthia Dunning

 -Original Message-
 From: Sam Farmer [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 28, 2005 9:37 AM
 To: CF-Talk
 Subject: Re: Empty list for an IN clause
 
 Put the whole clause in a cfif statement:
 
 cfif Safetrace.recordCount
    RDT_MOBLID IN (cfqueryparam
 value=#valueList(Safetrace.R_MDL_MOBLID)# list=yes
 cfsqltype=cf_sql_varchar)
 /cfif
 
 Sam
 
 
 
 On Mon, 28 Mar 2005 09:19:35 -0800, Ian Skinner
 [EMAIL PROTECTED] wrote:
  What is the simplest way to handle the possibility of an empty list
for
 an IN clause.
 
  For Example:
  RDT_MOBLID IN (cfqueryparam
 value=#valueList(Safetrace.R_MDL_MOBLID)# list=yes
 cfsqltype=cf_sql_varchar)
 
  --
  Ian Skinner
  Web Programmer
  BloodSource
  www.BloodSource.org
  Sacramento, CA
 
  C code. C code run. Run code run. Please!
  - Cynthia Dunning
 
  Confidentiality Notice:  This message including any
  attachments is for the sole use of the intended
  recipient(s) and may contain confidential and privileged
  information. Any unauthorized review, use, disclosure or
  distribution is prohibited. If you are not the
  intended recipient, please contact the sender and
  delete any copies of this message.
 
 
 
 

 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200224
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: OT- Reseller CFMX hosting

2005-03-28 Thread Michael T. Tangorre
HostMySite has a nice reseller plan. You have to manage the accounts you
sell though. The upside is that you buy them at ~30% less than non-reseller
accounts so your ability to make some $$ is there. However, I have found
that managing hosting is not worth the time :-)

 -Original Message-
 From: Asim Manzur [mailto:[EMAIL PROTECTED] 
 Sent: Monday, March 28, 2005 12:59 PM
 To: CF-Talk
 Subject: OT- Reseller CFMX hosting
 
 Is there  any hosting service available for coldfusion which offers
 some sort of refferal service.
 
 i.e. receive some % on your refferal hosting a/c.
 
 -- 
 Regards,
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200225
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Setting up MySql Data Source

2005-03-28 Thread Eric Creese
I just loaded MySql to my development machine. I have MySql up and running and 
even created the database I will be using. I am trying to set up a DSN in 
CFAdmin but it keeps failing. Since this is a non-server machine do I have to 
change the port?

my error

Connection verification failed for data source: bvhdku
[]java.sql.SQLException: SQLException occurred in JDBCPool while attempting to 
connect, please check your username, password, URL, and other connectivity info.
The root cause was that: java.sql.SQLException: SQLException occurred in 
JDBCPool while attempting to connect, please check your username, password, 
URL, and other connectivity info

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200226
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Setting up MySql Data Source

2005-03-28 Thread Eric Creese
Actually I checked the port at 3306 and that appears fine. I am using
localhost for the server setting? Should I use something else?

 I just loaded MySql to my development machine. I have MySql up and running
and even created the database I will be using. I am trying to set up a DSN
in CFAdmin but it keeps failing. Since this is a non-server machine do I
have to change the port?

 my error

 Connection verification failed for data source: bvhdku
 []java.sql.SQLException: SQLException occurred in JDBCPool while
attempting to connect, please check your username, password, URL, and other
connectivity info.
 The root cause was that: java.sql.SQLException: SQLException occurred in
JDBCPool while attempting to connect, please check your username, password,
URL, and other connectivity info

 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200227
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: OT- Reseller CFMX hosting

2005-03-28 Thread Connie DeCinko
CrystalTech offers both referral fees and discounts to resellers.
 

-Original Message-
From: Asim Manzur [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 10:59 AM
To: CF-Talk
Subject: OT- Reseller CFMX hosting

Is there  any hosting service available for coldfusion which offers
some sort of refferal service.

i.e. receive some % on your refferal hosting a/c.

-- 
Regards,



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200228
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: just noticed this when validating email

2005-03-28 Thread Rebecca Wells
Rick, I understand where you're coming from. Years ago I really struggled with 
learning Javascript. I hated it and really resisted it, but realized that it is 
an inescapably valuable toolset for a web developer. So I perservered and now 
I'm pretty good at it. Books that I recommend include Visual Quickstart Guide 
titled JavaScript For The World Wide Web by Tom Netrino and Dori Smith. It's 
a cookbook style of book that makes it very easy to learn as you go. I also 
highly recommend the Javascript Bible to use as a reference. Another 
invaluable tool is to use the Javascript console in FireFox to help you in 
debugging your code.

HTH. Good luck, and happy scripting!


Nice Barney...I a total JavaScript novice, but I'll have a go
at implementing this.

I'm very interested RIA's and have tried with Flash with
each version that comes out...but I just hate the interface,
even with the enhancements for developers in 2004.

Perhaps I should just bite the bullet and learn JavaScript...

If I were embarking on learning JavaScript without any knowledge
of it, what resource would you recommend I use?
Is there a JavaScript for Dummies type resource out there?

Thanks for the insight!

Rick


-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 26, 2005 2:56 PM
To: CF-Talk
Subject: Re: just noticed this when validating email


Yeah, the file fields was me too.

You don't do a server request, you do it all client-side with
javascript.  I didn't test this, but here's the general idea:

InvalidTag type=text/javascript
  window.emailFieldCount = 1;
  function addField() {
var div = document.getElementById(fieldContainer);
div.innerHTML += 'input name=email' + ++window.emailFieldCount +
' /br /';
  }
/script
div id=fieldContainer
 input name=email1 /br /
/div
a href=javascript:addField();add field/a

Walking through the code, we've got a single field hard coded in the
page, along with a field count stored in a variable
(window.emailFieldCount), which is initalized to one (because of the
one hard coded field).  When you click the 'add field' link, the
addField() function is called, which find the div that contains the
input fields, and adds another field to the end, incrementing the
field count variable and using it to set the field name to be unique.
I've opted to use innerHTML rather than the DOM for appending the
fields for simplicity's sake; either should work.

This is a first little window into building javascript RIAs, where the
entire app no longer resides on the server, but part of the UI
controller has moved to the client.

cheers,
barneyb

On Sat, 26 Mar 2005 14:01:16 -0500, Rick Faircloth
[EMAIL PROTECTED] wrote:

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200229
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: redirection/user authentication

2005-03-28 Thread Connie DeCinko
Instead of doing a CFLocation, do a CFInclude.  This will replace the
current page's contents with your login page.


cflogin idletimeout=29
cfif not IsDefined(cflogin)
cfinclude template=loginform.cfm
cfabort

cfelse
!---Invoke dbsecurity CFC ---
cfscript
//Instantiate the component

dbauth=createobject(component,components.Security);

authenticated=dbauth.authenticateUser(username=cflogin.name,password=cflogin
..password);
/cfscript

cfif authenticated!--- if true get roles else invalid
login ---
cfset roles=dbauth.getUserRoles(cflogin.name)
cfloginuser name=#cflogin.name#
password=#cflogin.password# roles=#roles#
cfset session.displayroles=roles!--- for
displaying roles only ---
cfelse
cfset loginmessage=Invalid Login
cfinclude template=loginform.cfm
cfabort
/cfif
/cfif
/cflogin

 

-Original Message-
From: Jack Benson [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 10:04 AM
To: CF-Talk
Subject: redirection/user authentication

Hey, folks. Having a bit of trouble setting up a basic application based
user authentication on my site. I keep getting an error in mozilla-based
browers, redirection limit for this URL exceeded, that sort of thing. In
IE, it just won't load at all - eventually gives me a server unavailable
error. 

I've been browsing through forum posts on this sort of problem, and it seems
it's sometimes related to cflocation, though I haven't been able to find any
sort of clear explanation. 

Anyway, here's my application.cfm code:

cfsetting showdebugoutput=no
cfapplication name=02133 sessionmanagement=Yes setclientcookies=Yes
applicationtimeout=#CreateTimeSpan(0,0,3,0)#
cfparam Name=Application.DSN Default=MassInc2
cfparam name=Request.Debug default=

cfparam Name=Application.SearchCollectionName Default=02133



!--- check if user has logged out ---
   cfif IsDefined(Form.logout)
  cflogout
  cflocation url=/index.cfm
   /cfif

!--- check if user is logged in ---
cfset referrer = GetFileFromPath(CGI.Path_info)
cfif  referrer neq login.cfm
  cfif NOT IsDefined(cflogin)
cflocation url=login.cfm
 cfabort
/cfif
/cfif


What I'm looking for this to do is, if a user hasn't been logged in, send
them along to login.cfm - unless, of course, they're already there. 

Any idea why I'm getting this redirection limit error when I try to call up
any of the pages in this application?

Thanks!



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200230
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: redirection/user authentication

2005-03-28 Thread George Abraham
The redirection is going into an infinite loop. IE gives that error
because it is hiding that info from the user. I would revisit the code
to see where exactly you are making sure the user is logged in. That
is usually the place where this error occurs. It is definitely a
checking error.

George

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200231
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Read a scheduled task's settings?

2005-03-28 Thread Jim McAtee
CF5/IIS5

Is there an easy way to read the current settings of a scheduled task?  I 
have a scheduled task that I suspend and unsuspend by changing its start 
date to a date in the future or in the past.  But I have no way of telling 
what its current state is.

cfregistry?


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200232
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: redirection/user authentication

2005-03-28 Thread S . Isaac Dealey
Hi Jack,

The choice of referrer for your file name variable seems like it
might be a bit confusing -- since it's not actually a referrer until
you've directed the user to the next page, which occurs after the
variable is set. I'd change it to currentlocation or similar to
avoid that confusion, although that's not going to help with your
problem...

I also don't see the variable cflogin declared anywhere above that
portion of your Application.cfm and as a result, cfif not
isDefined(cflogin) will always evaluate true and redirect the user.
I don't think it will hurt anything for it to be in the
Application.cfm, it just won't have any effect on the page.

You might want to try using cgi.script_name instead of cgi.path_info.
I can't remember the specific circumstances, but I do know I've seen
them not be the same value and iirc when they weren't the same,
path_info was actually an empty string, so it could be that the value
of referrer is  even when the template being called is in fact
login.cfm -- or better yet don't rely on the cgi variables at all and
use getBaseTemplatePath() instead.

hth

 Hey, folks. Having a bit of trouble setting up a basic
 application based user authentication on my site. I keep
 getting an error in mozilla-based browers, redirection
 limit for this URL exceeded, that sort of thing. In IE,
 it just won't load at all - eventually gives me a server
 unavailable error.

 I've been browsing through forum posts on this sort of
 problem, and it seems it's sometimes related to
 cflocation, though I haven't been able to find any sort of
 clear explanation.

 Anyway, here's my application.cfm code:

 cfsetting showdebugoutput=no
 cfapplication name=02133 sessionmanagement=Yes
 setclientcookies=Yes
 applicationtimeout=#CreateTimeSpan(0,0,3,0)#
 cfparam Name=Application.DSN Default=MassInc2
 cfparam name=Request.Debug default=

 cfparam Name=Application.SearchCollectionName
 Default=02133



 !--- check if user has logged out ---
cfif IsDefined(Form.logout)
   cflogout
 cflocation url=/index.cfm
/cfif

 !--- check if user is logged in ---
 cfset referrer = GetFileFromPath(CGI.Path_info)
 cfif  referrer neq login.cfm
   cfif NOT IsDefined(cflogin)
   cflocation url=login.cfm
cfabort
   /cfif
 /cfif


 What I'm looking for this to do is, if a user hasn't been
 logged in, send them along to login.cfm - unless, of
 course, they're already there.

 Any idea why I'm getting this redirection limit error when
 I try to call up any of the pages in this application?

 Thanks!


s. isaac dealey   954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://macromedia.breezecentral.com/p49777853/
http://www.sys-con.com/author/?id=4806
http://www.fusiontap.com



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200233
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFUnited - Where's Macromedia?

2005-03-28 Thread Calvin Ward
It shows investment in the community, which in turn can be a marketing plus.

I think it has worked well for Sun...

- Calvin

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 12:38 PM
To: CF-Talk
Subject: Re: CFUnited - Where's Macromedia?

David Epler wrote:
 It is great that Macromedia is allowing several of its employees to speak
at CFUnited and they have been doing that for several years now. That does
add value to the conference, but is not the same as being a sponsor. With 3
months to go, one would have thought they would have been a sponsor well
before this point and possibly at a higher level than their competitors.

Well, to be quite honest, why would macromedia NEED to be a sponsor? 
Sponsors become sponsors for the purpose of MARKETING.  I mean, it's not 
like they need to promote themselves to a bunch of coldfusion and flash 
developers.  The conference (CFUNITED) is already very successful and 
doesn't exactly need the support of Macromedia...

  - Rick




~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200234
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFUnited - Where's Macromedia?

2005-03-28 Thread Adrocknaphobia
I agree with Rick. Who cares if MM is sponsoring the conference? In
fact I'd rather they not, so it stays focused solely on CF. Afterall
if you want demos of all the MM products go to MAX. This conference is
aimed at CF developers. MM is sending a bunch of great speakers so
lets be happy with that and not delve deeper in this possibly being a
sign of a hostile Microsoft takeover.

-Adam


On Mon, 28 Mar 2005 12:38:29 -0500, Rick Root [EMAIL PROTECTED] wrote:
 David Epler wrote:
  It is great that Macromedia is allowing several of its employees to speak 
  at CFUnited and they have been doing that for several years now. That does 
  add value to the conference, but is not the same as being a sponsor. With 3 
  months to go, one would have thought they would have been a sponsor well 
  before this point and possibly at a higher level than their competitors.
 
 Well, to be quite honest, why would macromedia NEED to be a sponsor?
 Sponsors become sponsors for the purpose of MARKETING.  I mean, it's not
 like they need to promote themselves to a bunch of coldfusion and flash
 developers.  The conference (CFUNITED) is already very successful and
 doesn't exactly need the support of Macromedia...
 
  - Rick
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200235
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: redirection/user authentication

2005-03-28 Thread Jack Benson
So I've now taken out the cflocation tag, and replaced it with this:

cfsetting showdebugoutput=no
cfapplication name=02133 sessionmanagement=Yes setclientcookies=Yes 
applicationtimeout=#CreateTimeSpan(0,0,3,0)#
cfparam Name=Application.DSN Default=MassInc2
!--// set this equal to your IP address if yyou want to enter live debugging 
mode //---
cfparam name=Request.Debug default=

cfparam Name=Application.SearchCollectionName Default=02133



!--- check if user has logged out ---
   cfif IsDefined(Form.logout)
  cflogout
  cflocation url=/index.cfm
   /cfif

!--- check if user is logged in ---
cfset referrer = GetFileFromPath(CGI.Path_info)
cfif  referrer neq login.cfm
  cfif NOT IsDefined(cflogin)
cfinclude template=login.cfm
 cfabort
/cfif
/cfif

I'm still getting the redirection limit exceeded problem even when I'm trying 
to load the login.cfm file - which ostensibly should mean that that last bit of 
code doesn't even run. This does seem like some sort of infite loop, but I 
can't figure out where it's located, now that I've taken out the cflocate tag.

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200236
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: just noticed this when validating email

2005-03-28 Thread Matt Osbun
Rick- yes, there is a Javascript For Dummies.  

I first encountered JavaScript using Thau's JavaScript Tutorial at
Webmonkey.  Might want to give it a try- it's a good first brush kind of
thing.
http://webmonkey.wired.com/webmonkey/programming/javascript/tutorials/tu
torial1.html

Matt Osbun
Web Developer
Health Systems, International


Nice Barney...I a total JavaScript novice, but I'll have a go at 
implementing this.

I'm very interested RIA's and have tried with Flash with
each version that comes out...but I just hate the interface, even with 
the enhancements for developers in 2004.

Perhaps I should just bite the bullet and learn JavaScript...

If I were embarking on learning JavaScript without any knowledge of it,

what resource would you recommend I use? Is there a JavaScript for 
Dummies type resource out there?

Thanks for the insight!

Rick

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200237
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: just noticed this when validating email

2005-03-28 Thread Rick Faircloth
Thanks for the tip, Rebecca.

I'll check those out and perhaps start cooking up some
Javascript stew...coming from a Cold-Fusion-was-my-introduction-
to-modern-programming point-of-view, Javascript and even Actionscript
look alien...so unintuitive.  I realize, however, that that's probably
mostly due to my lack of familiarity.

I just need something that will hold my hand for awhile.  Sounds like
perhaps the Visual Quickstart Guide might do the trick...explain a
few basics, then show me how to do something useful with what I know...

Rick


-Original Message-
From: Rebecca Wells [mailto:[EMAIL PROTECTED]
Sent: Monday, March 28, 2005 12:16 PM
To: CF-Talk
Subject: Re: just noticed this when validating email


Rick, I understand where you're coming from. Years ago I really struggled
with learning Javascript. I hated it and really resisted it, but realized
that it is an inescapably valuable toolset for a web developer. So I
perservered and now I'm pretty good at it. Books that I recommend include
Visual Quickstart Guide titled JavaScript For The World Wide Web by Tom
Netrino and Dori Smith. It's a cookbook style of book that makes it very
easy to learn as you go. I also highly recommend the Javascript Bible to
use as a reference. Another invaluable tool is to use the Javascript console
in FireFox to help you in debugging your code.

HTH. Good luck, and happy scripting!


Nice Barney...I a total JavaScript novice, but I'll have a go
at implementing this.

I'm very interested RIA's and have tried with Flash with
each version that comes out...but I just hate the interface,
even with the enhancements for developers in 2004.

Perhaps I should just bite the bullet and learn JavaScript...

If I were embarking on learning JavaScript without any knowledge
of it, what resource would you recommend I use?
Is there a JavaScript for Dummies type resource out there?

Thanks for the insight!

Rick


-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 26, 2005 2:56 PM
To: CF-Talk
Subject: Re: just noticed this when validating email


Yeah, the file fields was me too.

You don't do a server request, you do it all client-side with
javascript.  I didn't test this, but here's the general idea:

InvalidTag type=text/javascript
  window.emailFieldCount = 1;
  function addField() {
var div = document.getElementById(fieldContainer);
div.innerHTML += 'input name=email' + ++window.emailFieldCount +
' /br /';
  }
/script
div id=fieldContainer
 input name=email1 /br /
/div
a href=javascript:addField();add field/a

Walking through the code, we've got a single field hard coded in the
page, along with a field count stored in a variable
(window.emailFieldCount), which is initalized to one (because of the
one hard coded field).  When you click the 'add field' link, the
addField() function is called, which find the div that contains the
input fields, and adds another field to the end, incrementing the
field count variable and using it to set the field name to be unique.
I've opted to use innerHTML rather than the DOM for appending the
fields for simplicity's sake; either should work.

This is a first little window into building javascript RIAs, where the
entire app no longer resides on the server, but part of the UI
controller has moved to the client.

cheers,
barneyb

On Sat, 26 Mar 2005 14:01:16 -0500, Rick Faircloth
[EMAIL PROTECTED] wrote:

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200238
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: just noticed this when validating email

2005-03-28 Thread Joe Rinehart
 cfif getquery.theID EQ blablah
 do this
 /cfif
 
 The same thing in JS goes somethin like this.

if (getquery.theId == blablah) {
  doThis();
}

Seems similar to me :)

Symbollic language is powerful in that it gives those who speak it a
common vocabulary that lets them express like ideas without having to
memorize identical phrases.  There may be a number of different ways
to communicate what ++ does, but we all know the concept of what it
does, translation aside.

-Joe

-- 
For Tabs, Trees, and more, use the jComponents:
http://clearsoftware.net/client/jComponents.cfm

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200239
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: redirection/user authentication

2005-03-28 Thread Jack Benson
I've tried a few more of the changes you guys suggested here:

!--- check if user is logged in ---
cfset currentlocation = GetFileFromPath(getBaseTemplatePath())
cfif  currentlocation neq login.cfm
  cfif GetAuthUser() eq 
cfinclude template=login.cfm
 cfabort
/cfif
/cfif

I've got the variable renamed (you're right, it is more clear this way). 
Instead of relying on a cflogin variable, I'm checking to see whether a user 
has been logged in with the GetAuthUser() function. I'm using the alternate 
method you suggested to get the file info. And I've got the cfinclude instead 
of cflocation. But I'm still getting the redirection limit exceeded error.

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200240
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Setting up MySql Data Source

2005-03-28 Thread Matt Osbun
I ran into this problem a few months ago, unfortunately at a previous
job, so I don't have access to all my documents/notes/DL'd files for
fixing this.
Basically though, if you are using a version of MySQL later than (I
think) 4.0, you may need to download a different connector than what
CF6.1 provides pre-packaged.  
Try downloading the lastest from
http://dev.mysql.com/downloads/connector/ and following the instructions
at http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19170

Hope this helps

Matt Osbun
Web Developer
Health Systems, International



-Original Message-
From: Eric Creese [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 1:12 PM
To: CF-Talk
Subject: Re: Setting up MySql Data Source


Actually I checked the port at 3306 and that appears fine. I am using
localhost for the server setting? Should I use something else?

 I just loaded MySql to my development machine. I have MySql up and 
 running
and even created the database I will be using. I am trying to set up a
DSN in CFAdmin but it keeps failing. Since this is a non-server machine
do I have to change the port?

 my error

 Connection verification failed for data source: bvhdku
 []java.sql.SQLException: SQLException occurred in JDBCPool while
attempting to connect, please check your username, password, URL, and
other connectivity info.
 The root cause was that: java.sql.SQLException: SQLException occurred 
 in
JDBCPool while attempting to connect, please check your username,
password, URL, and other connectivity info

 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200241
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT- Reseller CFMX hosting

2005-03-28 Thread Rick Root
Michael T. Tangorre wrote:
 HostMySite has a nice reseller plan. You have to manage the accounts you
 sell though. The upside is that you buy them at ~30% less than non-reseller
 accounts so your ability to make some $$ is there. However, I have found
 that managing hosting is not worth the time :-)

Ditto that.  Plus, hostmysite's control panel is one of the worst I've 
ever seen (okay, I haven't seen their exact control panel, but I suspect 
it's very similar to the one that their sister company 
www.smarterlinux.com uses)

  - Rick


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200242
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: just noticed this when validating email

2005-03-28 Thread Rick Faircloth
Thanks, Matt...I'll check it out.

Rick

-Original Message-
From: Matt Osbun [mailto:[EMAIL PROTECTED]
Sent: Monday, March 28, 2005 1:35 PM
To: CF-Talk
Subject: RE: just noticed this when validating email


Rick- yes, there is a Javascript For Dummies.

I first encountered JavaScript using Thau's JavaScript Tutorial at
Webmonkey.  Might want to give it a try- it's a good first brush kind of
thing.
http://webmonkey.wired.com/webmonkey/programming/javascript/tutorials/tu
torial1.html

Matt Osbun
Web Developer
Health Systems, International


Nice Barney...I a total JavaScript novice, but I'll have a go at
implementing this.

I'm very interested RIA's and have tried with Flash with
each version that comes out...but I just hate the interface, even with
the enhancements for developers in 2004.

Perhaps I should just bite the bullet and learn JavaScript...

If I were embarking on learning JavaScript without any knowledge of it,

what resource would you recommend I use? Is there a JavaScript for
Dummies type resource out there?

Thanks for the insight!

Rick



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200243
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFUnited - Where's Macromedia?

2005-03-28 Thread Paul Kenney
Microsoft's taking over Macromedai!? Oh no, not again!  I don't how
many times I can take it!

In all seriousness, I think this discussion should either end or go
over to cf-community.

-- 
Paul Kenney
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.pjk.us

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200244
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Ordering WACK from Amazon (Arrival Date)

2005-03-28 Thread Tim Claremont
My order from Amazon, as of this morning, still says anticipated arrival of 
June 2 - June 4, 2005.



Having said all that, what's with the Amazon ship date? I ordered two copies
of the first one!

- Calvin

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200245
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: just noticed this when validating email

2005-03-28 Thread Rick Faircloth
Agreed...I guess the thing that causes me to hesitate is
that I usually experience seeing Javascript on this list.
Of course, what I see here is far beyond beginner stuff, usually.

It's not so much that I don't think I can learn it, or climb
the learning curve as much as do I have time away from
CF coding that makes money now to dedicate to JS, which
I don't have much call for with the low-level CF work I do now,
which is basically building update, delete, and addition functions
for website calendars, announcements, photos galleries, etc.

I'm an independent web designer/programmer/trash-taker-outer,
so there's no one around demanding functionality that would
demand JS, so I just don't take the time.

I need some 2-minute tutorials that, within a few lessons,
can give me something practical to use.

As far as future jobs with web design...I don't have any kind
of computer programming or technical degrees, so without
credentials, I'd never be hired by a company that required JS, anyway.

I'm just looking at how practical it is to learn and implement JS.
I do love a good challenge, however...get the blood pumping!

Rick

-Original Message-
From: Joe Rinehart [mailto:[EMAIL PROTECTED]
Sent: Monday, March 28, 2005 1:40 PM
To: CF-Talk
Subject: Re: just noticed this when validating email


 cfif getquery.theID EQ blablah
 do this
 /cfif
 
 The same thing in JS goes somethin like this.

if (getquery.theId == blablah) {
  doThis();
}

Seems similar to me :)

Symbollic language is powerful in that it gives those who speak it a
common vocabulary that lets them express like ideas without having to
memorize identical phrases.  There may be a number of different ways
to communicate what ++ does, but we all know the concept of what it
does, translation aside.

-Joe




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200246
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


How to Check if 1st character is a quote?

2005-03-28 Thread Paul Henderson
I want to run a simple check to see if a string's 1st character is an open
quote (), usually I would try something like:

cfif Left(Form.Test, 1) IS x)

but if x =  (quote) I will get a syntax error, how can I get around this?

Thanks for the help.
-Paul


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200247
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: redirection/user authentication

2005-03-28 Thread Ben Doom
I would try looking both at the application.cfm file and any files that 
might get called (like login.cfm) and replacing all the cflocations with 
a simple printout of the conditions under which they are relocating (ie 
from application to index.cfm because x).

That should at least help you track down the location of the .. er.. 
location.

--Ben

Jack Benson wrote:
 I've tried a few more of the changes you guys suggested here:
 
 !--- check if user is logged in ---
 cfset currentlocation = GetFileFromPath(getBaseTemplatePath())
 cfif  currentlocation neq login.cfm
   cfif GetAuthUser() eq 
   cfinclude template=login.cfm
cfabort
   /cfif
 /cfif
 
 I've got the variable renamed (you're right, it is more clear this way). 
 Instead of relying on a cflogin variable, I'm checking to see whether a user 
 has been logged in with the GetAuthUser() function. I'm using the alternate 
 method you suggested to get the file info. And I've got the cfinclude instead 
 of cflocation. But I'm still getting the redirection limit exceeded error.
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200248
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: How to Check if 1st character is a quote?

2005-03-28 Thread S . Isaac Dealey
quotes are escaped by doubling them:

left(form.test,1) is )

or use the other set of quotes

left(form.test,1) is '')

either should work

 I want to run a simple check to see if a string's 1st
 character is an open
 quote (), usually I would try something like:

 cfif Left(Form.Test, 1) IS x)

 but if x =  (quote) I will get a syntax error, how can I
 get around this?

 Thanks for the help.


s. isaac dealey   954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://macromedia.breezecentral.com/p49777853/
http://www.sys-con.com/author/?id=4806
http://www.fusiontap.com



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200249
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: redirection/user authentication

2005-03-28 Thread Dawson, Michael
CFDUMP every scope as well. 

M!ke

-Original Message-
From: Ben Doom [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 1:08 PM
To: CF-Talk
Subject: Re: redirection/user authentication

I would try looking both at the application.cfm file and any files that
might get called (like login.cfm) and replacing all the cflocations with
a simple printout of the conditions under which they are relocating (ie
from application to index.cfm because x).

That should at least help you track down the location of the .. er.. 
location.

--Ben

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200250
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Setting up MySql Data Source

2005-03-28 Thread Ken Ferguson
Go to mysql and download the ConnectorJ. I've found that to be the only
really reliable connection method.

-Original Message-
From: Matt Osbun [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 12:42 PM
To: CF-Talk
Subject: RE: Setting up MySql Data Source

I ran into this problem a few months ago, unfortunately at a previous
job, so I don't have access to all my documents/notes/DL'd files for
fixing this.
Basically though, if you are using a version of MySQL later than (I
think) 4.0, you may need to download a different connector than what
CF6.1 provides pre-packaged.  
Try downloading the lastest from
http://dev.mysql.com/downloads/connector/ and following the instructions
at http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19170

Hope this helps

Matt Osbun
Web Developer
Health Systems, International



-Original Message-
From: Eric Creese [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 1:12 PM
To: CF-Talk
Subject: Re: Setting up MySql Data Source


Actually I checked the port at 3306 and that appears fine. I am using
localhost for the server setting? Should I use something else?

 I just loaded MySql to my development machine. I have MySql up and 
 running
and even created the database I will be using. I am trying to set up a
DSN in CFAdmin but it keeps failing. Since this is a non-server machine
do I have to change the port?

 my error

 Connection verification failed for data source: bvhdku
 []java.sql.SQLException: SQLException occurred in JDBCPool while
attempting to connect, please check your username, password, URL, and
other connectivity info.
 The root cause was that: java.sql.SQLException: SQLException occurred 
 in
JDBCPool while attempting to connect, please check your username,
password, URL, and other connectivity info

 





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200251
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: How to Check if 1st character is a quote?

2005-03-28 Thread Dave Carabetta
On Mon, 28 Mar 2005 14:09:55 -0500, Paul Henderson [EMAIL PROTECTED] wrote:
 I want to run a simple check to see if a string's 1st character is an open
 quote (), usually I would try something like:
 
 cfif Left(Form.Test, 1) IS x)
 
 but if x =  (quote) I will get a syntax error, how can I get around this?
 

Couldn't you just do:

cfif Left(Form.Test, 1) IS '')

(The double quote is surrounding by single quotes rather than another
set of double quotes).

Regards,
Dave.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200252
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: redirection/user authentication

2005-03-28 Thread Jack Benson
Ben - tried that as well. Login.cfm doesn't have any cflocation tags in it, and 
I've now removed all of them from the application.cfm file - but I'm still 
getting that URL redirection exceeded problem. 

Here's the whole file again, as altered:

cfsetting showdebugoutput=no
cfapplication name=02133 sessionmanagement=Yes setclientcookies=Yes 
applicationtimeout=#CreateTimeSpan(0,0,3,0)#
cfparam Name=Application.DSN Default=MassInc2
!--// set this equal to your IP address if yyou want to enter live debugging 
mode //---
cfparam name=Request.Debug default=

cfparam Name=Application.SearchCollectionName Default=02133



!--- check if user has logged out ---
   cfif IsDefined(Form.logout)
  cflogout
   /cfif

!--- check if user is logged in ---
cfset currentlocation = GetFileFromPath(getBaseTemplatePath())
cfif  currentlocation neq login.cfm
  cfif GetAuthUser() eq 
cfinclude template=login.cfm
 cfabort
/cfif
/cfif


Login.cfm is just a simple form, which on submission goes to a login2.cfm page 
with the cflogin code. But I'm getting stopped before I can start to load 
login.cfm. 

My knowledge gets more than fuzzy when you start getting into sessions and 
cookies and such - is there a problem with the code I've got at the top of my 
application.cfm file? 

There's a parent directory above the one where I'm locating this application, 
and that also has an application.cfm file - but it's just session activation, 
no cflocation tags or any other funny business. Would that be causing any 
problems?

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200253
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: How to Check if 1st character is a quote?

2005-03-28 Thread Paul Henderson
Yup, that works thanks!

-Original Message-
From: Dave Carabetta [mailto:[EMAIL PROTECTED]
Sent: Monday, March 28, 2005 2:13 PM
To: CF-Talk
Subject: Re: How to Check if 1st character is a quote?


On Mon, 28 Mar 2005 14:09:55 -0500, Paul Henderson [EMAIL PROTECTED]
wrote:
 I want to run a simple check to see if a string's 1st character is an open
 quote (), usually I would try something like:

 cfif Left(Form.Test, 1) IS x)

 but if x =  (quote) I will get a syntax error, how can I get around this?


Couldn't you just do:

cfif Left(Form.Test, 1) IS '')

(The double quote is surrounding by single quotes rather than another
set of double quotes).

Regards,
Dave.



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200254
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: redirection/user authentication

2005-03-28 Thread Dawson, Michael
My suggestion is to have the form submit to itself.  I do all my forms
that way and it makes it much easier to pass the form data back to
itself in case of errors.

Then, in the application.cfm, I do the login checks.

I would also suggest copying these files to backup, then rebuilding each
step one piece at a time.  Most likely, it's a simple problem, but you
are too close to it to see.

If you are interested, I can dig up one of my form-based login methods
and mail it to you.

M!ke 

-Original Message-
From: Jack Benson [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 12:19 PM
To: CF-Talk
Subject: Re: redirection/user authentication

Ben - tried that as well. Login.cfm doesn't have any cflocation tags in
it, and I've now removed all of them from the application.cfm file - but
I'm still getting that URL redirection exceeded problem. 

Here's the whole file again, as altered:

cfsetting showdebugoutput=no
cfapplication name=02133 sessionmanagement=Yes
setclientcookies=Yes applicationtimeout=#CreateTimeSpan(0,0,3,0)#
cfparam Name=Application.DSN Default=MassInc2 !--// set this
equal to your IP address if yyou want to enter live debugging mode
//--- cfparam name=Request.Debug default=

cfparam Name=Application.SearchCollectionName Default=02133



!--- check if user has logged out ---
   cfif IsDefined(Form.logout)
  cflogout
   /cfif

!--- check if user is logged in ---
cfset currentlocation = GetFileFromPath(getBaseTemplatePath())
cfif  currentlocation neq login.cfm
  cfif GetAuthUser() eq 
cfinclude template=login.cfm
 cfabort
/cfif
/cfif


Login.cfm is just a simple form, which on submission goes to a
login2.cfm page with the cflogin code. But I'm getting stopped before I
can start to load login.cfm. 

My knowledge gets more than fuzzy when you start getting into sessions
and cookies and such - is there a problem with the code I've got at the
top of my application.cfm file? 

There's a parent directory above the one where I'm locating this
application, and that also has an application.cfm file - but it's just
session activation, no cflocation tags or any other funny business.
Would that be causing any problems?



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200255
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Read a scheduled task's settings?

2005-03-28 Thread Adam Haskell
Yep use cfregistry in CF5 this is the path: 

HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\Schedule


Adam H


On Mon, 28 Mar 2005 11:27:46 -0700, Jim McAtee [EMAIL PROTECTED] wrote:
 CF5/IIS5
 
 Is there an easy way to read the current settings of a scheduled task?  I
 have a scheduled task that I suspend and unsuspend by changing its start
 date to a date in the future or in the past.  But I have no way of telling
 what its current state is.
 
 cfregistry?
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200256
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Flash remoting contractor needed.

2005-03-28 Thread Emmet McGovern
Hey people.  I'm in need of a flash remoting guy/gal for a current cf/flash
project.  This is project involves doing the data connector bit for an
existing CF app and existing FLA's

If anyone is interested please email me offlist for details.  Anyone who
refuses to work under a Non-Disclosure Agreement need not apply.

Thanks,
Emmet McGovern
[EMAIL PROTECTED]  





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200257
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: redirection/user authentication

2005-03-28 Thread Jack Benson
Mike - it would be great if you could show me a form-based login that actually 
works! I usually do make my forms self-submitting but decided to keep 
everything seperate here, because I thought it would make it easier to figure 
out where I was going wrong. 

In my original version of this code, I did also have the actual login taking 
place in the application file - but moved it to a seperate file, again, so that 
I could get a clearer idea of what was causing the redirection problem. Since I 
know now that it's NOT the cflogin block, I can probably put it back into the 
application file - once I know what IS causing the error!

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200258
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Merchant account of choice

2005-03-28 Thread Tony Weeg
hi there.

whats the easiest and lowest rates for a merchant system that works
with cf these days?

i know stacy (who im not sure is around anymore is affiliated with
one...) used to be attached to one...

i dont need a shopping cart just a good api/custom tag.

thanks!

-- 
tony

Tony Weeg

macromedia certified coldfusion mx developer
email: tonyweeg [at] gmail [dot] com
blog: http://www.revolutionwebdesign.com/blog/
cool tool: http://www.antiwrap.com

...straight cash homey
- randy moss, now a raider

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200259
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Merchant account of choice

2005-03-28 Thread Tim Laureska
I'd be curious to hear on this one too Tony... been working with
authorize.net, but don't know how their rates compare to others... the
api wasn't too difficult

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 3:16 PM
To: CF-Talk
Subject: Merchant account of choice

hi there.

whats the easiest and lowest rates for a merchant system that works
with cf these days?

i know stacy (who im not sure is around anymore is affiliated with
one...) used to be attached to one...

i dont need a shopping cart just a good api/custom tag.

thanks!

-- 
tony

Tony Weeg

macromedia certified coldfusion mx developer
email: tonyweeg [at] gmail [dot] com
blog: http://www.revolutionwebdesign.com/blog/
cool tool: http://www.antiwrap.com

...straight cash homey
- randy moss, now a raider



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200260
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Setting up MySql Data Source

2005-03-28 Thread Irvin Gomez
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=6ef0253




 I just loaded MySql to my development machine. I have MySql up and 
 running and even created the database I will be using. I am trying to 
 set up a DSN in CFAdmin but it keeps failing. Since this is a 
 non-server machine do I have to change the port?
 
 my error
 
 Connection verification failed for data source: bvhdku
 []java.sql.SQLException: SQLException occurred in JDBCPool while 
 attempting to connect, please check your username, password, URL, and 
 other connectivity info.
 The root cause was that: java.sql.SQLException: SQLException occurred 
 in JDBCPool while attempting to connect, please check your username, 
 password, URL, and other connectivity 
info

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200261
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Merchant account of choice

2005-03-28 Thread Emmet McGovern
We've been using e-onlinedata now for quite some time.  We have all of our
carts processing through authorize.net and their merchant account.  I still
haven't found one cheaper.

We've been able to set everyone up dame day. Credit approval and all.

https://www.e-onlinedata.com/fullcityhosting (had to plug my referral credit
if you happen to use them)

Emmet

-Original Message-
From: Tim Laureska [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 3:42 PM
To: CF-Talk
Subject: RE: Merchant account of choice

I'd be curious to hear on this one too Tony... been working with
authorize.net, but don't know how their rates compare to others... the
api wasn't too difficult

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 3:16 PM
To: CF-Talk
Subject: Merchant account of choice

hi there.

whats the easiest and lowest rates for a merchant system that works
with cf these days?

i know stacy (who im not sure is around anymore is affiliated with
one...) used to be attached to one...

i dont need a shopping cart just a good api/custom tag.

thanks!

-- 
tony

Tony Weeg

macromedia certified coldfusion mx developer
email: tonyweeg [at] gmail [dot] com
blog: http://www.revolutionwebdesign.com/blog/
cool tool: http://www.antiwrap.com

...straight cash homey
- randy moss, now a raider





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200262
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Is BlueDragon.NET the greatest thing since sliced bread?

2005-03-28 Thread Vince Bonfanti
That's the question raised in my new blog (hint: the answer is no):

http://blog.newatlanta.com/index.cfm

Vince Bonfanti
New Atlanta Communications, LLC
http://www.newatlanta.com



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200263
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Merchant account of choice

2005-03-28 Thread Alex Sherwood
Tim Laureska wrote:

I'd be curious to hear on this one too Tony... been working with
authorize.net, but don't know how their rates compare to others... the
api wasn't too difficult

  


Me too. Don't know about rates, but their integration is simple.

Check out CF_AUTHORIZE custom tag from Oleani (sp?) or 
www.xauthorize.com - who makes a COM object that interacts with  HUGE 
number of various gateways, and offers a standard interface for getting 
to them.

Hope this helps,

--
Alex Sherwood

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200264
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Is BlueDragon.NET the greatest thing since sliced bread?

2005-03-28 Thread Jim McAtee
Is blatant advertising permitted on this list?  (hint: you know the 
answer)


- Original Message - 
From: Vince Bonfanti [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, March 28, 2005 1:36 PM
Subject: Is BlueDragon.NET the greatest thing since sliced bread?


 That's the question raised in my new blog (hint: the answer is no):

http://blog.newatlanta.com/index.cfm

 Vince Bonfanti
 New Atlanta Communications, LLC
 http://www.newatlanta.com


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200265
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Merchant account of choice

2005-03-28 Thread Tim Laureska
Let me know if you go with authorize.net.. I can send a couple sample
tags... they provide a manual too once you sign up with them

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 3:16 PM
To: CF-Talk
Subject: Merchant account of choice

hi there.

whats the easiest and lowest rates for a merchant system that works
with cf these days?

i know stacy (who im not sure is around anymore is affiliated with
one...) used to be attached to one...

i dont need a shopping cart just a good api/custom tag.

thanks!

-- 
tony

Tony Weeg

macromedia certified coldfusion mx developer
email: tonyweeg [at] gmail [dot] com
blog: http://www.revolutionwebdesign.com/blog/
cool tool: http://www.antiwrap.com

...straight cash homey
- randy moss, now a raider



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200266
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Merchant account of choice

2005-03-28 Thread Rick Root
Tony Weeg wrote:
 
 i dont need a shopping cart just a good api/custom tag.

I got my merchant account through payquake (no minimum transaction fees 
like many, though they have slightly higher rates and an annual fee.. 
but for as little as I use credit cards, payquake works well.

The processing goes through authorize.net, which I love dearly, for one 
major reason:

No custom tag required.

I like that I can just use CFHTTP to make my calls to authorize.net .. 
I've used others in the past that required the use of a CFX and I found 
them to be troublesome.

  - Rick


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200267
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Merchant account of choice

2005-03-28 Thread Alex Sherwood
Ditto.

Tim Laureska wrote:

Let me know if you go with authorize.net.. I can send a couple sample
tags... they provide a manual too once you sign up with them

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 3:16 PM
To: CF-Talk
Subject: Merchant account of choice

hi there.

whats the easiest and lowest rates for a merchant system that works
with cf these days?

i know stacy (who im not sure is around anymore is affiliated with
one...) used to be attached to one...

i dont need a shopping cart just a good api/custom tag.

thanks!

  



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200268
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: redirection/user authentication

2005-03-28 Thread Jack Benson
FYI, I've got it working!! Thanks very much for all your help, everyone!

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200269
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Merchant account of choice

2005-03-28 Thread Burns, John D
In a related question, how many of you have multiple sites using credit
card processors?  Do you make each site sign up for a separate merchant
account or has anyone been successful in setting something up where all
transactions go through one account?

Also, I heard that PayPal was supposed to be implementing an API so you
could process through them directly from your site without any jump over
to one of their pages, but I haven't had luck in making it work.  They
handed out the CDs at MAX and they have stuff on their site, but I
haven't been able to figure it out.  Anyone with better luck than me? 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Emmet McGovern [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 3:35 PM
To: CF-Talk
Subject: RE: Merchant account of choice

We've been using e-onlinedata now for quite some time.  We have all of
our carts processing through authorize.net and their merchant account.
I still haven't found one cheaper.

We've been able to set everyone up dame day. Credit approval and all.

https://www.e-onlinedata.com/fullcityhosting (had to plug my referral
credit if you happen to use them)

Emmet

-Original Message-
From: Tim Laureska [mailto:[EMAIL PROTECTED]
Sent: Monday, March 28, 2005 3:42 PM
To: CF-Talk
Subject: RE: Merchant account of choice

I'd be curious to hear on this one too Tony... been working with
authorize.net, but don't know how their rates compare to others... the
api wasn't too difficult

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Monday, March 28, 2005 3:16 PM
To: CF-Talk
Subject: Merchant account of choice

hi there.

whats the easiest and lowest rates for a merchant system that works with
cf these days?

i know stacy (who im not sure is around anymore is affiliated with
one...) used to be attached to one...

i dont need a shopping cart just a good api/custom tag.

thanks!

--
tony

Tony Weeg

macromedia certified coldfusion mx developer
email: tonyweeg [at] gmail [dot] com
blog: http://www.revolutionwebdesign.com/blog/
cool tool: http://www.antiwrap.com

...straight cash homey
- randy moss, now a raider







~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200270
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Is BlueDragon.NET the greatest thing since sliced bread?

2005-03-28 Thread Adrian Lynch
It's about as related to CF as you can get. Would you be so sharp if it were
a write up by someone at MM?

Ade

-Original Message-
From: Jim McAtee [mailto:[EMAIL PROTECTED]
Sent: 28 March 2005 21:42
To: CF-Talk
Subject: Re: Is BlueDragon.NET the greatest thing since sliced bread?


Is blatant advertising permitted on this list?  (hint: you know the
answer)


- Original Message -
From: Vince Bonfanti [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, March 28, 2005 1:36 PM
Subject: Is BlueDragon.NET the greatest thing since sliced bread?


 That's the question raised in my new blog (hint: the answer is no):

http://blog.newatlanta.com/index.cfm

 Vince Bonfanti
 New Atlanta Communications, LLC
 http://www.newatlanta.com


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.4 - Release Date: 27/03/2005


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200271
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Sorta HTML Editor but almost no features!

2005-03-28 Thread Damien McKenna
TinyMCE and configure the toolbars.  Not sure if you can stop them
specifically pasting in extras, but you can also block tags you don't
want by only allowing the ones you do.  Its really quite powerful :)

-- 
Damien McKenna - Web Developer - [EMAIL PROTECTED]
The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
#include stdjoke.h

-Original Message-
From: Les Mizzell [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 4:30 PM
To: CF-Talk
Subject: Sorta HTML Editor but almost no features!

I'm looking for a extremely basic editor - actually, one with almost 
*no* features!
I'd like folks to be able to enter text, maybe specify bold or italics 
and paragraph breaks.


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200273
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Sorta HTML Editor but almost no features!

2005-03-28 Thread Emmet McGovern
Tiny MCE all the way.  Its so simple to integrate its silly.

http://tinymce.moxiecode.com/ 

Emmet

-Original Message-
From: Les Mizzell [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 4:30 PM
To: CF-Talk
Subject: Sorta HTML Editor but almost no features!

I'm looking for a extremely basic editor - actually, one with almost 
*no* features!

I'd like folks to be able to enter text, maybe specify bold or italics 
and paragraph breaks.

THAT'S IT.
Nothing else.
No font colors, no font sizes, no tables, no background, no blah, blah...

I don't want them to have to type in p tags or em or anything...

Ideas?


-- 
---
Les Mizzell



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200274
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Is BlueDragon.NET the greatest thing since sliced bread?

2005-03-28 Thread Jordan Michaels
Jim probably just didn't realize that this post was from someone who 
represents a leader in the CF community who only intends to talk about 
CF-related stuff.

If some joe off the street started making posts about their blog in here 
I might have the same reaction Jim did. ;)

-JM



Adrian Lynch wrote:

It's about as related to CF as you can get. Would you be so sharp if it were
a write up by someone at MM?

Ade

-Original Message-
From: Jim McAtee [mailto:[EMAIL PROTECTED]
Sent: 28 March 2005 21:42
To: CF-Talk
Subject: Re: Is BlueDragon.NET the greatest thing since sliced bread?


Is blatant advertising permitted on this list?  (hint: you know the
answer)


- Original Message -
From: Vince Bonfanti [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, March 28, 2005 1:36 PM
Subject: Is BlueDragon.NET the greatest thing since sliced bread?


  

That's the question raised in my new blog (hint: the answer is no):

   http://blog.newatlanta.com/index.cfm

Vince Bonfanti
New Atlanta Communications, LLC
http://www.newatlanta.com




-- 
Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
[EMAIL PROTECTED] 



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200275
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Setting up MySql Data Source

2005-03-28 Thread Matt Robertson
Irvin Gomez [EMAIL PROTECTED] wrote:
 http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=6ef0253

Will this affect (i.e. kill) my ability to continue to run CF and mySQL 4.0? 

-- 
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200276
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Alternating Row Colour - Sorta

2005-03-28 Thread Les Mizzell
Here's the page in question:

http://www.stpaulscolumbia.com/calendar.cfm

Client is asking for alternating colors for DAYS - not rows.

At first, I figured, OK, Odd Dates one colour, Even Dates another.
Nope, don't work because there may be something on the 5th and 7th, both 
odd dates - but not the 6th ... and then you'd get two groups of events 
- those on the 5th and 7th, the same colour.

I'm looking at various convoluted ideas for this, but bet the list can 
comeup with something a little more compact than I...

Ideas?

-- 
---
Les Mizzell

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200277
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Setting up MySql Data Source

2005-03-28 Thread Irvin Gomez
I don't honestly know, since I first installed MySQL about 2 months ago (v4.1). 
The process was very straightforward with the Windows Essentials package. I 
folloed the instructions on that page and everything is working without a hitch.

Sorry I can't be of more help :-)

Irvin Gomez [EMAIL PROTECTED] wrote:
 http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=6ef0253

Will this affect (i.e. kill) my ability to continue to run CF and mySQL 4.0? 

-- 
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200278
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Is BlueDragon.NET the greatest thing since sliced bread?

2005-03-28 Thread Calvin Ward
Wasn't the release of the product announced on this list when it occurred?

How about Ben drops a bi-weekly announcement of the WACK books under various
guises? And maybe Damon can re-announce Blackstone's release once a month
too?

I too consider this blatant and undesirable advertising, just as I would if
Damon or Ben did the same thing.

- Calvin

-Original Message-
From: Jordan Michaels [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 4:52 PM
To: CF-Talk
Subject: Re: Is BlueDragon.NET the greatest thing since sliced bread?

Jim probably just didn't realize that this post was from someone who 
represents a leader in the CF community who only intends to talk about 
CF-related stuff.

If some joe off the street started making posts about their blog in here 
I might have the same reaction Jim did. ;)

-JM



Adrian Lynch wrote:

It's about as related to CF as you can get. Would you be so sharp if it
were
a write up by someone at MM?

Ade

-Original Message-
From: Jim McAtee [mailto:[EMAIL PROTECTED]
Sent: 28 March 2005 21:42
To: CF-Talk
Subject: Re: Is BlueDragon.NET the greatest thing since sliced bread?


Is blatant advertising permitted on this list?  (hint: you know the
answer)


- Original Message -
From: Vince Bonfanti [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, March 28, 2005 1:36 PM
Subject: Is BlueDragon.NET the greatest thing since sliced bread?


  

That's the question raised in my new blog (hint: the answer is no):

   http://blog.newatlanta.com/index.cfm

Vince Bonfanti
New Atlanta Communications, LLC
http://www.newatlanta.com




-- 
Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
[EMAIL PROTECTED] 





~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200279
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Alternating Row Colour - Sorta

2005-03-28 Thread Adrian Lynch
If that's a straight forward query output then this should do it for you:

cfoutput query=query
cfif query.CurrentRow MOD 2
one colour
cfelse
another colour
/cfif
/cfoutput

If it's not a standard output, you're using group=column in your output
then track a variable yourself for the nested cfoutput:

cfset i = 1

cfoutput query=query group=column
!--- You may need to reset i to 1 in here if you don't get the required
behaviour ---
!--- cfset i = 1 ---
cfoutput

cfif query.CurrentRow MOD 2
one colour
cfelse
another colour
/cfif

cfset i = i + 1

/cfoutput

/cfoutput



Ade

-Original Message-
From: Les Mizzell [mailto:[EMAIL PROTECTED]
Sent: 28 March 2005 22:44
To: CF-Talk
Subject: Alternating Row Colour - Sorta


Here's the page in question:

http://www.stpaulscolumbia.com/calendar.cfm

Client is asking for alternating colors for DAYS - not rows.

At first, I figured, OK, Odd Dates one colour, Even Dates another.
Nope, don't work because there may be something on the 5th and 7th, both
odd dates - but not the 6th ... and then you'd get two groups of events
- those on the 5th and 7th, the same colour.

I'm looking at various convoluted ideas for this, but bet the list can
comeup with something a little more compact than I...

Ideas?

--
---
Les Mizzell



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200280
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Alternating Row Colour - Sorta

2005-03-28 Thread Patrick McGeehan
It looks like you are already using a group by in the query to group by
month, just use a second group by, this one on the day.  In the second group
by set the bg color.

Patrick McGeehan 
Applications Developer
DIT
CF_DIT#mcg#/CF_DIT

 



-Original Message-
From: Les Mizzell [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 4:44 PM
To: CF-Talk
Subject: Alternating Row Colour - Sorta


Here's the page in question:

http://www.stpaulscolumbia.com/calendar.cfm

Client is asking for alternating colors for DAYS - not rows.

At first, I figured, OK, Odd Dates one colour, Even Dates another. Nope,
don't work because there may be something on the 5th and 7th, both 
odd dates - but not the 6th ... and then you'd get two groups of events 
- those on the 5th and 7th, the same colour.

I'm looking at various convoluted ideas for this, but bet the list can 
comeup with something a little more compact than I...

Ideas?

-- 
---
Les Mizzell



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200281
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Is BlueDragon.NET the greatest thing since sliced bread?

2005-03-28 Thread Adrian Lynch
So when others mention their lastest blog entry that's ok?

-Original Message-
From: Calvin Ward [mailto:[EMAIL PROTECTED]
Sent: 28 March 2005 22:58
To: CF-Talk
Subject: RE: Is BlueDragon.NET the greatest thing since sliced bread?


Wasn't the release of the product announced on this list when it occurred?

How about Ben drops a bi-weekly announcement of the WACK books under various
guises? And maybe Damon can re-announce Blackstone's release once a month
too?

I too consider this blatant and undesirable advertising, just as I would if
Damon or Ben did the same thing.

- Calvin

-Original Message-
From: Jordan Michaels [mailto:[EMAIL PROTECTED]
Sent: Monday, March 28, 2005 4:52 PM
To: CF-Talk
Subject: Re: Is BlueDragon.NET the greatest thing since sliced bread?

Jim probably just didn't realize that this post was from someone who
represents a leader in the CF community who only intends to talk about
CF-related stuff.

If some joe off the street started making posts about their blog in here
I might have the same reaction Jim did. ;)

-JM



Adrian Lynch wrote:

It's about as related to CF as you can get. Would you be so sharp if it
were
a write up by someone at MM?

Ade

-Original Message-
From: Jim McAtee [mailto:[EMAIL PROTECTED]
Sent: 28 March 2005 21:42
To: CF-Talk
Subject: Re: Is BlueDragon.NET the greatest thing since sliced bread?


Is blatant advertising permitted on this list?  (hint: you know the
answer)


- Original Message -
From: Vince Bonfanti [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, March 28, 2005 1:36 PM
Subject: Is BlueDragon.NET the greatest thing since sliced bread?




That's the question raised in my new blog (hint: the answer is no):

   http://blog.newatlanta.com/index.cfm

Vince Bonfanti
New Atlanta Communications, LLC
http://www.newatlanta.com




--
Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.4 - Release Date: 27/03/2005


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200282
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Alternating Row Colour - Sorta

2005-03-28 Thread Katz, Dov B \(IT\)
I usually use a counter variable, or a cfoutput/grouping, when possible,
and just incrememn

CFSET CurrentVal=
CFSET Counter=0
CFOUTPUT/CFLOOP over Query 
CFIF CurrentVal NEQ Query.Val
CFSET CurrentVal=Query.Val
CFSET Counter=Counter+1
Cfset currentBG=iif(counter MOD 2 is
0,de(DD),de(FF))
/cfif

OUTPUT ROWS using #currentBG#
/CFLOOP/CFQUERY

-Original Message-
From: Les Mizzell [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 4:44 PM
To: CF-Talk
Subject: Alternating Row Colour - Sorta

Here's the page in question:

http://www.stpaulscolumbia.com/calendar.cfm

Client is asking for alternating colors for DAYS - not rows.

At first, I figured, OK, Odd Dates one colour, Even Dates another.
Nope, don't work because there may be something on the 5th and 7th, both
odd dates - but not the 6th ... and then you'd get two groups of events
- those on the 5th and 7th, the same colour.

I'm looking at various convoluted ideas for this, but bet the list can
comeup with something a little more compact than I...

Ideas?

--
---
Les Mizzell



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200283
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Alternating Row Colour - Sorta

2005-03-28 Thread Jim McAtee
Here's one way.

cfset olddate = 1/1/1950
cfset bgcolor = 0
cfloop query=myquery
  cfif myquery.eventdate neq olddate
cfset olddate = myquery.eventdate
cfset bgcolor = 1 - bgcolor
  /cfif
  tr style=background-color:#IIf(bgcolor, DE('white'), DE('gray'))#
td.../td
td.../td
  /tr
/cfloop


- Original Message - 
From: Les Mizzell [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, March 28, 2005 2:44 PM
Subject: Alternating Row Colour - Sorta


 Here's the page in question:

 http://www.stpaulscolumbia.com/calendar.cfm

 Client is asking for alternating colors for DAYS - not rows.

 At first, I figured, OK, Odd Dates one colour, Even Dates another.
 Nope, don't work because there may be something on the 5th and 7th, both
 odd dates - but not the 6th ... and then you'd get two groups of events
 - those on the 5th and 7th, the same colour.

 I'm looking at various convoluted ideas for this, but bet the list can
 comeup with something a little more compact than I...

 Ideas? 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200284
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: New CFFORM website

2005-03-28 Thread Irvin Gomez
Nice effort, but not much attention to detail. Most of the examples are really 
clumsily put together. Heck, even the form on the contact page 
(http://www.cfform.com/contact.cfm) won't enforce any sort of validation on the 
email field!

Given that Macromedia bribed Jakob Nilsen into stopping his bashing of Flash, 
they should now give him a REAL job checking these forms out before publication 
:-)


Just got this off Tim Buntel's blog:

In case you haven't heard, cfform.com has officially launched! This is a 
site that Mike Nimer, the principal engineer on the CFFORM features for CFMX 
7, has put together for sharing skins and other extensions for both Flash 
and XML forms. Think cflib.org for the Form set. I'm extremely excited to 
see what folks publish - and a big hearty thanks to Mike for putting this 
together (on his own personal accord, I may point out).

Thought I'd share it. It looks like potentially an awesome site. What got me 
was the think cflib.org for the form set. That's all I needed to hear...

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200285
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Merchant account of choice

2005-03-28 Thread Ken Ferguson
I've got several sites using credit cards and I use the same merchant
account for each. It's fairly simple to keep everything separated by
providing prefixes for the transactions from each separate site.
Reporting isn't harmed... I use Verisign.

--Ferg

-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 3:01 PM
To: CF-Talk
Subject: RE: Merchant account of choice

In a related question, how many of you have multiple sites using credit
card processors?  Do you make each site sign up for a separate merchant
account or has anyone been successful in setting something up where all
transactions go through one account?

Also, I heard that PayPal was supposed to be implementing an API so you
could process through them directly from your site without any jump over
to one of their pages, but I haven't had luck in making it work.  They
handed out the CDs at MAX and they have stuff on their site, but I
haven't been able to figure it out.  Anyone with better luck than me? 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200286
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Best practice question?

2005-03-28 Thread Sean Corfield
On Sun, 27 Mar 2005 23:10:09 -0500, Justin D. Scott [EMAIL PROTECTED] wrote:
 That's why I like the way FuseBox handles input.  So much so that I use it
 even outside my FuseBox apps.  It takes all of the FORM and URL variables
 and moves them to the ATTRIBUTES scope if it doesn't already exist.

Just to note that Mach II and ModelGlue also both do something very
similar - they copy all form and URL variables into a single event
object to make it possible to access them without caring where they
came from.

So it's a common enough technique that I suspect more people like it
than dislike it...
-- 
Sean A Corfield -- http://corfield.org/
Team Fusebox -- http://fusebox.org/
Got Gmail? -- I have 50, yes 50, invites to give away!

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200287
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Alternating Row Colour - Sorta

2005-03-28 Thread Les Mizzell
 cfoutput query=query
   cfif query.CurrentRow MOD 2
   one colour
   cfelse
   another colour
   /cfif
 /cfoutput


Nope, that's not it.

Let's say the Calendar is showing a number of events:

Mon - event 1
Mon - event 2
Mon - event 3
Tue - event 1
Tue - event 2
Tue - event 3
Tue - event 4
Thu - event 1
Thu - event 2
Thu - event 3
Thu - event 4

All the Monday and Thursday events need to be one colour. Tuesdays another.

-- 
---
Les Mizzell

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200288
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Alternating Row Colour - Sorta

2005-03-28 Thread Adrian Lynch
How about looking back at the previous day to see if it's changed.

cfif CurrentRow NEQ 1 AND Day(query[date][CurrentRow]) NEQ
Day(query[date][CurrentRow - 1])
Change colour
/cfif

-Original Message-
From: Les Mizzell [mailto:[EMAIL PROTECTED]
Sent: 28 March 2005 23:10
To: CF-Talk
Subject: Re: Alternating Row Colour - Sorta


 cfoutput query=query
   cfif query.CurrentRow MOD 2
   one colour
   cfelse
   another colour
   /cfif
 /cfoutput


Nope, that's not it.

Let's say the Calendar is showing a number of events:

Mon - event 1
Mon - event 2
Mon - event 3
Tue - event 1
Tue - event 2
Tue - event 3
Tue - event 4
Thu - event 1
Thu - event 2
Thu - event 3
Thu - event 4

All the Monday and Thursday events need to be one colour. Tuesdays another.

--
---
Les Mizzell



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200289
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Expanding Wikipedia content

2005-03-28 Thread Damien McKenna
http:// http://en.wikipedia.org/wiki/ColdFusion
en.wikipedia.org/wiki/ColdFusion
I started adding some extra content today to flesh it out some.  Please
contribute your own thoughts.
 
-- 
Damien McKenna - Web Developer - [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
The Limu Company - http://www.thelimucompany.com/
http://www.thelimucompany.com/  - 407-804-1014
#include stdjoke.h
 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200290
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Setting up MySql Data Source

2005-03-28 Thread Ken Ferguson
No, just get the ConnectorJ download from MySQL and it will work just
fine. I've got it running with this package on 12 different sites in MX,
MX 6.1, and MX 7.

--Ferg

-Original Message-
From: Matt Robertson [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 3:47 PM
To: CF-Talk
Subject: Re: Setting up MySql Data Source

Irvin Gomez [EMAIL PROTECTED] wrote:
 http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=6ef0253

Will this affect (i.e. kill) my ability to continue to run CF and mySQL
4.0? 

-- 
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200291
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Merchant account of choice

2005-03-28 Thread Burns, John D
Have you been told there are legal issues with this? We are thinking of
implementing something similar but Bank Of America said you can't
legally.  Obviously, there are other problems like having to handle
disputed claims and getting the checks cut and sent to the individual
clients, but I just don't want to start down a road and find out I'm
doing something illegal. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Ken Ferguson [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 5:14 PM
To: CF-Talk
Subject: RE: Merchant account of choice

I've got several sites using credit cards and I use the same merchant
account for each. It's fairly simple to keep everything separated by
providing prefixes for the transactions from each separate site.
Reporting isn't harmed... I use Verisign.

--Ferg

-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED]
Sent: Monday, March 28, 2005 3:01 PM
To: CF-Talk
Subject: RE: Merchant account of choice

In a related question, how many of you have multiple sites using credit
card processors?  Do you make each site sign up for a separate merchant
account or has anyone been successful in setting something up where all
transactions go through one account?

Also, I heard that PayPal was supposed to be implementing an API so you
could process through them directly from your site without any jump over
to one of their pages, but I haven't had luck in making it work.  They
handed out the CDs at MAX and they have stuff on their site, but I
haven't been able to figure it out.  Anyone with better luck than me? 


John Burns
Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web
Developer




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200292
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


  1   2   >