Re: client side and server side validation

2007-05-01 Thread James Holmes
Quite right. One benefit of using the AJAX method is that the same
server-side routine can be used via AJAX before posting (for the
client's benefit) and also server-side after posting (for the
application's benefit). This cuts down on duplication, meaning that
only one validation routine needs to be maintained.

On 5/1/07, Bobby Hartsfield  wrote:

 'AJAX'. JS is meant to ENHANCE user experience and that's it. It's in
no way shape or form 'secure'. It's also in no way shape or form
insecure; people make it that way when they start tying it into server
side routines and depending on the client side to trigger it.

-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276592
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


cfscript vs. cfml

2007-05-01 Thread Robert Rawlins - Think Blue
Hello Guys,

 

I'd like to get your thoughts on the differences between cfscript and
standard cfml tag based code. I've worked using both methods for some time
now and feel equally comfortable with them, so this isn't really a question
of preference, but the benefits of performance and features offered by both
choices.

 

I'm sure I've read in the past that there were performance benefits to using
cfscript as its more native to the java style coding that ColdFusion is at
runtime, is this true?

 

Slightly contrary to that I've also heard rumours that cfscript is not being
enhanced at all in Scorpio and in all likelihood this is a step toward adobe
phasing it out.

 

Any thoughts on this stuff?

 

Thanks,

 

Rob



~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276593
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfscript vs. cfml

2007-05-01 Thread Andrew Scott
Pre MX that was the case, now there is no spped increase in cfscript over
cfml anymore.

As for preference, I think it is just that now preference.


On 5/1/07, Robert Rawlins - Think Blue [EMAIL PROTECTED]
wrote:

 Hello Guys,



 I'd like to get your thoughts on the differences between cfscript and
 standard cfml tag based code. I've worked using both methods for some time
 now and feel equally comfortable with them, so this isn't really a
 question
 of preference, but the benefits of performance and features offered by
 both
 choices.



 I'm sure I've read in the past that there were performance benefits to
 using
 cfscript as its more native to the java style coding that ColdFusion is at
 runtime, is this true?



 Slightly contrary to that I've also heard rumours that cfscript is not
 being
 enhanced at all in Scorpio and in all likelihood this is a step toward
 adobe
 phasing it out.



 Any thoughts on this stuff?



 Thanks,



 Rob



 

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276594
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Strip HTML from a Collection

2007-05-01 Thread Raymond Camden
Actually for #2, you want to just use htmleditformat

cfset cleantext = htmlEditFormat(queryname.column)

On 4/30/07, Bobby Hartsfield [EMAIL PROTECTED] wrote:
 That depends. Do you mean just take it out completely or have it displayed
 as text?

 To take out all html tags you can use a regular expression like...
 cfset cleantext = rereplace(queryname.column, [^]*, , all) /

 To just make the html display as normal text just replace  with lt;
 cfset cleantext = replace(queryname.column, , lt;, all) /

 Good luck


 -Original Message-
 From: Mark Flewellen [mailto:[EMAIL PROTECTED]
 Sent: Monday, April 30, 2007 10:09 PM
 To: CF-Talk
 Subject: Strip HTML from a Collection

 How do people on this list deal with stripping html a column in a query
 prior to loading the query into a coldfusion collection?



 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276595
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Strip HTML from a Collection

2007-05-01 Thread Raymond Camden
You can use what the previous guy said - and replace or escape the
html as you want when outputting your search.  You may also want to
consider this post:

http://ray.camdenfamily.com/index.cfm/2007/4/17/Quick-example-of-cleaning-up-Verity-results

On 4/30/07, Mark Flewellen [EMAIL PROTECTED] wrote:
 The problem I am having is I load the data in including the html content via 
 the query attribute in cfindex. When I output a summary sometimes it gets cut 
 of through a tag.

 This is what I do to index

 cfindex
 collection=news
 action=refresh
 type=custom
 query=qry_NewsList
 key=newsid
 title=title
 body=content,title

 Mark

-- 
===
Raymond Camden

Email: [EMAIL PROTECTED]
Blog  : ray.camdenfamily.com
AOL IM : cfjedimaster

Video game player? Have kids? Check out KidGamers.org

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276596
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cms

2007-05-01 Thread Geoff Bowers
On 01/05/07, Andrew Scott [EMAIL PROTECTED] wrote:
 The only complaint I have so far is the lack of how to's and support from
 the mailing lists, and wiki.

 As I am knew to farcry, and maintaining a site developed in it getting
 answers from docs or developers has been poor so far.

It might reflect the version of FarCry you are running.  Last I saw
you were running something much older than the current version.
Unfortunately, altruistic folks aren't going to be all that
enthusiastic about supporting early versions as they are unlikely to
be running these themselves. You could always get commercial
training/support ;)

-- geoff
http://www.daemon.com.au/

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276597
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: directory watcher

2007-05-01 Thread Asim Manzur
my typo error on posting.
the codes are:

cffunction access=public name=onAdd output=no
   cfargument name=CFEvent type=struct required=yes
   cfset data=CFEvent.data

 cfmail to=[EMAIL PROTECTED] from=[EMAIL PROTECTED] subject=New
Log File Created!
   Msg: Log file attached.
   Filename: #data.filename#
   cfmailparam file=#data.filename# type=text/plain
/cfmail
 /cffunction

The event is executing as soon as the new file created.
If I take the cfmailparam file=#data.filename# type=text/plain line
out everything works fine.
With this line in the code its generating the error in exception.log.

Error invoking CFC for gateway SendLogsEvent: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1


Pelase advise.

-- 
...
Regards,


~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276598
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Group By Hours

2007-05-01 Thread Robert Rawlins - Think Blue
Hello Guys,

 

I have a bunch of records of log data, all with a datetime stamp on it, and
I'm looking to have SQL Server return them grouped into hours. I've done
this before using MySQL I think, using the Hour() function in the query but
it would seem that SQL Server doesn't support such a function. The table
looks something like this.

 

LogID ClassID  DateTime

1  1  01/01/2007 00:01:25

2  1  01/01/2007 00:01:27

3  1  01/01/2007 00:01:28

4  1  01/01/2007 00:01:28

5  2  01/01/2007 00:01:30

6  1  01/01/2007 00:02:01

7  2  01/01/2007 00:02:25

8  1  01/01/2007 00:03:40

9  2  01/01/2007 00:03:55

 

Any idea on the best way to do this? There could be tones of records per
hour you see, and it makes it much simpler to table and chart if they're
grouped into hours. I'd also like to perform a count for the number of each
type if 'class' there was for each hour, so when outputting the data it
looks something like this.

 

Date/Time  Class 1   Class 2

01/01/2007 006  3

 

Make sense?

 

Thanks for any help guys,

 

Rob



~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276599
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


ColdFusion Report Builder and 508

2007-05-01 Thread ib webn65
We have inherited web sites with a lot of Crystal Reports.  None of the reports 
are 508 compliant.  We have been looking into converting the reports.  One 
option is using ColdFusion Report Builder.  The last time I used ColdFusion 
Report Builder it was also not 508 compliant.  Has that changed?  Can you 
generate 508 compliant reports with ColdFusion Report Builder?  If not, does 
anyone know of any system that will generate 508 compliant reports?

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276600
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cfscript vs. cfml

2007-05-01 Thread Ben Nadel
I can't remember where I saw it, but someone actually looked at the
compiled code of CFScript vs. the compiles code of Tag based coding. The
Cfscript compiles code did this thing where it shut off the white space
buffer or something. I can't remember if this resulted in speed
difference, or was just to point out that they compile differently? But
if there is a speed difference, as Andrew says, now that its MX, its
gonna be insignificant. 


..
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/

-Original Message-
From: Andrew Scott [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 01, 2007 6:40 AM
To: CF-Talk
Subject: Re: cfscript vs. cfml

Pre MX that was the case, now there is no spped increase in cfscript
over cfml anymore.

As for preference, I think it is just that now preference.


~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276601
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Group By Hours

2007-05-01 Thread Gaulin, Mark
Check out datepart.

-Original Message-
From: Robert Rawlins - Think Blue
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 01, 2007 7:42 AM
To: CF-Talk
Subject: Group By Hours

Hello Guys,

 

I have a bunch of records of log data, all with a datetime stamp on it,
and I'm looking to have SQL Server return them grouped into hours. I've
done this before using MySQL I think, using the Hour() function in the
query but it would seem that SQL Server doesn't support such a function.
The table looks something like this.

 

LogID ClassID  DateTime

1  1  01/01/2007 00:01:25

2  1  01/01/2007 00:01:27

3  1  01/01/2007 00:01:28

4  1  01/01/2007 00:01:28

5  2  01/01/2007 00:01:30

6  1  01/01/2007 00:02:01

7  2  01/01/2007 00:02:25

8  1  01/01/2007 00:03:40

9  2  01/01/2007 00:03:55

 

Any idea on the best way to do this? There could be tones of records per
hour you see, and it makes it much simpler to table and chart if they're
grouped into hours. I'd also like to perform a count for the number of
each type if 'class' there was for each hour, so when outputting the
data it looks something like this.

 

Date/Time  Class 1   Class 2

01/01/2007 006  3

 

Make sense?

 

Thanks for any help guys,

 

Rob





~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276602
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Group By Hours

2007-05-01 Thread Pete Ruckelshaus
select logid, classid, datetime, datepart(year, datetime) + '/' +
datepart(month, datetime) + '/' + datepart(day, datetime) + '/' +
datepart(hour, datetime) AS groupbyvalue
from table
order by datetime

That looks sort of weird, but I think what you'll need to do is make sure
you're grouping by more than just the hour.  Otherwise, in your grouped
output, you would have all of that hour for as many different month/day/year
combos as are in your database (unless, that is, you're passing in a single
date)

Pete


On 5/1/07, Robert Rawlins - Think Blue [EMAIL PROTECTED]
wrote:

 Hello Guys,



 I have a bunch of records of log data, all with a datetime stamp on it,
 and
 I'm looking to have SQL Server return them grouped into hours. I've done
 this before using MySQL I think, using the Hour() function in the query
 but
 it would seem that SQL Server doesn't support such a function. The table
 looks something like this.



 LogID ClassID  DateTime

 1  1  01/01/2007 00:01:25

 2  1  01/01/2007 00:01:27

 3  1  01/01/2007 00:01:28

 4  1  01/01/2007 00:01:28

 5  2  01/01/2007 00:01:30

 6  1  01/01/2007 00:02:01

 7  2  01/01/2007 00:02:25

 8  1  01/01/2007 00:03:40

 9  2  01/01/2007 00:03:55



 Any idea on the best way to do this? There could be tones of records per
 hour you see, and it makes it much simpler to table and chart if they're
 grouped into hours. I'd also like to perform a count for the number of
 each
 type if 'class' there was for each hour, so when outputting the data it
 looks something like this.



 Date/Time  Class 1   Class 2

 01/01/2007 006  3



 Make sense?



 Thanks for any help guys,



 Rob



 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276603
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


sql - querying number fields as dates

2007-05-01 Thread Daniel Kessler
 If it helps, creating a date out of that is as easy as using the
 Oracle to_date() function. You could then use whatever comparison you
 like.

okay, that does help.  I need a new oracle book because I have  
difficulty finding a reference list of functions.
I can do if null then insert a base number so that if a day isn't  
listed it still has a day, then create the date.

thank you for replying.

-- 

Daniel Kessler

College of Health and Human Performance
University of Maryland
Suite 2387 Valley Drive
College Park, MD  20742-2611
Phone: 301-405-2545
http://hhp.umd.edu




~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276604
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: client side and server side validation

2007-05-01 Thread Claude Schneegans
 This cuts down on duplication, meaning that
only one validation routine needs to be maintained.

Fine, but it is means more overhead for the server, thus less efficiency 
for the user.
The purpose of an application is to be user friendly, not programmer 
friendly.

And Javascript validation client side allows for more accurate and 
immediate diagnostic,
ex: preventing input of non numeric characters in a numeric field.

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


~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276605
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


regex or other easy way to change code to lowercase for linux

2007-05-01 Thread stylo stylo
Can anyone suggest a regex or another easy way to change all the cfquery table 
name code and other required bits (file names, etc.) to lowercase for 
linux/mysql? I'm using homesite.

For example, I can't seem to come up with a regex for cfquery that isn't greedy 
but allows tags inbetween the start and finish.

Searching and checking all the table names would be awful, so I just want to 
set everything to lowercase and go from there.

Btw, if you have a WHERE table.field clause, does mysql require that table name 
to be case sensitive just like in the FROM clause?

Thanks.

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276606
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: client side and server side validation

2007-05-01 Thread James Holmes
Until the maintenance bill goes to the customer and they ask why the
JS and the CF routines had to be written twice... But if you have rich
customers, no problem.

On 5/1/07, Claude Schneegans [EMAIL PROTECTED] wrote:
 The purpose of an application is to be user friendly, not programmer
 friendly.

-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276607
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Complicated output

2007-05-01 Thread Richard Cooper
Hi all,

I've an issue with the output of a query. I want to create an output that spans 
timeslots. I think I might have to do a series of nested loops and queries or 
some self joins but I can't get my head round it. Within my sample data any 
number of groups (which relates to columns) can be created. Start  end times 
(which relates to rows) can be set to anything.

Here's the sample data

| sTime | eTime | groupkey | groupTitle | talkTitle |
--
| 09:30 | 10:15 | xyz  | Stream A   | Hi1   |
| 10:15 | 11:00 | xyz  | Stream A   | Hi2   |
| 11:00 | 11:45 | xyz  | Stream A   | Hi3   |
| 09:15 | 10:00 | abc  | Stream b   | bye1  |
| 10:00 | 10:30 | abc  | Stream b   | bye2  |


Example output:

table width=100% border=0 cellspacing=0 cellpadding=0
  tr 
tdTime/td
tdStream A/td
tdStream B/td
  /tr
  tr 
td09:15/td
tdnbsp;/td
td rowspan=3bye1/td
  /tr
  tr 
td09:30/td
td rowspan=2Hi1/td
  /tr
  tr 
td10:00/td
  /tr
  tr 
td10:15/td
td rowspan=3Hi2/td
td rowspan=2Bye2/td
  /tr
  tr 
td10:30/td
  /tr
  tr 
td11:00/td
tdnbsp;/td
  /tr
  tr 
td11:45/td
tdHi3/td
tdnbsp;/td
  /tr
/table


Any ideas how to go about doing this?
Thanks,

Richard

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276608
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Group By Hours

2007-05-01 Thread Robert Rawlins - Think Blue
Thanks for the suggestion Pete,

I'm sure that this datepart() function is defiantly going to be the way to
do this, however I'm struggling to get your solution to work. When I try to
run that query I get the following error.

http://80.244.184.135/teststats.cfm

Any ideas? I've not seen that '+ / + datepart' type thing used before, can
you explain a little more about what that's actually doing? Is that just
building a dynamic date without the minutes and seconds?

Thanks,

Rob

-Original Message-
From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] 
Sent: 01 May 2007 13:26
To: CF-Talk
Subject: Re: Group By Hours

select logid, classid, datetime, datepart(year, datetime) + '/' +
datepart(month, datetime) + '/' + datepart(day, datetime) + '/' +
datepart(hour, datetime) AS groupbyvalue
from table
order by datetime

That looks sort of weird, but I think what you'll need to do is make sure
you're grouping by more than just the hour.  Otherwise, in your grouped
output, you would have all of that hour for as many different month/day/year
combos as are in your database (unless, that is, you're passing in a single
date)

Pete


On 5/1/07, Robert Rawlins - Think Blue [EMAIL PROTECTED]
wrote:

 Hello Guys,



 I have a bunch of records of log data, all with a datetime stamp on it,
 and
 I'm looking to have SQL Server return them grouped into hours. I've done
 this before using MySQL I think, using the Hour() function in the query
 but
 it would seem that SQL Server doesn't support such a function. The table
 looks something like this.



 LogID ClassID  DateTime

 1  1  01/01/2007 00:01:25

 2  1  01/01/2007 00:01:27

 3  1  01/01/2007 00:01:28

 4  1  01/01/2007 00:01:28

 5  2  01/01/2007 00:01:30

 6  1  01/01/2007 00:02:01

 7  2  01/01/2007 00:02:25

 8  1  01/01/2007 00:03:40

 9  2  01/01/2007 00:03:55



 Any idea on the best way to do this? There could be tones of records per
 hour you see, and it makes it much simpler to table and chart if they're
 grouped into hours. I'd also like to perform a count for the number of
 each
 type if 'class' there was for each hour, so when outputting the data it
 looks something like this.



 Date/Time  Class 1   Class 2

 01/01/2007 006  3



 Make sense?



 Thanks for any help guys,



 Rob



 



~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276609
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: client side and server side validation

2007-05-01 Thread Claude Schneegans
 and they ask why the JS and the CF routines had to be written 
twice... But if you have rich
customers, no problem.

My customers are not rich, (my taylor is) but they don't even know what 
is JS or CF anyway ;-)

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


~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276610
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Group By Hours

2007-05-01 Thread Robert Rawlins - Think Blue
Don't Worry,

Onto something now with that date part stuff.

I'll let you know how I get on.

Rob

-Original Message-
From: Robert Rawlins - Think Blue
[mailto:[EMAIL PROTECTED] 
Sent: 01 May 2007 13:48
To: CF-Talk
Subject: RE: Group By Hours

Thanks for the suggestion Pete,

I'm sure that this datepart() function is defiantly going to be the way to
do this, however I'm struggling to get your solution to work. When I try to
run that query I get the following error.

http://80.244.184.135/teststats.cfm

Any ideas? I've not seen that '+ / + datepart' type thing used before, can
you explain a little more about what that's actually doing? Is that just
building a dynamic date without the minutes and seconds?

Thanks,

Rob

-Original Message-
From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] 
Sent: 01 May 2007 13:26
To: CF-Talk
Subject: Re: Group By Hours

select logid, classid, datetime, datepart(year, datetime) + '/' +
datepart(month, datetime) + '/' + datepart(day, datetime) + '/' +
datepart(hour, datetime) AS groupbyvalue
from table
order by datetime

That looks sort of weird, but I think what you'll need to do is make sure
you're grouping by more than just the hour.  Otherwise, in your grouped
output, you would have all of that hour for as many different month/day/year
combos as are in your database (unless, that is, you're passing in a single
date)

Pete


On 5/1/07, Robert Rawlins - Think Blue [EMAIL PROTECTED]
wrote:

 Hello Guys,



 I have a bunch of records of log data, all with a datetime stamp on it,
 and
 I'm looking to have SQL Server return them grouped into hours. I've done
 this before using MySQL I think, using the Hour() function in the query
 but
 it would seem that SQL Server doesn't support such a function. The table
 looks something like this.



 LogID ClassID  DateTime

 1  1  01/01/2007 00:01:25

 2  1  01/01/2007 00:01:27

 3  1  01/01/2007 00:01:28

 4  1  01/01/2007 00:01:28

 5  2  01/01/2007 00:01:30

 6  1  01/01/2007 00:02:01

 7  2  01/01/2007 00:02:25

 8  1  01/01/2007 00:03:40

 9  2  01/01/2007 00:03:55



 Any idea on the best way to do this? There could be tones of records per
 hour you see, and it makes it much simpler to table and chart if they're
 grouped into hours. I'd also like to perform a count for the number of
 each
 type if 'class' there was for each hour, so when outputting the data it
 looks something like this.



 Date/Time  Class 1   Class 2

 01/01/2007 006  3



 Make sense?



 Thanks for any help guys,



 Rob



 





~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276611
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfscript vs. cfml

2007-05-01 Thread Christopher Jordan
A guy in my CFUG did a comparison of the decompiled JIT code, and found 
that cfscript was faster. Sure if your example is:

cfif (a eq b)
  cfset a = c /
/cfif

vs.

cfscript
if (a eq b) { a = c; }
/cfscript

 then the difference is likely to be immeasurable, but for more 
complicated code that's not the case. Here's part of a post to my local 
CFUG's mailing list on the subject:

Obviously, ColdFusion is middle ware for your middle ware. It is a
collection of servlets that consolidate Java functionality into one
tidy command. Calling a tag when you can script it out with one
cfscript block, simply creates another import and more code in the
final JIT. If you write the code in cfscript, it is closer to the end
result (Java) than if CF has to import more servlet libraries to get
to the final result.

Get yourself a java decompiler, write the code both ways in two
different files, decompile the JIT, and you'll see what I mean.

Does any of this mean that I stopped using CF tags altogether? No. But I 
use CFScript where I can, and where I think it will make a difference.

Just some more food for thought on this age old debate. :o)

Cheers,
Chris

Ben Nadel wrote:
 I can't remember where I saw it, but someone actually looked at the
 compiled code of CFScript vs. the compiles code of Tag based coding. The
 Cfscript compiles code did this thing where it shut off the white space
 buffer or something. I can't remember if this resulted in speed
 difference, or was just to point out that they compile differently? But
 if there is a speed difference, as Andrew says, now that its MX, its
 gonna be insignificant. 


 ..
 Ben Nadel
 Certified Advanced ColdFusion MX7 Developer
 www.bennadel.com
  
 Need ColdFusion Help?
 www.bennadel.com/ask-ben/

 -Original Message-
 From: Andrew Scott [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, May 01, 2007 6:40 AM
 To: CF-Talk
 Subject: Re: cfscript vs. cfml

 Pre MX that was the case, now there is no spped increase in cfscript
 over cfml anymore.

 As for preference, I think it is just that now preference.


 

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276612
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Which Framework do you use... (if any)

2007-05-01 Thread Tom Chiverton
On Saturday 28 Apr 2007, Robertson-Ravo, Neil (RX) wrote:
 Just what frameworks/methologies are people using, if any? 

We use Reactor and ColdSpring to underpin a fairly normal n-tier 
service/manager methodology.
All our new front-ends are Flex, so we don't have a current CF view layer, but 
in the past Fusebox (3) was used.

 There must be one
 which is faster, more productive 

Why ?

 and which just seems the best?  

The one you find easiest to get on with for the job at hand is 'the best'.

 Which  
 one has the most backing? The most long-term vision and lifecycle?

It's all sixes and half-dozens as far as I can tell. For instance, Reactor 
isn't at v1 yet, but is stable and solid. Transfer has more features, but I'm 
not sure I'd use them and adding them has created frequent updates to it's 
core.

-- 
Tom Chiverton
Helping to advantageously fashion sexy networks
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276613
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Group By Hours

2007-05-01 Thread Robert Rawlins - Think Blue
Ok, 

So I now have this grouping as I want it too, using that date part function,
I just need a little help with the counting. Look below for my current query
and the results returned.

!--- Query to Obtain Records ---
cfquery name=LOCAL.qGetAllDateRangeForUnitByDay datasource=
SELECT  DATEPART(month, DateTime) AS myMonth,
DATEPART(day, Datetime) AS myDay,
DATEPART(year, DateTime) AS myYear,
DATEPART(hour, DateTime) AS myHour,
COUNT(1) AS SentOk
FROMMacLog
WHERE   DateTime BETWEEN cfqueryparam value=#ARGUMENTS.StartDate#
cfsqltype=cf_sql_timestamp / AND cfqueryparam
value=#ARGUMENTS.EndDate# cfsqltype=cf_sql_timestamp /
AND ThinkTank_ID = cfqueryparam
value=#ARGUMENTS.ThinkTankID# cfsqltype=cf_sql_integer maxlength=4 /
GROUP BYDATEPART(month, dateTime),
DATEPART(day, datetime),
DATEPART(year, dateTime),
DATEPART(hour, dateTime)
/cfquery

http://80.244.184.135/teststats.cfm

Now that returns all the records and groups them by hour, and also displays
a count of the number of records found for each hour. Now I'm looking to
count the number of records in each hour that displays a particular value in
its LogClass_ID field, something like this.

COUNT(WHERE LogClass_ID = 1) AS Sent
COUNT(WHERE LogClass_ID = 2) AS Failed
COUNT(WHERE LogClass_ID = 3) AS Postponed

Or something to that effect. Then for each hour I'll know how many records
there are of each log class.

Any ideas?

Thanks,

Rob


~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276614
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Group By Hours

2007-05-01 Thread Deanna Schneider
It's pretty much as you said, except the syntax is:

SUM(CASE WHEN logclass_id = 1 THEN 1 ELSE 0 END) as sent

On 5/1/07, Robert Rawlins - Think Blue  wrote:
 Ok,



 COUNT(WHERE LogClass_ID = 1) AS Sent
 COUNT(WHERE LogClass_ID = 2) AS Failed
 COUNT(WHERE LogClass_ID = 3) AS Postponed


~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276615
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cfscript vs. cfml

2007-05-01 Thread Robert Rawlins - Think Blue
Thanks for the input on this stuff guys,

I think I can agree with you Chris, that was always my line of thought that
cfscript is nearer to the runtime code and will need less parsing and
compiling than the standard tag based code, I'd like to see some charted
data on this stuff, Maybe I'll arrange something to be put together, perhaps
some benchmark tests on core functions you'll find in many applications and
then compare the two methods.

If I had the time I've always been curious to time functions across my
entire application, having two versions, one running tagged code, the other
running script, but to be honest, I'm not that sad :-D

Thanks for your input guys,

Rob

-Original Message-
From: Christopher Jordan [mailto:[EMAIL PROTECTED] 
Sent: 01 May 2007 14:16
To: CF-Talk
Subject: Re: cfscript vs. cfml

A guy in my CFUG did a comparison of the decompiled JIT code, and found 
that cfscript was faster. Sure if your example is:

cfif (a eq b)
  cfset a = c /
/cfif

vs.

cfscript
if (a eq b) { a = c; }
/cfscript

. then the difference is likely to be immeasurable, but for more 
complicated code that's not the case. Here's part of a post to my local 
CFUG's mailing list on the subject:

Obviously, ColdFusion is middle ware for your middle ware. It is a
collection of servlets that consolidate Java functionality into one
tidy command. Calling a tag when you can script it out with one
cfscript block, simply creates another import and more code in the
final JIT. If you write the code in cfscript, it is closer to the end
result (Java) than if CF has to import more servlet libraries to get
to the final result.

Get yourself a java decompiler, write the code both ways in two
different files, decompile the JIT, and you'll see what I mean.

Does any of this mean that I stopped using CF tags altogether? No. But I 
use CFScript where I can, and where I think it will make a difference.

Just some more food for thought on this age old debate. :o)

Cheers,
Chris

Ben Nadel wrote:
 I can't remember where I saw it, but someone actually looked at the
 compiled code of CFScript vs. the compiles code of Tag based coding. The
 Cfscript compiles code did this thing where it shut off the white space
 buffer or something. I can't remember if this resulted in speed
 difference, or was just to point out that they compile differently? But
 if there is a speed difference, as Andrew says, now that its MX, its
 gonna be insignificant. 


 ..
 Ben Nadel
 Certified Advanced ColdFusion MX7 Developer
 www.bennadel.com
  
 Need ColdFusion Help?
 www.bennadel.com/ask-ben/

 -Original Message-
 From: Andrew Scott [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, May 01, 2007 6:40 AM
 To: CF-Talk
 Subject: Re: cfscript vs. cfml

 Pre MX that was the case, now there is no spped increase in cfscript
 over cfml anymore.

 As for preference, I think it is just that now preference.


 



~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276616
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: client side and server side validation

2007-05-01 Thread Bobby Hartsfield
LOL!

-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 01, 2007 8:51 AM
To: CF-Talk
Subject: Re: client side and server side validation

 and they ask why the JS and the CF routines had to be written 
twice... But if you have rich
customers, no problem.

My customers are not rich, (my taylor is) but they don't even know what 
is JS or CF anyway ;-)

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




~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276617
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: client side and server side validation

2007-05-01 Thread James Holmes
Lucky you - mine often become experts as soon as I hand over the app.

On 5/1/07, Claude Schneegans [EMAIL PROTECTED] wrote:
  and they ask why the JS and the CF routines had to be written
 twice... But if you have rich
 customers, no problem.

 My customers are not rich, (my taylor is) but they don't even know what
 is JS or CF anyway ;-)

-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276618
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Strip HTML from a Collection

2007-05-01 Thread Bobby Hartsfield
That too :-)

Cheers,
Previous Guy

-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 01, 2007 7:05 AM
To: CF-Talk
Subject: Re: Strip HTML from a Collection

Actually for #2, you want to just use htmleditformat

cfset cleantext = htmlEditFormat(queryname.column)

On 4/30/07, Bobby Hartsfield [EMAIL PROTECTED] wrote:
 That depends. Do you mean just take it out completely or have it displayed
 as text?

 To take out all html tags you can use a regular expression like...
 cfset cleantext = rereplace(queryname.column, [^]*, , all) /

 To just make the html display as normal text just replace  with lt;
 cfset cleantext = replace(queryname.column, , lt;, all) /

 Good luck


 -Original Message-
 From: Mark Flewellen [mailto:[EMAIL PROTECTED]
 Sent: Monday, April 30, 2007 10:09 PM
 To: CF-Talk
 Subject: Strip HTML from a Collection

 How do people on this list deal with stripping html a column in a query
 prior to loading the query into a coldfusion collection?



 



~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276619
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: regex or other easy way to change code to lowercase for linux

2007-05-01 Thread Jon Clausen
stylo,

If you change the setting for mysql to lower_case_table_names=1  
instead of the default 0, you won't have to worry about the upper  
case names in your code.  MySQL will lowercase all of the names when  
it runs the query.   Then you don't have to change your code.

http://dev.mysql.com/doc/refman/5.0/en/identifier-case-sensitivity.html

HTH,

Jon

On May 1, 2007, at 8:23 AM, stylo stylo wrote:

 Can anyone suggest a regex or another easy way to change all the  
 cfquery table name code and other required bits (file names, etc.)  
 to lowercase for linux/mysql? I'm using homesite.

 For example, I can't seem to come up with a regex for cfquery that  
 isn't greedy but allows tags inbetween the start and finish.

 Searching and checking all the table names would be awful, so I  
 just want to set everything to lowercase and go from there.

 Btw, if you have a WHERE table.field clause, does mysql require  
 that table name to be case sensitive just like in the FROM clause?

 Thanks.



~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276620
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Group By Hours

2007-05-01 Thread Robert Rawlins - Think Blue
Perfect Deanna,

That works nicely, glad I've got you guys on hand, I would have NEVER gotten
that one on my own.

Thanks a million,

Rob

-Original Message-
From: Deanna Schneider [mailto:[EMAIL PROTECTED] 
Sent: 01 May 2007 14:23
To: CF-Talk
Subject: Re: Group By Hours

It's pretty much as you said, except the syntax is:

SUM(CASE WHEN logclass_id = 1 THEN 1 ELSE 0 END) as sent

On 5/1/07, Robert Rawlins - Think Blue  wrote:
 Ok,



 COUNT(WHERE LogClass_ID = 1) AS Sent
 COUNT(WHERE LogClass_ID = 2) AS Failed
 COUNT(WHERE LogClass_ID = 3) AS Postponed




~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276621
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Question about CFEclipse toolbar

2007-05-01 Thread Andy Matthews
I'm using CFEclipse in conjunction with Aptana for JS and CSS files. There's
a default toolbar that loads when CFE does. I never use that toolbar and
there's also an irritating screenshoft when I switch between CFE and Apt
since Apt doesn't have that toolbar. Is there any way to turn that toolbar
off in CFE?
 
I've already poked around in Preferences under both CFE and the General
area, but can't seem to find it. I've also tried turning it off by right
clicking (no option for that), dragging it off screen (doesn't work) and a
few other things. Is it possible to turn this toolbar off?
 

 
Andy Matthews
Senior Coldfusion Developer

Office:  877.707.5467 x747
Direct:  615.627.9747
Fax:  615.467.6249
[EMAIL PROTECTED]
www.dealerskins.com http://www.dealerskins.com/ 
 


~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276622
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Which Framework do you use... (if any)

2007-05-01 Thread Nick Tong
I think a lot of it really depends on your style of coding. The fastest one,
i believe, is the one that best suits your coding style. If your a
procedural programmer the last thing you want to do is start working with
heavy OO based frameworks.  Use the tool for the job.

The best framework is also the one that works for you. Ask people who u know
program the same way as you and see what they use and why they do, then try
it out.  In fact... just try them out, then you know yourself ;)

On 01/05/07, Tom Chiverton [EMAIL PROTECTED] wrote:

 On Saturday 28 Apr 2007, Robertson-Ravo, Neil (RX) wrote:
  Just what frameworks/methologies are people using, if any?

 We use Reactor and ColdSpring to underpin a fairly normal n-tier
 service/manager methodology.
 All our new front-ends are Flex, so we don't have a current CF view layer,
 but
 in the past Fusebox (3) was used.

  There must be one
  which is faster, more productive

 Why ?

  and which just seems the best?

 The one you find easiest to get on with for the job at hand is 'the best'.

  Which
  one has the most backing? The most long-term vision and lifecycle?

 It's all sixes and half-dozens as far as I can tell. For instance, Reactor
 isn't at v1 yet, but is stable and solid. Transfer has more features, but
 I'm
 not sure I'd use them and adding them has created frequent updates to it's
 core.

 --
 Tom Chiverton
 Helping to advantageously fashion sexy networks
 on: http://thefalken.livejournal.com

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England
 and Wales under registered number OC307980 whose registered office address
 is at St James's Court Brown Street Manchester M2 2JF.  A list of members is
 available for inspection at the registered office. Any reference to a
 partner in relation to Halliwells LLP means a member of Halliwells LLP.
 Regulated by the Law Society.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and
 may be confidential or legally privileged.  If you are not the addressee you
 must not read it and must not use any information contained in nor copy it
 nor inform any person other than Halliwells LLP or the addressee of its
 existence or contents.  If you have received this email in error please
 delete it and notify Halliwells LLP IT Department on 0870 365 8008.

 For more information about Halliwells LLP visit www.halliwells.com.


 

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276623
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


cfusion_settings_refresh() in CFMX?

2007-05-01 Thread Eric P
Hi,

I was just wondering if there's something compatible with
cfusion_settings_refresh() in CFMX.  We have a script that would make
changes to /lib/neo-debug.xml on the fly, and we need a way to tell
the CF app server to read neo-debug.xml again.

Thanks for reading,
Eric P.

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276624
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Flash Chart

2007-05-01 Thread Robert Rawlins - Think Blue
Hello Guys,

 

I'm having problems with a flash based CFCHART. When the chart is set to jpg
or png it renders fine but when set to flash it doesn't appear in the
browser and I get a 'page done but with errors' on the bottom of my browser.
I have flash charts on other apps on the same server and they work just
fine. Any ideas what might be causing this?

 

The error on the browser says 'line: 208 , error: object expected' or
something like that.

 

Thanks,

 

Rob



~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276625
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CFMail - Outputting to screen instead of sending email

2007-05-01 Thread Chris Ditty
It has been a long while since I used the cfmail tag, so I am prob
missing something.  For some reason, the mail tag is displaying the
contents on the screen instead of sending the email.

I verified that there is a mail server setup in CF Admin.

cfmail
to = #error.mailto#
from = #error.mailto#
subject = Error on #application.name# - Page: #error.template#
Error Date/Time: #error.datetime#
User's Browser: #error.Browser#
URL Parms: #error.querystring#
Previous Page: #error.HTTPReferer#
---
#error.Diagnostics#
/cfmail

Any have any suggestions?

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276626
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Question about CFEclipse toolbar

2007-05-01 Thread JediHomer
Yea, goto

Windows|Preferences...

CFEclipse  Editor

Then uncheck the Show Editor Toolbar

Should do it

HTH

On 01/05/07, Andy Matthews [EMAIL PROTECTED] wrote:
 I'm using CFEclipse in conjunction with Aptana for JS and CSS files. There's
 a default toolbar that loads when CFE does. I never use that toolbar and
 there's also an irritating screenshoft when I switch between CFE and Apt
 since Apt doesn't have that toolbar. Is there any way to turn that toolbar
 off in CFE?

 I've already poked around in Preferences under both CFE and the General
 area, but can't seem to find it. I've also tried turning it off by right
 clicking (no option for that), dragging it off screen (doesn't work) and a
 few other things. Is it possible to turn this toolbar off?

 

 Andy Matthews
 Senior Coldfusion Developer

 Office:  877.707.5467 x747
 Direct:  615.627.9747
 Fax:  615.467.6249
 [EMAIL PROTECTED]
 www.dealerskins.com http://www.dealerskins.com/



 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276627
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Flash Chart

2007-05-01 Thread Jon Clausen
Robert,

Have you checked your Flash Remoting settings in the CF Admin?  If  
you're running IIS, you may need to set the wildcard handler and  
uncheck the Verify File Exists setting for the site in IIS.That  
error can be caused by IIS 404'ing the Flash object that CF is trying  
to serve.

You can see my reply to a previous post here: http:// 
www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:50619

HTH,

Jon

On May 1, 2007, at 10:30 AM, Robert Rawlins - Think Blue wrote:

 Hello Guys,



 I'm having problems with a flash based CFCHART. When the chart is  
 set to jpg
 or png it renders fine but when set to flash it doesn't appear in the
 browser and I get a 'page done but with errors' on the bottom of my  
 browser.
 I have flash charts on other apps on the same server and they work  
 just
 fine. Any ideas what might be causing this?



 The error on the browser says 'line: 208 , error: object expected' or
 something like that.



 Thanks,



 Rob



 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276628
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Flash Chart

2007-05-01 Thread Robert Rawlins - Think Blue
Thanks Jon,

That mapping is already configured in my IIS and is unchecked for ensuring
the file exists, I've also had a look around my CF admin and can't see
anything abnormal, like I say, its working on other sites on the same
server, it would seem that the finger should be pointing at my code, but
it's not as if its complex.

Thanks,

Rob

-Original Message-
From: Jon Clausen [mailto:[EMAIL PROTECTED] 
Sent: 01 May 2007 15:47
To: CF-Talk
Subject: Re: Flash Chart

Robert,

Have you checked your Flash Remoting settings in the CF Admin?  If  
you're running IIS, you may need to set the wildcard handler and  
uncheck the Verify File Exists setting for the site in IIS.That  
error can be caused by IIS 404'ing the Flash object that CF is trying  
to serve.

You can see my reply to a previous post here: http:// 
www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:50619

HTH,

Jon

On May 1, 2007, at 10:30 AM, Robert Rawlins - Think Blue wrote:

 Hello Guys,



 I'm having problems with a flash based CFCHART. When the chart is  
 set to jpg
 or png it renders fine but when set to flash it doesn't appear in the
 browser and I get a 'page done but with errors' on the bottom of my  
 browser.
 I have flash charts on other apps on the same server and they work  
 just
 fine. Any ideas what might be causing this?



 The error on the browser says 'line: 208 , error: object expected' or
 something like that.



 Thanks,



 Rob



 



~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276629
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: directory watcher

2007-05-01 Thread Andrew Scott
it looks like the data.filename is not containing what you think it should



On 5/1/07, Asim Manzur [EMAIL PROTECTED] wrote:

 my typo error on posting.
 the codes are:

 cffunction access=public name=onAdd output=no
   cfargument name=CFEvent type=struct required=yes
   cfset data=CFEvent.data

 cfmail to=[EMAIL PROTECTED] from=[EMAIL PROTECTED] subject=New
 Log File Created!
   Msg: Log file attached.
   Filename: #data.filename#
   cfmailparam file=#data.filename# type=text/plain
 /cfmail
 /cffunction

 The event is executing as soon as the new file created.
 If I take the cfmailparam file=#data.filename# type=text/plain line
 out everything works fine.
 With this line in the code its generating the error in exception.log.

 Error invoking CFC for gateway SendLogsEvent: String index out of range:
 -1
 java.lang.StringIndexOutOfBoundsException: String index out of range: -1


 Pelase advise.

 --
 ...
 Regards,


 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276630
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Flash Chart

2007-05-01 Thread Jon Clausen
Rob,

Sorry that didn't help.  I don't want you to think I didn't read your  
original post:  Sometimes the Wildcard can be configured correctly in  
the IIS default site, but doesn't make the transfer to a single site,  
depending on how that creation is done (i.e. using a control panel,  
copying from an existing, etc).

One other thing to check:  Are you passing any skin settings (i.e.  
color,font, etc) to the chart?  If so, if you  create the chart  
without any design/font parameters does that make a difference?  I  
know there are a limited number of colors that cfchart accepts as  
well as limitations on fonts.

HTH,
Jon

On May 1, 2007, at 11:03 AM, Robert Rawlins - Think Blue wrote:

 Thanks Jon,

 That mapping is already configured in my IIS and is unchecked for  
 ensuring
 the file exists, I've also had a look around my CF admin and can't see
 anything abnormal, like I say, its working on other sites on the same
 server, it would seem that the finger should be pointing at my  
 code, but
 it's not as if its complex.

 Thanks,

 Rob

 -Original Message-
 From: Jon Clausen [mailto:[EMAIL PROTECTED]
 Sent: 01 May 2007 15:47
 To: CF-Talk
 Subject: Re: Flash Chart

 Robert,

 Have you checked your Flash Remoting settings in the CF Admin?  If
 you're running IIS, you may need to set the wildcard handler and
 uncheck the Verify File Exists setting for the site in IIS.That
 error can be caused by IIS 404'ing the Flash object that CF is trying
 to serve.

 You can see my reply to a previous post here: http://
 www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:50619

 HTH,

 Jon

 On May 1, 2007, at 10:30 AM, Robert Rawlins - Think Blue wrote:

 Hello Guys,



 I'm having problems with a flash based CFCHART. When the chart is
 set to jpg
 or png it renders fine but when set to flash it doesn't appear in the
 browser and I get a 'page done but with errors' on the bottom of my
 browser.
 I have flash charts on other apps on the same server and they work
 just
 fine. Any ideas what might be causing this?



 The error on the browser says 'line: 208 , error: object expected' or
 something like that.



 Thanks,



 Rob







 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276631
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: directory watcher

2007-05-01 Thread Asim Manzur
I took the line out for attachement and add the variable name
#data.filename# there.
The email I recevied it has a correct filename with the correct path.

It looks to me that everything is fine except when I add the attachement.

Just wanna make sure that there is no limitation using the cfmailparam
within the cfc executed by the gateway instance.


Thanks for you reply, but my probelm still the same.

--
Regards,



it looks like the data.filename is not containing what you think it should



On 5/1/07, Asim Manzur wrote:



~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276632
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: directory watcher

2007-05-01 Thread Andrew Scott
why do you not try attachment instead of param...



On 5/2/07, Asim Manzur [EMAIL PROTECTED] wrote:

 I took the line out for attachement and add the variable name
 #data.filename# there.
 The email I recevied it has a correct filename with the correct path.

 It looks to me that everything is fine except when I add the attachement.

 Just wanna make sure that there is no limitation using the cfmailparam
 within the cfc executed by the gateway instance.


 Thanks for you reply, but my probelm still the same.

 --
 Regards,



 it looks like the data.filename is not containing what you think it
 should
 
 
 
 On 5/1/07, Asim Manzur wrote:
 


 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276633
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: client side and server side validation

2007-05-01 Thread Dan G. Switzer, II
Until the maintenance bill goes to the customer and they ask why the
JS and the CF routines had to be written twice... But if you have rich
customers, no problem.

It still confuses me on how you guys think adding pure client-side
validation is so difficult. From many of the comments on here, you'd think
it takes days to implement. 

In fact, there are hundreds of options available to you for making this
easier. Adding some advance client-side logic (that's unobtrusive) generally
takes me an extra 15-30 minutes. Maybe a little longer if I'm hiding/showing
a bunch of irrelevant fields based upon data input (once again--all done in
an unobtrusive manor.)

While I'm not a fan of CFFORM's client-side validation, it's there and it
works--no JS knowledge needed.

Then there are the slew of JavaScript API's out there that make the job a
cinch. There's a learning curb to using the APIs for sure, but generally
once you do a couple of forms, development from that point on is extremely
fast.

There's absolutely no reason to be developing multiple versions of the same
page or that adding pure client-side validation should be a huge drain on
your time. 

-Dan


~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276634
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Flash Chart

2007-05-01 Thread Robert Rawlins - Think Blue
Thanks Jon,

I can appreciate your thoughts on the IIS not duplicating those settings,
I'll be sure to keep my eye on things for the future when having problems
with this stuff, or my remoting.

Unfortunately I don't have anything at all complex on my chart as far as
modifications are concerned, it's simply got skin=blue and that's about
it, nothing more complex with colours or fonts, I tend to define that stuff
in the XML if I plan on making anything serious style changes.

I really am lost, I mean it's not the end of the world as the PNG works a
charm for the moment, but it's just frustrating not knowing what's causing
it.

Thanks again for your help Jon,

Rob

-Original Message-
From: Jon Clausen [mailto:[EMAIL PROTECTED] 
Sent: 01 May 2007 16:35
To: CF-Talk
Subject: Re: Flash Chart

Rob,

Sorry that didn't help.  I don't want you to think I didn't read your  
original post:  Sometimes the Wildcard can be configured correctly in  
the IIS default site, but doesn't make the transfer to a single site,  
depending on how that creation is done (i.e. using a control panel,  
copying from an existing, etc).

One other thing to check:  Are you passing any skin settings (i.e.  
color,font, etc) to the chart?  If so, if you  create the chart  
without any design/font parameters does that make a difference?  I  
know there are a limited number of colors that cfchart accepts as  
well as limitations on fonts.

HTH,
Jon

On May 1, 2007, at 11:03 AM, Robert Rawlins - Think Blue wrote:

 Thanks Jon,

 That mapping is already configured in my IIS and is unchecked for  
 ensuring
 the file exists, I've also had a look around my CF admin and can't see
 anything abnormal, like I say, its working on other sites on the same
 server, it would seem that the finger should be pointing at my  
 code, but
 it's not as if its complex.

 Thanks,

 Rob

 -Original Message-
 From: Jon Clausen [mailto:[EMAIL PROTECTED]
 Sent: 01 May 2007 15:47
 To: CF-Talk
 Subject: Re: Flash Chart

 Robert,

 Have you checked your Flash Remoting settings in the CF Admin?  If
 you're running IIS, you may need to set the wildcard handler and
 uncheck the Verify File Exists setting for the site in IIS.That
 error can be caused by IIS 404'ing the Flash object that CF is trying
 to serve.

 You can see my reply to a previous post here: http://
 www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:50619

 HTH,

 Jon

 On May 1, 2007, at 10:30 AM, Robert Rawlins - Think Blue wrote:

 Hello Guys,



 I'm having problems with a flash based CFCHART. When the chart is
 set to jpg
 or png it renders fine but when set to flash it doesn't appear in the
 browser and I get a 'page done but with errors' on the bottom of my
 browser.
 I have flash charts on other apps on the same server and they work
 just
 fine. Any ideas what might be causing this?



 The error on the browser says 'line: 208 , error: object expected' or
 something like that.



 Thanks,



 Rob







 



~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276635
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Check for valid email before CFMAIL

2007-05-01 Thread coldfusion . developer
I've got a database that didn't use form validation and some email addresses are
not valid.  So before I use the cfmail tag to send these out how can I check to 
make
sure it's a valid email address?

Code ...

!--- THIS CREATES A LIST OF THE MOST RECENT SUBSCRIPTIONS TO THE SHARE YOUR 
THOUGHTS DATABASE ---
CFQUERY name=sendemail datasource=#recipes# maxrows=2000
SELECT dbo.mailprofiles.email, dbo.mailprofiles.firstname
FROM dbo.subscriptions INNER JOIN
  dbo.mailprofiles ON dbo.subscriptions.mailprofileID = 
dbo.mailprofiles.mailprofileID INNER JOIN
  dbo.newslettertypes ON dbo.subscriptions.newslettertypeID 
= dbo.newslettertypes.newslettertypeID
WHERE (dbo.subscriptions.newslettertypeID = 16) 
ORDER BY dbo.subscriptions.datesubscribed DESC/CFQUERY

CFLOOP query=sendemail startrow=6 endrow=50
cfmail to=#email# from=[EMAIL PROTECTED] subject=Share Your Thoughts! 
bcc=[EMAIL PROTECTED] type=html

Hello #firstname#,
p Recently you told us you'd be interested in sharing your thoughtsbr
with us about our products.  Please let us know what you think br
about some new yogurt flavors. As a thank you for completing our br
short survey, we'll enter your name in a drawing to win 

p Please click on the link below to get started.   We appreciate your 
feedback.  
p 
p Thank you.
/cfmail
/CFLOOP

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276636
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Curious items in cfserver.log

2007-05-01 Thread Rick Root
Anyone seen this before?

May 1, 2007 10:23:42 AM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush system prefs:
java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com
create failed.

It's showing up in my cfserver.log (CFMX 7.0.2 on Linux) every 30
seconds.. don't know why.

Rick

-- 
CFMBB - Coldfusion Message Boards, Version 1.21 Now Available!
http://www.cfmbb.org

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276637
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfusion_settings_refresh() in CFMX?

2007-05-01 Thread Jochem van Dieten
Eric P wrote:
 
 I was just wondering if there's something compatible with
 cfusion_settings_refresh() in CFMX.  We have a script that would make
 changes to /lib/neo-debug.xml on the fly, and we need a way to tell
 the CF app server to read neo-debug.xml again.

Use the Admin API instead of changing the XML file directly.

Jochem

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276638
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Check for valid email before CFMAIL

2007-05-01 Thread Andy Matthews
You can check to see if the email is syntactically correct, but short of 
opening a socket to the mail server used by that email, there's no way of 
checking that it's a real email address.

 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 01, 2007 11:21 AM
To: CF-Talk
Subject: Check for valid email before CFMAIL

I've got a database that didn't use form validation and some email addresses 
are not valid.  So before I use the cfmail tag to send these out how can I 
check to make sure it's a valid email address?

Code ...

!--- THIS CREATES A LIST OF THE MOST RECENT SUBSCRIPTIONS TO THE SHARE YOUR 
THOUGHTS DATABASE --- CFQUERY name=sendemail datasource=#recipes# 
maxrows=2000
SELECT dbo.mailprofiles.email, dbo.mailprofiles.firstname
FROM dbo.subscriptions INNER JOIN
  dbo.mailprofiles ON dbo.subscriptions.mailprofileID = 
dbo.mailprofiles.mailprofileID INNER JOIN
  dbo.newslettertypes ON dbo.subscriptions.newslettertypeID 
= dbo.newslettertypes.newslettertypeID
WHERE (dbo.subscriptions.newslettertypeID = 16) 
ORDER BY dbo.subscriptions.datesubscribed DESC/CFQUERY

CFLOOP query=sendemail startrow=6 endrow=50 cfmail to=#email# 
from=[EMAIL PROTECTED] subject=Share Your Thoughts! bcc=[EMAIL PROTECTED] 
type=html

Hello #firstname#,
p Recently you told us you'd be interested in sharing your thoughtsbr with 
us about our products.  Please let us know what you think br about some new 
yogurt flavors. As a thank you for completing our br short survey, we'll 
enter your name in a drawing to win 

p Please click on the link below to get started.   We appreciate your 
feedback.  
p
p Thank you.
/cfmail
/CFLOOP



~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276639
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFMail - Outputting to screen instead of sending email

2007-05-01 Thread Josh Nathanson
If you're using cfmail in the context of a cferror tag, and you have cferror 
type=request, the page that is called from cferror can only process a 
small subset of the normal CF tags.  This could be what you're running into.

In the past I had to do an html meta refresh to get around this limitation, 
putting the error values in the url.

-- Josh

- Original Message - 
From: Chris Ditty [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, May 01, 2007 7:43 AM
Subject: CFMail - Outputting to screen instead of sending email


 It has been a long while since I used the cfmail tag, so I am prob
 missing something.  For some reason, the mail tag is displaying the
 contents on the screen instead of sending the email.

 I verified that there is a mail server setup in CF Admin.

 cfmail
 to = #error.mailto#
 from = #error.mailto#
 subject = Error on #application.name# - Page: #error.template#
 Error Date/Time: #error.datetime#
 User's Browser: #error.Browser#
 URL Parms: #error.querystring#
 Previous Page: #error.HTTPReferer#
 ---
 #error.Diagnostics#
 /cfmail

 Any have any suggestions?

 

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276640
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Check for valid email before CFMAIL

2007-05-01 Thread Josh Nathanson
 I've got a database that didn't use form validation and some email 
 addresses are
 not valid.  So before I use the cfmail tag to send these out how can I 
 check to make
 sure it's a valid email address?

It depends what you mean by valid.  You can check for valid syntax on the 
fly using isValid(email,email) (CF7 only).  At least this will allow you 
to get through the whole list without generating an error.

Checking to see if the email box exists on a server somewhere is another 
issue and is more tricky to handle - there are solutions out there to handle 
that though.  I don't think you want to do that on the fly as it's quite 
slow.

Mmmm, yogurt.

-- Josh


~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276641
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Looking for JS that detects IE6 AND 7 browser close

2007-05-01 Thread Bruce Sorge
Does anyone out there have a script that detects when IE 6 or IE 7 closes
the browser window? Not only am I looking for a click on the X on the top
right hand corner, but to detect if the tab is closed too.

Thanks,

-- 
Bruce Sorge

I'm a mawg: half man, half dog. I'm my own best friend!


~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276642
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Inaugural Meeting of the Capitol Hill User Group with Special Guests Ben Forta, Tim Buntel and Adam Wayne Lehman!

2007-05-01 Thread Blum, Jason \(SAA\)
RSVP at http://www.capitolhillusergroup.org/


Please join us at the inaugural meeting of the Capitol Hill User Group
(CHUG), an Adobe User Group for U.S. Federal Government web developers
who use or are interested in using Adobe web development technologies.

We'll be focusing on development tools and languages like ColdFusion,
Flex, ActionScript and Apollo, but hope to touch on the broader areas of
Development Frameworks, XML, Web Services, Design Patterns and Object
Oriented Programming in general.

Ben Forta, Tim Buntel and Adam Wayne Lehman will be on hand to give us a
sneak peak of the next version of ColdFusion: MX8, AKA: Scorpio.

All skill levels are welcome!

We'll meet in room 138 of the Dirksen Senate Office Building, May 17,
from 1 to 3pm.

Be sure and RSVP at http://www.capitolhillusergroup.org/ to be notified
of any changes.

And consider subscribing to the CHUG mailing list at
http://groups.google.com/group/capitolhillusergroup to be notified of
future happenings.




~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276643
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Looking for JS that detects IE6 AND 7 browser close

2007-05-01 Thread Dave Watts
 Does anyone out there have a script that detects when IE 6 or 
 IE 7 closes the browser window? Not only am I looking for a 
 click on the X on the top right hand corner, but to detect if 
 the tab is closed too.

The onunload event of the BODY tag will let you trap the closing of a
browser window or tab. However, I suspect that the JavaScript you could run
there would be somewhat limited.

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!

This email has been processed by SmoothZap - www.smoothwall.net


~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276644
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


SOT: ASP Version of CFEverywhere

2007-05-01 Thread C. Hatton Humphrey
I'm being asked, Can we make this ASP (classic) based website run on a CD?

Some searching of the archives here reminded me of CFEverywhere and I
know about Ralio but those are CF engines, I need something along the
same lines for ASP.

Any suggestions?

Thanks!
Hatton

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276645
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Looking for JS that detects IE6 AND 7 browser close

2007-05-01 Thread Bruce Sorge
I read the DOM and figured it out.

script type=text/javascript
function logout() {
location.href = 'logoff.cfm';
}
/script

body onbeforeunload=logout()



 The onunload event of the BODY tag will let you trap the closing of a
 browser window or tab. However, I suspect that the JavaScript you could
 run
 there would be somewhat limited.

 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!

 This email has been processed by SmoothZap - www.smoothwall.net




~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276646
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Looking for JS that detects IE6 AND 7 browser close

2007-05-01 Thread Rick Root
On 5/1/07, Dave Watts [EMAIL PROTECTED] wrote:

 The onunload event of the BODY tag will let you trap the closing of a
 browser window or tab. However, I suspect that the JavaScript you could run
 there would be somewhat limited.

It throws when you navigate away from the page as well as closing.

But in my experience, it's unreliable.  I tried using it with
CFOpenChat to notify the room that you were currently in that you were
leaving... and .. well.. like I said.. unreliable.

Rick

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276647
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Looking for JS that detects IE6 AND 7 browser close

2007-05-01 Thread Rick Root
bummer.. it works when I LEAVE the page, but not when I close the
browser window.  At least not in the ajax world CFOpenchat works in.

http://www.opensourcecf.com/cfopenchat/demo

Oh well.

On 5/1/07, Rick Root [EMAIL PROTECTED] wrote:
 Neat, I'll have to try that for cfopenchat.

 On 5/1/07, Bruce Sorge [EMAIL PROTECTED] wrote:
  I read the DOM and figured it out.
 
  script type=text/javascript
  function logout() {
  location.href = 'logoff.cfm';
  }
  /script
 
  body onbeforeunload=logout()
 
 
 
   The onunload event of the BODY tag will let you trap the closing of a
   browser window or tab. However, I suspect that the JavaScript you could
   run
   there would be somewhat limited.
  
   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!
  
   This email has been processed by SmoothZap - www.smoothwall.net
  
  
 
 
  

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276648
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: ASP Version of CFEverywhere

2007-05-01 Thread Russ
How about Apache, and mod_mono?  You can just start up apache from the CD,
and have your entire configuration on there already.  You can run it on any
port you want.  

I'm not 100% sure whether mod_mono can be run without installing, but I know
apache can. 

Russ



 -Original Message-
 From: C. Hatton Humphrey [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, May 01, 2007 1:38 PM
 To: CF-Talk
 Subject: SOT: ASP Version of CFEverywhere
 
 I'm being asked, Can we make this ASP (classic) based website run on a
 CD?
 
 Some searching of the archives here reminded me of CFEverywhere and I
 know about Ralio but those are CF engines, I need something along the
 same lines for ASP.
 
 Any suggestions?
 
 Thanks!
 Hatton
 
 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276649
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Looking for JS that detects IE6 AND 7 browser close

2007-05-01 Thread Bruce Sorge
Well this is an appeasement deal for my manager. My application will never
have the admin page and the end user page being used at the same time by the
same user on the same machine. So this will suffice while he tests it.

Bruce

On 5/1/07, Rick Root [EMAIL PROTECTED] wrote:

 On 5/1/07, Dave Watts [EMAIL PROTECTED] wrote:
 
  The onunload event of the BODY tag will let you trap the closing of a
  browser window or tab. However, I suspect that the JavaScript you could
 run
  there would be somewhat limited.

 It throws when you navigate away from the page as well as closing.

 But in my experience, it's unreliable.  I tried using it with
 CFOpenChat to notify the room that you were currently in that you were
 leaving... and .. well.. like I said.. unreliable.

 Rick




~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276650
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Looking for JS that detects IE6 AND 7 browser close

2007-05-01 Thread Bruce Sorge
Well it worked for me when I close the entire browser or just the tab. When
I click on other links on the page it does not trigger. I have this in my
Header.cfm file which is called on all of the admin windows, so maybe that
is why it is working for me?

On 5/1/07, Rick Root [EMAIL PROTECTED] wrote:

 bummer.. it works when I LEAVE the page, but not when I close the
 browser window.  At least not in the ajax world CFOpenchat works in.

 http://www.opensourcecf.com/cfopenchat/demo

 Oh well.




~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276651
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Inaugural Meeting of the Capitol Hill User Group with Special Guests Ben Forta, Tim Buntel and Adam Wayne Lehman!

2007-05-01 Thread Rick Root
CHUG!   I *LIKE* that one!

Rick

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276652
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: ASP Version of CFEverywhere

2007-05-01 Thread Dave Watts
  I'm being asked, Can we make this ASP (classic) based 
  website run on a CD?

 How about Apache, and mod_mono? 

To the best of my knowledge, ASP 3, or Classic ASP (yecch!) will not run
on mod_mono.

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!

This email has been processed by SmoothZap - www.smoothwall.net


~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276653
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SOT: ASP Version of CFEverywhere

2007-05-01 Thread Robertson-Ravo, Neil (RX)
I would be very suprised if this was possible (I gather you mean classic
ASP?) due the way ASP works in general.







This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, 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

-Original Message-
From: C. Hatton Humphrey
To: CF-Talk
Sent: Tue May 01 18:38:16 2007
Subject: SOT: ASP Version of CFEverywhere

I'm being asked, Can we make this ASP (classic) based website run on a CD?

Some searching of the archives here reminded me of CFEverywhere and I
know about Ralio but those are CF engines, I need something along the
same lines for ASP.

Any suggestions?

Thanks!
Hatton



~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276654
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Check for valid email before CFMAIL

2007-05-01 Thread Rick Root
google, isEmail +site:cflib.org

You won't be able to use the query attribute on cfmail if you have
badly formatted email addresses in your database though... unless you
loop through the query and correct or remove the rows with invalid
email addresses first using the UDF you find on cflib.

Rick


On 5/1/07, Josh Nathanson [EMAIL PROTECTED] wrote:
  I've got a database that didn't use form validation and some email
  addresses are
  not valid.  So before I use the cfmail tag to send these out how can I
  check to make
  sure it's a valid email address?

 It depends what you mean by valid.  You can check for valid syntax on the
 fly using isValid(email,email) (CF7 only).  At least this will allow you
 to get through the whole list without generating an error.

 Checking to see if the email box exists on a server somewhere is another
 issue and is more tricky to handle - there are solutions out there to handle
 that though.  I don't think you want to do that on the fly as it's quite
 slow.

 Mmmm, yogurt.

 -- Josh


 

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276655
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Check for valid email before CFMAIL

2007-05-01 Thread Rick Root
Shoot I forgot..

CFMX 7 introduced isValid() which allows you to validate the format of
an email address.

google isValid +site:livedocs.adobe.com

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276656
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Looking for JS that detects IE6 AND 7 browser close

2007-05-01 Thread Rick Root
Neat, I'll have to try that for cfopenchat.

On 5/1/07, Bruce Sorge [EMAIL PROTECTED] wrote:
 I read the DOM and figured it out.

 script type=text/javascript
 function logout() {
 location.href = 'logoff.cfm';
 }
 /script

 body onbeforeunload=logout()



  The onunload event of the BODY tag will let you trap the closing of a
  browser window or tab. However, I suspect that the JavaScript you could
  run
  there would be somewhat limited.
 
  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!
 
  This email has been processed by SmoothZap - www.smoothwall.net
 
 


 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276657
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Problem Using CFC Within IFrame

2007-05-01 Thread Anne Porosoff
I have a form that processes changes through a javascript that calls a 
processing page via an iframe.  On the first line of the processing page, I 
instantiate a cfc in a manner similar to the following:

cfset dataCFC = createObject('component', 'myDataCFC').init(itemID = 
url.itemID)

the init method within the CFC looks like the following:

cffunction name=init
  cfargument name=itemID required=true
  cfargument name=itemName required=false 
default=#request.sItems.itemName#

  cfscript
 variables.itemID = arguments.itemID;
 variables.itemName = arguments.itemName;
  /cfscript

  cfreturn this
/cffunction

Later in the processing page, I call some other methods and within those 
methods they call the variables that were set in the init when the object is 
first instantiated.  On the first pass of adding an item through the form 
everything works great.  However, if I try to immediately add another new item, 
the object doesn't seem to instantiate properly and I receive the error 
variables.itemID is not defined.  I'm wondering if I'm running into an odd 
conflict with cfreturn this but haven't been able to establish this for 
certain. I do know, however, that the error occurs consistently in both IE and 
FF. If anyone has any ideas of what could be going wrong, your help would be 
hugely appreciated.

Thanks,
--Anne

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276658
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: ASP Version of CFEverywhere

2007-05-01 Thread Dave Watts
 I'm being asked, Can we make this ASP (classic) based 
 website run on a CD?
 
 Some searching of the archives here reminded me of 
 CFEverywhere and I know about Ralio but those are CF engines, 
 I need something along the same lines for ASP.
 
 Any suggestions?

How about a VMware appliance? The user would have to install VMware Player,
but you could have the VM itself run in appliance mode, and the user could
then just open a browser and go to the appropriate appliance URL.

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!

This email has been processed by SmoothZap - www.smoothwall.net


~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276659
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SOT: ASP Version of CFEverywhere

2007-05-01 Thread Casey Dougall
Brings us back to Coral Web builder again. Still no word on if anyone is
using this.
ttp://www.pcaonline.com/prod/index.cfm?loc=coral

Uses standard CFML/ASP tags
Use your knowledge of CFML and ASP to develop CORAL applications quickly and
with the tools you already own.

-- 
Casey



On 5/1/07, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED]
wrote:

 I would be very suprised if this was possible (I gather you mean classic
 ASP?) due the way ASP works in general.







 This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
 Richmond, Surrey, TW9 1DN, 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

 -Original Message-
 From: C. Hatton Humphrey
 To: CF-Talk
 Sent: Tue May 01 18:38:16 2007
 Subject: SOT: ASP Version of CFEverywhere

 I'm being asked, Can we make this ASP (classic) based website run on a
 CD?

 Some searching of the archives here reminded me of CFEverywhere and I
 know about Ralio but those are CF engines, I need something along the
 same lines for ASP.

 Any suggestions?

 Thanks!
 Hatton



 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276660
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Problem Using CFC Within IFrame

2007-05-01 Thread Richard Kroll
Anne,
I don't know of any specific problems with the technique that you are
trying to use.  I would suggest trying to make a really simple demo of
what you are trying to achieve for demonstration purposes, and post that
code to the list so we can see all the moving parts of what is going on,
then we might be able to give you some more feedback.

Rich Kroll

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276661
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: ASP Version of CFEverywhere

2007-05-01 Thread Dave Watts
  Any suggestions?
 
 How about a VMware appliance? The user would have to install 
 VMware Player, but you could have the VM itself run in 
 appliance mode, and the user could then just open a browser 
 and go to the appropriate appliance URL.

I forgot to mention this, but you could even go one step further with VMware
ACE, and package your appliance so that it can't easily be tampered with -
you could prevent the user from accessing the VM directly, redistributing
it, etc.

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!

This email has been processed by SmoothZap - www.smoothwall.net


~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276662
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Looking for JS that detects IE6 AND 7 browser close

2007-05-01 Thread Rick Root
On 5/1/07, Bruce Sorge [EMAIL PROTECTED] wrote:
 Well it worked for me when I close the entire browser or just the tab. When
 I click on other links on the page it does not trigger.

totally the opposite for me.

Works when I navigate away but not when I close the browser.

That's why I gave up on trying to figure it out I guess!

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276663
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Looking for JS that detects IE6 AND 7 browser close

2007-05-01 Thread Robertson-Ravo, Neil (RX)
If it's IE don't you have the onbeforeunload() function available?





This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, 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

-Original Message-
From: Rick Root
To: CF-Talk
Sent: Tue May 01 19:47:25 2007
Subject: Re: Looking for JS that detects IE6 AND 7 browser close

On 5/1/07, Bruce Sorge [EMAIL PROTECTED] wrote:
 Well it worked for me when I close the entire browser or just the tab.
When
 I click on other links on the page it does not trigger.

totally the opposite for me.

Works when I navigate away but not when I close the browser.

That's why I gave up on trying to figure it out I guess!



~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276664
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Check for valid email before CFMAIL

2007-05-01 Thread Robertson-Ravo, Neil (RX)
Or just isValid() + Livedocs 

Less to type...

:-)

This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, 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

-Original Message-
From: Rick Root
To: CF-Talk
Sent: Tue May 01 18:59:33 2007
Subject: Re: Check for valid email before CFMAIL

Shoot I forgot..

CFMX 7 introduced isValid() which allows you to validate the format of
an email address.

google isValid +site:livedocs.adobe.com



~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276665
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Looking for JS that detects IE6 AND 7 browser close

2007-05-01 Thread Bruce Sorge
Like I said, I have it in the Header.cfm, so it is always there no matter
what link I click on. Now if I had a link that took me away from the admin
site it would probably do what it is doing for you. But since in the admin
part, none of the links takes you out of the admin section, it works? I am
guessing here. I am no JS guru by any stretch of the imagination.

Bruce

On 5/1/07, Rick Root [EMAIL PROTECTED] wrote:


 totally the opposite for me.

 Works when I navigate away but not when I close the browser.

 That's why I gave up on trying to figure it out I guess!




~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:27
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: ASP Version of CFEverywhere

2007-05-01 Thread C. Hatton Humphrey
  Some searching of the archives here reminded me of
  CFEverywhere and I know about Ralio but those are CF engines,
  I need something along the same lines for ASP.
 
  Any suggestions?

 How about a VMware appliance? The user would have to install VMware Player

This is for a sales rep to take to client locations, try to sell a
service and leave at the end of the day.  Installing something on the
client's end is not an option.

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276667
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ASP Version of CFEverywhere

2007-05-01 Thread Robertson-Ravo, Neil (RX)
Will the end user / client be getting it on a CD? My question is why do you
need to demo via a CD? Seems a little odd.



This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, 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

-Original Message-
From: C. Hatton Humphrey
To: CF-Talk
Sent: Tue May 01 19:56:59 2007
Subject: Re: ASP Version of CFEverywhere

  Some searching of the archives here reminded me of
  CFEverywhere and I know about Ralio but those are CF engines,
  I need something along the same lines for ASP.
 
  Any suggestions?

 How about a VMware appliance? The user would have to install VMware Player

This is for a sales rep to take to client locations, try to sell a
service and leave at the end of the day.  Installing something on the
client's end is not an option.



~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276668
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: ASP Version of CFEverywhere

2007-05-01 Thread Dave Watts
 This is for a sales rep to take to client locations, try to 
 sell a service and leave at the end of the day.  Installing 
 something on the client's end is not an option.

Then, I suggest you give the sales rep a laptop.

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!

This email has been processed by SmoothZap - www.smoothwall.net


~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276669
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Looking for JS that detects IE6 AND 7 browser close

2007-05-01 Thread Rick Root
On 5/1/07, Bruce Sorge [EMAIL PROTECTED] wrote:
 Like I said, I have it in the Header.cfm, so it is always there no matter
 what link I click on. Now if I had a link that took me away from the admin
 site it would probably do what it is doing for you. But since in the admin
 part, none of the links takes you out of the admin section, it works? I am
 guessing here. I am no JS guru by any stretch of the imagination.

Actually, that's not relevant.  I assume you're including header.cfm
on every page and not calling it from a frame or something.

the browser doesn't care if you're leaving the admin or not.  all it
cares is if you're leaving the currently loaded page.  No matter what,
if you navigate to a different page via any method.. or close the
browser window or tab, or call javacript methods that perform those
actions... the current document is unloaded, and the onbeforeunload
event SHOULD Be called.

Rick

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276670
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CF6.1 dropped?

2007-05-01 Thread Joe Bernard
I've been trying to get my hands on a Developer or Trial edition of 6.1 as I 
have a new client still running that version. So I gleefully set off to 
Adobe.com to start the dload and start building a new server. However, the file 
is GONE from the site. I tried several places, including here:
Trials
http://www.adobe.com/cfusion/tdrc/index.cfm?product=coldfusion

CFMX6.1 home:
http://www.adobe.com/products/coldfusionmx61/

CF Updaters:
http://www.adobe.com/support/coldfusion/downloads_updates.html#updater

Note that I need either the full 6.1 installer, or the updater for 6.0 (not the 
6.1 updater).

So I called Adobe. Why am I getting 404's? We no longer support 6.1, and don't 
offer it for download. I pointed out that the 6.1 updater was still available, 
as were the complete list of hot fixes for version 5. I then got some 
boilerplate lecture about old software and that I should upgrade to 7. Tell 
that to my client.

Anyone have an idea where I can get this file? Last time I checked, it was free 
so it should be out there somewhere.


~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276671
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Looking for JS that detects IE6 AND 7 browser close

2007-05-01 Thread Bruce Sorge
Well I cannot explain it then. All I know it is doing what I need it to do.

Bruce

On 5/1/07, Rick Root [EMAIL PROTECTED] wrote:



 Actually, that's not relevant.  I assume you're including header.cfm
 on every page and not calling it from a frame or something.

 the browser doesn't care if you're leaving the admin or not.  all it
 cares is if you're leaving the currently loaded page.  No matter what,
 if you navigate to a different page via any method.. or close the
 browser window or tab, or call javacript methods that perform those
 actions... the current document is unloaded, and the onbeforeunload
 event SHOULD Be called.

 Rick




~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276672
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CF6.1 dropped?

2007-05-01 Thread Ian Skinner
According to this page 6.1 is still for sale.  If it is for sale, the
developers should be available.

http://www.adobe.com/products/coldfusionmx61/


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.



~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276673
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CF6.1 dropped?

2007-05-01 Thread Ian Skinner
I just found this on a follow up link.

ColdFusion MX 6.1 is available for purchase until June 14th 2007. You
may purchase ColdFusion MX 6.1 Standard and ColdFusion MX 6.1 Enterprise
Edition from the Adobe Online Store.
http://www.adobe.com/products/coldfusionmx61/downloads/


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.



~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276674
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


SOT: Javascript regex question...

2007-05-01 Thread Andy Matthews
I'm working on this myself, but wanted to throw it to the list in case
someone knew it right off.
 
I have a string:
optionselect a make/optionoption value=Honda selectedHonda/option
 
The length of this string might vary, but I need to get the string inside
the FIRST value=get this string.
 
I know the starting char by doing this: str.indexOf(''); which returns 44,
so I know to start counting at 45, but how do I know to stop counting at
char 50 (in this case)? So basically I need to get the FIRST occurrence of
value= and get what's between the quotes.
 

 
Andy Matthews
Senior Coldfusion Developer

Office:  877.707.5467 x747
Direct:  615.627.9747
Fax:  615.467.6249
[EMAIL PROTECTED]
www.dealerskins.com http://www.dealerskins.com/ 
 


~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276675
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CF6.1 dropped?

2007-05-01 Thread Damien McKenna
 -Original Message-
 From: Joe Bernard [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, May 01, 2007 3:08 PM
 Subject: CF6.1 dropped?
 
 I've been trying to get my hands on a Developer or Trial 
 edition of 6.1 as I have a new client still running that 
 version. So I gleefully set off to Adobe.com to start the 
 dload and start building a new server. However, the file is 
 GONE from the site. I tried several places, including here:

It is my understanding that Macromedia used to support the newest two
major releases of ColdFusion, e.g. they stopped supporting CF5 when CF7
came out; I am going to ASSuME that Adobe is intending sticking to this
same policy.  As a result they should have all of the 6.x downloads
available until CF8 is released.

Damien McKenna
Web Developer

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276676
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Root relative vs. relative links

2007-05-01 Thread Will Tomlinson
I have some pages in my site root that use the same images as some pages in a 
subdirectory. I've always used relative links, but you can't when it comes to 
this situation. 

I switched to root relative, but they don't work correctly on my machine 
(DW/CF/wwwroot. I guess because it's looking from wwwroot/forward?

I ran some tests up on my CT server and they seem to work fine. Should I be 
using the root relative ones? Just makes me a bit nervous when I can't test it 
properly on my machine.  

Thanks,
Will

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276677
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Javascript regex question...

2007-05-01 Thread Ben Nadel
Probably not the best solution, but a very quick one (to come up with,
not processing time):

ListGetAt( YOUR_CONTENT, 2,  )

Treat the content a quote-delimited list. Then the second list item is
the first value. 


..
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 01, 2007 3:38 PM
To: CF-Talk
Subject: SOT: Javascript regex question...

I'm working on this myself, but wanted to throw it to the list in case
someone knew it right off.
 
I have a string:
optionselect a make/optionoption value=Honda
selectedHonda/option
 
The length of this string might vary, but I need to get the string
inside the FIRST value=get this string.
 
I know the starting char by doing this: str.indexOf(''); which returns
44, so I know to start counting at 45, but how do I know to stop
counting at char 50 (in this case)? So basically I need to get the FIRST
occurrence of value= and get what's between the quotes.
 

 
Andy Matthews
Senior Coldfusion Developer

Office:  877.707.5467 x747
Direct:  615.627.9747
Fax:  615.467.6249
[EMAIL PROTECTED]
www.dealerskins.com http://www.dealerskins.com/ 
 




~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276678
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Root relative vs. relative links

2007-05-01 Thread Rick Root
On 5/1/07, Will Tomlinson [EMAIL PROTECTED] wrote:
 I have some pages in my site root that use the same images as some pages in a 
 subdirectory. I've always used relative links, but you can't when it comes to 
 this situation.

 I switched to root relative, but they don't work correctly on my machine 
 (DW/CF/wwwroot. I guess because it's looking from wwwroot/forward?

Local file-based browsing, or do you have a web server installed?

root relative urls won't work with file based browsing.

But if you've got a web browswer locally (iis, apache, jrun web
server), and it's not working, then you're doing something wrong.

Rick

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276679
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Root relative vs. relative links

2007-05-01 Thread Bobby Hartsfield
DW/CF/wwwroot is looking for currentDirectoryPath/DW/CF/wwwroot

My main user side images are always in a directory called images just off of
the root so /images/ is the path to that directory from anywhere within the
site.

-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 01, 2007 3:34 PM
To: CF-Talk
Subject: Root relative vs. relative links

I have some pages in my site root that use the same images as some pages in
a subdirectory. I've always used relative links, but you can't when it comes
to this situation. 

I switched to root relative, but they don't work correctly on my machine
(DW/CF/wwwroot. I guess because it's looking from wwwroot/forward?

I ran some tests up on my CT server and they seem to work fine. Should I be
using the root relative ones? Just makes me a bit nervous when I can't test
it properly on my machine.  

Thanks,
Will



~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276680
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Javascript regex question...

2007-05-01 Thread Andy Matthews
Found it. In case anyone's interested. This is what I came up with:

str = 'optionselect a make/optionoption value=Honda
selectedHonda/optionoption value=AcuraAcura/option';
re = /value=(\w+)/i;
found = str.match(re);

alert(found): returns value=Honda,Honda
alert(found[1]): returns Honda 

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 01, 2007 2:38 PM
To: CF-Talk
Subject: SOT: Javascript regex question...

I'm working on this myself, but wanted to throw it to the list in case
someone knew it right off.
 
I have a string:
optionselect a make/optionoption value=Honda selectedHonda/option
 
The length of this string might vary, but I need to get the string inside
the FIRST value=get this string.
 
I know the starting char by doing this: str.indexOf(''); which returns 44,
so I know to start counting at 45, but how do I know to stop counting at
char 50 (in this case)? So basically I need to get the FIRST occurrence of
value= and get what's between the quotes.
 

 
Andy Matthews
Senior Coldfusion Developer

Office:  877.707.5467 x747
Direct:  615.627.9747
Fax:  615.467.6249
[EMAIL PROTECTED]
www.dealerskins.com http://www.dealerskins.com/ 
 




~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276681
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF6.1 dropped?

2007-05-01 Thread Robertson-Ravo, Neil (RX)
I suppose though that 6.1 is 2 versions below 7.0.2 if you take Updaters in
to account.  I would presume though that this is all been geared up for the
imminent CF8 release which will take it to 2 fully.



This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, 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

-Original Message-
From: Damien McKenna
To: CF-Talk
Sent: Tue May 01 20:40:21 2007
Subject: RE: CF6.1 dropped?

 -Original Message-
 From: Joe Bernard [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, May 01, 2007 3:08 PM
 Subject: CF6.1 dropped?
 
 I've been trying to get my hands on a Developer or Trial 
 edition of 6.1 as I have a new client still running that 
 version. So I gleefully set off to Adobe.com to start the 
 dload and start building a new server. However, the file is 
 GONE from the site. I tried several places, including here:

It is my understanding that Macromedia used to support the newest two
major releases of ColdFusion, e.g. they stopped supporting CF5 when CF7
came out; I am going to ASSuME that Adobe is intending sticking to this
same policy.  As a result they should have all of the 6.x downloads
available until CF8 is released.

Damien McKenna
Web Developer



~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276683
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF6.1 dropped?

2007-05-01 Thread Joe Bernard
I agree, according to what's been published it should be available. 
Unfortunately that's not the case. All the links are down, and the guy I talked 
to verified it.

If you have this installer, hang onto it.

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276682
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Model-Glue application behaving badly when moved to staging server

2007-05-01 Thread Nate Petersen
Hello all,

I posted this previously to the model-glue site's message board and also to the 
model-glue list here and didn't get any action, so I hope someone here can help.

So after working for the last couple months on my first Model-Glue application, 
I
finally have it ready for some wider-scale testing. So I move the code from my
development machine (windows laptop, where the application is running smoothly 
and completely as expected on both FireFox and IE), to my staging server (sun 
solaris box) where things start to go south a bit. When testing the application 
from the staging server it runs smoothly and as expected using IE, but in 
Firefox (and Safari) it's not so smooth. The default event which initializes 
several objects in the session scope appears to be running multiple times on 
every other event/request (according to the Model-Glue debug output), therefore 
effectively killing and re-initializing the session based objects on each 
request! I am pulling my hair out on this one... I can't understand why it's 
isolated to Firefox/Safari when coming from the staging server. I have tested 
with 3 different machines (two PC's and one Mac) and all yield the same crazy 
results when running the application from the staging server in Firefox or 
Safari. The only significant difference between servers (aside from the fact 
that it is moving from Windows to Unix) is that the staging server is running 
CF 7.02 and the laptop is running CF 7. I am using Model-Glue 1.1. Can anyone 
point out anything that I might be overlooking? Any other suggestions? I am 
kind of desperate.

Many thanks,

Nate Petersen

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276684
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfusion_settings_refresh() in CFMX?

2007-05-01 Thread Eric P
On 5/1/07, Jochem van Dieten [EMAIL PROTECTED] wrote:
 Eric P wrote:
 
  I was just wondering if there's something compatible with
  cfusion_settings_refresh() in CFMX.  We have a script that would make
  changes to /lib/neo-debug.xml on the fly, and we need a way to tell
  the CF app server to read neo-debug.xml again.

 Use the Admin API instead of changing the XML file directly.

 Jochem


That's what I need.  Thanks for the pointer!

Eric P.

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276685
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Javascript regex question...

2007-05-01 Thread Ben Nadel
Oh whoops. Didn't realize you were in javascript. 


..
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 01, 2007 3:57 PM
To: CF-Talk
Subject: RE: Javascript regex question...

Found it. In case anyone's interested. This is what I came up with:

str = 'optionselect a make/optionoption value=Honda
selectedHonda/optionoption value=AcuraAcura/option';
re = /value=(\w+)/i;
found = str.match(re);

alert(found): returns value=Honda,Honda
alert(found[1]): returns Honda 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276686
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Root relative vs. relative links

2007-05-01 Thread Casey Dougall
Use IIS to control the web directory and even in Dreamweaver you should be
pointing your local site directly to the web folder. Not wwwroot because
your site is mostlikely in /wwwroot/websiteFolder_com/web/images or
something like this.

I so wish I could have multiple IIS sites on windows xp because it's such a
pain in the as to switch localhost home directory all the time.

no I'm not switching to apache


~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276687
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Root relative vs. relative links

2007-05-01 Thread Robertson-Ravo, Neil (RX)
Well you can still use local host files and Host Headers to mimic multiple
sites.  There is obviously tools which allow you to host multiple sites as
well but you no doubt have investigated these!




This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, 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

-Original Message-
From: Casey Dougall
To: CF-Talk
Sent: Tue May 01 21:15:43 2007
Subject: Re: Root relative vs. relative links

Use IIS to control the web directory and even in Dreamweaver you should be
pointing your local site directly to the web folder. Not wwwroot because
your site is mostlikely in /wwwroot/websiteFolder_com/web/images or
something like this.

I so wish I could have multiple IIS sites on windows xp because it's such a
pain in the as to switch localhost home directory all the time.

no I'm not switching to apache




~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276688
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Strip HTML from a Collection

2007-05-01 Thread Mark Flewellen
Thanks guys what I was wanting was to clean it before it was indexed though, 
and the only way i can think of doing this is to strip the query using regex 
then rebuild the query and load this into cfindex. Would this be correct way to 
deal with this problem?

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276689
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Model-Glue application behaving badly when moved to staging server

2007-05-01 Thread Peterson, Chris
I would update the laptop to the same version as the staging server
before debugging further, you may be just wasting your time on something
fixed in a hot fix already...

Chris 

-Original Message-
From: Nate Petersen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 01, 2007 3:52 PM
To: CF-Talk
Subject: Model-Glue application behaving badly when moved to staging
server

Hello all,

I posted this previously to the model-glue site's message board and also
to the model-glue list here and didn't get any action, so I hope someone
here can help.

So after working for the last couple months on my first Model-Glue
application, I finally have it ready for some wider-scale testing. So I
move the code from my development machine (windows laptop, where the
application is running smoothly and completely as expected on both
FireFox and IE), to my staging server (sun solaris box) where things
start to go south a bit. When testing the application from the staging
server it runs smoothly and as expected using IE, but in Firefox (and
Safari) it's not so smooth. The default event which initializes several
objects in the session scope appears to be running multiple times on
every other event/request (according to the Model-Glue debug output),
therefore effectively killing and re-initializing the session based
objects on each request! I am pulling my hair out on this one... I can't
understand why it's isolated to Firefox/Safari when coming from the
staging server. I have tested with 3 different machines (two PC's and
one Mac) and all yield the same crazy results when running the
application from the staging server in Firefox or Safari. The only
significant difference between servers (aside  from the fact that it is
moving from Windows to Unix) is that the staging server is running CF
7.02 and the laptop is running CF 7. I am using Model-Glue 1.1. Can
anyone point out anything that I might be overlooking? Any other
suggestions? I am kind of desperate.

Many thanks,

Nate Petersen



~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276690
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


text comparison algorithm

2007-05-01 Thread Brad Wood
Part of our database includes legal clauses that our title companies use
on commitments and policies and such.  As we convert new companies over
to our new system we are constantly asked to import hundreds of new
clauses into the database.  The problem is, most of the clauses are
ALMOST identical to existing clauses and can be weeded out. Usually
there are just slight verbiage differences.  The only way for me to do
that now is to print them all out, place them side by side and visually
find the similarities.  Is there an easy way to programmatically match
each new clause (just a text field) to the existing ones and get back an
instant list of close matches.  It would be great to even have a
percentage of closeness or something.

 

I know code like this can be written because of programs like Araxis
Merge.

Ideas?  This would save me hours of work, but I'm not sure where to
start.

 

~Brad 



~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276691
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


  1   2   >