SOT: Arrgh. Adobe.com not so good with IE7 beta 2

2006-05-01 Thread Peter Tilbrook
I realise it is a beta product but adobe.com under IE7 beta 2 has serious 
issues. I even got a stack overflow error.


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


CF_AVERY

2006-05-01 Thread Jenny Gavin-Wear
Does anyone know where I can find cf_avery please?  I've hunted high and low!

Thanks, Jenny


-Original Message-
From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED]
Sent: 30 April 2006 23:32
To: CF-Talk
Subject: RE: Printing from CF


thanks Ben, good advice

Jenny


-Original Message-
From: Ben Forta [mailto:[EMAIL PROTECTED]
Sent: 30 April 2006 20:27
To: CF-Talk
Subject: RE: Printing from CF


FWIW, I would strongly recommend not printing on the server. If you do in
fact need server-side printing (as in printing where the server is located)
then get a dedicated box running some client app that does the printing. I
have seen servers to bad things as a result of server-side printing, from
problems as simple as printer error message popping up waiting for someone
to click OK, and worse. Get a cheap machine that does nothing but spew print
jobs as needed.

--- Ben


-Original Message-
From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED] 
Sent: Sunday, April 30, 2006 2:49 PM
To: CF-Talk
Subject: RE: Printing from CF

thanks Dave, i need both ... anyone have a link to cf_avery please?

Thanks all for replies :-)

I'm thinking of creating a text file to be printed and sending it out to lpt
with a batch file .. :-S

The printers are all going to be thermal label printers.

Ant better ideas welcomed, thanks


-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: 30 April 2006 18:24
To: CF-Talk
Subject: RE: Printing from CF


 The printing should be done client side, not via CF. If you printed 
 via CF it would be printed on the server, which wouldn't be much good 
 to anyone.

While this is almost certainly true in the original poster's case, I'll just
go ahead and point out that it's not always the case. I've worked on
applications where server-side printing is what's needed.

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!










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


RE: CF_AVERY

2006-05-01 Thread Adrian Lynch
I could have sworn it was cf_avery and not CF_AveryRTF! That's why it was
hard to find...

Check the exchange on macromedia/adobe for cf_averyrtf.

Adrian

-Original Message-
From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED]
Sent: 01 May 2006 09:25
To: CF-Talk
Subject: CF_AVERY


Does anyone know where I can find cf_avery please?  I've hunted high and
low!

Thanks, Jenny


-Original Message-
From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED]
Sent: 30 April 2006 23:32
To: CF-Talk
Subject: RE: Printing from CF


thanks Ben, good advice

Jenny


-Original Message-
From: Ben Forta [mailto:[EMAIL PROTECTED]
Sent: 30 April 2006 20:27
To: CF-Talk
Subject: RE: Printing from CF


FWIW, I would strongly recommend not printing on the server. If you do in
fact need server-side printing (as in printing where the server is located)
then get a dedicated box running some client app that does the printing. I
have seen servers to bad things as a result of server-side printing, from
problems as simple as printer error message popping up waiting for someone
to click OK, and worse. Get a cheap machine that does nothing but spew print
jobs as needed.

--- Ben


-Original Message-
From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 30, 2006 2:49 PM
To: CF-Talk
Subject: RE: Printing from CF

thanks Dave, i need both ... anyone have a link to cf_avery please?

Thanks all for replies :-)

I'm thinking of creating a text file to be printed and sending it out to lpt
with a batch file .. :-S

The printers are all going to be thermal label printers.

Ant better ideas welcomed, thanks


-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: 30 April 2006 18:24
To: CF-Talk
Subject: RE: Printing from CF


 The printing should be done client side, not via CF. If you printed
 via CF it would be printed on the server, which wouldn't be much good
 to anyone.

While this is almost certainly true in the original poster's case, I'll just
go ahead and point out that it's not always the case. I've worked on
applications where server-side printing is what's needed.

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



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


RE: More of a JS Question/Forms

2006-05-01 Thread Snake
You could just loop over all form field and test If they are blank.

E.g.

cfset excludelist=submitbutton,whatever !--- list of fields to exclude
from the check ---
cfset blank = false
cfloop list=#form.fieldnames# index=field
cfif not listfind(excludelist, field)
cfif len(form[field]) is 0
cfset blank = true 
cfelse
cfset blank= false
/cfif
/cfif

If all the submitted fields are blank, the variable BLANK will be true at
the end, if aven 1 is not blank, it will be false, so you can display your
validation message.

--
Snake

-Original Message-
From: Eric J. Hoffman [mailto:[EMAIL PROTECTED] 
Sent: 01 May 2006 00:19
To: CF-Talk
Subject: More of a JS Question/Forms

I know this isn't quite CF, but figure the folks around here have done this
easily.

I have two forms, and I just want to check if no value has been entered in
either form, and pop to tell the user to enter something!  So I can't do a
required field in my validation because they can fill in one of three fields
or more in one form, but not the other.

Anyway, I would check form1 and form2 for no values...I get that, but wonder
how to check for nothing from each form.

Thanks.



Eric J. Hoffman
Managing Partner
2081 Industrial Blvd
StillwaterMN55082
mail: [EMAIL PROTECTED]
www: http://www.ejhassociates.com
tel: 651.717.4105
fax: 651.717.4115
mob: 651.245.2717



This message contains confidential information and is intended only for
[EMAIL PROTECTED] If you are not cf-talk@houseoffusion.com you
should not disseminate, distribute or copy this e-mail. Please notify
[EMAIL PROTECTED] immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system. E-mail
transmission cannot be guaranteed to be secure or error-free as information
could be intercepted, corrupted, lost, destroyed, arrive late or incomplete,
or contain viruses. Eric J. Hoffman therefore does not accept liability for
any errors or omissions in the contents of this message, which arise as a
result of e-mail transmission. If verification is required please request a
hard-copy version.




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


RE: Arrgh. Adobe.com not so good with IE7 beta 2

2006-05-01 Thread Todd Rafferty
Lemme know when IE7 gets out of beta and works. ;)

-Original Message-
From: Peter Tilbrook [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 01, 2006 3:42 AM
To: CF-Talk
Subject: SOT: Arrgh. Adobe.com not so good with IE7 beta 2

I realise it is a beta product but adobe.com under IE7 beta 2 has serious
issues. I even got a stack overflow error.


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


RE: Question about relative and root links

2006-05-01 Thread Andy Matthews
We ARE web developers (most of us).

An absolute URL (historically speaking) refers to a full url
(http://www.andyandjaime.com/index.cfm) as opposed to a relative URL
(index.cfm).

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Denny Valliant [mailto:[EMAIL PROTECTED]
Sent: Friday, April 28, 2006 9:57 PM
To: CF-Talk
Subject: Re: Question about relative and root links


On 4/28/06, Dave Watts [EMAIL PROTECTED] wrote:

  Ah, that explains my confusion with that setting sometimes.
 
  I prefer that if it starts with a slash, it's absolute. Site
  root relative?
 
  Why not just call a URL a URL? I mean, I'm all for enriching
  the language and all, but sheesh.  Site root relative is
  still absolute. I don't see anything relative about it.  I'll
  end with site root relative is just plain silly, and
  calling a URL an absolute path is almost as silly. Maybe more so.
  ;-)

 First, stating a preference is not the same as making an argument. You
 haven't given any reason why your beliefs about syntax should be accepted
 by
 everyone else.


I didn't know it was a debate. I was just stating a preference.  And making
a
comment on the relativeness of the site root. I mean, sure it's relative
from some
point, but then again, so is /.

I didn't mean you were silly, if it came across that way.

Second, you can quickly find out the difference between a site-root-relative
 path and an absolute path by copying an HTML page with the former from one
 server to another, and seeing how things work.


An absolute file system path? Or absolute path as in the full URL, including
protocol?  Damn it, now I'm confused.  I get the point though, I think, if
you
mean a site where you have to replace /something with /somethingelse all
over the place.  That's why I too like the set the paths in the
application.cfc
type deal, since you gotta have 'em usually anyways.  Why not use variables
and change them instead. :-)


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


RE: More of a JS Question/Forms

2006-05-01 Thread Andy Matthews
FORM.fieldnames is a built in variable containing a commadelimited list of
all of the FORM fields. You could loop over that and check to see if any/all
of the fields are empty.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Eric J. Hoffman [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 30, 2006 6:19 PM
To: CF-Talk
Subject: More of a JS Question/Forms


I know this isn't quite CF, but figure the folks around here have done
this easily.

I have two forms, and I just want to check if no value has been entered
in either form, and pop to tell the user to enter something!  So I can't
do a required field in my validation because they can fill in one of
three fields or more in one form, but not the other.

Anyway, I would check form1 and form2 for no values...I get that, but
wonder how to check for nothing from each form.

Thanks.



Eric J. Hoffman
Managing Partner
2081 Industrial Blvd
StillwaterMN55082
mail: [EMAIL PROTECTED]
www: http://www.ejhassociates.com
tel: 651.717.4105
fax: 651.717.4115
mob: 651.245.2717



This message contains confidential information and is intended only for
[EMAIL PROTECTED] If you are not cf-talk@houseoffusion.com you
should not disseminate, distribute or copy this e-mail. Please notify
[EMAIL PROTECTED] immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system. E-mail
transmission cannot be guaranteed to be secure or error-free as information
could be intercepted, corrupted, lost, destroyed, arrive late or incomplete,
or contain viruses. Eric J. Hoffman therefore does not accept liability for
any errors or omissions in the contents of this message, which arise as a
result of e-mail transmission. If verification is required please request a
hard-copy version.




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


Re: Arrgh. Adobe.com not so good with IE7 beta 2

2006-05-01 Thread Casey Dougall
IE7 breaks a lot of stuff. including saved user names and passwords on
Dreamweaver MX 8 sites.. They just disappear, still haven't found a fix for
that yet either.

Adobe should get some web developers from over at Macromedia on that issue.
Their menu is jacked but Macromedia's menu is fine... hahha

Casey

On 5/1/06, Todd Rafferty [EMAIL PROTECTED] wrote:

 Lemme know when IE7 gets out of beta and works. ;)

 -Original Message-
 From: Peter Tilbrook [mailto:[EMAIL PROTECTED]
 Sent: Monday, May 01, 2006 3:42 AM
 To: CF-Talk
 Subject: SOT: Arrgh. Adobe.com not so good with IE7 beta 2

 I realise it is a beta product but adobe.com under IE7 beta 2 has serious
 issues. I even got a stack overflow error.


 

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


RE: More of a JS Question/Forms

2006-05-01 Thread Ben Nadel
Andy,

One caveat to the FORM.fieldnames, that has killed me a few times... If you
are Param'ing stuff on the server, in the form scope

Ex. cfparam name=FORM.file_delete type=numeric default=0 /

And file_delete is NOT submitted to the form (ie. checkbox is not
checked), then file_field will not be in the fieldnames list. A slightly
better solution might be to loop over the form scope via a collection loop. 

...
Ben Nadel 
www.bennadel.com
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 01, 2006 9:35 AM
To: CF-Talk
Subject: RE: More of a JS Question/Forms

FORM.fieldnames is a built in variable containing a commadelimited list of
all of the FORM fields. You could loop over that and check to see if any/all
of the fields are empty.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-


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


Does coldFusion just need a servlet engine

2006-05-01 Thread Leon Oosterwijk
All, 
 
I came across this article the other day  (
http://www.adobe.com/support/coldfusion/j2ee/phase2-tomcat-deploy.html )
which talks about deploying the coldFusion server on Tomcat. It was my
understanding that Tomcat is just a servlet/jsp processor and is not a
full j2ee server. (ejb's etc.) If coldFusion can run on just Tomcat,
does this mean it doesn't rely on ejb's or other fancy j2ee features or
am i mistaken altogether?
 
Leon
 


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


RE: More of a JS Question/Forms

2006-05-01 Thread Andy Matthews
Good point Ben. Thanks.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Ben Nadel [mailto:[EMAIL PROTECTED]
Sent: Monday, May 01, 2006 9:01 AM
To: CF-Talk
Subject: RE: More of a JS Question/Forms


Andy,

One caveat to the FORM.fieldnames, that has killed me a few times... If you
are Param'ing stuff on the server, in the form scope

Ex. cfparam name=FORM.file_delete type=numeric default=0 /

And file_delete is NOT submitted to the form (ie. checkbox is not
checked), then file_field will not be in the fieldnames list. A slightly
better solution might be to loop over the form scope via a collection loop.


Ben Nadel
www.bennadel.com
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Monday, May 01, 2006 9:35 AM
To: CF-Talk
Subject: RE: More of a JS Question/Forms

FORM.fieldnames is a built in variable containing a commadelimited list of
all of the FORM fields. You could loop over that and check to see if any/all
of the fields are empty.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-




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


Re: More of a JS Question/Forms

2006-05-01 Thread Jim Wright
 I have two forms, and I just want to check if no value has been entered
 in either form, and pop to tell the user to enter something!  So I can't
 do a required field in my validation because they can fill in one of
 three fields or more in one form, but not the other.

Eric,
While Charlie's getElementById code will probably work fine for what
you are talking about, I'm a little confused about the two forms.  Are
these forms on the same page/frame?  When you submit one, you would
lose anything that was entered on the other, unless you do some
onSubmit javascript to capture and pass that data through the form you
are submitting...so validating on data that is going to be lost seems
odd.  Or are you just saying that these are two parts of the same
form?
-jim


--
Jim Wright
Wright Business Solutions
[EMAIL PROTECTED]
919-417-2257

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


Re: Nested query loops bug???

2006-05-01 Thread Claude Schneegans
 Can anyone confirm that this is how it is supposdto work?

Actually, this is how it does work.
IMO it is for the least a serious flaw in the design. There is no reason 
the current row
should be implicit for the most inner level of the loop only.

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


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


About IE7

2006-05-01 Thread Rey Bango
In case you want to run IE7 in standalone mode (which is no longer 
officially supported), here's a good workaround:

http://weblogs.asp.net/jgalloway/archive/2005/12/28/434132.aspx

I tried it and it worked.

Just wanted to let everyone know since we'll be having to get up to 
speed on this soon enough.

Rey
BlueDragon Alliance
http://www.reybango.com

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


RE: Does coldFusion just need a servlet engine

2006-05-01 Thread Mark A Kruger
Tomcat J2ee server is indeed a true j2ee server and not just a servlet
container. To run CF you need the J2EE version. 

-Original Message-
From: Leon Oosterwijk [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 01, 2006 9:06 AM
To: CF-Talk
Subject: Does coldFusion just need a servlet engine

All, 
 
I came across this article the other day  (
http://www.adobe.com/support/coldfusion/j2ee/phase2-tomcat-deploy.html )
which talks about deploying the coldFusion server on Tomcat. It was my
understanding that Tomcat is just a servlet/jsp processor and is not a full
j2ee server. (ejb's etc.) If coldFusion can run on just Tomcat, does this
mean it doesn't rely on ejb's or other fancy j2ee features or am i mistaken
altogether?
 
Leon
 




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


RE: Does coldFusion just need a servlet engine

2006-05-01 Thread Leon Oosterwijk
Mark,

Ah that makes a lot of sense. Thanks for the info. 

Leon


-Original Message-
From: Mark A Kruger [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 01, 2006 9:16 AM
To: CF-Talk
Subject: RE: Does coldFusion just need a servlet engine

Tomcat J2ee server is indeed a true j2ee server and not just a servlet
container. To run CF you need the J2EE version. 

-Original Message-
From: Leon Oosterwijk [mailto:[EMAIL PROTECTED]
Sent: Monday, May 01, 2006 9:06 AM
To: CF-Talk
Subject: Does coldFusion just need a servlet engine

All, 
 
I came across this article the other day  (
http://www.adobe.com/support/coldfusion/j2ee/phase2-tomcat-deploy.html )
which talks about deploying the coldFusion server on Tomcat. It was my
understanding that Tomcat is just a servlet/jsp processor and is not a
full j2ee server. (ejb's etc.) If coldFusion can run on just Tomcat,
does this mean it doesn't rely on ejb's or other fancy j2ee features or
am i mistaken altogether?
 
Leon
 






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


CFUNITED-06 interview 17: Sandy Clark - CSS - Relative and Absolute Positioning

2006-05-01 Thread Michael Smith
In this issue of ColdFusion conference and training news:
* Order a DVD copy of CFUNITED 2005 recordings and materials/laptop bag
* Adobe Press offers attendees 35% off a selection of books!
* Win a FREE extravagant lunch with your favorite speaker if register by 
4/30/06!
* Fusetalk Forum on CFUNITED! Talk to other Attendees.
* CFLive - Thursday 12:30pm
* Coming Soon - NEW scheduler program
* Interview with Sandy Clark on CSS - Relative and Absolute Positioning

CFUNITED is the premier ColdFusion Conference near
Washington DC 6/28-7/1/06 (Four whole days!)
Check out speakers and topics at http://www.cfunited.com/

- Michael Smith
TeraTech, Inc

CF developers are a hot commodity. The demand for fast, reliable web 
applications is on the rise.
Now is the time to be a ColdFusion developer if you want to be on top of 
the game. CFUNITED is the
place to be to see the latest feature sets of ColdFusion and what it can 
do for you and your
company. Be the first to witness it all.
-Jeff C., CFUNITED Alumni

Have 3 years of CF and love helping other developers?
http://www.teratech.com/index.cfm?go=About.JobDetailJobID=7

Conference and training news


* Upcoming TeraTech classes
Cost $59 - $349 see http://www.teratech.com/training/ for more details 
and registration

CF101 - Welcome to ColdFusion   May 2 2006
CF102 - Intro to ColdFusion May 9 2006
CF201 - Intermediate ColdFusion May 16 2006
FB101 - Intro to FuseboxMay 23 2006
FB201 - Intermediate FuseboxJun 6 2006

* Pre-conference classes
Cost $449 see http://www.cfunited.com/classes06.cfm for more details and 
registration
Location: Bethesda North Marriott and Conference Center

CU210 Leader of the Pack (strategies for building better software) - 
Simon Horwith - Monday 6/26
CU211 Fundamentals of Relational Database - Kurtis D. Leatham - Monday 6/26
CU212 ColdFusion Server Administration: JRun J2EE Deployment - Adam 
Wayne Lehman - Monday 6/26
CU213 Testing ColdFusion - John Paul Ashenfelter - Monday 6/26

CU214 Ajax intensive for ColdFusion Developers - Rob Gonda - Tuesday 6/27
CU215 XML, XPath, and XSLT for ColdFusion Developers - Jeff Peters - 
Tuesday 6/27
CU216 Domain Modeling - Hal Helms - Tuesday 6/27
CU217 Beyond Basic SQL for CF - Nate Nelson - Tuesday 6/27



CFUNITED NEWS!
* Order a DVD copy of CFUNITED 2005's recordings on MP3
http://www.cfunited.com/dvd_recordings.cfm
All sessions were recorded at CFUNITED-05, but there were technical 
problems that left a portion of
the session's MP3 recordings inaudible. This disc includes all the 
audible recordings. We apologize
if any of your favorite sessions are not available for your listening.
Also, you can order your own copy plus the 2005 bookbag and materials!
-Limited Supply-

* Adobe Press offers CFUNITED attendees 35% off books!
Register for CFUNITED and use your login to receive benefits.
http://www.cfunited.com/attendeepage.cfm
Develop your ColdFusion chops with the best books for the
web development community!

Adobe Press is a world leader in high-quality books for visual communicators
and the official source of training materials for Adobe and Macromedia
software. Adobe Press books are published, marketed, and distributed  by
Peachpit Press. With top-notch books for both developers and designers
covering the latest in Web technology, Adobe Press offers expert training,
straight from the source.  Choose from Macromedia Official Documentation
titles, books by noted ColdFusion and Dreamweaver experts, such as Ben Forta
and Joseph Lowery, as well as step-by-step project-based tutorials in the
Training from the Source series.
www.adobepress.com



* CFUNITED SPECIAL EVENTS

ColdFusion Celebration
Hosted by Adobe, TeraTech, and Hostmysite
Drinks, games, raffles. Join us for another year of ColdFusion Fun.
Location: Bethesda North Marriott Terrace
Starting time: 7:15pm Thursday, June 29th

MiniMAX 4 http://www.minimaxconference.com/
Can't go to CFUNITED? Come to this FREE event!
Hosted by Adam Bell
Location: Brookside Room, Bethesda North Marriott Conference Center, 
Lower Level
Starting Time: 8:00pm

Attendee Get Together http://www.cfunited.com/attendee_dinner.cfm
See old CFUNITED buddies before the big show! Make new friends!
Hosted by CFDynamics
Location: Dave and Busters, Approximately 3 blocks from Bethesda North 
Marriott
Time: 5:30pm-7:30pm

* Win a free extravagant lunch with your favorite speaker! Anyone who 
has registered before May 1st
is eligible to win a lunch with his/her speaker of choice. Pick their 
brains while you enjoy a
delicious meal and dessert. HURRY and REGISTER NOW!
Speakers currently participating:
Glenda Vigoreaux
Sandy Clark
Sean Corfield
Selene Banium
Ray Camden
Joe Rinehart
Simon Howrith
Jeff Houser

* 25% of our Pre-Conference Classes are full. Be sure to reserve your 
seat today!
http://www.cfunited.com/classes06.cfm

* The First 750 registrations will get our cool new laptop book bag, 
courtesy of our platinum and
gold 

MS Access DSN issue

2006-05-01 Thread Ken Ketsdever
We have a small but critical application running off an Access DB.  We
are moving the application from an older server (soon to be retired), to
a new server.  The older server is Windows 2000, with ColdFusion 6.x.
The Access DB is on a separate server on our network. When this
applicaiton was built several years ago we created a Windows user for
the ColdFusion service, then gave that user modify rights on the folder
on the server that houses the db.  This application has been up and
running fine for several years.   
 
 
I am now trying to move it to the new server, Windows 2003, IIS 6,
ColdFusion 7.x Enterprise.  I cannot get the DSN to work.  I have
created a user for the ColdFusion Instance service, given it local admin
rights on the box coldfusion sits on and provided it with modify rights
to the folder on the other server where the DB resides.
 
 
I have two questions:
 
#1. Here is the error message I get in the Coldfusion Administrator when
I try to verify the DSN.  Does anyone have any ideas of where I am going
wrong? (besides using Access, it's not my application I don't have much
choice)
 
Connection verification failed for data source: ISINV_DEV
com.inzoom.adojni.ComException: Not a valid file name. The root cause
was that: com.inzoom.adojni.ComException: Not a valid file name. in
Microsoft JET Database Engine code=0 Type=1
 
 
 
#2. When creating a windows user account to be used with the ColdFusion
service what rights does that user account need?  I believe that
ColdFusion uses the Local System account by default.

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. 




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


Re: CF_AVERY

2006-05-01 Thread Ray
Gmail is really screwing with this thread, seems like I'm only seeing half
the posts, so if this has already been answered, I apologize.

CF_Avery was replaced CF_AveryRTF, IIRC.

http://tinyurl.com/zcqlt

Ray



On 5/1/06, Adrian Lynch [EMAIL PROTECTED] wrote:

 I could have sworn it was cf_avery and not CF_AveryRTF! That's why it was
 hard to find...

 Check the exchange on macromedia/adobe for cf_averyrtf.

 Adrian

 -Original Message-
 From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED]
 Sent: 01 May 2006 09:25
 To: CF-Talk
 Subject: CF_AVERY


 Does anyone know where I can find cf_avery please?  I've hunted high and
 low!

 Thanks, Jenny


 -Original Message-
 From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED]
 Sent: 30 April 2006 23:32
 To: CF-Talk
 Subject: RE: Printing from CF


 thanks Ben, good advice

 Jenny


 -Original Message-
 From: Ben Forta [mailto:[EMAIL PROTECTED]
 Sent: 30 April 2006 20:27
 To: CF-Talk
 Subject: RE: Printing from CF


 FWIW, I would strongly recommend not printing on the server. If you do in
 fact need server-side printing (as in printing where the server is
 located)
 then get a dedicated box running some client app that does the printing. I
 have seen servers to bad things as a result of server-side printing, from
 problems as simple as printer error message popping up waiting for someone
 to click OK, and worse. Get a cheap machine that does nothing but spew
 print
 jobs as needed.

 --- Ben


 -Original Message-
 From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED]
 Sent: Sunday, April 30, 2006 2:49 PM
 To: CF-Talk
 Subject: RE: Printing from CF

 thanks Dave, i need both ... anyone have a link to cf_avery please?

 Thanks all for replies :-)

 I'm thinking of creating a text file to be printed and sending it out to
 lpt
 with a batch file .. :-S

 The printers are all going to be thermal label printers.

 Ant better ideas welcomed, thanks


 -Original Message-
 From: Dave Watts [mailto:[EMAIL PROTECTED]
 Sent: 30 April 2006 18:24
 To: CF-Talk
 Subject: RE: Printing from CF


  The printing should be done client side, not via CF. If you printed
  via CF it would be printed on the server, which wouldn't be much good
  to anyone.

 While this is almost certainly true in the original poster's case, I'll
 just
 go ahead and point out that it's not always the case. I've worked on
 applications where server-side printing is what's needed.

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



 

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


Re: MS Access DSN issue

2006-05-01 Thread Jochem van Dieten
Ken Ketsdever said:

 I am now trying to move it to the new server, Windows 2003, IIS 6,
 ColdFusion 7.x Enterprise.  I cannot get the DSN to work.  I have
 created a user for the ColdFusion Instance service, given it local
 admin rights on the box coldfusion sits on and provided it with
 modify rights to the folder on the other server where the DB
 resides.

 I have two questions:

 #1. Here is the error message I get in the Coldfusion Administrator
 when I try to verify the DSN.  Does anyone have any ideas of where I
 am going wrong?

If you are using the ODBC bridge, you need to give the ODBC Service
permissions on the database, not the CF Service.


 #2. When creating a windows user account to be used with the
 ColdFusion service what rights does that user account need?  I
 believe that
 ColdFusion uses the Local System account by default.

Log on as a Service, Change on the CF / JRun installation dir, RX on
the webroot (more if you want to write files too).

Jochem




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


Re: ASP.Net book for CF programmer

2006-05-01 Thread Nathan Strutz
On 4/29/06, Denny Valliant [EMAIL PROTECTED] wrote:

 Hmmm... is everything really free in aspland?  I thought that idea
 ran counter to microsoft's MO. ;-)  You're not talking about using
 mono or something right?


Well, there's an express version of the IDE that's free, and there are ways
to score the standard edition for free (*cough* www.learn2asp.net, sign up,
click 3 download buttons *cough* don't have to actually download them
*cough*). There are also other IDEs like the OSS SharpDevelop (Kinda like
using Eclipse instead of Sun Java Studio). All the compiling and everything
is free, you can do it via cmd if you like, just download the SDK. All the
help docs come with the free SDK. Deploying is free, though your IDE may
limit the types of deployment it supports, but you can always manually hack
it. Running your software is also free, be it on client PCs or on web
servers through IIS.

What you don't get for free is the advanced IDE features, mostly like class
diagramming and advanced deployment options, plus team system integration
(team system is like scm plus loads of collaboration and project
management), and you don't get the server OS software for free (but you can
find Win 2003 web edition for around $300), and you can run it through
Win2000 if you like). Then, of course, your development OS (should be XP
Pro) isn't free. There's a chance you're using these OSes already, bringing
the cost down to pretty much nothing.

I'm not beign negative, and i'm not saying it's better or worse than any
other platforms. I'm just telling it like it is.

-nathan strutz
http://www.dopefly.com/ (yes, still on .cfm, and will be for a long time)


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


Re: CFMBB 1.0 RC2 Available

2006-05-01 Thread Rick Root
Jeff Fleitz wrote:
 Hey Rick,
 
 Your download link is broken...
 
Download RC2 at http://www.cfmbb.org/projects/cfmbb


Ooops.. supposed to be:

http://www.cfopen.org/projects/cfmbb

Rick

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


RE: More of a JS Question/Forms

2006-05-01 Thread Eric J. Hoffman
Two forms.

Two options for people to search.  Different kind of data sets.  They
can either enter in one or the other.

Just want to make sure something was entered on the page somewhere
before they hit a submit button.  Or maybe, that in the form button they
do submit, something was freeking entered.  Maybe that's the normal
ticket.  

Thanks, 





Eric J. Hoffman
Managing Partner
2081 Industrial Blvd
StillwaterMN55082
mail: [EMAIL PROTECTED]
www: http://www.ejhassociates.com
tel: 651.717.4105
fax: 651.717.4115
mob: 651.245.2717



This message contains confidential information and is intended only for [EMAIL 
PROTECTED] If you are not cf-talk@houseoffusion.com you should not disseminate, 
distribute or copy this e-mail. Please notify [EMAIL PROTECTED] immediately by 
e-mail if you have received this e-mail by mistake and delete this e-mail from 
your system. E-mail transmission cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses. Eric J. Hoffman therefore does 
not accept liability for any errors or omissions in the contents of this 
message, which arise as a result of e-mail transmission. If verification is 
required please request a hard-copy version.


-Original Message-

From: Jim Wright [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 01, 2006 9:08 AM
To: CF-Talk
Subject: Re: More of a JS Question/Forms

 I have two forms, and I just want to check if no value has been 
 entered in either form, and pop to tell the user to enter something!  
 So I can't do a required field in my validation because they can fill 
 in one of three fields or more in one form, but not the other.

Eric,
While Charlie's getElementById code will probably work fine for what you
are talking about, I'm a little confused about the two forms.  Are these
forms on the same page/frame?  When you submit one, you would lose
anything that was entered on the other, unless you do some onSubmit
javascript to capture and pass that data through the form you are
submitting...so validating on data that is going to be lost seems odd.
Or are you just saying that these are two parts of the same form?
-jim


--
Jim Wright
Wright Business Solutions
[EMAIL PROTECTED]
919-417-2257



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


QofQ function update

2006-05-01 Thread Michael Dinowitz
I had mentioned a problem with an app I was debugging in this thread:
http://www.houseoffusion.com/cf_lists/messages.cfm/forumid:4/threadid:45659
My solution was to write a function that mimicked the functionality of a QofQ 
without having to use it. The function (with some mods) was posted here:
http://www.blogoffusion.com/index.cfm/2006/4/25/Query-of-Query-function

The bottom line is that the page running the function had it's run time cut 
almost in half from 4500ms to 2500ms and less. Now this is on CFMX 6.1 on about 
10 queries in a row so the results may be quite different on CFMX 7. All my 
tests on 7 showed no difference at all but I'd have to test it in a more 
extreme setting to be sure. 

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


Re: replacement for QoQ

2006-05-01 Thread Michael Dinowitz
In what piece of the code do you see this by the way? Listeners and the
model shouldn't touch the request scope... (and preferably not plugins
or filters either)

The functionality is authentication.cfc. From what I can see, these queries are 
needed per run because they contain announcements and news. I'd prefer to have 
these stored in an application var and updated when a new announcement or news 
item was added but that's just me. 

Either way, my QofQ function worked fantastically in solving most of the 
problem. 

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


RE: ASP.Net book for CF programmer

2006-05-01 Thread Rick Faircloth
Hi, Nathan...

I've checked out the MS Visual Web Developer 2005, express edition,
and it does have limitations, but probably none I'd miss anytime soon,
especially since I'm still working under the limitations of CF 4.5.2.

The express edition is free, I already have servers running Windows 2000
Server,
all my OS's are Win XP Pro...

So, it looks to me like everything would be free...I guess to process
the asp code, I just need to install the .NET framework, which is free also,
I believe.

So, it seems like I can start working in the latest asp world for nothing,
except the cost of learning asp coding (which I really don't want to do),
but
I also don't want to spend $1300 to upgrade CF 4.5.2 to the CF 7...$600...
probably, but $1300...I doubt it.  Adobe may just lose a CF Developer over
this one...and besides, my clients for whom I develop office web
applications
can setup up servers to run my apps without having to buy CF...they have
to have the Server OS, e.g. Windows Server 2003, but they have to have that
even with CF...

Can't believe they don't offer *any* upgrade discount from 4.5.2.  I've paid
MM (now Adobe) $1300 once, and I think I deserve a discount for the latest
version.

This probably shows my ignorance of the CF 7 platform, but I don't see
any *basic* difference in what 4.5.2 and what CF 7 does that I want...a
means
to add, update, delete, and display data from a database.  It seems that all
the versions of CF do that, just in better ways.  I want something
groundbreaking
before shelling out upgrade money.

Rick



-Original Message-
From: Nathan Strutz [mailto:[EMAIL PROTECTED]
Sent: Monday, May 01, 2006 12:10 PM
To: CF-Talk
Subject: Re: ASP.Net book for CF programmer


On 4/29/06, Denny Valliant [EMAIL PROTECTED] wrote:

 Hmmm... is everything really free in aspland?  I thought that idea
 ran counter to microsoft's MO. ;-)  You're not talking about using
 mono or something right?


Well, there's an express version of the IDE that's free, and there are ways
to score the standard edition for free (*cough* www.learn2asp.net, sign up,
click 3 download buttons *cough* don't have to actually download them
*cough*). There are also other IDEs like the OSS SharpDevelop (Kinda like
using Eclipse instead of Sun Java Studio). All the compiling and everything
is free, you can do it via cmd if you like, just download the SDK. All the
help docs come with the free SDK. Deploying is free, though your IDE may
limit the types of deployment it supports, but you can always manually hack
it. Running your software is also free, be it on client PCs or on web
servers through IIS.

What you don't get for free is the advanced IDE features, mostly like class
diagramming and advanced deployment options, plus team system integration
(team system is like scm plus loads of collaboration and project
management), and you don't get the server OS software for free (but you can
find Win 2003 web edition for around $300), and you can run it through
Win2000 if you like). Then, of course, your development OS (should be XP
Pro) isn't free. There's a chance you're using these OSes already, bringing
the cost down to pretty much nothing.

I'm not beign negative, and i'm not saying it's better or worse than any
other platforms. I'm just telling it like it is.

-nathan strutz
http://www.dopefly.com/ (yes, still on .cfm, and will be for a long time)




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


Re: More of a JS Question/Forms

2006-05-01 Thread Jochem van Dieten
Eric J. Hoffman wrote:
 I know this isn't quite CF, but figure the folks around here have done
 this easily.
 
 I have two forms, and I just want to check if no value has been entered
 in either form, and pop to tell the user to enter something!  So I can't
 do a required field in my validation because they can fill in one of
 three fields or more in one form, but not the other.
 
 Anyway, I would check form1 and form2 for no values...I get that, but
 wonder how to check for nothing from each form.

function verify() {
   fields = document.getElementsByTagName('input');
   for (var i=0; i  fields.length; i++)   {
 if (fields[i].value != '')
   return true;
   }
   alert('Please fill out at least one form field!');
   return false;
}

Jochem

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


RE: MS Access DSN issue

2006-05-01 Thread Mark A Kruger
Ken,

Using terminal services log in as the user in question (that local user).
Then try to map a drive or browse to the UNC file path in question. If you
can't do it then CF can't either. Lot's of things have to go right for this
to work :) Remember there are more than 1 kind of permission. There are
ACL's and there are also share permissions. You will need to examine both.

-Mark 

-Original Message-
From: Ken Ketsdever [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 01, 2006 10:16 AM
To: CF-Talk
Subject: MS Access DSN issue

We have a small but critical application running off an Access DB.  We are
moving the application from an older server (soon to be retired), to a new
server.  The older server is Windows 2000, with ColdFusion 6.x.
The Access DB is on a separate server on our network. When this applicaiton
was built several years ago we created a Windows user for the ColdFusion
service, then gave that user modify rights on the folder on the server that
houses the db.  This application has been up and
running fine for several years.   
 
 
I am now trying to move it to the new server, Windows 2003, IIS 6,
ColdFusion 7.x Enterprise.  I cannot get the DSN to work.  I have created a
user for the ColdFusion Instance service, given it local admin rights on the
box coldfusion sits on and provided it with modify rights to the folder on
the other server where the DB resides.
 
 
I have two questions:
 
#1. Here is the error message I get in the Coldfusion Administrator when I
try to verify the DSN.  Does anyone have any ideas of where I am going
wrong? (besides using Access, it's not my application I don't have much
choice)
 
Connection verification failed for data source: ISINV_DEV
com.inzoom.adojni.ComException: Not a valid file name. The root cause was
that: com.inzoom.adojni.ComException: Not a valid file name. in Microsoft
JET Database Engine code=0 Type=1
 
 
 
#2. When creating a windows user account to be used with the ColdFusion
service what rights does that user account need?  I believe that ColdFusion
uses the Local System account by default.

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. 






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


how to send a null response header in http

2006-05-01 Thread Ali Awan
I am having an issue with a client, who is posting an XML file to me.

They post an XML file (I don't know how, through java somehow)

And I have a CF file that parses the gethttprequestdata().

Then it does some stuff, and writes some files and calls a storedproc.

That part isn't important.  The main thing is that my cf file does not
produce any output for the browser.

 

However, whatever method my client is using to post the XML data, they are
getting an http response back from our server.

They are expecting a null response, but they are getting something back.

How do I control this in CF?  I tried surrounding my code with a
cfprocessingdirective tag to suppresswhitespace, but that doesn't work for
them.

 

If anyone knows what I'm talking about, I'd greatly appreciate any tips or
suggestions.

Thanks,

Ali



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


RE: how to send a null response header in http

2006-05-01 Thread Peterson, Chris
Try wrapping your entire codeblock with cfsilent ?

 

-Original Message-
From: Ali Awan [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 01, 2006 2:38 PM
To: CF-Talk
Subject: how to send a null response header in http

I am having an issue with a client, who is posting an XML file to me.

They post an XML file (I don't know how, through java somehow)

And I have a CF file that parses the gethttprequestdata().

Then it does some stuff, and writes some files and calls a storedproc.

That part isn't important.  The main thing is that my cf file does not
produce any output for the browser.

 

However, whatever method my client is using to post the XML data, they
are getting an http response back from our server.

They are expecting a null response, but they are getting something back.

How do I control this in CF?  I tried surrounding my code with a
cfprocessingdirective tag to suppresswhitespace, but that doesn't work
for them.

 

If anyone knows what I'm talking about, I'd greatly appreciate any tips
or suggestions.

Thanks,

Ali





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


Re: how to send a null response header in http

2006-05-01 Thread Jochem van Dieten
Ali Awan wrote:
 I am having an issue with a client, who is posting an XML file to me.
 
 They post an XML file (I don't know how, through java somehow)
 
 And I have a CF file that parses the gethttprequestdata().
 
 Then it does some stuff, and writes some files and calls a storedproc.
 
 That part isn't important.  The main thing is that my cf file does not
 produce any output for the browser.
 
 However, whatever method my client is using to post the XML data, they are
 getting an http response back from our server.

They will always get a HTTP response back, there is no way around 
that because that is how HTTP is defined:

quote
6 Response

After receiving and interpreting a request message, a server 
responds
with an HTTP response message.

Response  = Status-Line   ; Section 6.1
*(( general-header; Section 4.5
 | response-header; Section 6.2
 | entity-header ) CRLF)  ; Section 7.1
CRLF
[ message-body ]  ; Section 7.2
/quote http://www.ietf.org/rfc/rfc2616.txt

The best thing to do is using cfheader to send a HTTP 204 No 
Content status code back:
cfcontent reset=yescfheader statuscode=204cfabort

If they really don't want a response, HTTP is the wrong protocol 
and maybe they should be using SOAP over BEEP or something.

Jochem

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


Re: how to send a null response header in http

2006-05-01 Thread Ali Awan
Jochem,

Thanks!  That worked like a charm!
All I needed to do was add that snippet sending back a 204 Response Header.

Take care,
Ali


They will always get a HTTP response back, there is no way around 
that because that is how HTTP is defined:

The best thing to do is using cfheader to send a HTTP 204 No 
Content status code back:
cfcontent reset=yescfheader statuscode=204cfabort

Jochem

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


Re: how to send a null response header in http

2006-05-01 Thread Ali Awan
Thanks Chris,

But I think Jochem has the correct solution.
I too thought about cfsilent, but that won't work, since I'm taking their post 
and writing it out to a variable and then writing that to a file.  I think 
cfsilent would block that output.

However, I appreciate your help, and thanks for responding.

cheers,
Ali
Try wrapping your entire codeblock with cfsilent ?

Ali

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


email regex?

2006-05-01 Thread Crow T. Robot
What's everyone's favorite regex for validating form-input email 
addresses on the client side? 

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


Re: email regex?

2006-05-01 Thread Charlie Griefer
I don't generally bother, because you can validate the hell out of it,
but [EMAIL PROTECTED] will always work :)

I just don't think it's worth the effort to validate.  If you want to
ensure that it's a 'good' address, automatically send them an e-mail
to which they must respond...or i think there are some web services
out there now that will ping a mail server to see if the email address
exists.

Just my $0.2.

On 5/1/06, Crow T. Robot [EMAIL PROTECTED] wrote:
 What's everyone's favorite regex for validating form-input email
 addresses on the client side?

 

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


RE: email regex?

2006-05-01 Thread Ben Nadel
 
cffunction name=IsEmail access=public returntype=boolean output=no
   hint=Determines if the given string is an email address
   
   !--- Define arguments. ---
   cfargument name=Text type=string required=yes /
   
   cfscript
  // Check to see if the text is an email address. Checking for an email
  // format is somewhat complicated so we will break it into several
different
  // RegExp functions instead of trying to create some huge retarded
script.
  if (
 Len(ARGUMENTS.Text) AND
// Must have a length.
 REFindNoCase([EMAIL PROTECTED],10},
ARGUMENTS.Text) AND  // Checking for general format. [EMAIL PROTECTED]
 (NOT REFindNoCase((^(\.|-)), ARGUMENTS.Text)) AND
// Doesn't start with '.'.
 (NOT REFindNoCase((\.{2,})|(-{2,}), ARGUMENTS.Text)) AND
// Doesn't have two '.' or two '-' in a row.
 (NOT REFindNoCase(([\.\-]+@)|(@[\.\-]+)|(\.-)|(-\.),
ARGUMENTS.Text))   // Doesn't have wierd combos of letters.
 ){
 // This string is an email address. 
 return(1); 
  } else {
 // This string does not match a valid email address.
 return(0);
  }  
   /cfscript  
/cffunction

...
Ben Nadel 
www.bennadel.com
-Original Message-
From: Crow T. Robot [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 01, 2006 4:32 PM
To: CF-Talk
Subject: email regex?

What's everyone's favorite regex for validating form-input email addresses
on the client side? 



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


RE: email regex?

2006-05-01 Thread Ben Nadel
Oops, 

The one I sent was Sever side, but could be changed for client-side... 
...
Ben Nadel 
www.bennadel.com
-Original Message-
From: Crow T. Robot [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 01, 2006 4:32 PM
To: CF-Talk
Subject: email regex?

What's everyone's favorite regex for validating form-input email addresses
on the client side? 



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


Re: email regex?

2006-05-01 Thread Crow T. Robot
Yea, we're gonna do both, just trying to validate it a little bit before 
it makes it to the processing page.

I just checked the livedocs and used that one.

Thanks

Charlie Griefer wrote:
 I don't generally bother, because you can validate the hell out of it,
 but [EMAIL PROTECTED] will always work :)
 
 I just don't think it's worth the effort to validate.  If you want to
 ensure that it's a 'good' address, automatically send them an e-mail
 to which they must respond...or i think there are some web services
 out there now that will ping a mail server to see if the email address
 exists.
 
 Just my $0.2.
 
 On 5/1/06, Crow T. Robot [EMAIL PROTECTED] wrote:
 What's everyone's favorite regex for validating form-input email
 addresses on the client side?


 
 

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


Re: Two cf_ThreeSelectsRelated Custom Control On One Form

2006-05-01 Thread Jimmy Hunt
I'm trying to use this qForms three related control and code. But I'm not sure 
how to use a cfquery to fill the drop downs instead of the array static data.

Thanks!
James

I must have had a modified version of the tag then.

Here is a link to CFAJAX, I personally did not like doing related select
tags with this because it ended up being slower than the method I had been
using.

http://www.indiankey.com/cfajax/

Here is a linkto AjaxCFC:

http://www.robgonda.com/blog/projects/ajaxcfc/

The method I use, uses qForms and is similar to the example he has online
here:

http://www.pengoworks.com/qforms/docs/examples/n-related_selectboxes.htm

It probably just boils down to how many records you need to display as to
which is faster.  What I typically use qForms for is a hierarchy drill down
which I would guess involves a few hundred records.  I have one that uses
AjaxCFC and qForms, qForms for a drill down and then AjaxCFC to pull out
some related records for display/selecting.


On 4/27/06, Jimmy Hunt [EMAIL PROTECTED] wrote:


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


MS-SQL connection string

2006-05-01 Thread Victor Moore
Hi,

I am trying to create a MS-SQL 2000 database through a cfm script
(CFMX 7.01if it makes any difference).

I think it can be done using the dbtype=dynamic  in a cfquery, but I need
to pass a connection string.
So. will it work and if yes how can I get the connection string?

Any pointers?

Thx
Victor


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


Re: Two cf_ThreeSelectsRelated Custom Control On One Form

2006-05-01 Thread Aaron Rouse
You need to do the CFOUTPUTs within the SCRIPT tags and inside those
CFOUTPUTs would be the JavaScript array creation/population.  I do it a
little differently than he does it in his online examples but will email you
offlist and example set of code that you can run and see how to build things
off of.

On 5/1/06, Jimmy Hunt [EMAIL PROTECTED] wrote:

 I'm trying to use this qForms three related control and code. But I'm not
 sure how to use a cfquery to fill the drop downs instead of the array static
 data.

 Thanks!
 James

 I must have had a modified version of the tag then.
 
 Here is a link to CFAJAX, I personally did not like doing related select
 tags with this because it ended up being slower than the method I had
 been
 using.
 
 http://www.indiankey.com/cfajax/
 
 Here is a linkto AjaxCFC:
 
 http://www.robgonda.com/blog/projects/ajaxcfc/
 
 The method I use, uses qForms and is similar to the example he has online
 here:
 
 http://www.pengoworks.com/qforms/docs/examples/n-related_selectboxes.htm
 
 It probably just boils down to how many records you need to display as to
 which is faster.  What I typically use qForms for is a hierarchy drill
 down
 which I would guess involves a few hundred records.  I have one that uses
 AjaxCFC and qForms, qForms for a drill down and then AjaxCFC to pull out
 some related records for display/selecting.
 
 
 On 4/27/06, Jimmy Hunt [EMAIL PROTECTED] wrote:
 

 

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


Re: email regex?

2006-05-01 Thread Les Mizzell
I have good luck with: isValid(email, form.emailAddr)

What's wrong with that?

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


RE: email regex?

2006-05-01 Thread Ben Nadel
I haven't really gotten into that yet. My Email validator is pre MX7... But
I gotta start using the IsValid() methods.

...
Ben Nadel 
www.bennadel.com
-Original Message-
From: Les Mizzell [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 01, 2006 5:14 PM
To: CF-Talk
Subject: Re: email regex?

I have good luck with: isValid(email, form.emailAddr)

What's wrong with that?



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


Re: email regex?

2006-05-01 Thread Crow T. Robot
Yea, me too.  Most of my apps are MX7, but I havent' taken the time to 
look into the various possibility.

Les, I was looking for client-side.  But, no matter, I stole one from 
the livedocs that does a good enough job of keeping the trolls out.

Ben Nadel wrote:
 I haven't really gotten into that yet. My Email validator is pre MX7... But
 I gotta start using the IsValid() methods.
 
 ...
 Ben Nadel 
 www.bennadel.com
 -Original Message-
 From: Les Mizzell [mailto:[EMAIL PROTECTED] 
 Sent: Monday, May 01, 2006 5:14 PM
 To: CF-Talk
 Subject: Re: email regex?
 
 I have good luck with: isValid(email, form.emailAddr)
 
 What's wrong with that?
 
 
 
 

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


CFFile Sharing Violation

2006-05-01 Thread Ali Awan
I am running into an issue where I am creating a comma delimited file based on 
a query result.  So I have a CFFile Append inside a Query Loop.  I am trying 
to Lock the File Access so this is the hierarchy of my code
in pseudo-code

cftry
   cflock name=myFileLock
  loop query
  file Append
  /loop
   /cflock
   cfcatch
 !-- if there was an error try and loop through query and append to
 file again --
 cflock name=myFileLock 
query loop
file append
/loop
 /cflock
   /cfcatch  
/cftry

What I am getting is a sharing violation when I try appending to the file 
inside the cfcatch.

Do I need to name the second lock differently?
Is there a function in Coldfusion where I can test to see if there is a sharing 
violation before trying to append?

Should I nest my code differently?  
Meaning should the try catch only be around the actual file append?

Again all help is greatly appreciated.  I look forward to hearing others' input 
and suggestions.

Thanks,
Ali

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


Re: email regex?

2006-05-01 Thread Rick Root
Charlie Griefer wrote:
 I don't generally bother, because you can validate the hell out of it,
 but [EMAIL PROTECTED] will always work :)

yeah, but [EMAIL PROTECTED] won't break cfmail.

Rick

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


RE: MS-SQL connection string

2006-05-01 Thread Dave Watts
 I am trying to create a MS-SQL 2000 database through a cfm 
 script (CFMX 7.01if it makes any difference).
 
 I think it can be done using the dbtype=dynamic  in a 
 cfquery, but I need to pass a connection string.
 So. will it work and if yes how can I get the connection string?

That attribute value (DBTYPE='DYNAMIC') is not available within CFMX 7.x.
You will need an existing connection to a SQL Server database with a login
that has permission to create a database.

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!


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


RE: CFFile Sharing Violation

2006-05-01 Thread Dave Watts
 I am running into an issue where I am creating a comma 
 delimited file based on a query result.  So I have a CFFile 
 Append inside a Query Loop.  I am trying to Lock the File 
 Access so this is the hierarchy of my code

Why not do all your file writing after the fact, instead of within your
loop, 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!


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


Re: email regex?

2006-05-01 Thread Charlie Griefer
On 5/1/06, Rick Root [EMAIL PROTECTED] wrote:
 Charlie Griefer wrote:
  I don't generally bother, because you can validate the hell out of it,
  but [EMAIL PROTECTED] will always work :)

 yeah, but [EMAIL PROTECTED] won't break cfmail.

True...i guess validation (or some sort of error handling) does need
to be done someplace...either when collecting the address or prior to
using it.

--
Charlie Griefer


...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince with a swift warning.
Be cunning and full of tricks and your people shall never be destroyed.

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


Re: Question about relative and root links

2006-05-01 Thread Denny Valliant
On 4/30/06, Dave Watts [EMAIL PROTECTED] wrote:

  Heh. I disagree.  Both relative URLs and site root relative
  URLs would resolve just fine, in fact maybe better than absolute URLs.
  Say the site was moved from a private domain to a public one.
  Or the original server is now down.  And add that you are
  copy/moving a site, not a single page, to make it worth while.

 If you copy the entire site, you probably don't need absolute URLs. If you
 copy one file, and only one file, it will need absolute URLs to have
 everything resolve properly. There's a reason why some sites use absolute
 URLs or BASE tags.


That's all well and good if you can pick and choose.

 See, it can just get silly, and thus my preference for not
  muddying the waters by calling absolute URLs absolute paths.

 But a URL is a path! It's not a filesystem path, but it's a path
 nonetheless. When you type a URL in your browser, you're telling the
 browser
 what it needs to know to get to a file. That's a path. Any time you use an
 IMG or A tag to point to something, it contains a URL.


For sure.  There are lots of paths all over the place, which is part
of my reluctance to call a absolute URL a absolute path.  I'm
the one who called it such to begin with, but it was already with
the context of URLs, so I didn't qualify.

I do think that if you called someone on the phone, and said,
give me the absolute path to X, there could be some confusion:
What kind of path? I guess, since we're web developers, we'd
know that it was a URL path ;-)

 Why not call it absolute site root, and avoid the
  confusion?  Or we could call the plain old relative URLs
  page absolute or current directory absolute.

 I don't know. My point was simply that terminology exists to describe
 these
 three sorts of URLs (or paths, if you prefer). I am not trying to say that
 they are the best possible ways to describe them, just that they exist,
 and
 are commonly used by lots of people. Such is the nature of jargon, or
 terms
 of art, in any field.


Your point I'm addressing was your challenge for supportive argument as
to my preference.  I don't disagree that some people may call them that.

I don't prefer path:  It's like using object to refer to any java object.

Sure it's true, but does it get the needed info across? I also
don't like the idea of /something and http://wee.url; both being an
absolute URL.

Jargon is probably the first step to getting into the language.  Use makes
a word real. (Well, that and being in an RFC ;-)

My comment was about the fact that the terminology you put forth
did not seem the best possible way to describe what was being
talked about.  Here you say you agree, but you commented on the
fact that I didn't have a supporting argument for my preference prior.
Why? Why not say, yes, I agree- we're adults, we can use more
technical terms, here are 3 that actually express what we're talking
about?
According to your definition of an absolute URL path, this isn't one:
/somedir/somefile.ext, right? Yet I would call that an absolute path
for the URL.  I surely wouldn't call it a relative URL, although the
path is obviously relative of the /.
Whereas I'd call this: http:\\cf-talk.com a complete URL before
I'd call it an absolute one.

We have the power to effect what is.  When you tell someone
that this is an absolute URL http://woot.hoo;, while many
may call /blah/index.cfm a absolute URL (it should
probably be called a root relative URL instead?), you run into
a situation where dev A thinks absolute means one thing,
and dev B thinks it means another. Nothing communication
can't solve... but don't tell them that AFTER they've done
whatever they were going to do, now in two totally different
ways.

Maybe you should have qualified your first post more,
so I didn't think you thought that's how it should be^H^His. [-;

Where is your argument supporting your position? As the
debate is to preferred notation, and I've tried to support
my statement, but you just took away the point, if you
also don't prefer that notation, or think it's good or
whatever. Should be a standard, as opposed to my
shouldn't be a standard?  Or were we debating the need
to back up statements with arguments?

Did I make any sort of sense here?  Sheesh, I'm a
feaking mess. I must have missed the point of the initial
challenge. At the least, I argued like a drunken monkey.

Someday I will be a master of conversation!
|3|\|


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


Re: MS-SQL connection string

2006-05-01 Thread Victor Moore
So, if this is a new installation (no datasources set up in CFMX Admin), the
only way to do it is to use a Query Analyzer (or similar tool) and run the
db creation script?


Thanks Dave

Victor

On 5/1/06, Dave Watts [EMAIL PROTECTED] wrote:

  I am trying to create a MS-SQL 2000 database through a cfm
  script (CFMX 7.01if it makes any difference).
 
  I think it can be done using the dbtype=dynamic  in a
  cfquery, but I need to pass a connection string.
  So. will it work and if yes how can I get the connection string?

 That attribute value (DBTYPE='DYNAMIC') is not available within CFMX 7.x.
 You will need an existing connection to a SQL Server database with a login
 that has permission to create a database.

 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!


 

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


The IIf function

2006-05-01 Thread Matthew Chambers
Hi all,

Am I correct in saying that the IIf function and the cfif tag work 
differently on the following scenerio. In the CFIF tag, when the CFIF fails it 
will jump over the code which follows until a CFELSEIF, CFELSE or CFIF.
Here's an example:
--
CFIF
The cfif failed so this text is not run. More to the point this code is not 
run, cfqueryKILL DATABASE/cfquery
/CFIF
---
Where as with the IIf function, CF will still test that the code for both the 
true and false cases will work? This is dumb, because the whole point for an IF 
is to check that you will have everything you need to run the code when it 
returns true.
:::CFIF eg:::
cfif IsDefined(foo
cfset foo = foo+1
/cfif
:::IIf eg:::
Iif(IsDefined(foo),DE(foo=foo+1),DE('whatever'))

Any thoughts?
Cheers


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


Re: ASP.Net book for CF programmer

2006-05-01 Thread Denny Valliant
MS isn't free. It's not even open source, which is closer to free.
As you say, CF isn't even close to free.

So long as you know your target audience, you can ignore
things that don't relate, so whatever you feel like doing...

I'm digging laszlo, seems pretty cools so far, and it's purty.

I just never really liked ASP for some reason, PHP always
got me more excited.

I would warn against taking MS for granted tho.  There are
many solutions that are cross platform, which is where I'd
lean.
:d

On 5/1/06, Rick Faircloth [EMAIL PROTECTED] wrote:

 Hi, Nathan...

 I've checked out the MS Visual Web Developer 2005, express edition,
 and it does have limitations, but probably none I'd miss anytime soon,
 especially since I'm still working under the limitations of CF 4.5.2.

 The express edition is free, I already have servers running Windows 2000
 Server,
 all my OS's are Win XP Pro...

 So, it looks to me like everything would be free...I guess to process
 the asp code, I just need to install the .NET framework, which is free
 also,
 I believe.

 So, it seems like I can start working in the latest asp world for nothing,
 except the cost of learning asp coding (which I really don't want to do),
 but
 I also don't want to spend $1300 to upgrade CF 4.5.2 to the CF 7...$600...
 probably, but $1300...I doubt it.  Adobe may just lose a CF Developer over
 this one...and besides, my clients for whom I develop office web
 applications
 can setup up servers to run my apps without having to buy CF...they have
 to have the Server OS, e.g. Windows Server 2003, but they have to have
 that
 even with CF...

 Can't believe they don't offer *any* upgrade discount from 4.5.2.  I've
 paid
 MM (now Adobe) $1300 once, and I think I deserve a discount for the latest
 version.

 This probably shows my ignorance of the CF 7 platform, but I don't see
 any *basic* difference in what 4.5.2 and what CF 7 does that I want...a
 means
 to add, update, delete, and display data from a database.  It seems that
 all
 the versions of CF do that, just in better ways.  I want something
 groundbreaking
 before shelling out upgrade money.

 Rick




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


Re: More of a JS Question/Forms

2006-05-01 Thread Denny Valliant
The only trouble with JavaScript is: what if it's turned off?

The isValid() and maybe hidden form fields would be safest.

I think.

Not the most UI friendly. In conjunction with some AJAX it
could be, tho.
:D

On 5/1/06, Jochem van Dieten [EMAIL PROTECTED] wrote:

 Eric J. Hoffman wrote:
  I know this isn't quite CF, but figure the folks around here have done
  this easily.
 
  I have two forms, and I just want to check if no value has been entered
  in either form, and pop to tell the user to enter something!  So I can't
  do a required field in my validation because they can fill in one of
  three fields or more in one form, but not the other.
 
  Anyway, I would check form1 and form2 for no values...I get that, but
  wonder how to check for nothing from each form.

 function verify() {
fields = document.getElementsByTagName('input');
for (var i=0; i  fields.length; i++)   {
  if (fields[i].value != '')
return true;
}
alert('Please fill out at least one form field!');
return false;
 }

 Jochem

 

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


Re: MS-SQL connection string

2006-05-01 Thread Denny Valliant
You can use DNS-less connections. Just search for dnsless connection
coldfusion and you should get some hits.

I think the only way to add a DSN is throught the administrator or admin
API.
:DeN

On 5/1/06, Victor Moore [EMAIL PROTECTED] wrote:

 So, if this is a new installation (no datasources set up in CFMX Admin),
 the
 only way to do it is to use a Query Analyzer (or similar tool) and run the
 db creation script?


 Thanks Dave

 Victor

 On 5/1/06, Dave Watts [EMAIL PROTECTED] wrote:
 
   I am trying to create a MS-SQL 2000 database through a cfm
   script (CFMX 7.01if it makes any difference).
  
   I think it can be done using the dbtype=dynamic  in a
   cfquery, but I need to pass a connection string.
   So. will it work and if yes how can I get the connection string?
 
  That attribute value (DBTYPE='DYNAMIC') is not available within CFMX
 7.x.
  You will need an existing connection to a SQL Server database with a
 login
  that has permission to create a database.
 
  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!
 
 
 

 

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


Displaying Japanese characters

2006-05-01 Thread Marcus Whitworth
Hi,

I am having trouble displaying Japanese characters in a client site I have 
inherited. Apparently it used be hosted on CF 5, but we are now running MX7.

The page is: http://pointout.whiteyork.com/japanese/index.cfm?page=categoryid=7

I have placed 

cfprocessingdirective pageencoding=SHIFT_JIS 

at the top of the page, which has at least displayed the page title and meta 
tags (if you view the source) in japanese - but the rest of the page is just 
junk text.

If you manually change the encoding in your browser to japanese, then the 
japanese text displays correctly - but I can't get it to display like that on 
page load by default.

I thought i'd set all the meta tags and encoding correctly, but I have to be 
missing something.

Thanks in advance,
Marcus.

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


RE: MS-SQL connection string

2006-05-01 Thread Dave Watts
 So, if this is a new installation (no datasources set up in 
 CFMX Admin), the only way to do it is to use a Query Analyzer 
 (or similar tool) and run the db creation script?

You can use the CFMX 7 Admin API to create datasources.

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!


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


RE: Question about relative and root links

2006-05-01 Thread Dave Watts
 My comment was about the fact that the terminology you put 
 forth did not seem the best possible way to describe what 
 was being talked about.  Here you say you agree, but you 
 commented on the fact that I didn't have a supporting 
 argument for my preference prior.
 Why? Why not say, yes, I agree- we're adults, we can use 
 more technical terms, here are 3 that actually express what 
 we're talking about?

Look, as programmers, we share common jargon and terms of art. The value of
these terms of art doesn't come from their descriptive power, although it's
nice if that exists. They come from the consensus that these terms mean
specific things. 

For example, if we all decided to call variables foozles, that would be
fine, as long as every programmer did so. For all I know, foozle may be
qualitatively superior to variable, but that doesn't matter. What matters
is that if I say variable to another programmer, we'll both be clear about
what I mean. If you want to take a Humpty-Dumpty approach, and redefine
these terms of art as you see fit, be my guest, but it won't be very helpful
for communication between programmers.

 Maybe you should have qualified your first post more, so I 
 didn't think you thought that's how it should be^H^His. [-;

I think my first post was quite clear, actually. I means what I says, and I
says what I means, as Popeye would say.

 Did I make any sort of sense here?

Not so much. Don't worry about it, though. We're disagreeing about two
completely different things. It would probably be best to move on to another
topic.

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!


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


Re: ASP.Net book for CF programmer

2006-05-01 Thread Aaron Rouse
MS is not free, but if you are in an environment that is going to use MS
servers then wouldn't ASP be already paid for?  Or is the licensing
different for the server when used to host an intranet or internet facing
application?

On 5/1/06, Denny Valliant [EMAIL PROTECTED] wrote:

 MS isn't free. It's not even open source, which is closer to free.
 As you say, CF isn't even close to free.

 So long as you know your target audience, you can ignore
 things that don't relate, so whatever you feel like doing...

 I'm digging laszlo, seems pretty cools so far, and it's purty.

 I just never really liked ASP for some reason, PHP always
 got me more excited.

 I would warn against taking MS for granted tho.  There are
 many solutions that are cross platform, which is where I'd
 lean.
 :d

 On 5/1/06, Rick Faircloth [EMAIL PROTECTED] wrote:
 
  Hi, Nathan...
 
  I've checked out the MS Visual Web Developer 2005, express edition,
  and it does have limitations, but probably none I'd miss anytime soon,
  especially since I'm still working under the limitations of CF 4.5.2.
 
  The express edition is free, I already have servers running Windows 2000
  Server,
  all my OS's are Win XP Pro...
 
  So, it looks to me like everything would be free...I guess to process
  the asp code, I just need to install the .NET framework, which is free
  also,
  I believe.
 
  So, it seems like I can start working in the latest asp world for
 nothing,
  except the cost of learning asp coding (which I really don't want to
 do),
  but
  I also don't want to spend $1300 to upgrade CF 4.5.2 to the CF
 7...$600...
  probably, but $1300...I doubt it.  Adobe may just lose a CF Developer
 over
  this one...and besides, my clients for whom I develop office web
  applications
  can setup up servers to run my apps without having to buy CF...they have
  to have the Server OS, e.g. Windows Server 2003, but they have to have
  that
  even with CF...
 
  Can't believe they don't offer *any* upgrade discount from 4.5.2.  I've
  paid
  MM (now Adobe) $1300 once, and I think I deserve a discount for the
 latest
  version.
 
  This probably shows my ignorance of the CF 7 platform, but I don't see
  any *basic* difference in what 4.5.2 and what CF 7 does that I want...a
  means
  to add, update, delete, and display data from a database.  It seems that
  all
  the versions of CF do that, just in better ways.  I want something
  groundbreaking
  before shelling out upgrade money.
 
  Rick
 
 


 

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


RE: ASP.Net book for CF programmer

2006-05-01 Thread Dave Watts
 MS is not free, but if you are in an environment that is 
 going to use MS servers then wouldn't ASP be already paid 
 for? 

Maybe, maybe not. Let's say you build an application and deploy it on a
single Windows server. Then, because it's so successful, you need to make it
more scalable. In the Windows world, that typically means scaling out
(multiple servers) instead of scaling up (bigger servers). So, more license
money for Bill!

 Or is the licensing different for the server when used 
 to host an intranet or internet facing application?

No, generally not, although you may be able to get away with using CALs for
SQL Server licensing in a closed environment.

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!


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


RE: ASP.Net book for CF programmer

2006-05-01 Thread Rick Faircloth
 In the Windows world, that typically means scaling out
 (multiple servers) instead of scaling up (bigger servers)

But you've still got to have those servers (hardware and software)
if you're Cold Fusion application becomes wildly successful, on top
of the money you have to spend on an MS solution.

SQL Server...not right now...I'm using MySQL and while it doesn't
run big, high traffic sites for me right now, it looks plenty capable
to do so, and it's completely free.

Rick


-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Monday, May 01, 2006 9:04 PM
To: CF-Talk
Subject: RE: ASP.Net book for CF programmer


 MS is not free, but if you are in an environment that is
 going to use MS servers then wouldn't ASP be already paid
 for?

Maybe, maybe not. Let's say you build an application and deploy it on a
single Windows server. Then, because it's so successful, you need to make it
more scalable. In the Windows world, that typically means scaling out
(multiple servers) instead of scaling up (bigger servers). So, more license
money for Bill!

 Or is the licensing different for the server when used
 to host an intranet or internet facing application?

No, generally not, although you may be able to get away with using CALs for
SQL Server licensing in a closed environment.

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!




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


Re: MS-SQL connection string

2006-05-01 Thread Victor Moore
yes, I know about the Admin API, but I need to physically create the
database and then create the datasource using the Admin API.

Thanks

On 5/1/06, Dave Watts [EMAIL PROTECTED] wrote:

  So, if this is a new installation (no datasources set up in
  CFMX Admin), the only way to do it is to use a Query Analyzer
  (or similar tool) and run the db creation script?

 You can use the CFMX 7 Admin API to create datasources.

 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!


 

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


Re: Displaying Japanese characters

2006-05-01 Thread Paul Hastings
Marcus Whitworth wrote:
 Hi,
 
 I am having trouble displaying Japanese characters in a client site I have
 inherited. Apparently it used be hosted on CF 5, but we are now running MX7.
 
 The page is:
 http://pointout.whiteyork.com/japanese/index.cfm?page=categoryid=7
 
 I have placed
 
 cfprocessingdirective pageencoding=SHIFT_JIS

for starters i see:
meta http-equiv=content-type content=text/html; charset=UTF-8

are you using cfcontent? have you used setEncoding? both of these tags can go 
in 
the application.cfm or application.cfc, cfprocessingdirective must go on each 
page.

cfset setEncoding(form,Shift-JIS)
cfset setEncoding(url,Shift-JIS)
cfcontent type=text/html; charset=Shift-JIS


finally what's the encoding of the physical files? if these things have a BOM 
ie 
could be utf-8 then that's what cf will encode the text stream as.

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


Re: The IIf function

2006-05-01 Thread Douglas Knudsen
IIF() is shorthand replacement for IF/THEN/ELSE.  Other langs have
IIF() too, eh?

Thus
cfif foo IS 5
   foo is 5
cfelse
   foo is not 5
/cfif

is equivalent to

IIF(foo IS 5, 'foo is 5', 'foo is not 5')

*note...mind the quotes!  ' is double quote followed by single quote

DK

On 5/1/06, Matthew Chambers [EMAIL PROTECTED] wrote:
 Hi all,

 Am I correct in saying that the IIf function and the cfif tag work 
 differently on the following scenerio. In the CFIF tag, when the CFIF fails 
 it will jump over the code which follows until a CFELSEIF, CFELSE or CFIF.
 Here's an example:
 --
 CFIF
 The cfif failed so this text is not run. More to the point this code is not 
 run, cfqueryKILL DATABASE/cfquery
 /CFIF
 ---
 Where as with the IIf function, CF will still test that the code for both the 
 true and false cases will work? This is dumb, because the whole point for an 
 IF is to check that you will have everything you need to run the code when it 
 returns true.
 :::CFIF eg:::
 cfif IsDefined(foo
 cfset foo = foo+1
 /cfif
 :::IIf eg:::
 Iif(IsDefined(foo),DE(foo=foo+1),DE('whatever'))

 Any thoughts?
 Cheers


 

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


cfmail error

2006-05-01 Thread Howard Owens
I have a bulk mail application I've used for years using CFMAIL on a 4.0server.

Recently, I was FORCED (not that I'm complaining at all) to a CFMX server.

Now I'm getting this error:

A problem occurred when attempting to deliver mail.  This exception was
caused by: javax.mail.SendFailedException: Invalid Addresses; nested
exception is: class javax.mail.SendFailedException: 550 Requested action not
taken: mailbox unavailable or not local .


I tried:


  cftry
!--- send your mail, don't forget to turn OFF spooling if you want this to
work---
cfcatch type=Any
  cfif cfcatch.detail contains javax.mail.SendFailedException
error found

   /cfif
/cfcatch
/cftry

Which I lifted off a forum found in a Google search.  Mail spooling is not
on.

And no mail goes out.

Either I get the error, or I use this and no mail goes out.

My CF skills have gotten real rusty since I stopped writing code every day
(the dreaded promotion) ...

This is for a client from my old free-lance days.

I could really use some straightforward help -- here's what you do!

Thanks.

H.


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


Re: MS-SQL connection string

2006-05-01 Thread Victor Moore
I was able to create the db using a DNS-less connections. So it seems I'm on
the right track.

Thank you
Victor


On 5/1/06, Denny Valliant [EMAIL PROTECTED] wrote:

 You can use DNS-less connections. Just search for dnsless connection
 coldfusion and you should get some hits.

 I think the only way to add a DSN is throught the administrator or admin
 API.
 :DeN

 On 5/1/06, Victor Moore [EMAIL PROTECTED] wrote:
 
  So, if this is a new installation (no datasources set up in CFMX Admin),
  the
  only way to do it is to use a Query Analyzer (or similar tool) and run
 the
  db creation script?
 
 
  Thanks Dave
 
  Victor
 
  On 5/1/06, Dave Watts [EMAIL PROTECTED] wrote:
  
I am trying to create a MS-SQL 2000 database through a cfm
script (CFMX 7.01if it makes any difference).
   
I think it can be done using the dbtype=dynamic  in a
cfquery, but I need to pass a connection string.
So. will it work and if yes how can I get the connection string?
  
   That attribute value (DBTYPE='DYNAMIC') is not available within CFMX
  7.x.
   You will need an existing connection to a SQL Server database with a
  login
   that has permission to create a database.
  
   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!
  
  
  
 
 

 

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


RE: Displaying Japanese characters

2006-05-01 Thread Phillip B. Holmes
Paul,

What appears to be going on here is 7-bit ascii that is a representation of
Japanese (non-unicode).
You can do a couple things to solve this issue.

1. Conver the data to unicode. Move the data into a ntext or nvarchar field
in the database that properly stores the DBCS (double byte character set). 
2. Live with the data type and display the data via an encode / decode
process that will display the data properly. I have an article on my blog
here that explains the use of the java.nio.charset.Charset class:
http://www.phillipholmes.com/?p=46

This kind of character sleuthing is not that big of a deal but you obviously
would only use this as a stop gap until the data type can be corrected.


Contact me offline if you have further questions.

Warmest Regards,
 
Phillip B. Holmes
http://phillipholmes.com










-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 01, 2006 8:50 PM
To: CF-Talk
Subject: Re: Displaying Japanese characters

Marcus Whitworth wrote:
 Hi,
 
 I am having trouble displaying Japanese characters in a client site I 
 have inherited. Apparently it used be hosted on CF 5, but we are now
running MX7.
 
 The page is:
 http://pointout.whiteyork.com/japanese/index.cfm?page=categoryid=7
 
 I have placed
 
 cfprocessingdirective pageencoding=SHIFT_JIS

for starters i see:
meta http-equiv=content-type content=text/html; charset=UTF-8

are you using cfcontent? have you used setEncoding? both of these tags can
go in the application.cfm or application.cfc, cfprocessingdirective must go
on each page.

cfset setEncoding(form,Shift-JIS)
cfset setEncoding(url,Shift-JIS)
cfcontent type=text/html; charset=Shift-JIS


finally what's the encoding of the physical files? if these things have a
BOM ie could be utf-8 then that's what cf will encode the text stream as.



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


RE: how to send a null response header in http

2006-05-01 Thread Dawson, Michael
Jochem also helped me with this a year, or so, back.  204 was exactly
what I needed when I wanted a link to perform an action, but not change
the browser.  I'm glad he has memorized every RFC.

M!ke 

-Original Message-
From: Ali Awan [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 01, 2006 3:17 PM
To: CF-Talk
Subject: Re: how to send a null response header in http

Jochem,

Thanks!  That worked like a charm!
All I needed to do was add that snippet sending back a 204 Response
Header.

Take care,
Ali


They will always get a HTTP response back, there is no way around that 
because that is how HTTP is defined:

The best thing to do is using cfheader to send a HTTP 204 No Content 
status code back:
cfcontent reset=yescfheader statuscode=204cfabort

Jochem

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