Re: When does onSessionEnd get called?

2006-03-31 Thread S . Isaac Dealey
I wouldn't expect it to mean that... I'd have to get a closer look at
your application, but it sounds like you'd have had the onSessionEnd()
method being called manually somewhere in your application.cfc like in
the onRequestEnd() (which would explain why you get the error on every
request), but when it's called manually that way the session doesn't
expire, it only executes the code in that event. I would be really
surprised if it actually expired in each request, although I suppose
it could in theory if you set your session timeout to a really low
value like 1 second for instance.

 Thats what I thought, Isaac but how come this happens ...
 I have an
 application.cfc on one of my sites, where the
 onSessionEnd() method
 had an error in it, and my error handler was sending me a
 message that
 there was an error on every page view.

 I know i shouldn't have had an error in that method, and i
 fixed that
 ok, but i was surprised that i was getting an error
 notified every
 page view.

 That doesnt mean the session was ending each page view
 does it?

 Cheers
 Mike Kear
 Windsor, NSW, Australia
 Certified Advanced ColdFusion Developer
 AFP Webworks
 http://afpwebworks.com
 ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month



 On 3/31/06, S. Isaac Dealey [EMAIL PROTECTED] wrote:
  I am using application.cfc in my application.  I put a
  call to log when the onSessionEnd method is called on
  application.cfc, but I never see an entry in the logs.
  When does the onSessionEnd get called?

 When the session expires. :) I know, that's a dumb
 answer.

 Here's some general information which might be more
 helpful in
 debugging your issue.


 ~~
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236663
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: When does onSessionEnd get called?

2006-03-31 Thread James Holmes
It was probably a compilation error. Since Application.cfc runs on
every request, the bad method would have failed to compile on every
request, triggering an error.

On 3/31/06, S. Isaac Dealey [EMAIL PROTECTED] wrote:
 I wouldn't expect it to mean that... I'd have to get a closer look at
 your application, but it sounds like you'd have had the onSessionEnd()
 method being called manually somewhere in your application.cfc like in
 the onRequestEnd() (which would explain why you get the error on every
 request), but when it's called manually that way the session doesn't
 expire, it only executes the code in that event. I would be really
 surprised if it actually expired in each request, although I suppose
 it could in theory if you set your session timeout to a really low
 value like 1 second for instance.

  Thats what I thought, Isaac but how come this happens ...
  I have an
  application.cfc on one of my sites, where the
  onSessionEnd() method
  had an error in it, and my error handler was sending me a
  message that
  there was an error on every page view.

  I know i shouldn't have had an error in that method, and i
  fixed that
  ok, but i was surprised that i was getting an error
  notified every
  page view.

  That doesnt mean the session was ending each page view
  does it?

--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236664
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: get directory size

2006-03-31 Thread Raymond Camden
Don't forget cfdirectory now has a resurse option. You can do a
recusrive get on the folder, then use query of query to get the total.
No need to loop over the entire result set.

On 3/30/06, Srinivasa Teja Palla [EMAIL PROTECTED] wrote:
 is there no other easy way to get the directory size than listing and going 
 thru all its contents, adding their sizes?

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236665
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: CFWDDX and Component Objects

2006-03-31 Thread Snake
OK well that much I know, but  that fact seems kinda moot and pedantic, cozz
if someone can do that, then obviously must have complete access to your
code anyway to be able to call your CFC directly and access it's public
member vars in the first place.
I thought he was trying to imply that I could somehow get at those variables
remotely.
Obviously if a CFC is private, it should be set as such, otherwise your gonn
ahave a lot more problems.

Russ 

-Original Message-
From: Rob Wilkerson [mailto:[EMAIL PROTECTED] 
Sent: 31 March 2006 02:24
To: CF-Talk
Subject: Re: CFWDDX and Component Objects

Nope.  THIS refers to the object, but can be used to access public member
variables from outside the object itself.  Public member variables (i.e.
variables initialized as this.variableName) can be modified outside of the
object itself.

On any CFM template, instantiate the object and then reassign the public
variable value:

variables.myObject = createObject ( 'component',
'com.my.package.componentName' ); variables.myObject.publicMemberVar =
'blah';

To protect those variables, it's recommended that they only be accessible
within the component itself with external code updating them via getter and
setter functions (e.g. getPublicMemberVar() / setPublicMemberVar()).

I don't know if I just confused the issue more, but the idea is to make the
variables themselves *only* available for assignment within methods of the
CFC.  Analogous to private members in Java.

On 3/30/06, Snake [EMAIL PROTECTED] wrote:
 So what are u saying, if I create this.foo = fo fum inside a CFC, 
 then this can be accessed outside of the CFC by anyone?
 Surely the THIS scope is local to the object (CFC) ?



 Russ

 -Original Message-
 From: Dave Watts [mailto:[EMAIL PROTECTED]
 Sent: 31 March 2006 01:14
 To: CF-Talk
 Subject: RE: CFWDDX and Component Objects

  I see a few people have a problem with using the this scope, why ?

 Because it violates the concept of encapsulation, which is one of the 
 primary concepts of object-oriented programming. Public member 
 variables can be manipulated directly from outside the object; an 
 object should manage its own data.

 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:23
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: LAMP package

2006-03-31 Thread Andy Matthews
Not even gonna go there Jacob.

:)

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

-Original Message-
From: Munson, Jacob [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 30, 2006 4:46 PM
To: CF-Talk
Subject: RE: LAMP package


 I'm on Windows

AAK!  What the heck for?!  ;)


--

This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law. If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
in error, please immediately contact the sender and destroy the material in
its entirety, whether in electronic or hard copy format. Thank you. A1.





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236667
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: LAMP package

2006-03-31 Thread Ken Ferguson
I may be missing something here, but why do you need a package??? What's 
wrong with just installing the A, M, and P? I've got several machines 
set up with all of the above and I didn't use any package to get it that 
way. I guess what I'm asking is, other than the little bit of 
convenience of a quicker install, why spend time finding a package?

--Ferg

Andy Matthews wrote:
 I should have clarified that I'm on Windows so technically the subject line
 should have been WAMP package.

 My apologies for getting Joelle all worked up.

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

 -Original Message-
 From: Joelle Tegwen [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 30, 2006 3:20 PM
 To: CF-Talk
 Subject: Re: LAMP package


 Oh, but Fedora Core has yum ;)

 ( yum) ;)

 yum install Mysql
 yum install php

 finds the right version for your distro, resolves dependencies, slices,
 dices and julienne fries.

 The GUI is yum extender, but it's slower. :)



 Munson, Jacob wrote:
   
 I can't tell you about a good all-in-one package, but I know the debian
 based distros make it pretty easy to install software.  You just run
 apt-get, or the equivalent, and it will download and install the package
 (like mySQL 5), and it will even get any necessary dependencies.  Ubuntu
 even has a GUI that does this.  Find MySQL 5 in the list, click install,
 your done.  :)


 



 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236668
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: CFLOOP: Select Form in Edit Mode with Multiple Selections (selected help)

2006-03-31 Thread Andy Matthews
What about just using the ListFind function.

ListFind(yourlist,currentid)

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

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 30, 2006 10:43 PM
To: CF-Talk
Subject: CFLOOP: Select Form in Edit Mode with Multiple Selections
(selected help)


All,

I'm trying to populate a (categories) select form with element in edit mode.
I'm
trying to loop through the entire list of categories while highlighting
(selected) the
categories associated within this recordset.  I'm having a hard time getting
multiple selections to siaply properly in edit mode. Each category_id is
comma
delimted.

SAMPLE:

!-- FORM.pre_existing is coming from unique item submitted into edit
mode --
cfquery name=Edit_Get_Selected_PressRel datasource=#datasource#
cachedWithin = #CreateTimeSpan(0, 0, 5, 0)#
SELECT *
FROM press_rel
WHERE press_re_id = #FORM.pre_existing#
/cfquery

!-- GET CATEGORIES --
cfquery name=GetCategoriesOutput datasource=#Datasource#
SELECT * FROM categories
/cfquery

!-- SPIT OUT CATEGORIES AND SHOW CATEGORIES IN THE DB.COLUMN AS SELECTED BY
LOOPING  --
!-- PRSubmit_EDIT IS HIDDEN FORM WHEN IN EDIT MODE --
select name=pre_cat_id size=3 multiple id=cat_id
CFOUTPUT query=GetCategoriesOutput
option value=#categorie_id# CFIF ISDEFINED (PRSubmit_EDIT)cfloop
index = ListElement list = #Edit_Get_Selected_PressRel.pre_cat_id#CFIF
ListElement IS
GetCategoriesOutput.categorie_idselected/CFIF/cfloop/CFIF#cat_name#
/option
/CFOUTPUT
  /select

Thanks.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236669
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: LAMP package

2006-03-31 Thread Rob Wilkerson
I think the convenience was really the point.  Certainly, installing
each necessary package would work just fine.  I think Andy was just
looking for options/opinions/etc.

On 3/31/06, Ken Ferguson [EMAIL PROTECTED] wrote:
 I may be missing something here, but why do you need a package??? What's
 wrong with just installing the A, M, and P? I've got several machines
 set up with all of the above and I didn't use any package to get it that
 way. I guess what I'm asking is, other than the little bit of
 convenience of a quicker install, why spend time finding a package?

 --Ferg

 Andy Matthews wrote:
  I should have clarified that I'm on Windows so technically the subject line
  should have been WAMP package.
 
  My apologies for getting Joelle all worked up.
 
  !//--
  andy matthews
  web developer
  ICGLink, Inc.
  [EMAIL PROTECTED]
  615.370.1530 x737
  --//-
 
  -Original Message-
  From: Joelle Tegwen [mailto:[EMAIL PROTECTED]
  Sent: Thursday, March 30, 2006 3:20 PM
  To: CF-Talk
  Subject: Re: LAMP package
 
 
  Oh, but Fedora Core has yum ;)
 
  ( yum) ;)
 
  yum install Mysql
  yum install php
 
  finds the right version for your distro, resolves dependencies, slices,
  dices and julienne fries.
 
  The GUI is yum extender, but it's slower. :)
 
 
 
  Munson, Jacob wrote:
 
  I can't tell you about a good all-in-one package, but I know the debian
  based distros make it pretty easy to install software.  You just run
  apt-get, or the equivalent, and it will download and install the package
  (like mySQL 5), and it will even get any necessary dependencies.  Ubuntu
  even has a GUI that does this.  Find MySQL 5 in the list, click install,
  your done.  :)
 
 
 
 
 
 
 

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236670
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: LAMP package

2006-03-31 Thread Andy Matthews
So you're saying that you think it would be better to go download, install
and configure each individual package than spending a few extra minutes
finding a package that will do it all for me?

No thank you. Not to mention that these packages are already pre-set up to
work seamlessly with each other.

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

-Original Message-
From: Ken Ferguson [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 8:25 AM
To: CF-Talk
Subject: Re: LAMP package


I may be missing something here, but why do you need a package??? What's
wrong with just installing the A, M, and P? I've got several machines
set up with all of the above and I didn't use any package to get it that
way. I guess what I'm asking is, other than the little bit of
convenience of a quicker install, why spend time finding a package?

--Ferg

Andy Matthews wrote:
 I should have clarified that I'm on Windows so technically the subject
line
 should have been WAMP package.

 My apologies for getting Joelle all worked up.

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

 -Original Message-
 From: Joelle Tegwen [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 30, 2006 3:20 PM
 To: CF-Talk
 Subject: Re: LAMP package


 Oh, but Fedora Core has yum ;)

 ( yum) ;)

 yum install Mysql
 yum install php

 finds the right version for your distro, resolves dependencies, slices,
 dices and julienne fries.

 The GUI is yum extender, but it's slower. :)



 Munson, Jacob wrote:

 I can't tell you about a good all-in-one package, but I know the debian
 based distros make it pretty easy to install software.  You just run
 apt-get, or the equivalent, and it will download and install the package
 (like mySQL 5), and it will even get any necessary dependencies.  Ubuntu
 even has a GUI that does this.  Find MySQL 5 in the list, click install,
 your done.  :)










~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236671
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: When does onSessionEnd get called?

2006-03-31 Thread S . Isaac Dealey
That might be true if the error handler was specified in the CF
Administrator. If the error handler is specified with cferror then I
don't believe that's possible. Reading over his post again I realize
he didn't say where the error handler was specified, and my tendancy
is to assume cferror (I don't like the fact that the site-wide error
handler in the CF Administrator can't be overridden, so I don't like
using it.) But compile errors also throw a different set of error
messages and right now you and I are just guessing. So Mike, I guess I
should have asked you to provide more information about the errors you
were seeing. :) If you can post the error message we might be able to
give more helpful advice.

 It was probably a compilation error. Since Application.cfc
 runs on
 every request, the bad method would have failed to compile
 on every
 request, triggering an error.

 On 3/31/06, S. Isaac Dealey [EMAIL PROTECTED] wrote:
 I wouldn't expect it to mean that... I'd have to get a
 closer look at
 your application, but it sounds like you'd have had the
 onSessionEnd()
 method being called manually somewhere in your
 application.cfc like in
 the onRequestEnd() (which would explain why you get the
 error on every
 request), but when it's called manually that way the
 session doesn't
 expire, it only executes the code in that event. I would
 be really
 surprised if it actually expired in each request,
 although I suppose
 it could in theory if you set your session timeout to a
 really low
 value like 1 second for instance.

  Thats what I thought, Isaac but how come this happens
  ...
  I have an
  application.cfc on one of my sites, where the
  onSessionEnd() method
  had an error in it, and my error handler was sending me
  a
  message that
  there was an error on every page view.

  I know i shouldn't have had an error in that method,
  and i
  fixed that
  ok, but i was surprised that i was getting an error
  notified every
  page view.

  That doesnt mean the session was ending each page view
  does it?


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

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236672
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: LAMP package

2006-03-31 Thread Rob Wilkerson
While I agree that easy is (almost always) better, doing this
manually isn't all that difficult.  If you're looking for an
all-in-one solution, though, the XAMPP package I mentioned in an
earlier post is the only one I've ever heard of.

On 3/31/06, Andy Matthews [EMAIL PROTECTED] wrote:
 So you're saying that you think it would be better to go download, install
 and configure each individual package than spending a few extra minutes
 finding a package that will do it all for me?

 No thank you. Not to mention that these packages are already pre-set up to
 work seamlessly with each other.

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

 -Original Message-
 From: Ken Ferguson [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 31, 2006 8:25 AM
 To: CF-Talk
 Subject: Re: LAMP package


 I may be missing something here, but why do you need a package??? What's
 wrong with just installing the A, M, and P? I've got several machines
 set up with all of the above and I didn't use any package to get it that
 way. I guess what I'm asking is, other than the little bit of
 convenience of a quicker install, why spend time finding a package?

 --Ferg

 Andy Matthews wrote:
  I should have clarified that I'm on Windows so technically the subject
 line
  should have been WAMP package.
 
  My apologies for getting Joelle all worked up.
 
  !//--
  andy matthews
  web developer
  ICGLink, Inc.
  [EMAIL PROTECTED]
  615.370.1530 x737
  --//-
 
  -Original Message-
  From: Joelle Tegwen [mailto:[EMAIL PROTECTED]
  Sent: Thursday, March 30, 2006 3:20 PM
  To: CF-Talk
  Subject: Re: LAMP package
 
 
  Oh, but Fedora Core has yum ;)
 
  ( yum) ;)
 
  yum install Mysql
  yum install php
 
  finds the right version for your distro, resolves dependencies, slices,
  dices and julienne fries.
 
  The GUI is yum extender, but it's slower. :)
 
 
 
  Munson, Jacob wrote:
 
  I can't tell you about a good all-in-one package, but I know the debian
  based distros make it pretty easy to install software.  You just run
  apt-get, or the equivalent, and it will download and install the package
  (like mySQL 5), and it will even get any necessary dependencies.  Ubuntu
  even has a GUI that does this.  Find MySQL 5 in the list, click install,
  your done.  :)
 
 
 
 
 
 
 



 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236673
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: LAMP package

2006-03-31 Thread Ken Ferguson
I never really thought of it as that big of a hassle. And yeah, I do 
tend to think that it's better to install each and get each set up 
exactly like I want them set up. I'm not knockin' you for it though; 
maybe I'll try one of the packages next time I've got a machine to set 
up and see how it goes.

--Ferg

Andy Matthews wrote:
 So you're saying that you think it would be better to go download, install
 and configure each individual package than spending a few extra minutes
 finding a package that will do it all for me?

 No thank you. Not to mention that these packages are already pre-set up to
 work seamlessly with each other.

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

 -Original Message-
 From: Ken Ferguson [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 31, 2006 8:25 AM
 To: CF-Talk
 Subject: Re: LAMP package


 I may be missing something here, but why do you need a package??? What's
 wrong with just installing the A, M, and P? I've got several machines
 set up with all of the above and I didn't use any package to get it that
 way. I guess what I'm asking is, other than the little bit of
 convenience of a quicker install, why spend time finding a package?

 --Ferg

 Andy Matthews wrote:
   
 I should have clarified that I'm on Windows so technically the subject
 
 line
   
 should have been WAMP package.

 My apologies for getting Joelle all worked up.

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

 -Original Message-
 From: Joelle Tegwen [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 30, 2006 3:20 PM
 To: CF-Talk
 Subject: Re: LAMP package


 Oh, but Fedora Core has yum ;)

 ( yum) ;)

 yum install Mysql
 yum install php

 finds the right version for your distro, resolves dependencies, slices,
 dices and julienne fries.

 The GUI is yum extender, but it's slower. :)



 Munson, Jacob wrote:

 
 I can't tell you about a good all-in-one package, but I know the debian
 based distros make it pretty easy to install software.  You just run
 apt-get, or the equivalent, and it will download and install the package
 (like mySQL 5), and it will even get any necessary dependencies.  Ubuntu
 even has a GUI that does this.  Find MySQL 5 in the list, click install,
 your done.  :)



   


 



 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236674
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: HTML 101-its friday

2006-03-31 Thread Rob Wilkerson
#anchorName

Or, in a CF page, ##anchorName should do it.

On 3/31/06, Eric J. Hoffman [EMAIL PROTECTED] wrote:
 Have some dynamic links:

 a href=index_lab.cfm?ppid=#lpid#id=#url.id#gr=#url.gr#la=#url.la#
 class=lablinkblue

 Want it to go to the section of the page by using the old a
 name=woohoocontent here, we /a in the page...

 I plum forgot how to add the notation to the url to make it get down to
 that spot.

 Call it rusty knowledge!

 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:236679
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: HTML 101-its friday

2006-03-31 Thread Andy Matthews
a name=youranchorlink/a

a href=#youranchorlinkyour anchor link/a

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

-Original Message-
From: Eric J. Hoffman [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 9:25 AM
To: CF-Talk
Subject: HTML 101-its friday


Have some dynamic links:

a href=index_lab.cfm?ppid=#lpid#id=#url.id#gr=#url.gr#la=#url.la#
class=lablinkblue

Want it to go to the section of the page by using the old a
name=woohoocontent here, we /a in the page...

I plum forgot how to add the notation to the url to make it get down to
that spot.

Call it rusty knowledge!

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:236680
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: HTML 101-its friday

2006-03-31 Thread Ray Champagne
I think you just need to add an anchor to the end of your URL string:

a 
href=index_lab.cfm?ppid=#lpid#id=#url.id#gr=#url.gr#la=#url.la###woohoo 
class=lablinkblue

(assumed that you have the a tag surrounded by cfoutput)

Is that what you're asking?

Eric J. Hoffman wrote:
 Have some dynamic links:
 
 a href=index_lab.cfm?ppid=#lpid#id=#url.id#gr=#url.gr#la=#url.la#
 class=lablinkblue
 
 Want it to go to the section of the page by using the old a
 name=woohoocontent here, we /a in the page...
 
 I plum forgot how to add the notation to the url to make it get down to
 that spot.
 
 Call it rusty knowledge!
 
 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:236681
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: HTML 101-its friday

2006-03-31 Thread Eric J. Hoffman
Aye, but I can't pass it from that link to make it refresh the page?  I
know how to do internally in a doc, but thought you could still direct
to a page and provide the poundage. 





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: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 31, 2006 9:29 AM
To: CF-Talk
Subject: RE: HTML 101-its friday

a name=youranchorlink/a

a href=#youranchorlinkyour anchor link/a

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

-Original Message-
From: Eric J. Hoffman [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 9:25 AM
To: CF-Talk
Subject: HTML 101-its friday


Have some dynamic links:

a href=index_lab.cfm?ppid=#lpid#id=#url.id#gr=#url.gr#la=#url.la#
class=lablinkblue

Want it to go to the section of the page by using the old a
name=woohoocontent here, we /a in the page...

I plum forgot how to add the notation to the url to make it get down to
that spot.

Call it rusty knowledge!

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:236682
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: HTML 101-its friday

2006-03-31 Thread Eric J. Hoffman
Duh, 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: Ray Champagne [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 31, 2006 9:34 AM
To: CF-Talk
Subject: Re: HTML 101-its friday

I think you just need to add an anchor to the end of your URL string:

a
href=index_lab.cfm?ppid=#lpid#id=#url.id#gr=#url.gr#la=#url.la###woo
hoo 
class=lablinkblue

(assumed that you have the a tag surrounded by cfoutput)

Is that what you're asking?

Eric J. Hoffman wrote:
 Have some dynamic links:
 
 a
href=index_lab.cfm?ppid=#lpid#id=#url.id#gr=#url.gr#la=#url.la#
 class=lablinkblue
 
 Want it to go to the section of the page by using the old a 
 name=woohoocontent here, we /a in the page...
 
 I plum forgot how to add the notation to the url to make it get down 
 to that spot.
 
 Call it rusty knowledge!
 
 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:236683
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: HTML 101-its friday

2006-03-31 Thread Rob Wilkerson
Oh, and I believe you need to add the anchor at the end of the path,
not the query string.  :-)

a
href=index_lab.cfm##woohoo?ppid=#lpid#id=#url.id#gr=#url.gr#la=#url.la###woohoo
class=lablinkblue

On 3/31/06, Ray Champagne [EMAIL PROTECTED] wrote:
 I think you just need to add an anchor to the end of your URL string:

 a
 href=index_lab.cfm?ppid=#lpid#id=#url.id#gr=#url.gr#la=#url.la###woohoo
 class=lablinkblue

 (assumed that you have the a tag surrounded by cfoutput)

 Is that what you're asking?

 Eric J. Hoffman wrote:
  Have some dynamic links:
 
  a href=index_lab.cfm?ppid=#lpid#id=#url.id#gr=#url.gr#la=#url.la#
  class=lablinkblue
 
  Want it to go to the section of the page by using the old a
  name=woohoocontent here, we /a in the page...
 
  I plum forgot how to add the notation to the url to make it get down to
  that spot.
 
  Call it rusty knowledge!
 
  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:236684
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: When does onSessionEnd get called?

2006-03-31 Thread Mike Kear
no it's not the site-wide error handler - its in a shared environment
so i dont have access to the administrator   I have an onError()
method in the CFAdministrator, that has this (in part) :


cfmail to=[EMAIL PROTECTED] from=[EMAIL PROTECTED]
subject=[ #this.sitename# ] Error on the site
server=mail.mydomain.com username=[EMAIL PROTECTED]
password=mypassword type=html
htmlheadtitle/title/headbody#arguments.eventname# threw an
error: The error was given as: #arguments.exception.message# cfdump
var=#arguments.exception#/body/html/cfmail


 ok,  here's the error message:

[quote]
onSessionEnd threw an error: The error was given as: Event Handler Exception.
struct  
Detail   An exception occurred when invoking a event handler method
from Application.cfc The method name is: onSessionEnd.
Message  Event Handler Exception.   
RootCausestruct 
Message  [empty string] 
StackTrace   java.lang.NullPointerException at
coldfusion.runtime.AppEventInvoker.onSessionEnd(AppEventInvoker.java:145)
at coldfusion.runtime.SessionTracker.cleanUp(SessionTracker.java:168)
at coldfusion.runtime.SessionCleanUpAgent.run(SessionTracker.java:259)
at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201) at
coldfusion.scheduling.WorkerThread.run(WorkerThread.java:70)
TagContext   array [empty]  
Type java.lang.NullPointerException 
StackTrace   coldfusion.runtime.EventHandlerException: Event Handler
Exception. at 
coldfusion.runtime.AppEventInvoker.onSessionEnd(AppEventInvoker.java:147)
at coldfusion.runtime.SessionTracker.cleanUp(SessionTracker.java:168)
at coldfusion.runtime.SessionCleanUpAgent.run(SessionTracker.java:259)
at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201) at
coldfusion.scheduling.WorkerThread.run(WorkerThread.java:70)
TagContext   array [empty]  
Type Expression 
name onSessionEnd   
[/quote]


As i said, it was easy enough to find the error and fix it, but what
surprised me was that these things came castading  into my mailbox,
one per page view, when I would have expected onSessionEnd() only to
run once per session.Therefore I would have thought it would only
detect an error in the OnSessionEnd code when it ran - i.e. once per
person per hour or so,   not once per page view.

Cheers
Mike Kear
Windsor, NSW, Australia
Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month



On 4/1/06, S. Isaac Dealey [EMAIL PROTECTED] wrote:
 That might be true if the error handler was specified in the CF
 Administrator. If the error handler is specified with cferror then I
 don't believe that's possible. Reading over his post again I realize
 he didn't say where the error handler was specified, and my tendancy
 is to assume cferror (I don't like the fact that the site-wide error
 handler in the CF Administrator can't be overridden, so I don't like
 using it.) But compile errors also throw a different set of error
 messages and right now you and I are just guessing. So Mike, I guess I
 should have asked you to provide more information about the errors you
 were seeing. :) If you can post the error message we might be able to
 give more helpful advice.

  It

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236685
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


CFUNITED-06 Timely bird ends TODAY Friday 3/31/06

2006-03-31 Thread Michael Smith
The Timely Bird price on the CFUNITED ColdFusion conference ends today
Friday 3/31/06 at midnight EST. Also if you register for a pre-conference
class http://www.cfunited.com/classes06.cfm by end of today you will be 
entered
to win a free 8 GB memory stick! (Some classes are already 35% full!)

The 8th annual CFUNITED is the largest ColdFusion web developer 
conference worldwide
and is held near Washington DC June 28-July 1st 2006. Don't miss out!

Price expires4-day   3-day   Saturday-only
Early Bird   01/31/2006  $649$549$249
Timely Bird  03/31/2006  $749$649$299
Regular  06/16/2006  $849$749$349
Late 06/28/2006  $949$849$399
Door 06/29/2006  $1049   $949$449

Save up to $300 by registering now!
   http://www.cfunited.com/

If you can't stay 4 days Wed - Sat? Then optional 3-day and Saturday 
only packages are
available too. Saturday will consist of repeats the most popular sessions
from the week - something many attendees asked for last year.

Here is what an attendees from last year said:

I attended CFUNITED along with a number of my colleagues from the
university. Some were experienced developers, some were novices, some
were IT managers or server admins. The consistent thread of all our
post-conference conversations regarding CFUNITED was the number of ideas
we came away with. Whether it was a new solution to an old problem or
just having the possibilities of ColdFusion opened up before us, we all
felt it was well worth the trip. Of course our blood sugar levels after
eating that CF birthday cake might have contributed some to that feeling
as well.

- Bob Flynn, Indiana University MMUG

* Speakers include top names like Simon Horwith, Charlie Arehart,
Hal Helms, Michael Dinowitz, Ray Camden and many more respected
CF authors and presenters.

* Sponsors include Adobe, Microsoft, New Atlanta, TeraTech Programming 
and Hostmysite.

* Great tracks:
  * Bootcamp - Basic ColdFusion and Flash topics
  * Advanced - Advanced ColdFusion topics
  * Manager/Empowered - Fusebox and Project management topics
  * Flex/RIA - Flash, Flex and other technologies integrated with CF topics
  * Accessibility / usability - section 508, CSS and disabled access
  * Deployment/Platform - tuning, install issues, OS, picking a database

* Included in your full conference registration is the following:

* Attendance for 4 days (6/28/2006-7/1/2006)
* Keynote and General Sessions
* All conference sessions including repeat sessions on Saturday
* Entrance to Expo Area
* Networking Events
* Badge and Badge holder with bar scan code
* Free Lunch for each show day (Dinner is not included)
* Access to all presentations after the event, including all the 
recordings.
* CFUNITED bag with materials including show guide, CD, coupons, etc.
* Opportunity to participate in all raffle drawings




-- 
Michael Smith, TeraTech Inc - Tools for Programmers(tm)
TeraTech voted Best Consulting Service by CFDJ readers!
CF/ASP Web, VB, Math, Access programming tools and consulting
405 E Gude Dr Ste 207, Rockville MD 20850 USA
Please check out http://www.teratech.com/ - email 
mailto:[EMAIL PROTECTED],
or call us for more information; in the USA at 1-800-447-9120,
+1-301-424-3903 International, Fax 301-762-8185  Thanks!



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236686
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: HTML 101-its friday

2006-03-31 Thread Ray Champagne
Actually, I have this working the way that I said on one of my sites. 
Not sure about your method, but I know mine works.

Rob Wilkerson wrote:
 Oh, and I believe you need to add the anchor at the end of the path,
 not the query string.  :-)
 
 a
 href=index_lab.cfm##woohoo?ppid=#lpid#id=#url.id#gr=#url.gr#la=#url.la###woohoo
 class=lablinkblue
 
 On 3/31/06, Ray Champagne [EMAIL PROTECTED] wrote:
 I think you just need to add an anchor to the end of your URL string:

 a
 href=index_lab.cfm?ppid=#lpid#id=#url.id#gr=#url.gr#la=#url.la###woohoo
 class=lablinkblue

 (assumed that you have the a tag surrounded by cfoutput)

 Is that what you're asking?

 Eric J. Hoffman wrote:
 Have some dynamic links:

 a href=index_lab.cfm?ppid=#lpid#id=#url.id#gr=#url.gr#la=#url.la#
 class=lablinkblue

 Want it to go to the section of the page by using the old a
 name=woohoocontent here, we /a in the page...

 I plum forgot how to add the notation to the url to make it get down to
 that spot.

 Call it rusty knowledge!

 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:236688
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: When does onSessionEnd get called?

2006-03-31 Thread S . Isaac Dealey
 no it's not the site-wide error handler - its in a shared
 environment
 so i dont have access to the administrator   I have an
 onError()
 method in the CFAdministrator, that has this (in part) :

So that rules out the possibility of a compile error, since it would
occur while compiling the CFC.

 As i said, it was easy enough to find the error and fix
 it, but what surprised me was that these things came
 castading  into my mailbox, one per page view, when I
 would have expected onSessionEnd() only to run once per
 session.Therefore I would have thought it would only
 detect an error in the OnSessionEnd code when it ran -
 i.e. once per person per hour or so,   not once per
 page view.

Which I would guess means that even though you fixed the error, the
onSessionEnd method is still being needlessly executed. If you'd like
to post the whole Application.cfc or email it to me privately, I'd be
happy to have a look at it and see if I have any ideas why that might
happen.


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

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236690
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: Eolas CFForm Fix: Beta

2006-03-31 Thread Munson, Jacob
 I finished up the initial version and need a few people who 
 have the IE7
 Beta installed to test it out on their Flash forms.

Why IE7?  Isn't the problem patch for IE6?  Or did I miss something?


--

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236691
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: get directory size

2006-03-31 Thread Artur Kordowski
If you are using a Windows Server you can use the FileSystemObject COM API
to get informations about the file system. For this I've created a CFC which
you can download here:
http://download.newsight.de/FileSystemObject.zip

Artur 

-Original Message-
From: Srinivasa Teja Palla [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 30, 2006 9:20 PM
To: CF-Talk
Subject: get directory size

is there no other easy way to get the directory size than listing and going
thru all its contents, adding their sizes?



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236692
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: Eolas CFForm Fix: Beta

2006-03-31 Thread Kevin Aebig
Either / Or... my bad. The new version of IE has it as well.

!k

-Original Message-
From: Kevin Aebig [mailto:[EMAIL PROTECTED] 
Sent: March 31, 2006 9:48 AM
To: CF-Talk
Subject: Eolas CFForm Fix: Beta

Hey guys,

 

I finished up the initial version and need a few people who have the IE7
Beta installed to test it out on their Flash forms. If you're willing, you
can find the custom tag at:

 

http://www.keslabs.com/stuff/eolas/tag.zip 

 

Just wrap your CFForm tag with it and it'll do the rest.

 

Example:

 

cf_IEFlashFix

cfform

(.)

/cfform

/cf_IEFlashFix

 

I'll be looking at adding a few options and features for CFChart and regular
Flash files. Please be aware that I haven't added the exception handling as
of yet, but that shouldn't be too big of an issue.

 

Cheers,

 

!k






~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236693
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: get directory size

2006-03-31 Thread Andy Neale
You can use a query-of-queries once you've done the initial directory 
listing to sum the file sizes without looping:

!--- Retrieve directory listing ---
cfdirectory action=list directory=C:\Windows name=directoryList /

!--- Sum all file sizes ---
cfquery name=directoryInfo dbtype=query
SELECT SUM(size) AS totalSize
FROM directoryList
/cfquery

cfoutput
Total file size is #directoryInfo.totalSize#
/cfoutput

-- 
Andy


Artur Kordowski wrote:
 If you are using a Windows Server you can use the FileSystemObject COM API
 to get informations about the file system. For this I've created a CFC which
 you can download here:
 http://download.newsight.de/FileSystemObject.zip

 Artur 

 -Original Message-
 From: Srinivasa Teja Palla [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, March 30, 2006 9:20 PM
 To: CF-Talk
 Subject: get directory size

 is there no other easy way to get the directory size than listing and going
 thru all its contents, adding their sizes?



 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236694
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


Connecting to .obj file

2006-03-31 Thread Mehdi, Agha
Hi guys,

I need to execute a .obj file from ColdFusion when users submit a form. .obj
file does accept POST and GET operations. Has anyone ever run into this sort
of situation before?

Thanks 

Agha Mehdi
IDT - eBusiness Program Manager
Work: 408.284.8239
Cell  : 209.275.0482
Fax  :  408.284.2766



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236695
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: Eolas CFForm Fix: Beta

2006-03-31 Thread S . Isaac Dealey
 I finished up the initial version and need a few people
 who
 have the IE7
 Beta installed to test it out on their Flash forms.

 Why IE7?  Isn't the problem patch for IE6?  Or did I miss
 something?

Yes, but it will also be included in IE7 and other changes in IE7 may
cause the method being used by the tag to not work properly for any
random and probably obscure reason.


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

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236696
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


ResourceBundles

2006-03-31 Thread Matthew Blatchley
I'm trying to create a student enrollment form in French, Spanish, and 
English.

I've been reading Paul Hastings articles and chapters in the CFMX adv manual 
on I18N and G11N but things are still not sinking in...

The example I played with was the simple login using the english and Thi 
language, but when I try to create the same resource bundle files for en_MX 
or fr_FR nothing happens because I'm not understanding how the Thi language 
ANSI chars were generated.  Do you have to translate everything in the 
resource bundles prior to displaying them?  Doesn't this mean you could 
simply type it out in spanish or french on the page, or do we use resource 
bundles for the ANSI chars that use symbols only any explination would 
be helpful as I'm having trouble putting the concepts together...  I've 
downloaded and setup the examples, but can't do too much more from there...

Matt 




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236697
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: Eolas CFForm Fix: Beta

2006-03-31 Thread Munson, Jacob
 Yes, but it will also be included in IE7 and other changes in IE7 may
 cause the method being used by the tag to not work properly for any
 random and probably obscure reason.

True.  But, aren't they only going to release it with Windows Vista?  If
so, IE7 won't be available until next year, and may not be in widespread
use until 2008 or 9.


--


[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law.  If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or use of the information contained herein (including any 
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in 
error, please immediately contact the sender and destroy the material in its 
entirety, whether in electronic or hard copy format.  Thank you.   A2



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236698
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: Eolas CFForm Fix: Beta

2006-03-31 Thread Eric J. Hoffman
It is in my copy of IE 7 Beta 2 Preview. 





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: Munson, Jacob [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 31, 2006 9:58 AM
To: CF-Talk
Subject: RE: Eolas CFForm Fix: Beta

 I finished up the initial version and need a few people who have the 
 IE7 Beta installed to test it out on their Flash forms.

Why IE7?  Isn't the problem patch for IE6?  Or did I miss something?


--

This transmission may contain information that is privileged,
confidential and/or exempt from disclosure under applicable law. If you
are not the intended recipient, you are hereby notified that any
disclosure, copying, distribution, or use of the information contained
herein (including any reliance thereon) is STRICTLY PROHIBITED. If you
received this transmission in error, please immediately contact the
sender and destroy the material in its entirety, whether in electronic
or hard copy format. Thank you. A1.





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236699
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: Eolas CFForm Fix: Beta

2006-03-31 Thread DURETTE, STEVEN J \(ASI-AIT\)
Just tried it.  Working the same as if I didn't use the tag around the
flash form.

Steve


-Original Message-
From: Kevin Aebig [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 31, 2006 10:48 AM
To: CF-Talk
Subject: Eolas CFForm Fix: Beta


Hey guys,

 

I finished up the initial version and need a few people who have the IE7
Beta installed to test it out on their Flash forms. If you're willing,
you
can find the custom tag at:

 

http://www.keslabs.com/stuff/eolas/tag.zip 

 

Just wrap your CFForm tag with it and it'll do the rest.

 

Example:

 

cf_IEFlashFix

cfform

(.)

/cfform

/cf_IEFlashFix

 

I'll be looking at adding a few options and features for CFChart and
regular
Flash files. Please be aware that I haven't added the exception handling
as
of yet, but that shouldn't be too big of an issue.

 

Cheers,

 

!k






~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236700
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


Anything inherently wrong with this query?

2006-03-31 Thread Rick Faircloth
Hi, all...

I've been wrestling with what should be a simple problem
for too many hours...I've got to break things down and
re-evaluate.  Thought some more eyes might help.

Anything inherently wrong with this?

Rick

  CFQUERY Name=Get_Client Datasource=#DSN#
   
   Select C.*, FG.*, E.*
   from clients C
   inner join family_groups FG, employers E
   on C.Family_ID = FG.Family_ID
  and C.Employer_ID = E.Employer_ID
where C.Family_ID =
 ( Select Family_ID
 from clients
where Client_ID = '#Session.Client_ID#')
  and C.Employer_ID =
  ( Select Employer_ID
  from clients
 where Client_ID = '#Session.Client_ID#')
 
  /CFQUERY


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236701
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: Anything inherently wrong with this query?

2006-03-31 Thread Bryan Stevenson
Yeah...use better aliases than ABCDEF ;-)

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236702
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


Retaining form data in flash forms

2006-03-31 Thread Smith, Daron [PA]
Is there a setting for flash forms that will allow them to retain form
data on a refresh the way HTML forms do? 

Thanks,
Daron Smith

PSEA E-mail Firewall made the following annotations on Fri Mar 31 2006 
13:16:11- 
NOTICE: Only the individual sender is responsible for the content of the 
message, and the message does not necessarily reflect the position or policy of 
the Pennsylvania State Education Association.
-


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236703
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: Eolas CFForm Fix: Beta

2006-03-31 Thread Kevin Aebig
Really? Could you send me the html source output from the page?

Thanks,

!k

-Original Message-
From: DURETTE, STEVEN J (ASI-AIT) [mailto:[EMAIL PROTECTED] 
Sent: March 31, 2006 11:59 AM
To: CF-Talk
Subject: RE: Eolas CFForm Fix: Beta

Just tried it.  Working the same as if I didn't use the tag around the
flash form.

Steve


-Original Message-
From: Kevin Aebig [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 31, 2006 10:48 AM
To: CF-Talk
Subject: Eolas CFForm Fix: Beta


Hey guys,

 

I finished up the initial version and need a few people who have the IE7
Beta installed to test it out on their Flash forms. If you're willing,
you
can find the custom tag at:

 

http://www.keslabs.com/stuff/eolas/tag.zip 

 

Just wrap your CFForm tag with it and it'll do the rest.

 

Example:

 

cf_IEFlashFix

cfform

(.)

/cfform

/cf_IEFlashFix

 

I'll be looking at adding a few options and features for CFChart and
regular
Flash files. Please be aware that I haven't added the exception handling
as
of yet, but that shouldn't be too big of an issue.

 

Cheers,

 

!k








~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236704
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: Anything inherently wrong with this query?

2006-03-31 Thread Matt Williams
What error are you getting? Or is it just bad data?

If your Client_ID fields are numeric, then you shouldn't have quote marks
around them.

I usually do inner joins as follows...

Select C.*, FG.*, E.*
from clients C
  inner join family_groups FG on C.Family_ID = FG.Family_ID
  inner join employers E on C.Employer_ID = E.Employer_ID
where C.Family_ID =
( Select Family_ID
from clients
   where Client_ID = '#Session.Client_ID#')
 and C.Employer_ID =
 ( Select Employer_ID
 from clients
where Client_ID = '#Session.Client_ID#')

On 3/31/06, Rick Faircloth [EMAIL PROTECTED] wrote:

 Hi, all...

 I've been wrestling with what should be a simple problem
 for too many hours...I've got to break things down and
 re-evaluate.  Thought some more eyes might help.

 Anything inherently wrong with this?

 Rick

   CFQUERY Name=Get_Client Datasource=#DSN#

Select C.*, FG.*, E.*
from clients C
inner join family_groups FG, employers E
on C.Family_ID = FG.Family_ID
   and C.Employer_ID = E.Employer_ID
 where C.Family_ID =
  ( Select Family_ID
  from clients
 where Client_ID = '#Session.Client_ID#')
   and C.Employer_ID =
   ( Select Employer_ID
   from clients
  where Client_ID = '#Session.Client_ID#')

   /CFQUERY


 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236705
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: Anything inherently wrong with this query?

2006-03-31 Thread Greg Morphis
An error that you're getting would also help..

On 3/31/06, Bryan Stevenson [EMAIL PROTECTED] wrote:
 Yeah...use better aliases than ABCDEF ;-)

 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 phone: 250.480.0642
 fax: 250.480.1264
 cell: 250.920.8830
 e-mail: [EMAIL PROTECTED]
 web: www.electricedgesystems.com

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236706
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: Anything inherently wrong with this query?

2006-03-31 Thread Rick Faircloth
Ok, any *other* really helpful input?  ;o)

Rick

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 1:13 PM
To: CF-Talk
Subject: Re: Anything inherently wrong with this query?


Yeah...use better aliases than ABCDEF ;-)

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236707
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: Anything inherently wrong with this query?

2006-03-31 Thread Ken Ferguson
What's wrong with family_group being aliased as FG, or clients being 
aliased as C, or employee being aliased as E? Seems to make perfect 
sense to me.

--Ferg

Bryan Stevenson wrote:
 Yeah...use better aliases than ABCDEF ;-)

 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 phone: 250.480.0642
 fax: 250.480.1264
 cell: 250.920.8830
 e-mail: [EMAIL PROTECTED]
 web: www.electricedgesystems.com

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236708
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: Anything inherently wrong with this query?

2006-03-31 Thread Dave Watts
 Anything inherently wrong with this?
 
   CFQUERY Name=Get_Client Datasource=#DSN#
  
Select C.*, FG.*, E.*
  from clients C
inner join family_groups FG, employers E
on C.Family_ID = FG.Family_ID
   and C.Employer_ID = E.Employer_ID
 where C.Family_ID =
( Select Family_ID
  from clients
 where Client_ID = '#Session.Client_ID#')
   and C.Employer_ID =
   ( Select Employer_ID
   from clients
  where Client_ID = 
 '#Session.Client_ID#')

   /CFQUERY

Yes, your JOIN syntax is incorrect:

INNER JOIN family_groups FG ON C.Family_ID = FG.Family_ID
INNER JOIN employers E ON C.Employer_ID = E.Employer_ID

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:236709
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: Anything inherently wrong with this query?

2006-03-31 Thread Rick Faircloth
Thanks for the reply, Matt...

Nope, removing the single quotes didn't help...

Haven't tried rewording the query...I'll save that for later...

I was trying to avoid getting deeply into the problem because
all the queries, etc., involved would take too long to show
and work through.

The basic problem is that I have a page that displays client
information according to a URL.Client_ID variable that is passed
to the page via one outside page or by clicking a link which goes
back to the same page the link is on.  (Refreshing the same page
with new URL variables).  But the information refreshed on the page
seems to be disconnected from the information the queries should
be providing.  For instance, I can see (and test with output) that the
Client_ID is changing, both in the URL and in the Session.Client_ID
variable, but the data related to those variables in the query doesn't
change.

This page is simply a revamped interface of an app that was working
fine with these queries and this approach to information display.

Basically, the key variables change, but the queries don't seem to
be getting the news...

Rick

-Original Message-
From: Matt Williams [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 1:16 PM
To: CF-Talk
Subject: Re: Anything inherently wrong with this query?


What error are you getting? Or is it just bad data?

If your Client_ID fields are numeric, then you shouldn't have quote marks
around them.

I usually do inner joins as follows...

Select C.*, FG.*, E.*
from clients C
  inner join family_groups FG on C.Family_ID = FG.Family_ID
  inner join employers E on C.Employer_ID = E.Employer_ID
where C.Family_ID =
( Select Family_ID
from clients
   where Client_ID = '#Session.Client_ID#')
 and C.Employer_ID =
 ( Select Employer_ID
 from clients
where Client_ID = '#Session.Client_ID#')

On 3/31/06, Rick Faircloth [EMAIL PROTECTED] wrote:

 Hi, all...

 I've been wrestling with what should be a simple problem
 for too many hours...I've got to break things down and
 re-evaluate.  Thought some more eyes might help.

 Anything inherently wrong with this?

 Rick

   CFQUERY Name=Get_Client Datasource=#DSN#

Select C.*, FG.*, E.*
from clients C
inner join family_groups FG, employers E
on C.Family_ID = FG.Family_ID
   and C.Employer_ID = E.Employer_ID
 where C.Family_ID =
  ( Select Family_ID
  from clients
 where Client_ID = '#Session.Client_ID#')
   and C.Employer_ID =
   ( Select Employer_ID
   from clients
  where Client_ID = '#Session.Client_ID#')

   /CFQUERY






~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236710
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: Anything inherently wrong with this query?

2006-03-31 Thread Greg Morphis
Make sure you use distinct or in() for those subqueries. If you're
returning more than 1 employer_id or family_id then that'll cause an
error too.

On 3/31/06, Matt Williams [EMAIL PROTECTED] wrote:
 What error are you getting? Or is it just bad data?

 If your Client_ID fields are numeric, then you shouldn't have quote marks
 around them.

 I usually do inner joins as follows...

 Select C.*, FG.*, E.*
 from clients C
   inner join family_groups FG on C.Family_ID = FG.Family_ID
   inner join employers E on C.Employer_ID = E.Employer_ID
 where C.Family_ID =
 ( Select Family_ID
 from clients
where Client_ID = '#Session.Client_ID#')
  and C.Employer_ID =
  ( Select Employer_ID
  from clients
 where Client_ID = '#Session.Client_ID#')

 On 3/31/06, Rick Faircloth [EMAIL PROTECTED] wrote:
 
  Hi, all...
 
  I've been wrestling with what should be a simple problem
  for too many hours...I've got to break things down and
  re-evaluate.  Thought some more eyes might help.
 
  Anything inherently wrong with this?
 
  Rick
 
CFQUERY Name=Get_Client Datasource=#DSN#
 
 Select C.*, FG.*, E.*
 from clients C
 inner join family_groups FG, employers E
 on C.Family_ID = FG.Family_ID
and C.Employer_ID = E.Employer_ID
  where C.Family_ID =
   ( Select Family_ID
   from clients
  where Client_ID = '#Session.Client_ID#')
and C.Employer_ID =
( Select Employer_ID
from clients
   where Client_ID = '#Session.Client_ID#')
 
/CFQUERY
 
 
 

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236711
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: Anything inherently wrong with this query?

2006-03-31 Thread Rick Faircloth
No errors, just information on a page that seems disconnected
from the URL variables being fed back to the page...

On a page...click a link with URL.Client_ID that refreshes the
same page, but which should show different data besed on the
URL.Client_ID variable.  The queries seem to ignore the URL variable.

This is simple stuff, but I can't see where the problem is...I've been
doing this sort of thing a long time and never seen this problem.  I've
tested for the existence and change of the variables...they show up
in the Session scope and in the URL in the address field, but the queries
seem to be oblivious...

Maybe they've already started their weekend!  ;o)

Rick

-Original Message-
From: Greg Morphis [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 1:19 PM
To: CF-Talk
Subject: Re: Anything inherently wrong with this query?


An error that you're getting would also help..

On 3/31/06, Bryan Stevenson [EMAIL PROTECTED] wrote:
 Yeah...use better aliases than ABCDEF ;-)

 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 phone: 250.480.0642
 fax: 250.480.1264
 cell: 250.920.8830
 e-mail: [EMAIL PROTECTED]
 web: www.electricedgesystems.com





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236712
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: Eolas CFForm Fix: Beta

2006-03-31 Thread S . Isaac Dealey
 Yes, but it will also be included in IE7 and other
 changes in IE7 may
 cause the method being used by the tag to not work
 properly for any
 random and probably obscure reason.

 True.  But, aren't they only going to release it with
 Windows Vista?  If
 so, IE7 won't be available until next year, and may not be
 in widespread
 use until 2008 or 9.

I had heard that was their original intent and then also heard that
they changed their mind (remember that the first antitrust suit from
Netscape was levied on the grounds that they'd done that with a
previous version of IE).

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

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236713
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: Anything inherently wrong with this query?

2006-03-31 Thread Bryan Stevenson
 What's wrong with family_group being aliased as FG, or clients being
 aliased as C, or employee being aliased as E? Seems to make perfect
 sense to me.

 --Ferg

Readability

famGrp is obvious FG is not
clnt is obvious C is not
emp is obvious E is not

OK...I'm done

There is nothing technically wrong with using meaningless (or so short they 
are meaningless) aliases, but it sure makes life simpler ;-)

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236714
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: Anything inherently wrong with this query?

2006-03-31 Thread Rick Faircloth
Ok...exactly what Matt said...two votes for bad query syntax.

I'll change that and see what happens...

Rick

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 1:31 PM
To: CF-Talk
Subject: RE: Anything inherently wrong with this query?


 Anything inherently wrong with this?

   CFQUERY Name=Get_Client Datasource=#DSN#

Select C.*, FG.*, E.*
  from clients C
inner join family_groups FG, employers E
on C.Family_ID = FG.Family_ID
   and C.Employer_ID = E.Employer_ID
 where C.Family_ID =
( Select Family_ID
  from clients
 where Client_ID = '#Session.Client_ID#')
   and C.Employer_ID =
   ( Select Employer_ID
   from clients
  where Client_ID =
 '#Session.Client_ID#')

   /CFQUERY

Yes, your JOIN syntax is incorrect:

INNER JOIN family_groups FG ON C.Family_ID = FG.Family_ID
INNER JOIN employers E ON C.Employer_ID = E.Employer_ID

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:236715
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


Query of Queries

2006-03-31 Thread Paul Giesenhagen
I don't use QofQ much and am having some troubles that maybe someone can help 
with.

I am building a query called getShipping that populates code, description, 
rate.  

I am then running a query of queries checking on the selected rate.

cfquery name=shipping dbtype=query
  SELECT code,description,rate
  FROM getShipping
  cfif StructKeyExists(order, shipMethod)
   cfif order.shipMethod Neq 
WHERE code = '#order.shipMethod#'
   /cfif
  /cfif 
 /cfquery

The problem is erroring out on the WHERE code = '#order.shipMethod#' ... even 
if it has a valid method (ie FEDEXGROUND) it is giving the following error:

Query Of Queries runtime error.
Unsupported type comparison. 

1) does anyone see any problem with this?
2) Is there anotherway of getting a specific row/column value out of a query 
result set ?



Paul Giesenhagen
QuillDesign
417-885-1375
http://www.quilldesign.com





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236716
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: Anything inherently wrong with this query?

2006-03-31 Thread Rick Faircloth
Nope...no errors, but data doesn't change...it's like
it's stuck on the first record in the database...

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 1:31 PM
To: CF-Talk
Subject: RE: Anything inherently wrong with this query?


 Anything inherently wrong with this?

   CFQUERY Name=Get_Client Datasource=#DSN#

Select C.*, FG.*, E.*
  from clients C
inner join family_groups FG, employers E
on C.Family_ID = FG.Family_ID
   and C.Employer_ID = E.Employer_ID
 where C.Family_ID =
( Select Family_ID
  from clients
 where Client_ID = '#Session.Client_ID#')
   and C.Employer_ID =
   ( Select Employer_ID
   from clients
  where Client_ID =
 '#Session.Client_ID#')

   /CFQUERY

Yes, your JOIN syntax is incorrect:

INNER JOIN family_groups FG ON C.Family_ID = FG.Family_ID
INNER JOIN employers E ON C.Employer_ID = E.Employer_ID

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:236717
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: ResourceBundles

2006-03-31 Thread S . Isaac Dealey
 The example I played with was the simple login using the
 english and Thi language, but when I try to create the
 same resource bundle files for en_MX or fr_FR nothing
 happens because I'm not understanding how the Thi
 language ANSI chars were generated.

It's hard to understand what you mean by nothing happens without
more information... My understanding is that the unicode characters
used by the resource bundles Paul recommends (for performance reasons,
because it's silly to convert everything from ASCII when ColdFusion
uses UTF-8 natively by default (and UCS2 underneath)). So the resource
bundles should just be created as UTF-8 files. Although you might be
having a problem with an editor which either doesn't support or isn't
configured to save files in UTF-8, my first guess from your describing
that nothing happens would be that your problem isn't stemming from
the character set but rather from some other source such as an
incorrect file path.

 Do you have to translate everything in the resource
 bundles prior to displaying them?  Doesn't this mean
 you could simply type it out in spanish or french on
 the page, or do we use resource bundles for the ANSI
 chars that use symbols only

 Are you thinking that simply naming the file differently is going
to translate the text? Resource bundles don't perform any translation
for you, they only store the translations you have. Each language that
you need to provide text for requires its own resource bundle. Yes,
this does mean you could type ito ut in spanish or french on the page.
The reason why you don't want to do that is because the page is going
to contain html and other formatting which is not related to the text.
The resource bundle allows you to isolate the text for a single
language into a specific location and then merge that with your
format. Think of it like an old-fashioned mail merge, you know, the
kind we used to do in Word and WordPerfect. :) Except instead of
replacing the person's name in a letter, you're leaving the name alone
and replacing the remaining text to match their preferred language.

hth

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

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236718
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: Anything inherently wrong with this query?

2006-03-31 Thread Rick Faircloth
Tried this:

  CFQUERY Name=Get_Client Datasource=#DSN#

   Select C.*, FG.*, E.*
  from clients C
   inner join family_groups FG on C.Family_ID = FG.Family_ID
   inner join employers E on C.Employer_ID =
E.Employer_ID
where C.Family_ID =
 ( Select Family_ID
  from clients
where Client_ID =
'#Session.Client_ID#')
   and C.Employer_ID =
 ( Select Employer_ID
  from clients
where Client_ID =
'#Session.Client_ID#')

  /CFQUERY

But no change in the data...

Rick




-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 1:31 PM
To: CF-Talk
Subject: RE: Anything inherently wrong with this query?


 Anything inherently wrong with this?

   CFQUERY Name=Get_Client Datasource=#DSN#

Select C.*, FG.*, E.*
  from clients C
inner join family_groups FG, employers E
on C.Family_ID = FG.Family_ID
   and C.Employer_ID = E.Employer_ID
 where C.Family_ID =
( Select Family_ID
  from clients
 where Client_ID = '#Session.Client_ID#')
   and C.Employer_ID =
   ( Select Employer_ID
   from clients
  where Client_ID =
 '#Session.Client_ID#')

   /CFQUERY

Yes, your JOIN syntax is incorrect:

INNER JOIN family_groups FG ON C.Family_ID = FG.Family_ID
INNER JOIN employers E ON C.Employer_ID = E.Employer_ID

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:236719
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: Anything inherently wrong with this query?

2006-03-31 Thread Rick Faircloth
I understand what you're saying, Bryan, but I'm the only one
reading the code and the FG, C, and E are perfectly clear to me,
so that won't matter...however, yours would be a better practice
in a group setting...better yet, if you're going to use 6 characters
as an alias, is to go ahead and use the entire table name...no
ambiguity whatsover...

Rick



-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 1:39 PM
To: CF-Talk
Subject: Re: Anything inherently wrong with this query?


 What's wrong with family_group being aliased as FG, or clients being
 aliased as C, or employee being aliased as E? Seems to make perfect
 sense to me.

 --Ferg

Readability

famGrp is obvious FG is not
clnt is obvious C is not
emp is obvious E is not

OK...I'm done

There is nothing technically wrong with using meaningless (or so short
they
are meaningless) aliases, but it sure makes life simpler ;-)

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236720
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


CFEclipse and code colour

2006-03-31 Thread Bryan Stevenson
Hey All,

Is it possible to bold/italicize as well as colour code your code like you can 
in HomeSite+?

TIA

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236721
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: Anything inherently wrong with this query?

2006-03-31 Thread S . Isaac Dealey
 What's wrong with family_group being aliased as FG, or
 clients being
 aliased as C, or employee being aliased as E? Seems to
 make perfect
 sense to me.

 --Ferg

 Readability

 famGrp is obvious FG is not
 clnt is obvious C is not
 emp is obvious E is not

 OK...I'm done

 There is nothing technically wrong with using
 meaningless (or so short they
 are meaningless) aliases, but it sure makes life simpler
 ;-)

I've never had a problem with them, because the context is right in
front of me... That is to say, the query is generally a self contained
article of only a few lines and the source of that C is right in
front of me. With very large queries with lots of tables, then I
agree, it's easier to read with more descriptive aliases, but for
short queries with only 2-5 tables, I don't see a problem. I also will
lengthen the alias if there are two tables that compete for a given
character, such as if I have a category table and a client table in
the same query, then I'll definately use cat and clnt.

How many people here don't use single-character table aliases only
because Microsoft uses them in their system views? :)


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

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236722
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: Anything inherently wrong with this query?

2006-03-31 Thread Bryan Stevenson
I understand what you're saying, Bryan, but I'm the only one
 reading the code and the FG, C, and E are perfectly clear to me,
 so that won't matter...however, yours would be a better practice
 in a group setting...better yet, if you're going to use 6 characters
 as an alias, is to go ahead and use the entire table name...no
 ambiguity whatsover...

 Rick

.but I'm the only one reading the code and the FG, C, and E are perfectly 
clear to me,

I hear ya, but respectfully disagree with your reasoning.  Coding solo or in 
teams I ALWAYS code so others can read my code easily...it's 2nd nature now and 
takes no extra effort.  This way I never have to care if I'm coding by myself 
or 
in a team.I just code to the best of my ability and call it a day.

As far as 6 characters goeswho cares...it's still less typing and just as 
clear ;-)

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236723
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: Query of Queries

2006-03-31 Thread Mike Klostermeyer
By chance is one or more of the possible values of code a number?

Mike

-Original Message-
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 12:44 PM
To: CF-Talk
Subject: Query of Queries


I don't use QofQ much and am having some troubles that maybe someone can
help with.

I am building a query called getShipping that populates code, description,
rate.

I am then running a query of queries checking on the selected rate.

cfquery name=shipping dbtype=query
  SELECT code,description,rate
  FROM getShipping
  cfif StructKeyExists(order, shipMethod)
   cfif order.shipMethod Neq 
WHERE code = '#order.shipMethod#'
   /cfif
  /cfif
 /cfquery

The problem is erroring out on the WHERE code = '#order.shipMethod#' ...
even if it has a valid method (ie FEDEXGROUND) it is giving the following
error:

Query Of Queries runtime error.
Unsupported type comparison.

1) does anyone see any problem with this?
2) Is there anotherway of getting a specific row/column value out of a query
result set ?



Paul Giesenhagen
QuillDesign
417-885-1375
http://www.quilldesign.com







~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236724
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: CFEclipse and code colour

2006-03-31 Thread Robert Everland III
You can't change the color to the degree you can in Homesite and you can't bold 
the code that I know of.



Bob

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236725
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: Anything inherently wrong with this query?

2006-03-31 Thread Bryan Stevenson
I hear ya Isaac, but I just wrote a very complex 110 line Oracle queryI 
sure 
didn't want to have to scroll back to the FROM clause everytime I needed to 
know 
what the heck A refered to ;-)

I look at it like variable naming...you don't name a variable A you name it 
something meaningful like currDate

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236726
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: ResourceBundles

2006-03-31 Thread Matthew Blatchley
I figured the file was used as storage and then the two were merging, but 
how does the resource file data get from

ok=ok
cancel=cancel

to

Go=\u0E44\u0E1B
Cancel=\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01

Where is \u0E44\u0E1B coming from?

I guess this is where I get screwed up.  The examples work fine from the 
start so I don't think it's a path issue, but more me not understanding the 
format of the keys to the value.

Matt




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236727
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: CFEclipse and code colour

2006-03-31 Thread Bryan Stevenson
Thanks Bobbummer :-(

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236728
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: Eolas CFForm Fix: Beta

2006-03-31 Thread Sandra Clark
Its due to be released in a patch through the Windows Update on April 11th
for IE6 


Sandra Clark
==
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility 
-Original Message-
From: Munson, Jacob [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 31, 2006 12:48 PM
To: CF-Talk
Subject: RE: Eolas CFForm Fix: Beta

 Yes, but it will also be included in IE7 and other changes in IE7 may 
 cause the method being used by the tag to not work properly for any 
 random and probably obscure reason.

True.  But, aren't they only going to release it with Windows Vista?  If so,
IE7 won't be available until next year, and may not be in widespread use
until 2008 or 9.


--


[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law.  If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
in error, please immediately contact the sender and destroy the material in
its entirety, whether in electronic or hard copy format.  Thank you.   A2





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236729
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: ResourceBundles

2006-03-31 Thread Dave Watts
 I figured the file was used as storage and then the two were 
 merging, but how does the resource file data get from
 
 ok=ok
 cancel=cancel
 
 to
 
 Go=\u0E44\u0E1B
 Cancel=\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01
 
 Where is \u0E44\u0E1B coming from?

Those are Unicode character escape sequences. \u is the generic format
for these sequences.

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:236730
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: ResourceBundles

2006-03-31 Thread Matthew Blatchley
Thanks, the light bulb just blinked on... http://www.unicode.org/

- Original Message - 
From: Dave Watts [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Friday, March 31, 2006 1:43 PM
Subject: RE: ResourceBundles


 I figured the file was used as storage and then the two were
 merging, but how does the resource file data get from

 ok=ok
 cancel=cancel

 to

 Go=\u0E44\u0E1B
 Cancel=\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01

 Where is \u0E44\u0E1B coming from?

 Those are Unicode character escape sequences. \u is the generic 
 format
 for these sequences.

 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:236731
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


Clustering SQL Server

2006-03-31 Thread Barthle, Robert \(Contractor\)
Need some pointers on something. I have just been tasked to lead a project that 
will involve moving our single SQL Server 2000 database into a cluster. 
 
I'll state up front I have no experience in a clustered environment, so a lot 
of these questions are definitely newbie.
 
My understanding is that this cluster will be what they are calling 
active/active, which I understood to mean that both servers will be running 
and taking connections at the same time. I do not know if the balancing could 
and will send people from one database to the other during the course of a 
session, and I am assuming the data will be constantly synced between the two 
servers.
 
What I need to know is this: When CF applications go from using a single 
database server to a clustered database server, are there any issues with how 
the applications interact? For example, some of our apps use client variables 
that are stored on the database, is there any issues with this? Also, is there 
any coding practices we need to implement that we do not currently? The 
practices we do perform include things like using CFTRANSACTION around multiple 
queries to keep it to one connection, using CFQUERYPARAM for data validation, 
and using stored procedures for some advanced queries.
 
Basically I'm looking for some tips on clustering in general, and also what 
landmines I might could expect to hit, and how to avoid them.



thanks 
-r 
_ 
Rob Barthle 
Contractor - Sr. Software Developer 
[EMAIL PROTECTED] 
202-245-6484 

 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236732
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: ResourceBundles

2006-03-31 Thread S . Isaac Dealey
 I figured the file was used as storage and then the two
 were merging, but
 how does the resource file data get from

 ok=ok
 cancel=cancel

 to

 Go=\u0E44\u0E1B
 Cancel=\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01

 Where is \u0E44\u0E1B coming from?

On ColdFusion, never... :) it should never have \u in it if you're
using ColdFusion. Java ResourceBundles work that way because the spec
for Java says that the file has to be ASCII text, so the \u
sequence is their way of escaping unicode characters (which is then
used by the Java classes for handling resource bundles). But because
ColdFusion has no such (silly) restriction, we simply create our
resource bundles using UTF-8 files where there's no need for the
\u syntax (which only exists with Java to allow the file to be
stored in ASCII format).

 I guess this is where I get screwed up.  The examples work
 fine from the
 start so I don't think it's a path issue, but more me not
 understanding the
 format of the keys to the value.

If you really needed to use ASCII formatted resource bundles, you
could loop over the string and replace each instance with its unicode
equivalent, but that's going to produce lots of extra and unnecessary
overhead for other languages.

Iirc Paul provided a couple different resource bundle packages on the
developer's exchange. One that uses java resource bundles (which is
more academic or for accessing existing resources) and one for pure
ColdFusion, which is the one you want for any new CF project. If
you're using the java version, stop. Please. For the love of God! :)

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

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236734
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: Eolas CFForm Fix: Beta

2006-03-31 Thread S . Isaac Dealey
He was asking why they wanted to test the solution on IE7, not why
they needed the solution right away.

 Its due to be released in a patch through the Windows
 Update on April 11th
 for IE6


 Sandra Clark
 ==
 http://www.shayna.com
 Training in Cascading Style Sheets and Accessibility
 -Original Message-
 From: Munson, Jacob [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 31, 2006 12:48 PM
 To: CF-Talk
 Subject: RE: Eolas CFForm Fix: Beta

 Yes, but it will also be included in IE7 and other
 changes in IE7 may
 cause the method being used by the tag to not work
 properly for any
 random and probably obscure reason.

 True.  But, aren't they only going to release it with
 Windows Vista?  If so,
 IE7 won't be available until next year, and may not be in
 widespread use
 until 2008 or 9.


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

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236733
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: CFEclipse and code colour

2006-03-31 Thread Matt Williams
You can change the font that is used for all code to whatever you like,
including bold, etc. (if that font has that style).

-Window -Preferences -General -Appearance -Colors and Fonts
Expand the Basic Folder, select the Text Font option. Then click Change..
and have at it.

Personally, I like Comic Sans MS 8pt.



On 3/31/06, Bryan Stevenson [EMAIL PROTECTED] wrote:

 Thanks Bobbummer :-(

 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 phone: 250.480.0642
 fax: 250.480.1264
 cell: 250.920.8830
 e-mail: [EMAIL PROTECTED]
 web: www.electricedgesystems.com

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236735
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: CFEclipse and code colour

2006-03-31 Thread Bryan Stevenson
Thanks Matt, but I ONLY want to change CF comments to bold/italics.  I am well 
aware I can change ALL code to whatever font I want ;-)

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236736
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


Coldfusion and Modems

2006-03-31 Thread Brian Polackoff
Has anyone successfully used Coldfusion to connect to a modem and retrieve a
data stream that the remote modem sends?  I have been assigned a new project
of creating a scheduling application and my company uses ADP time clocks.
(Currently being read by a program called E-TIME) 

 

The ideal scenario would be to have Coldfusion run a scheduled task to
initiate a modem to call another modem at a predetermined time and collect
all data from the remote time clock (modem).

 

Any help would be greatly appreciated (even hypothetical's are welcome at
this point) and if this cannot be done with native CF is there any other
options such as Custom Tags, etc?

 

-Brian-



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236737
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: Eolas CFForm Fix: Beta

2006-03-31 Thread Sandra Clark
Thats not how I read it Isaac.

cfquote
True.  But, aren't they only going to release it with Windows Vista?  If so,
IE7 won't be available until next year, and may not be in widespread use
until 2008 or 9.
/cfquote 

The only release it with Windows Vista is not true, the fix will be
included in future versions of windows and a patch for IE6 is due to be
pushed out on 4/11.  So depending on how many people allow windows to update
their machine and how often, the repercussions of this will be felt pretty
quickly for some people.  Probably not as fast for corporations that don't
push the patch out.  But for public sites?


Sandra Clark
==
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility 
-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 31, 2006 3:56 PM
To: CF-Talk
Subject: RE: Eolas CFForm Fix: Beta

He was asking why they wanted to test the solution on IE7, not why they
needed the solution right away.

 Its due to be released in a patch through the Windows Update on April 
 11th for IE6


 Sandra Clark
 ==
 http://www.shayna.com
 Training in Cascading Style Sheets and Accessibility
 -Original Message-
 From: Munson, Jacob [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 31, 2006 12:48 PM
 To: CF-Talk
 Subject: RE: Eolas CFForm Fix: Beta

 Yes, but it will also be included in IE7 and other
 changes in IE7 may
 cause the method being used by the tag to not work
 properly for any
 random and probably obscure reason.

 True.  But, aren't they only going to release it with
 Windows Vista?  If so,
 IE7 won't be available until next year, and may not be in
 widespread use
 until 2008 or 9.


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

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236738
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: Eolas CFForm Fix: Beta

2006-03-31 Thread Munson, Jacob
The reason I said that was because he wanted people with IE7 beta to
test his fix.  I was asking why IE7, because the patch is for IE6 as
well.  And IE7 won't be out for a while.

 -Original Message-
 From: Sandra Clark [mailto:[EMAIL PROTECTED] 
 Sent: Friday, March 31, 2006 2:48 PM
 To: CF-Talk
 Subject: RE: Eolas CFForm Fix: Beta
 
 Thats not how I read it Isaac.
 
 cfquote
 True.  But, aren't they only going to release it with Windows 
 Vista?  If so,
 IE7 won't be available until next year, and may not be in 
 widespread use
 until 2008 or 9.
 /cfquote 
 
 The only release it with Windows Vista is not true, the fix will be
 included in future versions of windows and a patch for IE6 is 
 due to be
 pushed out on 4/11.  So depending on how many people allow 
 windows to update
 their machine and how often, the repercussions of this will 
 be felt pretty
 quickly for some people.  Probably not as fast for 
 corporations that don't
 push the patch out.  But for public sites?


[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law.  If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or use of the information contained herein (including any 
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in 
error, please immediately contact the sender and destroy the material in its 
entirety, whether in electronic or hard copy format.  Thank you.   A2



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236739
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


Change dynamic dropdown into radio buttons

2006-03-31 Thread John Oast
I want to change a dynamically driven dropdown, with a pre-selected choice, to 
a dynamically driven radio button group, also with a pre-selected choice.
   
  Dropdown:
  
select name=status_id
 cfloop query=qStatus
  option value=#qStatus.status_id# #inputSelected(qStatus.status_id, 
form.status_id)##qStatus.status#/option
 /cfloop
/select
   
  Here's what I have so far with the radio group, but it's not working. Any 
thoughts?
  
cfloop query=qStatus
 input type=radio name=status_id value=#qStatus.status_id# 
class=checkbox #inputChecked(status_id, qStatus.status_id)#nbsp; 
#status#/option
/cfloop
   
  Many thanks, Peter

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236740
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: Eolas CFForm Fix: Beta

2006-03-31 Thread Munson, Jacob
When I said only release it with Windows Vista, I meant IE7, not the
patch. 

 -Original Message-
 From: Munson, Jacob [mailto:[EMAIL PROTECTED] 
 Sent: Friday, March 31, 2006 2:55 PM
 
 The reason I said that was because he wanted people with IE7 beta to
 test his fix.  I was asking why IE7, because the patch is for IE6 as
 well.  And IE7 won't be out for a while.
 
  -Original Message-
  From: Sandra Clark [mailto:[EMAIL PROTECTED] 
  Sent: Friday, March 31, 2006 2:48 PM
  
  Thats not how I read it Isaac.
  
  cfquote
  True.  But, aren't they only going to release it with Windows 
  Vista?  If so,
  IE7 won't be available until next year, and may not be in 
  widespread use
  until 2008 or 9.
  /cfquote 
  
  The only release it with Windows Vista is not true, the 
 fix will be
  included in future versions of windows and a patch for IE6 is 
  due to be
  pushed out on 4/11.  So depending on how many people allow 
  windows to update
  their machine and how often, the repercussions of this will 
  be felt pretty
  quickly for some people.  Probably not as fast for 
  corporations that don't
  push the patch out.  But for public sites?


[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law.  If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or use of the information contained herein (including any 
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in 
error, please immediately contact the sender and destroy the material in its 
entirety, whether in electronic or hard copy format.  Thank you.   A2



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236741
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: Change dynamic dropdown into radio buttons

2006-03-31 Thread Rob Wilkerson
Two questions:

1.  How is it not working?  Error, unexpected results, etc.?
2.  What value is returned by inputChecked()?

On 3/31/06, John Oast [EMAIL PROTECTED] wrote:
 I want to change a dynamically driven dropdown, with a pre-selected choice, 
 to a dynamically driven radio button group, also with a pre-selected choice.

   Dropdown:

 select name=status_id
  cfloop query=qStatus
   option value=#qStatus.status_id# 
 #inputSelected(qStatus.status_id, form.status_id)##qStatus.status#/option
  /cfloop
 /select

   Here's what I have so far with the radio group, but it's not working. Any 
 thoughts?

 cfloop query=qStatus
  input type=radio name=status_id value=#qStatus.status_id# 
 class=checkbox #inputChecked(status_id, qStatus.status_id)# 
 #status#/option
 /cfloop

   Many thanks, Peter

 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236742
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: Change dynamic dropdown into radio buttons

2006-03-31 Thread Charlie Griefer
what does #inputChecked(status_id, qStatus.status_id)# return?

for a select element it would be 'selected=selected' (or just
'selected' if you're not a standards kinda guy).

for a radio it would be 'checked=checked' (or just 'checked'
if...well, you know) :)

On 3/31/06, John Oast [EMAIL PROTECTED] wrote:
 I want to change a dynamically driven dropdown, with a pre-selected choice, 
 to a dynamically driven radio button group, also with a pre-selected choice.

   Dropdown:

 select name=status_id
  cfloop query=qStatus
   option value=#qStatus.status_id# 
 #inputSelected(qStatus.status_id, form.status_id)##qStatus.status#/option
  /cfloop
 /select

   Here's what I have so far with the radio group, but it's not working. Any 
 thoughts?

 cfloop query=qStatus
  input type=radio name=status_id value=#qStatus.status_id# 
 class=checkbox #inputChecked(status_id, qStatus.status_id)# 
 #status#/option
 /cfloop

   Many thanks, Peter

 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236743
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: Coldfusion and Modems

2006-03-31 Thread Ian Skinner
Any help would be greatly appreciated (even hypothetical's are welcome at this 
point) and if this cannot be done with native CF is there any other options 
such as Custom Tags, etc?

I'm pretty sure this is not going to be done in native CF, it is a web 
application server.  But it is quite possible to use some kind of java and have 
that java talk to the CF, depending on why you want CF involve.  If you just 
want if for its scheduled task feature.  There many other ways to have a task 
fired of on a regular interval.


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

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

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




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236744
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


CF_FORWARD problem

2006-03-31 Thread Richard Colman
This is a really wonderful tag, and I use it all the time within a site.

HOWEVER, attempting to use it for the first time with a fully-qualified URL,
I get an error. For example,

Here is what I am sending in the tag:

CF_FORWARD
URL=http://209.200.125.84/WF.ProdTrack/Activity/ActivityOrderOligos.aspx?Pr
oject_ID=1158?result=1158# FORMURLVarsCopied=yes LOCALVARSCOPIED=yes 

I have also tried several variations like

URL=http://209.200.125.84/WF.ProdTrack/Activity/ActivityOrderOligos.aspx;

And 

URL=209.200.125.84/WF.ProdTrack/Activity/ActivityOrderOligos.aspx

Etc.

  
The error occurred in C:\Inetpub\wwwroot\CODA\forward.cfm: line 68
 
66 : 
67 : CFSCRIPT
68 :getPageContext().forward(#attributes.URL#);
69 : /CFSCRIPT
70 : 



Any advice appreciated.

Richard Colman
 




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236745
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: CF_FORWARD problem

2006-03-31 Thread Snake
Well your original URL would be failing because of the # in it, but I can't
see any reason why the others would fail.

Russ 

-Original Message-
From: Richard Colman [mailto:[EMAIL PROTECTED] 
Sent: 31 March 2006 23:37
To: CF-Talk
Subject: CF_FORWARD problem

This is a really wonderful tag, and I use it all the time within a site.

HOWEVER, attempting to use it for the first time with a fully-qualified URL,
I get an error. For example,

Here is what I am sending in the tag:

CF_FORWARD
URL=http://209.200.125.84/WF.ProdTrack/Activity/ActivityOrderOligos.aspx?Pr
oject_ID=1158?result=1158# FORMURLVarsCopied=yes LOCALVARSCOPIED=yes 

I have also tried several variations like

URL=http://209.200.125.84/WF.ProdTrack/Activity/ActivityOrderOligos.aspx;

And 

URL=209.200.125.84/WF.ProdTrack/Activity/ActivityOrderOligos.aspx

Etc.

  
The error occurred in C:\Inetpub\wwwroot\CODA\forward.cfm: line 68
 
66 : 
67 : CFSCRIPT
68 :getPageContext().forward(#attributes.URL#);
69 : /CFSCRIPT
70 : 



Any advice appreciated.

Richard Colman
 






~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236746
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_FORWARD problem

2006-03-31 Thread Richard Colman
Typo in the #.

Cf_forward doc SEEMS to imply that it only works with relative URLs?? 

-Original Message-
From: Snake [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 31, 2006 2:49 PM
To: CF-Talk
Subject: RE: CF_FORWARD problem

Well your original URL would be failing because of the # in it, but I can't
see any reason why the others would fail.

Russ 

-Original Message-
From: Richard Colman [mailto:[EMAIL PROTECTED]
Sent: 31 March 2006 23:37
To: CF-Talk
Subject: CF_FORWARD problem

This is a really wonderful tag, and I use it all the time within a site.

HOWEVER, attempting to use it for the first time with a fully-qualified URL,
I get an error. For example,

Here is what I am sending in the tag:

CF_FORWARD
URL=http://209.200.125.84/WF.ProdTrack/Activity/ActivityOrderOligos.aspx?Pr
oject_ID=1158?result=1158# FORMURLVarsCopied=yes LOCALVARSCOPIED=yes 

I have also tried several variations like

URL=http://209.200.125.84/WF.ProdTrack/Activity/ActivityOrderOligos.aspx;

And 

URL=209.200.125.84/WF.ProdTrack/Activity/ActivityOrderOligos.aspx

Etc.

  
The error occurred in C:\Inetpub\wwwroot\CODA\forward.cfm: line 68
 
66 : 
67 : CFSCRIPT
68 :getPageContext().forward(#attributes.URL#);
69 : /CFSCRIPT
70 : 



Any advice appreciated.

Richard Colman
 








~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236747
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 Code Crashing

2006-03-31 Thread Ali Awan
I am trying to fix a problem I am having with my code which runs a large
report.

By the way, I am running CF 5.0, on a Windows 2k Server, and SQL Server
2000.

So, no CFC's or anything else MX specific

 

The code works fine on my dev box.  I don't think it's a problem with my
queries, because they show a reasonable execution time in my debug output.

The long execution time (15+ seconds) seems to be due to the ColdFusion
code.

 

The actual problem is that anytime this code runs on our production server
it crashes the entire server.

However it doesn't crash the dev server, and doesn't take too long to run
(several seconds as opposed to hanging or taking several minutes).

 

So I'm really not sure how to tackle the issue.

 

Basically I'm dealing with a table of over 22000 records.

I have an initial query which has 3 large WHERE IN clauses (but like I said
the execution time in my debug output is still relatively fast 100-200ms).

 

This query returns 8000 records.  So from here on out all manipulation is on
this recordset of around 8k.

 

I create a main reference array which is populated, by doing a grouped
output query on this record set.

When I'm ready to display the data I do another grouped output query on the
intial recordset.

However inside this output query, are several loops on the reference array.

 

I guess Im not doing a good job of explaining the situation

It's also hard to do without showing the code.  Which I don't want to post
here.

If my half-baked explanation makes any sense, and if I've mentioned anything
that sends obvious red flags on a high level, then

I welcome any advice and input as what would be the best way to improve this
report.

 

In case there are any charitable souls out there that want to actually help,
I can maybe send you

snippets of the code and/or logic with the names changed to protect the
innocent.

 

Thanks,

Ali



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236748
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_FORWARD problem

2006-03-31 Thread Andy Tyrone
 -Original Message-
 From: Richard Colman [mailto:[EMAIL PROTECTED] 
 Sent: Friday, March 31, 2006 5:37 PM
 To: CF-Talk
 Subject: CF_FORWARD problem
 
 This is a really wonderful tag, and I use it all the time 
 within a site.
 
 HOWEVER, attempting to use it for the first time with a 
 fully-qualified URL,
 I get an error. For example,
 
 Here is what I am sending in the tag:
 
 CF_FORWARD
 URL=http://209.200.125.84/WF.ProdTrack/Activity/ActivityOrder
 Oligos.aspx?Pr
 oject_ID=1158?result=1158# FORMURLVarsCopied=yes 
 LOCALVARSCOPIED=yes 

getPageContext().forward() only works with relative URLs.  It's a
server-side redirect whereas you want a client-side redirect.

http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/jsp/PageContext.html#for
ward(java.lang.String)

Andy


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236749
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: Query of Queries

2006-03-31 Thread Ben Nadel
This usually happens when you don't use CFQUERYPARAM in a QofQ. I don't know
why exactly, but if you put that in, the type comparison is generally fixed
(in my experience). 

-ben
...
Ben Nadel 
Web Developer
Nylon Technology
350 7th Ave.
Suite 1005
New York, NY 10001
212.691.1134 x 14
212.691.3477 fax
www.nylontechnology.com

Sanders: Lightspeed too slow?
Helmet: Yes we'll have to go right to ludacris speed.
-Original Message-
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 31, 2006 1:44 PM
To: CF-Talk
Subject: Query of Queries

I don't use QofQ much and am having some troubles that maybe someone can
help with.

I am building a query called getShipping that populates code, description,
rate.  

I am then running a query of queries checking on the selected rate.

cfquery name=shipping dbtype=query
  SELECT code,description,rate
  FROM getShipping
  cfif StructKeyExists(order, shipMethod)
   cfif order.shipMethod Neq 
WHERE code = '#order.shipMethod#'
   /cfif
  /cfif
 /cfquery

The problem is erroring out on the WHERE code = '#order.shipMethod#' ...
even if it has a valid method (ie FEDEXGROUND) it is giving the following
error:

Query Of Queries runtime error.
Unsupported type comparison. 

1) does anyone see any problem with this?
2) Is there anotherway of getting a specific row/column value out of a query
result set ?



Paul Giesenhagen
QuillDesign
417-885-1375
http://www.quilldesign.com







~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236750
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: Change dynamic dropdown into radio buttons

2006-03-31 Thread Matt Williams
There is a leftover '/option' after your in the radio input version. May
or may not cause issues, but messy nonetheless.



On 3/31/06, Charlie Griefer [EMAIL PROTECTED] wrote:

 what does #inputChecked(status_id, qStatus.status_id)# return?

 for a select element it would be 'selected=selected' (or just
 'selected' if you're not a standards kinda guy).

 for a radio it would be 'checked=checked' (or just 'checked'
 if...well, you know) :)

 On 3/31/06, John Oast [EMAIL PROTECTED] wrote:
  I want to change a dynamically driven dropdown, with a pre-selected
 choice, to a dynamically driven radio button group, also with a pre-selected
 choice.
 
Dropdown:
 
  select name=status_id
   cfloop query=qStatus
option value=#qStatus.status_id# #inputSelected(
 qStatus.status_id, form.status_id)##qStatus.status#/option
   /cfloop
  /select
 
Here's what I have so far with the radio group, but it's not working.
 Any thoughts?
 
  cfloop query=qStatus
   input type=radio name=status_id value=#qStatus.status_id#
 class=checkbox #inputChecked(status_id, qStatus.status_id)#
 #status#/option
  /cfloop
 
Many thanks, Peter
 
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam protection around
  http://mail.yahoo.com
 
 

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236751
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: Change dynamic dropdown into radio buttons

2006-03-31 Thread Peter SF
Thank you for all your replies. Much appreciated. They made me look harder at 
what I'd written and figure out where I'd gone wrong. So I came up with the 
following, which works. And I hard-coded the pre-selection choice of 4.

cfloop query=qStatus
input type=radio name=status_id value=#qStatus.status_id# 
class=checkbox #inputChecked(status_id, 4 )##status#
/cfloop

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236752
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: Anything inherently wrong with this query?

2006-03-31 Thread Dave Watts
 Readability
 
 famGrp is obvious FG is not
 clnt is obvious C is not
 emp is obvious E is not
 
 OK...I'm done
 
 There is nothing technically wrong with using meaningless 
 (or so short they are meaningless) aliases, but it sure makes 
 life simpler ;-)

The big difference here is that there's a specific section of the code which
says which alias belongs to which table. Normally, when people use
hard-to-understand variable names, no such section exists. Personally, I
have no problem reading other peoples' one- or two-letter table aliases, and
I write my SQL queries the same way.

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:236753
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: Anything inherently wrong with this query?

2006-03-31 Thread Coldfusion
I totally agree. I use Aliases all the time. Faster, simpler, and just as
easy.
I have no problems in deciphering the query. 

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 31, 2006 8:02 PM
To: CF-Talk
Subject: RE: Anything inherently wrong with this query?

 Readability
 
 famGrp is obvious FG is not
 clnt is obvious C is not
 emp is obvious E is not
 
 OK...I'm done
 
 There is nothing technically wrong with using meaningless (or so 
 short they are meaningless) aliases, but it sure makes life simpler 
 ;-)

The big difference here is that there's a specific section of the code which
says which alias belongs to which table. Normally, when people use
hard-to-understand variable names, no such section exists. Personally, I
have no problem reading other peoples' one- or two-letter table aliases, and
I write my SQL queries the same way.

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:236754
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: When does onSessionEnd get called?

2006-03-31 Thread Mike Kear
Thanks for your kind offer Isaac,   I can't post the whole thing here
- there is just too much 'not for publication' in there, but if you
would look over it, I'd be most grateful.  I'm always eager to hear
informed opinions about my code.

One of the difficult things about being a one-man-shop is there's no
one to look over your work and make suggestions.   I will grab any
opportunity I can for someone informed to look at my work.

Something that surprised me when I first started doing contract
development was how few of my clients were interested in the code.  
For the majority of them, if it did what it was supposed to do, thats
all they cared about.  Click the button- does it isave the data to the
database?  yes= good. No=bad.   It surprised me that they weren't
interested in whether the code was commented or not, whether it had
unnecessary loops, pooly performing queries, spaghetti code, any of
that stuff.  As a result, very few people have ever said anything
about my code, except works=good, doesn't work=bad.

I'll send the Application.cfc to you privately and would be most
obliged if you'd let me know what you think.

Cheers
Mike Kear
Windsor, NSW, Australia
Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month




On 4/1/06, S. Isaac Dealey [EMAIL PROTECTED] wrote:

 Which I would guess means that even though you fixed the error, the
 onSessionEnd method is still being needlessly executed. If you'd like
 to post the whole Application.cfc or email it to me privately, I'd be
 happy to have a look at it and see if I have any ideas why that might
 happen.


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

 add features without fixtures with
 the onTap open source framework

 http://www.fusiontap.com
 http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236755
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: ResourceBundles

2006-03-31 Thread Paul Hastings
S. Isaac Dealey wrote:
 It's hard to understand what you mean by nothing happens without
 more information... My understanding is that the unicode characters
 used by the resource bundles Paul recommends (for performance reasons,
 because it's silly to convert everything from ASCII when ColdFusion

no, actually i don't recommend using utf-8 in rb. you really can't manage 
anything complex using something like notepad. for stuff like ray's blog you 
can 
get away with it but as apps become more complex so do rb  then you need a 
real 
tool. we use IBM's rbmanager (part of the nifty icu4j project). jason sheedy 
also has a cf based tool for managing rb. there are several others including an 
eclipse plug-in (which i don't recommend but if do you use it, use it 
exclusively, it can't be mixed with other tools as it eats their comments  
management bits).

the 2 rb CFCs that we produce (javaRB for those apps that can't put stuff on 
the 
classpath  rbJava for those that can) use native java style rb.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236756
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: ResourceBundles

2006-03-31 Thread Paul Hastings
Matthew Blatchley wrote:
 I figured the file was used as storage and then the two were merging, but 
 how does the resource file data get from
 
 ok=ok
 cancel=cancel

that english. anything that uses latin-1 charset can simply be typed in.

 Go=\u0E44\u0E1B
 Cancel=\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01

that's *thai* in escaped ASCII. it was produced by rbManager which i think 
shows 
in the rb file comments.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236757
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: ResourceBundles

2006-03-31 Thread Paul Hastings
Matthew Blatchley wrote:
 Thanks, the light bulb just blinked on... http://www.unicode.org/

if you start w/utf-8 or whatever encoded rb files, you can use the core java 
tool native2ansi (command line) to run through your rb files  convert them to 
the escaped unicode. should be in your JDKs bin dir.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236758
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: ResourceBundles

2006-03-31 Thread Paul Hastings
S. Isaac Dealey wrote:
 On ColdFusion, never... :) it should never have \u in it if you're
 using ColdFusion. Java ResourceBundles work that way because the spec
 for Java says that the file has to be ASCII text, so the \u

actually my rb CFCs do require that type of encoding. these thing use native 
java rb classes to read them  turn into human readable text.

 If you really needed to use ASCII formatted resource bundles, you
 could loop over the string and replace each instance with its unicode
 equivalent, but that's going to produce lots of extra and unnecessary
 overhead for other languages.

no, you can simply use one of the rb CFCs. they are fairly efficient.

 Iirc Paul provided a couple different resource bundle packages on the
 developer's exchange. One that uses java resource bundles (which is
 more academic or for accessing existing resources) and one for pure
 ColdFusion, which is the one you want for any new CF project. If
 you're using the java version, stop. Please. For the love of God! :)

no. again i recommend using the java style rb files as that's what the vast 
majority of rb tools use. using rb files in cf apps is a good idea but it's 
just 
the tip of the iceberg. there are huge, nasty, monster-thumping problems below 
the surface related to managing the darned things, dealing with domain experts 
as translators, testers, etc.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236759
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: When does onSessionEnd get called?

2006-03-31 Thread S . Isaac Dealey
 One of the difficult things about being a one-man-shop is
 there's no one to look over your work and make suggestions.

Unless you publish your work as open source, in which case you can get
a wide range of responses from, for instance, everyone who wants to
blog using BlogCFC and nearly nobody using the onTap framework because
they open it up, see that it's thousands of files and feint dead away.
:P

 Something that surprised me when I first started doing
 contract development was how few of my clients were
 interested in the code. For the majority of them, if it
 did what it was supposed to do, thats all they cared
 about.  Click the button- does it isave the data to the
 database?  yes= good. No=bad.   It surprised me that
 they weren't interested in whether the code was
 commented or not, whether it had unnecessary loops,
 pooly performing queries, spaghetti code, any of that
 stuff.  As a result, very few people have ever said
 anything about my code, except works=good, doesn't
 work=bad.

And they never will. If you get a chance, pick up a book called the
Inmates Are Running the Asylum. Alan Cooper makes the first half of
the book very difficult to read with apparent, constant negative
attitude about the state of software user interfaces... not that he
doesn't have a good and valid point, but it'd be nice to think that
once upon a time, someone, say in Austria on a Thursday in 1992 had an
idea that was remotely close to good user interface design before he
came along. In spite of that, he does a good job of describing (if not
necessarily explaining) the difference between programmers who want to
understand things and accept failure if they can understand why they
failed, and other people who want to succeed and accept ignorance
(without being pejorative) if the task is accomplished. Of course, no
analogy is ever bullet-proof. :) But it's a pretty decent description
of most folks. This is also the reason most users are willing to
accept slower load times for individual pages if their user interface
is pleasant to use (since most of them aren't) because a pleasing UI
helps them succeed and doesn't make them feel stupid or incompetent.
(As compared to say a typical Oracle error message which appears to be
designed to intentionally belittle the programmer.)


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

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236760
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: ResourceBundles

2006-03-31 Thread Paul Hastings
Matthew Blatchley wrote:
 ANSI chars were generated.  Do you have to translate everything in the 
 resource bundles prior to displaying them?  Doesn't this mean you could 

yes. that's the whole point of rb.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236761
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: ResourceBundles

2006-03-31 Thread S . Isaac Dealey
 S. Isaac Dealey wrote:
 It's hard to understand what you mean by nothing
 happens without
 more information... My understanding is that the unicode
 characters
 used by the resource bundles Paul recommends (for
 performance reasons,
 because it's silly to convert everything from ASCII when
 ColdFusion

 no, actually i don't recommend using utf-8 in rb. you
 really can't manage
 anything complex using something like notepad. for stuff
 like ray's blog you can
 get away with it but as apps become more complex so do rb
  then you need a real
 tool. we use IBM's rbmanager (part of the nifty icu4j
 project). jason sheedy
 also has a cf based tool for managing rb. there are
 several others including an
 eclipse plug-in (which i don't recommend but if do you use
 it, use it
 exclusively, it can't be mixed with other tools as it eats
 their comments 
 management bits).

I remembered reading an article you wrote Paul, which said rather
specifically to use UTF-8 instead of ASCII files with ColdFusion,
citing performance as the reason (and didn't mention any of the
above). This was the reason I implemented them in the framework that
way, although I can't find the article now, which makes me look
stupid.

Personally I fail to understand why resource bundles can't be managed
in UTF-8 ... Other than perhaps that nobody's designed a tool to do
so, which, I fail to understand why nobody would. I know you're going
to say because ASCII is standard with Java, but quite frankly that's a
stupid reason. Java isn't the only language or the only standard in
the world, and there's not even anything _preventing_ the
implementation of resource bundles in UTF-8 with java, they just made
an arbitrary decision which ultimately causes more overhead both for
the machine and for the development team.


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

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236762
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: ResourceBundles

2006-03-31 Thread S . Isaac Dealey
 S. Isaac Dealey wrote:
 On ColdFusion, never... :) it should never have \u in
 it if you're
 using ColdFusion. Java ResourceBundles work that way
 because the spec
 for Java says that the file has to be ASCII text, so the
 \u

 actually my rb CFCs do require that type of encoding.
 these thing use native
 java rb classes to read them  turn into human readable
 text.

The resource bundle tools in my framework were created after looking
at a resource bundle CFC you provided on the developer's exchange
which used flat UTF. No java classes, no conversion from ASCII. I do
recall seeing a resource bundle CFC you provided on the exchange that
used java reflection, which I didn't use specifically because I'd read
an article you wrote which said not to use ASCII files.


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

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236763
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: ResourceBundles

2006-03-31 Thread Paul Hastings
S. Isaac Dealey wrote:
 I remembered reading an article you wrote Paul, which said rather
 specifically to use UTF-8 instead of ASCII files with ColdFusion,

if you did, it was old (like cf4.5/5 old)  i hadn't solved the issue of not 
having access to the classpath (or easily using java classes for that matter). 
having to use *cf* to interpret the escaped unicode is a pretty stiff overhead 
tariff to pay. and if your rb needs aren't too complex using that old 
resourcebundle CFC is certainly ok.

 Personally I fail to understand why resource bundles can't be managed
 in UTF-8 ... Other than perhaps that nobody's designed a tool to do

well if you've ever passed utf-8/whatever encoded text through a 7-bit email 
gateway you'd see the genius of this approach ;-) frankly i don't know why it 
was done that way in the first place (i guess now i'll have to research it) but 
you do know how i have this reverence for the way things are done when they 
work. that's one reason why i put an effort into finding a cf solution that 
works w/java style rb, there's a whole eco-system that's grown up around it 
that 
works  has worked for years.

 to say because ASCII is standard with Java, but quite frankly that's a
 stupid reason. Java isn't the only language or the only standard in

unless you instantly come up w/an rb management tool that works the way you 
think things should work, no, it's not stupid. java's been at the i18n game way 
way longer than most. cf's based on it. it's the sea we swim in.


quite frankly i'd love to see rb native to cf. flex2 has them, so now we're all 
back of the bus again ;-)

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236764
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: ResourceBundles

2006-03-31 Thread S . Isaac Dealey
Sorry Paul, I shouldn't be so abrasive... I guess my alergy problems
are getting to me and I'm more frustrated this evening than I thought,
although I really shouldn't be since it looks like things in my life
are turning around for the better (finally!) after 5 years of living
hell since my wife and I split up.

I guess this does means I should start figuring out a way to provide
support for both UTF-8 and ASCII resource bundles in the framework to
give people the ability to choose based on the complexity of their
particular set of application problems. I want to say it ought to be
an overrideable framework / application level toggle... but man, that
just opens a whole other can of worms for the API. Screw it -- there
can't be enough people using that feature for it to be a huge ordeal
for them to update their bundles. (There aren't a huge number of
people using the framework yet to begin with.)

 S. Isaac Dealey wrote:
 I remembered reading an article you wrote Paul, which
 said rather
 specifically to use UTF-8 instead of ASCII files with
 ColdFusion,

 if you did, it was old (like cf4.5/5 old)  i hadn't
 solved the issue of not
 having access to the classpath (or easily using java
 classes for that matter).
 having to use *cf* to interpret the escaped unicode is a
 pretty stiff overhead
 tariff to pay. and if your rb needs aren't too complex
 using that old
 resourcebundle CFC is certainly ok.

 Personally I fail to understand why resource bundles
 can't be managed
 in UTF-8 ... Other than perhaps that nobody's designed a
 tool to do

 well if you've ever passed utf-8/whatever encoded text
 through a 7-bit email
 gateway you'd see the genius of this approach ;-) frankly
 i don't know why it
 was done that way in the first place (i guess now i'll
 have to research it) but
 you do know how i have this reverence for the way things
 are done when they
 work. that's one reason why i put an effort into finding a
 cf solution that
 works w/java style rb, there's a whole eco-system that's
 grown up around it that
 works  has worked for years.

 to say because ASCII is standard with Java, but quite
 frankly that's a
 stupid reason. Java isn't the only language or the only
 standard in

 unless you instantly come up w/an rb management tool that
 works the way you
 think things should work, no, it's not stupid. java's been
 at the i18n game way
 way longer than most. cf's based on it. it's the sea we
 swim in.


 quite frankly i'd love to see rb native to cf. flex2 has
 them, so now we're all
 back of the bus again ;-)


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

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236765
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: Coldfusion and Modems

2006-03-31 Thread Eric Roberts
Not sure if CF can do it, but I am sure Java can...and java classes are
accessible via cf...

Eric 

-Original Message-
From: Brian Polackoff [mailto:[EMAIL PROTECTED] 
Sent: Friday, 31 March 2006 15:49
To: CF-Talk
Subject: Coldfusion and Modems

Has anyone successfully used Coldfusion to connect to a modem and retrieve a
data stream that the remote modem sends?  I have been assigned a new project
of creating a scheduling application and my company uses ADP time clocks.
(Currently being read by a program called E-TIME) 

 

The ideal scenario would be to have Coldfusion run a scheduled task to
initiate a modem to call another modem at a predetermined time and collect
all data from the remote time clock (modem).

 

Any help would be greatly appreciated (even hypothetical's are welcome at
this point) and if this cannot be done with native CF is there any other
options such as Custom Tags, etc?

 

-Brian-





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236766
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: Coldfusion and Modems

2006-03-31 Thread Paul Hastings
Ian Skinner wrote:
 I'm pretty sure this is not going to be done in native CF, it is a web
 application server.  But it is quite possible to use some kind of java and
 have that java talk to the CF, depending on why you want CF involve.  If you
 just want if for its scheduled task feature.  There many other ways to have a
 task fired of on a regular interval.

i guess a cf gateway built over some java serial/USB driver might do the trick 
but it won't be trivial. sun's javax.comm stopped at 2.0 (1998) for windows, 
the 
3.0 version (2005) was only released for solaris  linux--i've never never 
tested w/windows.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236767
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: recruiters with english as a second language

2006-03-31 Thread Aaron Rouse
Same here, was amazed the first few times it happened that recruiting had
been outsourced like that.  I tried to nicely tell the first couple I was
not interested but after rewording that statement a few times without them
understanding what I was saying I finally just gave up.  Probably does not
help that I generally have a low opinion of recruiters to begin with.

On 3/30/06, Pete Ruckelshaus [EMAIL PROTECTED] wrote:

 I've gotten a number of calls from recruiters that were pretty
 obviously outsourced Indian callcenter employees who were dialling for
 dollars.  As a rule, I hang up on them as quickly as possible.  I have
 also gotten emails that used less than native English, which I delete
 just as quickly.  Sorry, but if they don't care enough to communicate
 properly and effectively, I don't care enough to respond.

 Pete

 On 3/30/06, S. Isaac Dealey [EMAIL PROTECTED] wrote:
  So...
 
  I hope I'm not offending anyone, but at what point do you simply not
  respond to a recruiter if there's an obvious language barrier? I'm
  just curious if anyone else has a rule of thumb they use, because I
  just got an email from a recruiter asking me to revert back
  positively ... with the resume and the rate, indicating that he's
  confused the definition of reply or possibly respond and revert.
 
 
  It seems like now more than any other time that I've looked for a job,
  the majority of the recruiters I talk to are some variety of
  (middle)eastern (I'm guessing mostly Indian, although of course I
  don't ask) with varying degrees of either accent or language barrier.
  I really don't want to come across as being insensitive, but some of
  these people (a good number of them actually) speak english over the
  phone so poorly that it takes several iterations of a word or phrase
  before I understand what they're trying to say, and it really makes me
  wonder how they've even been hired in a recruiting capacity by
  companies seeking english-speaking workers.
 
  My current job search seems to be nearing its end, so I'm not liable
  to need to worry about it for hopefully several years now, I'm just
  curious what other people's thoughts are on the subject.
 
 
  s. isaac dealey 434.293.6201
  new epoch : isn't it time for a change?
 
  add features without fixtures with
  the onTap open source framework
 
  http://www.fusiontap.com
  http://coldfusion.sys-con.com/author/4806Dealey.htm
 
 
 

 

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


  1   2   >