RE: sql2k vs mySQL vs postgresql (for win2k)

2003-03-12 Thread Matt Robertson
Answer to the original question: yes it makes sense to ditch Access.

I moved from Access to mySQL maybe two years ago and never looked back.
The only compatibility issues I faced related to problems with cfinsert
and cfupdate, which I used extensively at the time.  I have since
reformed my slacker ways and write real SQL.

When I write stuff that has to work on both mySQL and Access, most of
what I do is fix() numeric variable output.  Access has an annoying
habit of outputting a numeric value of 123 as "123.0" which can be
trouble under some circumstances.  Not much else that I can think of
offhand... In other words, its Access that's the problem child in the
equation, so if you're used to working with it you should be nothing but
happy with mySQL, on balance.

FYI I have a server running CF 4.5 and mySQL 4.0.x with about 40
small/medium, heavily db-driven CF domains on it.  mySQL eats around
15mb of RAM, never coughs or hiccups.  That wasn't the case when I was
using Access on the same box.

Got another one running CFMX and mysql 4.0.x and it runs just dandy as
well.


 Matt Robertson   [EMAIL PROTECTED] 
 MSB Designs, Inc.  http://mysecretbase.com
  -  -  -  -  -  -  -  -  -  -  -  -  -  -  
 Site Design and ColdFusion Developer Tools


-Original Message-
From: Chris Montgomery [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2003 8:21 PM
To: CF-Talk
Subject: Re: sql2k vs mySQL vs postgresql (for win2k)


Howdy Dan,

Sunday, March 9, 2003, 8:31:54 PM, dan martin wrote:

> ... I am wondering if it would make more sense to migrate to an open
> source db: mySQL or postgresql. I am running win2k with cf5 and would
> like to keep the db on the same server.

One thing you didn't mention was your environment - will this be only
for development, or for production, or both? If production, will this be
on your own server(s), or third-party shared hosting?

> Does anyone have experience or comparison information between the 3
> choices running on win2k? How much work is it to port access to mysql
> or postgresql? For sql2k the upgrade tool does most of the work for
> you. Are there obvious benefits performance or feature wise between
> the choices?

I'm a newbie myself to MySQL (v. 3.23.54 on Win2k) and am still learning
my way around. With MyODBC I've found it's pretty easy to get Access to
talk to MySQL, so it should be fairly easy to import your Access db to
MySQL (I've pulled MySQL tables into Access, just as a test, but haven't
gone the other way around...yet). There are several free front-end tools
that I've been playing with that you might find worth checking out. They
have varying capacities for export/import:

- DBTools/DBManager:
http://www.dbtools.com.br/EN/
- MySQL Control Center:
http://www.mysql.com/products/mysqlcc/index.html
- MySQL-Front:
http://mysqlfront.venturemedia.de/index.php?act=ST&f=1&t=2&s=1a695d95d6c
1514352366168370a801d
(this tool is no longer being developed, but it still works well and can
be downloaded at this URL)
- SQLYog:
http://www.webyog.com/sqlyog/index.html
- eSQLManager:
http://www.errorsoft.nl/index.jsp

...and here's a commercial tool (I haven't used this, but you might
be interested anyway):
- Navicat:
http://www.mysqlstudio.com/index.php

MySQL should be releasing version 4.1 real soon (no hard date announced
on this yet, but what I've picked up from the MySql list, it would
appear to be coming very soon). Version 4.1 will support sub-selects.
Here's an article covering it:
http://www.mysql.com/press/release_2003_05.html
Might be worth the wait.

Just for grins, here's a few more MySQL related links that may be of
interest to you:
- PHP & MySQL Tips and Tutorials:
http://www.sitepoint.com/subcat/98
- MySQL articles on Database Journal:
http://www.databasejournal.com/features/mysql/
- Oh, my--MySQL!:
http://builder.com.com/article.jhtml?id=u00320020523dol01.htm&fromtm=e60
2
- MySQL articles:
http://www.kitebird.com/articles/
- Migrating from Microsoft Access to MySQL:
http://www.kitebird.com/articles/access-migrate.html
- A collection of Articles about MySQL:
http://www.mysql.com/articles/index.html
- and of course, the big kahuna, MySQL Reference Manual:
http://www.mysql.com/doc/en/index.html

A couple more comparisons:
-  PostgreSQL vs. MySQL:
http://www.webtechniques.com/archives/2001/09/jepson/
-  MySQL vs. PostgreSQL:
http://builder.com.com/article.jhtml?id=u00320020624gcn01.htm&fromtm=e60
2

Hope you get something useful out of all the above.

-- 
Chris Montgomery
Airtight Web Services   http://www.airtightweb.com
Web Development, Web Project Management, Software Sales
210-490-2415


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
You

Re: CFCs and Web Services

2003-03-12 Thread Sean A Corfield
On Wednesday, Mar 12, 2003, at 17:32 US/Pacific, Dave Carabetta wrote:
> Sean, point of clarification about the above statement. According to 
> your
> blog (01/01/2003), if you are using MX for J2EE, you *cannot* use the
> underlying J2EE session mechanism if you store CFCs in the session 
> scope and
> would like to share the sessions across a cluster because they are
> full-blown Java objects.

I said you cannot use session *replication* if you store CFCs in 
session scope. It's not really a case of "sharing" sessions across a 
cluster - it only affects failover (if one server instance goes down 
and you have buddy servers configured). Sessions 'stick' to the server 
instance that created them. Session replication and buddy servers are 
optional - they increase network traffic, the tradeoff being that 
sessions are not lost if a server instance goes down unexpectedly. If 
you want that functionality then you do need to avoid storing CFCs in 
session scope, a tradeoff. Note that application and server scopes are 
never shared between server instances.

If you're confident enough that your server instances won't go down 
then session failover may not be worth the increased network traffic or 
the CFC restriction (or at least, won't go down often enough to 
matter). Alternatively, if you program your application to recover 
session information if a user's session fails over to another instance, 
you don't need automatic session failover.

Hope that clarifies?

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: sql2k vs mySQL vs postgresql (for win2k)

2003-03-12 Thread Chris Montgomery
Howdy Dan,

Sunday, March 9, 2003, 8:31:54 PM, dan martin wrote:

> ... I am wondering if it would make more sense to migrate to an open
> source db: mySQL or postgresql. I am running win2k with cf5 and would
> like to keep the db on the same server.

One thing you didn't mention was your environment - will this be only
for development, or for production, or both? If production, will this be
on your own server(s), or third-party shared hosting?

> Does anyone have experience or comparison information between the 3
> choices running on win2k? How much work is it to port access to mysql
> or postgresql? For sql2k the upgrade tool does most of the work for
> you. Are there obvious benefits performance or feature wise between
> the choices?

I'm a newbie myself to MySQL (v. 3.23.54 on Win2k) and am still learning
my way around. With MyODBC I've found it's pretty easy to get Access to
talk to MySQL, so it should be fairly easy to import your Access db to
MySQL (I've pulled MySQL tables into Access, just as a test, but haven't
gone the other way around...yet). There are several free front-end tools
that I've been playing with that you might find worth checking out. They
have varying capacities for export/import:

- DBTools/DBManager:
http://www.dbtools.com.br/EN/
- MySQL Control Center:
http://www.mysql.com/products/mysqlcc/index.html
- MySQL-Front:
http://mysqlfront.venturemedia.de/index.php?act=ST&f=1&t=2&s=1a695d95d6c1514352366168370a801d
(this tool is no longer being developed, but it still works well and can
be downloaded at this URL)
- SQLYog:
http://www.webyog.com/sqlyog/index.html
- eSQLManager:
http://www.errorsoft.nl/index.jsp

...and here's a commercial tool (I haven't used this, but you might
be interested anyway):
- Navicat:
http://www.mysqlstudio.com/index.php

MySQL should be releasing version 4.1 real soon (no hard date announced
on this yet, but what I've picked up from the MySql list, it would
appear to be coming very soon). Version 4.1 will support sub-selects.
Here's an article covering it:
http://www.mysql.com/press/release_2003_05.html
Might be worth the wait.

Just for grins, here's a few more MySQL related links that may be of
interest to you:
- PHP & MySQL Tips and Tutorials:
http://www.sitepoint.com/subcat/98
- MySQL articles on Database Journal:
http://www.databasejournal.com/features/mysql/
- Oh, my--MySQL!:
http://builder.com.com/article.jhtml?id=u00320020523dol01.htm&fromtm=e602
- MySQL articles:
http://www.kitebird.com/articles/
- Migrating from Microsoft Access to MySQL:
http://www.kitebird.com/articles/access-migrate.html
- A collection of Articles about MySQL:
http://www.mysql.com/articles/index.html
- and of course, the big kahuna, MySQL Reference Manual:
http://www.mysql.com/doc/en/index.html

A couple more comparisons:
-  PostgreSQL vs. MySQL:
http://www.webtechniques.com/archives/2001/09/jepson/
-  MySQL vs. PostgreSQL:
http://builder.com.com/article.jhtml?id=u00320020624gcn01.htm&fromtm=e602

Hope you get something useful out of all the above.

-- 
Chris Montgomery
Airtight Web Services   http://www.airtightweb.com
Web Development, Web Project Management, Software Sales
210-490-2415

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFMX and long integers

2003-03-12 Thread Gunther Ahamer
*slaps head* Thanks Joe. 
Yeah that does it well, then I use LSParseNumber on the other end. 

Not sure why it didnt work before... 
LSParseNumber will also work on "1.0461E+015" so I just pass that through
the form variable.

-Original Message-
From: Joe Eugene [mailto:[EMAIL PROTECTED]
Sent: Thursday, 13 March 2003 3:04 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: CFMX and long integers



Have you tried #NumberFormat("1.0461E+015")# ?
It gives me "1,046,100,000,000,000"

Joe Eugene


> -Original Message-
> From: Gunther Ahamer [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 10:38 PM
> To: CF-Talk
> Subject: CFMX and long integers
>
>
> Hi,
>
> I call a web service that returns a long integer.
> Now when I try to dump this to output I get 1.0461E+015.
> CF does seem to be internally aware that it is a long and does store it
> properly.
>
> Now how would i go about passing this from one page to another using a
> hidden form variable?
> Ive tried doing ParseNumber, Val, etc. but cant get it to decode on the
> receiving side...
>
> Hopeing you guys can help me out a bit...
>
> thanks in advance,
>
> Gunther
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFMX and long integers

2003-03-12 Thread Joe Eugene
Have you tried #NumberFormat("1.0461E+015")# ?
It gives me "1,046,100,000,000,000"

Joe Eugene


> -Original Message-
> From: Gunther Ahamer [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 10:38 PM
> To: CF-Talk
> Subject: CFMX and long integers
>
>
> Hi,
>
> I call a web service that returns a long integer.
> Now when I try to dump this to output I get 1.0461E+015.
> CF does seem to be internally aware that it is a long and does store it
> properly.
>
> Now how would i go about passing this from one page to another using a
> hidden form variable?
> Ive tried doing ParseNumber, Val, etc. but cant get it to decode on the
> receiving side...
>
> Hopeing you guys can help me out a bit...
>
> thanks in advance,
>
> Gunther
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



return urlencoded data to Flash with cfcontent on MX -- is this possible?

2003-03-12 Thread S . Isaac Dealey
I should clarify this by saying it works perfectly on CF 5 and hangs the
plugin with MX in both IE6 and NS7.

It's also entirely asside from the query of query issue.



Is anyone else having any luck returning urlencoded data to a Flash MX
loadVars object with  using CF MX? On my system it just seems to
hang my copy of the Flash plugin for the page.

s. isaac dealey954-776-0046

new epoch  http://www.turnkey.to

lead architect, tapestry cms   http://products.turnkey.to

tapestry api is opensource http://www.turnkey.to/tapi

certified advanced coldfusion 5 developer
http://www.macromedia.com/v1/handlers/index.cfm?ID=21816

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



return urlencoded data to Flash with cfcontent on MX -- is this possible?

2003-03-12 Thread S . Isaac Dealey
Is anyone else having any luck returning urlencoded data to a Flash MX
loadVars object with  using CF MX? On my system it just seems to
hang my copy of the Flash plugin for the page.

s. isaac dealey954-776-0046

new epoch  http://www.turnkey.to

lead architect, tapestry cms   http://products.turnkey.to

tapestry api is opensource http://www.turnkey.to/tapi

certified advanced coldfusion 5 developer
http://www.macromedia.com/v1/handlers/index.cfm?ID=21816

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: disappearing client scope

2003-03-12 Thread Joe Eugene
> Submission is working fine, but on the other end is a WDDX tag that
> expecting to read a Client.object

What do you have on the other end?
cfml2wddx/wddx2cfm convertion back and forth between client scope and
local vars?

> client.cart
You cannot put complex(structure) variables in client scope UNLESS
you use wddx to serialize/deserialize, if thats the case you would
deserialize from client scope to variable/request scope.

Joe Eugene


> -Original Message-
> From: Owens, Howard [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 9:52 PM
> To: CF-Talk
> Subject: disappearing client scope
>
>
> Ok, my form submission goes through this little scrpt (on an on-click
> event):
>
>
> function updateSubmit(itemID,qNum) {
>
>   document.cartform.action = "index.cfm";
>   document.cartform.method = "post";
>   document.cartform.saction.value = "update_cart";
>   document.cartform.CFID.value = "#URL.CFID#";
>   document.cartform.CFTOKEN.value = "#URL.CFTOKEN#";
>   document.cartform.ITEM_ID.value = itemID;
>   document.cartform.QUANTITY.value = qNum;
>   document.cartform.submit();
>
> }
>
> Submission is working fine, but on the other end is a WDDX tag that
> expecting to read a Client.object, but I'm getting an error that the the
> client.cart does not exist.
>
> Now, I've seen client vars get dropped before when I haven't maintained
> state (such as in a URLTOKEN), but as far as I can tell the CFID
> and CFTOKEN
> are getting passed.  Here's what I'm seeing in my debug:
>
> Form Fields:
> CFID=1678
> CFTOKEN=46234445
> FIELDNAMES=SACTION,CFID,CFTOKEN,ITEM_ID,QUANTITY,ITEM_ID,QUANTITY
> ITEM_ID=6,6
> QUANTITY=1,1
> SACTION=update_cart
>
> So, where is my client var?
>
> Why am I seeing this: Error resolving parameter CLIENT.CARTITEMS
>
>
> H.
>
>
>
> ~~
> Howard Owens
> Internet Operations Coordinator
> InsideVC.com/Ventura County Star
> [EMAIL PROTECTED]
> AIM: GoCatGo1956
> ~~
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: XPath in CFMX

2003-03-12 Thread I-Lin Kuo
> Are you suggesting that the value I'm after is
> somewhere in the returned
> object, but cfdump doesn't know how to handle it, or
> that XmlSearch isn't
> returning it at all.  If it's the former, then I'd
> love to know how to
> access that information.

I haven't worked with xml inside of CFMX to know, but
I would suspect that XMLSearch isn't returning it at
all.

I'm currently developing using the Cocoon publishing
framework built on top of xerces and xalan and liking
it very much.

=
I-Lin Kuo
Macromedia CF5 Advanced Developer
Sun Certified Java 2 Programmer

__
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: ok....im losin it...

2003-03-12 Thread Tony Weeg
oh yeah, login.cfm is a page that is there, and working now fine, like
the rest, i just said F**K it, and pasted at the top of each page, and
why not...i dont have time to fight it tonight :)

tw

-Original Message-
From: Joe Eugene [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2003 10:29 PM
To: CF-Talk
Subject: RE: okim losin it...


> 
Perhaps, it doesnt know where "login.cfm" is.. change it to
http://www.yahoo.com";>
Does this work?

 to my understanding is not the best way
for the flow of the application. I consider  like "Go
To's"...
Thats just me though.

Joe Eugene


> -Original Message-
> From: Tony Weeg [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 10:17 PM
> To: CF-Talk
> Subject: RE: okim losin it...
>
>
> if i paste everything from the header.cfm, the footer.cfm
> and the content from another page, with this at the top...
>
> 
>   
>   
>   select firstname, lastname from csr
> where id = #session.csrId#
>   
>   
>   
>   
> 
>
> all things work perfect...
>
> pasted in the cfincluded file, header.cfm, and ran, no dice...
> doesnt workIM LOSING ITwhats up with this?
>
> tony
>
> -Original Message-
> From: Tony Weeg [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 10:11 PM
> To: CF-Talk
> Subject: RE: okim losin it...
>
>
> i know, it should work, it has worked for me
> a zillion times on every freakin site i have ever
> doneWTF, now its like...for some odd reason it
> doesnt
>
> tony.
>
> this is whats in my application.cfm page...
>
>  clientstorage="cookie" sessionmanagement="Yes"
> sessiontimeout="#CreateTimeSpan(1,0,0,0)#" setclientcookies="Yes">
> 
> 
> 
>
>
>
> -Original Message-
> From: Bruce Sorge [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 9:58 PM
> To: CF-Talk
> Subject: Re: okim losin it...
>
>
> I just tried it and it worked.
>
> 
>
> 
> 
> 
> http://www.cnn.com";>
> 
> http://www.yahoo.com";>
> 
> - Original Message -
> From: "Tony Weeg" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 12, 2003 8:38 PM
> Subject: okim losin it...
>
>
> > 
> > 
> > 
> > 
> > 
> >
> > why would this not send me to cnn.com, if session.csrId
> > is not defined?
> >
> > color me crazy, but this is for some reason, this in my
> > application.cfm page is hanging and not loading?  WTF?
> >
> > thanks
> >
> > tony
> >
> > tony weeg
> > [EMAIL PROTECTED]
> > www.revolutionwebdesign.com
> > rEvOlUtIoN wEb DeSiGn
> > 410.334.6331
> >
> >
>
>
> 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: XPath in CFMX

2003-03-12 Thread Dan G. Switzer, II
> Uh, "//[EMAIL PROTECTED]" and "//rule/@name" aren't
> equivalent XPATH expressions. The first is "all
> element rule nodes which have a name attribute" while
> the second is "all name attribute nodes belonging to a
> rule element node"

You are correct, but the problem stems more from the way Macromedia decided
to implement returning of XML data. Since all XML functions are supposed to
return the data in the same format, the xmlSearch() function should return
the information in the same manor (since they've decided not to return
specific information, but return the entire node instead.)

You are correct in pointing out that syntax is important and you should use
the correct syntax to avoid problems with different XML engines. If you
supply the correct syntax, then there should be no confusion on what to
expect back.

I still think I'd classify this as a bug, or at least CFMX should throw an
error stating this is an invalid XPath expression for this function (since
xmlSearch returns entire nodes.)

-Dan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



CFMX and long integers

2003-03-12 Thread Gunther Ahamer
Hi,

I call a web service that returns a long integer. 
Now when I try to dump this to output I get 1.0461E+015.
CF does seem to be internally aware that it is a long and does store it
properly.

Now how would i go about passing this from one page to another using a
hidden form variable? 
Ive tried doing ParseNumber, Val, etc. but cant get it to decode on the
receiving side...

Hopeing you guys can help me out a bit...

thanks in advance,

Gunther

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: ok....im losin it...

2003-03-12 Thread Joe Eugene
> 
Perhaps, it doesnt know where "login.cfm" is.. change it to
http://www.yahoo.com";>
Does this work?

 to my understanding is not the best way
for the flow of the application. I consider  like "Go To's"...
Thats just me though.

Joe Eugene


> -Original Message-
> From: Tony Weeg [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 10:17 PM
> To: CF-Talk
> Subject: RE: okim losin it...
>
>
> if i paste everything from the header.cfm, the footer.cfm
> and the content from another page, with this at the top...
>
> 
>   
>   
>   select firstname, lastname from csr
> where id = #session.csrId#
>   
>   
>   
>   
> 
>
> all things work perfect...
>
> pasted in the cfincluded file, header.cfm, and ran, no dice...
> doesnt workIM LOSING ITwhats up with this?
>
> tony
>
> -Original Message-
> From: Tony Weeg [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 10:11 PM
> To: CF-Talk
> Subject: RE: okim losin it...
>
>
> i know, it should work, it has worked for me
> a zillion times on every freakin site i have ever
> doneWTF, now its like...for some odd reason it
> doesnt
>
> tony.
>
> this is whats in my application.cfm page...
>
>  clientstorage="cookie" sessionmanagement="Yes"
> sessiontimeout="#CreateTimeSpan(1,0,0,0)#" setclientcookies="Yes">
> 
> 
> 
>
>
>
> -Original Message-
> From: Bruce Sorge [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 9:58 PM
> To: CF-Talk
> Subject: Re: okim losin it...
>
>
> I just tried it and it worked.
>
> 
>
> 
> 
> 
> http://www.cnn.com";>
> 
> http://www.yahoo.com";>
> 
> - Original Message -
> From: "Tony Weeg" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 12, 2003 8:38 PM
> Subject: okim losin it...
>
>
> > 
> > 
> > 
> > 
> > 
> >
> > why would this not send me to cnn.com, if session.csrId
> > is not defined?
> >
> > color me crazy, but this is for some reason, this in my
> > application.cfm page is hanging and not loading?  WTF?
> >
> > thanks
> >
> > tony
> >
> > tony weeg
> > [EMAIL PROTECTED]
> > www.revolutionwebdesign.com
> > rEvOlUtIoN wEb DeSiGn
> > 410.334.6331
> >
> >
>
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: sql datasource

2003-03-12 Thread Jeff Garza
What user is CFMX running as?  I've found that I have to run CFMX as a
named user (rather than the default which is SYSTEM) to get it to work
with Trusted Connections using the JDBC:ODBC brigde driver.  You still
have to supply the username and password (make sure you preface it with
DOMAIN\username).  Caveat is that this is the only account that CF will
be able to connect as.  The username/password fields in CFQUERY are
worthless at this point.

All in all, you are much better off using SQL Server logins over trusted
connections for CFMX...

If you need more help, drop me a line off-list and I'll see what I can
do.

HTH,

Jeff Garza

-Original Message-
From: Robert Shaw [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2003 6:53 PM
To: CF-Talk
Subject: sql datasource


Yes, the datsource connects fine in Ctrl Panel, but not in CF. It works
if I 
use the SQL server username and pass but not NT, I need to use NT.

>>>
have you tried using the odbc socket choice
to make the dsn connection right to the system dsn already set up
correctly?

...tony

Tony Weeg
Senior Web Developer
UnCertified Advanced ColdFusion Developer
Information System Design
Navtrak, Inc.
Mobile workforce monitoring, mapping & reporting
www.navtrak.net
410.548.2337







~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: query of query error -- works on cf5 bombs on MX

2003-03-12 Thread S . Isaac Dealey
Okay, so I tried using val() both when values get added to the query and in
the query of query -- I currently have this code:


SELECT nick, message FROM history
WHERE msgid > #val(attributes.cleared)# AND
( nick = '' OR nick = '#trim(ucase(attributes.nick))#'
OR sender = '#trim(ucase(attributes.nick))#' )


I also tried WHERE val(msgid) > blah... and the server didn't like that...
After getting to the point above, it worked on CF 5 and on MX it loaded and
then I got a message from the flash movie this page returns data to saying
that a script had caused it to run slow and asking me if I wanted to abort
it. So I fiddled with it a bit with the same results every time. Then I
restarted the MX server and now it no longer does this, but again produces
the invalid datatype comparison error with the val() in the query.

Error Executing Database Query.Query Of Queries runtime
error. Unsupported type comparison. The specific sequence of files
included or processed is: C:\CFusionMX\wwwroot\dev\talkontap\index.cfm

damn this is frustrating.


>> So I'm guessing that MX is creating the msgid column as a
>> varchar column
> and
>> it's complaining about "msgid > #attributes.cleared#" ...
>> So does anybody
>> know how to set the data type on a query column created
>> using querynew()
> in
>> MX?

> I've had success with this problem by putting putting
> Val() around the
> values to be "cast" as a number. The only thing to be
> careful about is that
> if you have a blank string (i.e., ""), Val() will convert
> the empty string
> to zero. That might not matter in your case, but a warning
> just in case.

> Regards,
> Dave.
> ~~
> ~~~|
> Archives:
> http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
> Subscription: http://www.houseoffusion.com/cf_lists/index.
> cfm?method=subscribe&forumid=4
> FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
> This list and all House of Fusion resources hosted by
> CFHosting.com. The place for dependable ColdFusion
> Hosting.

>   Unsubscribe: http://www.houseoffusion.com/cf_lists/uns
>   ubscribe.cfm?user=633.558.4



s. isaac dealey954-776-0046

new epoch  http://www.turnkey.to

lead architect, tapestry cms   http://products.turnkey.to

tapestry api is opensource http://www.turnkey.to/tapi

certified advanced coldfusion 5 developer
http://www.macromedia.com/v1/handlers/index.cfm?ID=21816

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: XPath in CFMX

2003-03-12 Thread Joe Eugene
> Yes, Crimson was rolled into Xerces 2 in the late fall some time.

My understanding is Crimson was Sun's(Java) parser used through JAXP and i
think
sun dropped it and is focusing more on JDOM Api's as a Middle tier,
independent
of Parser(Xerces,XML4J etc) implementations.

Still wondering that below function does...
IsXmlDoc
Description
Determines whether a function parameter is an Extended Markup language (XML)
document object.

Is this function supposed to check for a well-formed document?
if thats the case, i dont think its working.

Joe Eugene


> -Original Message-
> From: Dave Carabetta [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 5:26 PM
> To: CF-Talk
> Subject: RE: XPath in CFMX
>
>
> >Crimson looks like it's been killed.
> >
> >Xerces is a parser.  Xalan is a transformation engine.
>
> Yes, Crimson was rolled into Xerces 2 in the late fall some time. It is a
> hibernated project right now, which is to say that it's no longer being
> actively developed.
>
> Look into Xerces 2.
>
> Regards,
> Dave.
>
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: ok....im losin it...

2003-03-12 Thread Tony Weeg
if i paste everything from the header.cfm, the footer.cfm
and the content from another page, with this at the top...

   


select firstname, lastname from csr
where id = #session.csrId#






all things work perfect...

pasted in the cfincluded file, header.cfm, and ran, no dice...
doesnt workIM LOSING ITwhats up with this?

tony

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2003 10:11 PM
To: CF-Talk
Subject: RE: okim losin it...


i know, it should work, it has worked for me
a zillion times on every freakin site i have ever
doneWTF, now its like...for some odd reason it
doesnt

tony. 

this is whats in my application.cfm page...








-Original Message-
From: Bruce Sorge [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2003 9:58 PM
To: CF-Talk
Subject: Re: okim losin it...


I just tried it and it worked.






http://www.cnn.com";>

http://www.yahoo.com";>

- Original Message -
From: "Tony Weeg" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 8:38 PM
Subject: okim losin it...


> 
> 
> 
> 
> 
>
> why would this not send me to cnn.com, if session.csrId
> is not defined?
>
> color me crazy, but this is for some reason, this in my
> application.cfm page is hanging and not loading?  WTF?
>
> thanks
>
> tony
>
> tony weeg
> [EMAIL PROTECTED]
> www.revolutionwebdesign.com
> rEvOlUtIoN wEb DeSiGn
> 410.334.6331
>
> 


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: ok....im losin it...

2003-03-12 Thread Tony Weeg
i know, it should work, it has worked for me
a zillion times on every freakin site i have ever
doneWTF, now its like...for some odd reason it
doesnt

tony. 

this is whats in my application.cfm page...








-Original Message-
From: Bruce Sorge [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2003 9:58 PM
To: CF-Talk
Subject: Re: okim losin it...


I just tried it and it worked.






http://www.cnn.com";>

http://www.yahoo.com";>

- Original Message -
From: "Tony Weeg" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 8:38 PM
Subject: okim losin it...


> 
> 
> 
> 
> 
>
> why would this not send me to cnn.com, if session.csrId
> is not defined?
>
> color me crazy, but this is for some reason, this in my
> application.cfm page is hanging and not loading?  WTF?
>
> thanks
>
> tony
>
> tony weeg
> [EMAIL PROTECTED]
> www.revolutionwebdesign.com
> rEvOlUtIoN wEb DeSiGn
> 410.334.6331
>
> 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: XPath in CFMX

2003-03-12 Thread Joe Eugene
> The Xpath example you are using below is not quite what I am after.  Your
> example:
>
> 

The reason why i posted the above was because you were trying to use
xmlSearch, which logically means you are searching(xml*Search*) for
something.

If you are after, all the attribute values (example "type") in an xml doc
like
xRes=xmlSearch(odoc, "/Books/Book/@type);
I dont see a reason to use xmlSearch(), cause you want "ALL" attributes
values.
Havent done any testing but i would think searching for "ALL" would be
slower
than looping through the array with xmlAttributes
(Book[1-len].XmlAttributes["type"])
Thats my logical way of doing what you are tying to accomplish.

Yes, this (xRes=xmlSearch(odoc, "/Books/Book/@type) only gives the array
length
and no values. If its a BUG, its needs to be fixed:) and thanks for bringing
it up.


Joe Eugene


> -Original Message-
> From: Mueller, Ben [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 8:46 AM
> To: CF-Talk
> Subject: RE: XPath in CFMX
>
>
>  I don't know what parser CFMX uses, though since I know nothing about the
> details of parsers, if I did know the name of the parser they are using,
> that wouldn't help me one iota (-;
>
> The Xpath example you are using below is not quite what I am after.  Your
> example:
>
> 
>
> says "from the 'Books' node, give me all 'Book' subelements that have an
> attribute 'type', the value of which is 'Reference Book'.  That Xpath
> instruction works identically with CFMX and the MS XML parser.
>
> What I want is this:
> 
>
> ...which says "give me the value of the 'type' attribute from the 'Book'
> subelement of the 'Books' node".  That is where it appears CFMX deviates
> from the Xpath spec, and while I like the addition of the XmlAttributes
> syntax, it doesn't seem like that should completely replace a valid Xpath
> command.
>
>
> -Original Message-
> From: Joe Eugene
> To: CF-Talk
> Sent: 3/11/03 10:12 PM
> Subject: RE: XPath in CFMX
>
> Ben,
> The only difference is see from plain XPath, is using
> (XmlChildren,XmlText,XmlAttributes).
>
> Example
> 
> 
>   
> Java Programming
> Ivor Horton
>   
> 
> 
> 
> #odoc.Books.Book[1].Title.XmlText#
> #odoc.Books.Book[1].XmlAttributes["type"]#
> 
>
> Here the only thing different from XPath specs, is using "odoc" and
> "XmlText|XmlAttributes".
>
> 
> This also works exactly like XPath Specifications.
>
> I havent used MSXML. I think CFMX uses Xerces/Crimson/Sax parsers which
> should in
> line with W3C XML/XPath specifications. I am curious on cfmx
> implementations
> of SAX and DOM Parsing, Which one does CFMX Use...
>
> Joe Eugene
>
>
> > -Original Message-
> > From: Mueller, Ben [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, March 11, 2003 9:26 PM
> > To: CF-Talk
> > Subject: XPath in CFMX
> >
> >
> > My company is in the process of moving over to MX, and I have been
> tasked
> > with upgrading our XML handling custom tags to MX compliance.  I have
> > discovered what appears to be a bug in the way MX handles Xpath, and
> if it
> > isn't a bug, then it's a deviation away from the standard
> > implementation of
> > Xpath, and if it isn't THAT, then it's a failure in my understanding.
> >
> > We are currently running CF 5 (development) and 4.5.2
> > (production), and both
> > use MS XML 4.0 for XML handling.
> >
> > We have quite a bit of code which, using Xpath, gets the value of an
> > attribute.  The code typically looks something like this:
> >
> > 
> >
> > In our current environment, this returns the value of the "name"
> attribute
> > in the subelement called "subnode".
> >
> > When I tried to get this same code to work in MX (essentially by
> changing
> > the guts of cf_readXMLnode), I got an array of length 1, where
> > the 1 item in
> > the array is empty.
> >
> > What I can't tell at this point is whether:
> > a) the MS XML parser deviated from the Xpath spec, and in fact a call
> like
> > "./subnode/@name" is invalid, so CFMX doesn't support it
> > b) CFMX deliberately doesn't support these type of Xpath calls for
> some
> > reason
> > c) This is a bug in CFMX
> > d) There's something I'm missing about how MX handles XML
> >
> > I understand the way MX wants me to access element attributes
> > (#node[x].xmlattributes["name"]#), but I would really like to avoid
> using
> > this method, because it would involve changing a ton of Xpath
> > statements and
> > code logic, rather than just a few custom tags.  I'm also rather
> > miffed that
> > I can take advantage of the full Xpath spec.
> >
> > Any help/advice would be appreciated.  If I haven't stated the problem
> > clearly enough, please tell me where it's fuzzy and I'll try to
> sharpen it
> > up.
> >
> > Thanks,
> > Ben
> >
> > I've included some sample MX code below to illustrate the problem:
> >
> > 
> > 
> > text here
> > 
> > 
> >
> >
> > 
> > #sampleXML["rule"].xmlattributes["name"]#
> >
> > 
> > 
> > 
> >
> >
> > 
> >
> > 
> > 
> > #res2[1].xmlattributes["name"

Re: ok....im losin it...

2003-03-12 Thread Bruce Sorge
I just tried it and it worked.






http://www.cnn.com";>

http://www.yahoo.com";>

- Original Message -
From: "Tony Weeg" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 8:38 PM
Subject: okim losin it...


> 
> 
> 
> 
> 
>
> why would this not send me to cnn.com, if session.csrId
> is not defined?
>
> color me crazy, but this is for some reason, this in my
> application.cfm page is hanging and not loading?  WTF?
>
> thanks
>
> tony
>
> tony weeg
> [EMAIL PROTECTED]
> www.revolutionwebdesign.com
> rEvOlUtIoN wEb DeSiGn
> 410.334.6331
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



disappearing client scope

2003-03-12 Thread Owens, Howard
Ok, my form submission goes through this little scrpt (on an on-click
event):


function updateSubmit(itemID,qNum) {

document.cartform.action = "index.cfm";
document.cartform.method = "post";
document.cartform.saction.value = "update_cart";
document.cartform.CFID.value = "#URL.CFID#";
document.cartform.CFTOKEN.value = "#URL.CFTOKEN#";
document.cartform.ITEM_ID.value = itemID;
document.cartform.QUANTITY.value = qNum;
document.cartform.submit();

}   

Submission is working fine, but on the other end is a WDDX tag that
expecting to read a Client.object, but I'm getting an error that the the
client.cart does not exist.

Now, I've seen client vars get dropped before when I haven't maintained
state (such as in a URLTOKEN), but as far as I can tell the CFID and CFTOKEN
are getting passed.  Here's what I'm seeing in my debug:

Form Fields: 
CFID=1678 
CFTOKEN=46234445 
FIELDNAMES=SACTION,CFID,CFTOKEN,ITEM_ID,QUANTITY,ITEM_ID,QUANTITY 
ITEM_ID=6,6 
QUANTITY=1,1 
SACTION=update_cart 

So, where is my client var?

Why am I seeing this: Error resolving parameter CLIENT.CARTITEMS


H.



~~
Howard Owens
Internet Operations Coordinator
InsideVC.com/Ventura County Star
[EMAIL PROTECTED]
AIM: GoCatGo1956
~~

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: ok....im losin it...

2003-03-12 Thread Tony Weeg
even betterif i paste this into my header.cfm
file and run another page that has a cfinclude tag
calling the header.cfm file, 

   
 
   
select firstname, lastname 
from csr 
where id = #session.csrId#
   
 
   
 


it flips out and hangs like the other page did. yet, if i paste the same
code, into my index.cfm page just under that same include...it works
just fine :)

WTF!


-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2003 9:39 PM
To: CF-Talk
Subject: okim losin it...








why would this not send me to cnn.com, if session.csrId 
is not defined?

color me crazy, but this is for some reason, this in my
application.cfm page is hanging and not loading?  WTF?

thanks

tony

tony weeg
[EMAIL PROTECTED]
www.revolutionwebdesign.com
rEvOlUtIoN wEb DeSiGn
410.334.6331 


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: how to create/manage an ACL

2003-03-12 Thread Jared Clinton
Thanks Dave,

Just what I needed to know.

Jared Clinton.

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Thursday, 13 March 2003 1:44 PM
To: CF-Talk
Subject: RE: how to create/manage an ACL


> Probably a silly question,

Not at all, if you don't know the answer. Better to ask than not to know!

> But.. how do I create and manage an NT access control 
> list (ACL)? 

The short answer to this is, right-click on a file or directory in Windows
Explorer, select the Security tab, and play around with the options in that
tab screen. Or, from the command line, run cacls (or xcacls if you have the
Resource Kit).

The longer answer requires some reading on your part. Everything in Windows
is protected by ACLs - files, registry keys, DCOM object invocation and so
on. So, before you just go clicking on things, it's a good idea to read
about ACLs and permissions.

The "bible" in the field, in my opinion (slightly dated, given Windows
2000's automatic inheritance), is Stephen Sutton's "Windows NT Security
Guide":
http://www.trustedsystems.com/textbook.htm

Without buying the book, you might start here:
http://www.trustedsystems.com/nt_security.htm

Guides with specific ACL recommendations are available here:
http://www.nsa.gov/snac/index.html

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



ok....im losin it...

2003-03-12 Thread Tony Weeg






why would this not send me to cnn.com, if session.csrId 
is not defined?

color me crazy, but this is for some reason, this in my
application.cfm page is hanging and not loading?  WTF?

thanks

tony

tony weeg
[EMAIL PROTECTED]
www.revolutionwebdesign.com
rEvOlUtIoN wEb DeSiGn
410.334.6331 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: query of query error -- works on mx bombs on cf 5

2003-03-12 Thread S . Isaac Dealey
awesome, thanks. :)

>> So I'm guessing that MX is creating the msgid column as a
>> varchar column
> and
>> it's complaining about "msgid > #attributes.cleared#" ...
>> So does anybody
>> know how to set the data type on a query column created
>> using querynew()
> in
>> MX?

> I've had success with this problem by putting putting
> Val() around the
> values to be "cast" as a number. The only thing to be
> careful about is that
> if you have a blank string (i.e., ""), Val() will convert
> the empty string
> to zero. That might not matter in your case, but a warning
> just in case.

> Regards,
> Dave.
> ~~
> ~~~|
> Archives:
> http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
> Subscription: http://www.houseoffusion.com/cf_lists/index.
> cfm?method=subscribe&forumid=4
> FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
> This list and all House of Fusion resources hosted by
> CFHosting.com. The place for dependable ColdFusion
> Hosting.

>   Unsubscribe: http://www.houseoffusion.com/cf_lists/uns
>   ubscribe.cfm?user=633.558.4



s. isaac dealey954-776-0046

new epoch  http://www.turnkey.to

lead architect, tapestry cms   http://products.turnkey.to

tapestry api is opensource http://www.turnkey.to/tapi

certified advanced coldfusion 5 developer
http://www.macromedia.com/v1/handlers/index.cfm?ID=21816

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: how to create/manage an ACL

2003-03-12 Thread Dave Watts
> Probably a silly question,

Not at all, if you don't know the answer. Better to ask than not to know!

> But.. how do I create and manage an NT access control 
> list (ACL)? 

The short answer to this is, right-click on a file or directory in Windows
Explorer, select the Security tab, and play around with the options in that
tab screen. Or, from the command line, run cacls (or xcacls if you have the
Resource Kit).

The longer answer requires some reading on your part. Everything in Windows
is protected by ACLs - files, registry keys, DCOM object invocation and so
on. So, before you just go clicking on things, it's a good idea to read
about ACLs and permissions.

The "bible" in the field, in my opinion (slightly dated, given Windows
2000's automatic inheritance), is Stephen Sutton's "Windows NT Security
Guide":
http://www.trustedsystems.com/textbook.htm

Without buying the book, you might start here:
http://www.trustedsystems.com/nt_security.htm

Guides with specific ACL recommendations are available here:
http://www.nsa.gov/snac/index.html

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



how to create/manage an ACL

2003-03-12 Thread Jared Clinton
Dear list,

Probably a silly question,
But.. how do I create and manage an NT access control list (ACL)? 

Thank you in advance,
Jared Clinton.

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Thursday, 13 March 2003 1:24 PM
To: CF-Talk
Subject: RE: NTLM Authentication


> If I enable Basic Authentication for an IIS 5 web site 
> protected by NTFS ACLs, will Internet Explorer still 
> use NTLM to authenticate if its able to? In other words, 
> does enabling Basic Authentication keep IIS from using 
> NTLM, or does it only enable Basic Authentication as 
> fallback method?

It's been my experience that if you enable both, IE will continue to use
NTLM Authentication. I have no idea what happens if you throw Digest
Authentication into the mix, though.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: ListAppend not Appending

2003-03-12 Thread Jim Campbell
You've placed  inside your loop, clearing it out on
each iteration.  Move it outside the  and you're in business.

- Jim

-Original Message-
From: Owens, Howard [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 7:55 PM
To: CF-Talk
Subject: ListAppend not Appending


I hate shit like this ... how many times have I used ListAppend?

But I just can't see why this isn't appending ... each new value is simply
overwriting the first value







list: #itemIDList#



~~
Howard Owens
Internet Operations Coordinator
InsideVC.com/Ventura County Star
[EMAIL PROTECTED]
AIM: GoCatGo1956
~~


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: ListAppend not Appending

2003-03-12 Thread Owens, Howard
I knew it was something stupid ...

Thanks.

H.


> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 6:14 PM
> To:   CF-Talk
> Subject:  Re: ListAppend not Appending
> 
> 
> 
> belongs outside the loop...
> 
> - Original Message -
> From: "Owens, Howard" <[EMAIL PROTECTED]>
> Date: Wednesday, March 12, 2003 6:55 pm
> Subject: ListAppend not Appending
> 
> > I hate shit like this ... how many times have I used ListAppend? 
> > 
> > But I just can't see why this isn't appending ... each new value 
> > is simply
> > overwriting the first value
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > list: #itemIDList#
> > 
> > 
> > 
> > ~~
> > Howard Owens
> > Internet Operations Coordinator
> > InsideVC.com/Ventura County Star
> > [EMAIL PROTECTED]
> > AIM: GoCatGo1956
> > ~~
> > 
> > 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: NTLM Authentication

2003-03-12 Thread Dave Watts
> If I enable Basic Authentication for an IIS 5 web site 
> protected by NTFS ACLs, will Internet Explorer still 
> use NTLM to authenticate if its able to? In other words, 
> does enabling Basic Authentication keep IIS from using 
> NTLM, or does it only enable Basic Authentication as 
> fallback method?

It's been my experience that if you enable both, IE will continue to use
NTLM Authentication. I have no idea what happens if you throw Digest
Authentication into the mix, though.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: ListAppend not Appending

2003-03-12 Thread ksuh


belongs outside the loop...

- Original Message -
From: "Owens, Howard" <[EMAIL PROTECTED]>
Date: Wednesday, March 12, 2003 6:55 pm
Subject: ListAppend not Appending

> I hate shit like this ... how many times have I used ListAppend? 
> 
> But I just can't see why this isn't appending ... each new value 
> is simply
> overwriting the first value
> 
> 
>   
>   
>   
>   
>   
>   list: #itemIDList#
>   
>   
> 
> ~~
> Howard Owens
> Internet Operations Coordinator
> InsideVC.com/Ventura County Star
> [EMAIL PROTECTED]
> AIM: GoCatGo1956
> ~~
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: query of query error -- works on mx bombs on cf 5

2003-03-12 Thread Dave Carabetta
> So I'm guessing that MX is creating the msgid column as a varchar column
and
> it's complaining about "msgid > #attributes.cleared#" ... So does anybody
> know how to set the data type on a query column created using querynew()
in
> MX?

I've had success with this problem by putting putting Val() around the
values to be "cast" as a number. The only thing to be careful about is that
if you have a blank string (i.e., ""), Val() will convert the empty string
to zero. That might not matter in your case, but a warning just in case.

Regards,
Dave.
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



ListAppend not Appending

2003-03-12 Thread Owens, Howard
I hate shit like this ... how many times have I used ListAppend? 

But I just can't see why this isn't appending ... each new value is simply
overwriting the first value







list: #itemIDList#



~~
Howard Owens
Internet Operations Coordinator
InsideVC.com/Ventura County Star
[EMAIL PROTECTED]
AIM: GoCatGo1956
~~

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



sql datasource

2003-03-12 Thread Robert Shaw
Yes, the datsource connects fine in Ctrl Panel, but not in CF. It works if I 
use the SQL server username and pass but not NT, I need to use NT.

>>>
have you tried using the odbc socket choice
to make the dsn connection right to the system dsn already set up
correctly?

...tony

Tony Weeg
Senior Web Developer
UnCertified Advanced ColdFusion Developer
Information System Design
Navtrak, Inc.
Mobile workforce monitoring, mapping & reporting
www.navtrak.net
410.548.2337






~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: query of query error -- works on mx bombs on cf 5

2003-03-12 Thread S . Isaac Dealey
Arrgghh

So I changed the name of the column. ( Thanks Matt :) and now it produces
this error on MX (not on CF5).

Error Executing Database Query.Query Of Queries runtime
error. Unsupported type comparison. The specific sequence of files
included or processed is: C:\CFusionMX\wwwroot\dev\talkontap\index.cfm

So I'm guessing that MX is creating the msgid column as a varchar column and
it's complaining about "msgid > #attributes.cleared#" ... So does anybody
know how to set the data type on a query column created using querynew() in
MX?

> It's the other "from" -- the "OR from =" section. Perhaps
> [from]?


> -Original Message-
> From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 13 March 2003 1:31 p.m.
> To: CF-Talk
> Subject: query of query error -- works on mx bombs on cf 5

> I've got this query of query that's working on CF 5... On
> MX it produces
> this error:

> Error Executing Database Query.Query Of Queries
> syntax error.
> Encountered ""from"" at line 5, column 44. Incorrect
> conditional expression,
> Expected one of [like|null|between|in|comparison]
> condition, The specific
> sequence of files included or processed is:
> C:\CFusionMX\wwwroot\dev\talkontap\index.cfm


> 
>   SELECT nick, message FROM history
>   WHERE msgid > #attributes.cleared# AND
>   ( nick = '' OR nick = '#trim(ucase(attributes.nick))#'
>   OR from = '#trim(ucase(attributes.nick))#' )
> 


> The "specific sequence of files included or processed" is
> incorrect, but
> from the error message saying "Encountered ""from"" at
> line 5" it seems like
> it's complaining about my having a from clause after the
> select list, which,
> last I checked is where a from clause belongs.

> This query is generated manually using querynew(),
> queryaddrow() and
> querysetcell() functions.

> Any suggestions or advice greatly appreciated. I'm stumped
> at the moment. :)


> s. isaac dealey954-776-0046

> new epoch  http://www.turnkey.to

> lead architect, tapestry cms   http://products.turnkey.to

> tapestry api is opensource http://www.turnkey.to/tapi

> certified advanced coldfusion 5 developer
> http://www.macromedia.com/v1/handlers/index.cfm?ID=21816


> ~~
> ~~~|
> Archives:
> http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
> Subscription: http://www.houseoffusion.com/cf_lists/index.
> cfm?method=subscribe&forumid=4
> FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
> Get the mailserver that powers this list at
> http://www.coolfusion.com

>   Unsubscribe: http://www.houseoffusion.com/cf_lists/uns
>   ubscribe.cfm?user=633.558.4



s. isaac dealey954-776-0046

new epoch  http://www.turnkey.to

lead architect, tapestry cms   http://products.turnkey.to

tapestry api is opensource http://www.turnkey.to/tapi

certified advanced coldfusion 5 developer
http://www.macromedia.com/v1/handlers/index.cfm?ID=21816

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: JavaScript form submit -- SOLVED

2003-03-12 Thread Owens, Howard
Well, besides not telling you what the error message was (oops), I realized
after I sent this e-mail that I was missing the necessary hidden form fields
with this particular form.

H.


> -Original Message-
> From: Owens, Howard [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 5:22 PM
> To:   CF-Talk
> Subject:  OT: JavaScript form submit
> 
> OK, I've done this before ... copied previous used script ... but it's not
> work ... maybe somebody will see something I'm not seeing.
> 
> Here's the function:
> 
> function updateSubmit(itemID) {
> 
>   document.cartform.action = "index.cfm";
>   document.cartform.saction.value = "update";
>   document.cartform.CFID.value = "#URL.CFID#";
>   document.cartform.CFTOKEN.value = "#URL.CFTOKEN#";
>   document.cartform.I_ID.value = itemID;
>   document.cartform.submit();
>   
> } 
> 
> 
> Here's the opening form tag:
> 
> 
> 
> 
> Here's the image I want to click for form submission (I have multiple
> images
> for submitting the same form, based on the desired action, so each image
> needs to send its own form variable, just like a submit button would, but
> I've discovered that doesn't work with image buttons on forms, so I'm
> trying
> to fashion a workaround).
> 
> 
>src="update_85x22.gif" alt="" border="0">
> 
> 
> ~~
> Howard Owens
> Internet Operations Coordinator
> InsideVC.com/Ventura County Star
> [EMAIL PROTECTED]
> AIM: GoCatGo1956
> ~~
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: query of query error -- works on mx bombs on cf 5

2003-03-12 Thread Matthew Walker
It's the other "from" -- the "OR from =" section. Perhaps [from]?




-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 13 March 2003 1:31 p.m.
To: CF-Talk
Subject: query of query error -- works on mx bombs on cf 5 

I've got this query of query that's working on CF 5... On MX it produces
this error:

Error Executing Database Query.Query Of Queries syntax error.
Encountered ""from"" at line 5, column 44. Incorrect conditional expression,
Expected one of [like|null|between|in|comparison] condition, The specific
sequence of files included or processed is:
C:\CFusionMX\wwwroot\dev\talkontap\index.cfm



SELECT nick, message FROM history
WHERE msgid > #attributes.cleared# AND
( nick = '' OR nick = '#trim(ucase(attributes.nick))#'
OR from = '#trim(ucase(attributes.nick))#' )



The "specific sequence of files included or processed" is incorrect, but
from the error message saying "Encountered ""from"" at line 5" it seems like
it's complaining about my having a from clause after the select list, which,
last I checked is where a from clause belongs.

This query is generated manually using querynew(), queryaddrow() and
querysetcell() functions.

Any suggestions or advice greatly appreciated. I'm stumped at the moment. :)


s. isaac dealey954-776-0046

new epoch  http://www.turnkey.to

lead architect, tapestry cms   http://products.turnkey.to

tapestry api is opensource http://www.turnkey.to/tapi

certified advanced coldfusion 5 developer
http://www.macromedia.com/v1/handlers/index.cfm?ID=21816


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: CFCs and Web Services

2003-03-12 Thread Dave Carabetta
> First a note about scalability of session variables in CFMX:
>
> With CFMX you can rely on the underlying J2EE session mechanism and use
> session scope variables in CF. macromedia.com uses this approach and
> our peak traffic typically creates about 15,000 active sessions -
> plenty of scalability.

Sean, point of clarification about the above statement. According to your
blog (01/01/2003), if you are using MX for J2EE, you *cannot* use the
underlying J2EE session mechanism if you store CFCs in the session scope and
would like to share the sessions across a cluster because they are
full-blown Java objects.

Assuming I have not misread your blog statement, I think that's an important
disclaimer for those who are looking to use the underlying J2EE session
mechanism on MX for J2EE servers.

Please correct this if I'm wrong.

Regards,
Dave.
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: query of query error -- works on CF 5 bombs on MX

2003-03-12 Thread S . Isaac Dealey
Oooops!! the title of my last post was stricken by some random dyslexia. :)
should read works on CF 5 bombs on MX

> I've got this query of query that's working on CF 5... On
> MX it produces
> this error:

> Error Executing Database Query.Query Of Queries
> syntax error.
> Encountered ""from"" at line 5, column 44. Incorrect
> conditional expression,
> Expected one of [like|null|between|in|comparison]
> condition, The specific
> sequence of files included or processed is:
> C:\CFusionMX\wwwroot\dev\talkontap\index.cfm


> 
>   SELECT nick, message FROM history
>   WHERE msgid > #attributes.cleared# AND
>   ( nick = '' OR nick = '#trim(ucase(attributes.nick))#'
>   OR from = '#trim(ucase(attributes.nick))#' )
> 


> The "specific sequence of files included or processed" is
> incorrect, but
> from the error message saying "Encountered ""from"" at
> line 5" it seems like
> it's complaining about my having a from clause after the
> select list, which,
> last I checked is where a from clause belongs.

> This query is generated manually using querynew(),
> queryaddrow() and
> querysetcell() functions.

> Any suggestions or advice greatly appreciated. I'm stumped
> at the moment. :)


> s. isaac dealey954-776-0046

> new epoch  http://www.turnkey.to

> lead architect, tapestry cms   http://products.turnkey.to

> tapestry api is opensource http://www.turnkey.to/tapi

> certified advanced coldfusion 5 developer
> http://www.macromedia.com/v1/handlers/index.cfm?ID=21816

> ~~
> ~~~|
> Archives:
> http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
> Subscription: http://www.houseoffusion.com/cf_lists/index.
> cfm?method=subscribe&forumid=4
> FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
> Get the mailserver that powers this list at
> http://www.coolfusion.com

>   Unsubscribe: http://www.houseoffusion.com/cf_lists/uns
>   ubscribe.cfm?user=633.558.4



s. isaac dealey954-776-0046

new epoch  http://www.turnkey.to

lead architect, tapestry cms   http://products.turnkey.to

tapestry api is opensource http://www.turnkey.to/tapi

certified advanced coldfusion 5 developer
http://www.macromedia.com/v1/handlers/index.cfm?ID=21816

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



OT: JavaScript form submit

2003-03-12 Thread Owens, Howard
OK, I've done this before ... copied previous used script ... but it's not
work ... maybe somebody will see something I'm not seeing.

Here's the function:

function updateSubmit(itemID) {

document.cartform.action = "index.cfm";
document.cartform.saction.value = "update";
document.cartform.CFID.value = "#URL.CFID#";
document.cartform.CFTOKEN.value = "#URL.CFTOKEN#";
document.cartform.I_ID.value = itemID;
document.cartform.submit();

}   


Here's the opening form tag:




Here's the image I want to click for form submission (I have multiple images
for submitting the same form, based on the desired action, so each image
needs to send its own form variable, just like a submit button would, but
I've discovered that doesn't work with image buttons on forms, so I'm trying
to fashion a workaround).





~~
Howard Owens
Internet Operations Coordinator
InsideVC.com/Ventura County Star
[EMAIL PROTECTED]
AIM: GoCatGo1956
~~

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



query of query error -- works on mx bombs on cf 5

2003-03-12 Thread S . Isaac Dealey
I've got this query of query that's working on CF 5... On MX it produces
this error:

Error Executing Database Query.Query Of Queries syntax error.
Encountered ""from"" at line 5, column 44. Incorrect conditional expression,
Expected one of [like|null|between|in|comparison] condition, The specific
sequence of files included or processed is:
C:\CFusionMX\wwwroot\dev\talkontap\index.cfm



SELECT nick, message FROM history
WHERE msgid > #attributes.cleared# AND
( nick = '' OR nick = '#trim(ucase(attributes.nick))#'
OR from = '#trim(ucase(attributes.nick))#' )



The "specific sequence of files included or processed" is incorrect, but
from the error message saying "Encountered ""from"" at line 5" it seems like
it's complaining about my having a from clause after the select list, which,
last I checked is where a from clause belongs.

This query is generated manually using querynew(), queryaddrow() and
querysetcell() functions.

Any suggestions or advice greatly appreciated. I'm stumped at the moment. :)


s. isaac dealey954-776-0046

new epoch  http://www.turnkey.to

lead architect, tapestry cms   http://products.turnkey.to

tapestry api is opensource http://www.turnkey.to/tapi

certified advanced coldfusion 5 developer
http://www.macromedia.com/v1/handlers/index.cfm?ID=21816

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



FYI: Above and beyond the call of duty

2003-03-12 Thread Tilbrook, Peter
>>

I was on the phone to Mike (long distance) for quite a while - never thought
to tell him to install CFMX as standalone (I'm running it fine with MX).
Once again Dave Watts has saved someone's sanity...

<<

I'm sure you're all pretty well sick of my problem, and to tell the
truth, so am I.   But you'll be glad to know it's finally ended.  Not
solved, but with the amazing help of Dave Watts from CF-TALK, we've made
a workaround and its no longer a problem for me. 

The problem:

Jrun is just not doing what it should.  When I try to get CFMX to
connect to IIs the jrun server (which is definitely running) can't be
found by the gui to connect to it.  Everything I've tried, Chris Kief
has tried, and Dave Watts has tried has failed to make this jrun
connection work.

The Solution:

Last night, for about 4-5 hours, Dave Watts from Figleaf Software
connected to my desktop in a VNC session and we tried one thing after
another.  Or more accurately, he did one thing after another while I
watched.  Dave is an extraordinarily generous man, and apart from the
obvious expert knowledge and problem solving skills that are so familiar
on CF-TALK, he gave up time to help me, and when it got difficult, he
didn't give up.  When I gave him the chance to get out and say "Good
luck" he persisted and kept on helping.  I am very indebted to him and
we are very lucky to have such a person in the ColdFusion community.


The answer was staring me in the face the whole time, and I was too
close to it to see.  IT seems really stupid now, but it was like a light
going on.  Suddenly, in a burst of inspiration, a question arose ... DO
I REALLY NEED TO USE IIs?  I know it seems stupid from this perspective
but it had never occurred to me before that I mightn't need IIs, and it
didn't occur to Dave to ask why I needed IIs.  But I can't think of a
reason why I need it.  

SO the solution:  Don't use IIs.  LOL!!!  Yes, the CFMX web server isn't
as sexy, and can't use WinXP authentication, and to create virtual
directories I have to edit a xml file, but it works fine.  So I'm doing
without IIs, and the problem, while it hasn't gone away, it doesn't
matter any more.

One day I'll rebuild my WinXPPro and I guess I'll have another go at
installing it all then, but in the mean time I'm past the obstacle and
moving on. 

Thanks everyone for their suggestions, help and advice, and for giving a
damn.

Now I'll shut up for a while.


Cheers,
Michael Kear
Windsor, NSW, Australia
AFP Webworks.


**
The information contained in this e-mail, and any attachments to it, is
intended for the use of addressee and is confidential.  If you are not 
the intended recipient, you must not use, disclose, read, forward, copy or
retain any of the information.  If you have received this e-mail in 
error, please delete it and notify the sender by return e-mail or telephone.  
The Commonwealth does not warrant that any attachments are free from 
viruses or any other defects.  You assume all liability for any loss, damage, or 
other consequences which may arise from opening or using the attachments.

**
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: CF talking to a Session Bean

2003-03-12 Thread Sean A Corfield
On Wednesday, Mar 12, 2003, at 06:24 US/Pacific, Michael Hoffman wrote:
> 
> 
>
> 
>
> Error:
>
> Error Occurred While Processing Request
> Variable EJBHOME is undefined.

This says that the result of ictx.lookup() is (Java) null. As far as CF 
is concerned, that indicates the variable (ejbHome) is not defined.

So it sounds like the developers' machines are not able to reference 
the EJB remotely. Time to consult the Java docs and see what it says 
about debugging context lookups.

Sean A Corfield -- http://www.corfield.org/blog/

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

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: CFCs and Web Services

2003-03-12 Thread Sean A Corfield
On Wednesday, Mar 12, 2003, at 06:46 US/Pacific, Daniel Napolitano 
wrote:
> If my aim is not to allow sessions to persist but rather use the client
> variables in order to scale the application. If I can't use client
> variables how would I then scale the web service? Potentially this web
> service will be used by a large number of people.

First a note about scalability of session variables in CFMX:

With CFMX you can rely on the underlying J2EE session mechanism and use 
session scope variables in CF. macromedia.com uses this approach and 
our peak traffic typically creates about 15,000 active sessions - 
plenty of scalability.

Second, the caveat about web services:

Web services calls are typically stateless so you will not have / 
maintain session data because there is not necessarily a uniform way to 
maintain that session on the client. It sounds like you will be 
creating a service that can support all sorts of clients, not just CF? 
Perhaps the approach to take is to have the login / authentication 
method of the web service return some magic token that is then passed 
back in to each subsequent web service call (you may not be able to 
rely on cookies if you are supporting all manner of clients). You could 
then maintain a server-side mapping from the magic token to the user 
details or pseudo-session.

Sean A Corfield -- Director, Architecture
Web Technology Group -- Macromedia, Inc.
tel: (415) 252-2287 -- cell: (415) 717-8473
aim/iChat: seancorfield -- http://www.macromedia.com
An Architect's View -- http://www.macromedia.com/go/arch_blog

Announcing Macromedia DevNet Subscriptions
Maximize your power with our new premium software subscription
Find out more: http://www.macromedia.com/go/devnetsubs

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CF and PhotoShop

2003-03-12 Thread Parker, Kevin
Dreamnweaver uses Action Script based on Java Scripot I believe. Wonder if
Fireworks does the same and if that has option for you.


**
Kevin Parker
Web Services Manager
WorkCover Corporation

e: [EMAIL PROTECTED]
w: www.workcover.com

p:+ 61 8 8233 2548
f: +61 8 8233 2282
m: 0418 806 166
**


-Original Message-
From: Owens, Howard [mailto:[EMAIL PROTECTED]
Sent: Thursday, 13 March 2003 11:28 AM
To: CF-Talk
Subject: RE: CF and PhotoShop


We've hit a brick wall in dealing with IM on this particular server ... the
problem isn't IM, it's GhostScript.  It just refuses to run on this one
machine.

To answer the previous question -- I need to batch convert, automated like,
PDFs to JPGs.  Besides the previous problems with GS, PS is just much more
stable in dealing with PDFs than GS.

Since I sent my e-mail, I've learned that PS is scriptable with JavaScript
on Win, so I'll be looking into that, I guess.

Or the other option is switch the imaging processing to a Mac and use
AppleScript. We're also looking into that.

H.



> -Original Message-
> From: Buckland, Ramon [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 4:34 PM
> To:   CF-Talk
> Subject:  RE: CF and PhotoShop
> 
> Depending on what type of processing you want, 
> you may find the solution in ImageMagick 
> http://www.imagemagick.org/
> 
> There is abit of work done with ImageMagick and ColdFusion tags, just
> google for more info.
> 
> 
> > -Original Message-
> > From: Owens, Howard [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, 13 March 2003 8:35 AM
> > To: CF-Talk
> > Subject: CF and PhotoShop
> > 
> > 
> > Any of you ever scripted CF to run tasks in PhotoShop?  Can 
> > it be done?
> > CFExecute and all that.  On Win2K?
> > 
> > Any pointers on how to do it?
> > 
> > H.
> > 
> > 
> > ~~
> > Howard Owens
> > Internet Operations Coordinator
> > InsideVC.com/Ventura County Star
> > [EMAIL PROTECTED]
> > AIM: GoCatGo1956
> > ~~
> > 
> > 
> 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CF and PhotoShop

2003-03-12 Thread Owens, Howard
We've hit a brick wall in dealing with IM on this particular server ... the
problem isn't IM, it's GhostScript.  It just refuses to run on this one
machine.

To answer the previous question -- I need to batch convert, automated like,
PDFs to JPGs.  Besides the previous problems with GS, PS is just much more
stable in dealing with PDFs than GS.

Since I sent my e-mail, I've learned that PS is scriptable with JavaScript
on Win, so I'll be looking into that, I guess.

Or the other option is switch the imaging processing to a Mac and use
AppleScript. We're also looking into that.

H.



> -Original Message-
> From: Buckland, Ramon [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 4:34 PM
> To:   CF-Talk
> Subject:  RE: CF and PhotoShop
> 
> Depending on what type of processing you want, 
> you may find the solution in ImageMagick 
> http://www.imagemagick.org/
> 
> There is abit of work done with ImageMagick and ColdFusion tags, just
> google for more info.
> 
> 
> > -Original Message-
> > From: Owens, Howard [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, 13 March 2003 8:35 AM
> > To: CF-Talk
> > Subject: CF and PhotoShop
> > 
> > 
> > Any of you ever scripted CF to run tasks in PhotoShop?  Can 
> > it be done?
> > CFExecute and all that.  On Win2K?
> > 
> > Any pointers on how to do it?
> > 
> > H.
> > 
> > 
> > ~~
> > Howard Owens
> > Internet Operations Coordinator
> > InsideVC.com/Ventura County Star
> > [EMAIL PROTECTED]
> > AIM: GoCatGo1956
> > ~~
> > 
> > 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



OT: NTLM Authentication

2003-03-12 Thread Jim McAtee
If I enable Basic Authentication for an IIS 5 web site protected by NTFS ACLs,
will Internet Explorer still use NTLM to authenticate if its able to?  In other
words, does enabling Basic Authentication keep IIS from using NTLM, or does it
only enable Basic Authentication as fallback method?

Jim

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



What's the general approach for a cookie powered splash page?

2003-03-12 Thread Jeff
I was wondering what the general approach would be for doing the following in MX:
1. go to site
2. if cookie exists, go to the main page
3. if cookie doesn't exist, show the "splash" page, with a link to the main page, then 
set the cookie when the link is clicked

Another question I had about functionality was the idea of somehow embedding whether 
or not you've got a name that can be displayed. At some point during the visit, the 
opportunity will present itself with the option of submitting your email address and a 
name. I'd like for the cookie to somehow indicate that the user has been here, signed 
up or submitted their email address, and display their name on the main page. If the 
user has the cookie, but hasn't filled out the form and submitted a name, just display 
a greeting with a link to "sign in" by using their email address. It's not a huge 
security thing, just a real effortless way to incorporate a little feedback and 
interaction, so overwhelming security and obtrusive passwords aren't required really.

First things first though, I was really just wondering what the general approach is to 
doing the simple splash page redirect above in CFMX. Which code to put in the 
index.cfm (the default document for the site) and what code to put on "main_page.cfm" 
(the second page, that would be seen if you had the cookie). I know I'd probably have 
to put the "is there a cookie?" code on all the pages, since there's always the 
possibility of someone bookmarking any of the pages, which makes me think a good 
portion of the code would be placed in Application.cfm in the root of the site. On the 
right track?

Do a lot of people disable cookies as a general rule? Could you try to set a cookie, 
and if it wasn't possible, do a  to a page explaining that "there's 
nothing bad here, but you're gonna need to set cookies in order to fully experience 
the interaction of the site"?
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CF and PhotoShop

2003-03-12 Thread Lee Fuller
dOh!  

| -Original Message-
| From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] 
| Sent: Wednesday, March 12, 2003 4:36 PM
| To: CF-Talk
| Subject: Re: CF and PhotoShop
| 
| 
| i would not even make jokes about corel being better that 
| adobe photoshop... you must live in a bubble in a dark hole 
| and use a mac  :-)
| 
| 
| - Original Message -
| From: "Jim Davis" <[EMAIL PROTECTED]>
| To: "CF-Talk" <[EMAIL PROTECTED]>
| Sent: Wednesday, March 12, 2003 7:32 PM
| Subject: RE: CF and PhotoShop
| 
| 
| > The CorelDRAW! suite of applications is accessible via COM VBA - 
| > perhaps something could be done with that?
| >
| > Besides - everybody knows that Corel is better anyways. ;^)
| >
| > Jim Davis
| >
| > > -Original Message-
| > > From: Pablo Varando [mailto:[EMAIL PROTECTED]
| > > Sent: Wednesday, March 12, 2003 7:23 PM
| > > To: CF-Talk
| > > Subject: Re: CF and PhotoShop
| > >
| > >
| > > More then likely he's trying to generate images on the fly...
| > >
| > > The only way I could even imagine achieving this would be to see 
| > > what type (if any) of COM connections Photoshop has. I 
| use Photoshop 
| > > extensively, but have never really tried to integrate the two.
| > >
| > > The best thing you can do is to download the OLEView
| > > application: http://www.microsoft.com/com/resources/OVI386.EXE
| > >
| > > and install it on the machine that had Photoshop, then see if 
| > > Photoshop has COM connections available.. (Not even sure 
| it does, or 
| > > that it will allow you to do anything useful..)
| > >
| > > If you are not familiar with COM, check out this basic
| > > tutorial: http://www.cfcomet.com/general_COM/OLEView/
| > >
| > > Good luck :)
| > > Pablo
| > >
| > > - Original Message -
| > > From: "Michael T. Tangorre" <[EMAIL PROTECTED]>
| > > To: "CF-Talk" <[EMAIL PROTECTED]>
| > > Sent: Wednesday, March 12, 2003 6:17 PM
| > > Subject: Re: CF and PhotoShop
| > >
| > >
| > > > can i ask why you would want to do this?
| > > >
| > > > - Original Message -
| > > > From: "Owens, Howard" <[EMAIL PROTECTED]>
| > > > To: "CF-Talk" <[EMAIL PROTECTED]>
| > > > Sent: Wednesday, March 12, 2003 4:34 PM
| > > > Subject: CF and PhotoShop
| > > >
| > > >
| > > > > Any of you ever scripted CF to run tasks in 
| PhotoShop?  Can it 
| > > > > be done? CFExecute and all that.  On Win2K?
| > > > >
| > > > > Any pointers on how to do it?
| > > > >
| > > > > H.
| > > > >
| > > > >
| > > > > ~~
| > > > > Howard Owens
| > > > > Internet Operations Coordinator
| > > > > InsideVC.com/Ventura County Star
| > > > > [EMAIL PROTECTED]
| > > > > AIM: GoCatGo1956 
| > > > > ~~
| > > > >
| > > > >
| > > >
| > >
| > 
| 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CF and PhotoShop

2003-03-12 Thread Buckland, Ramon
Depending on what type of processing you want, 
you may find the solution in ImageMagick 
http://www.imagemagick.org/

There is abit of work done with ImageMagick and ColdFusion tags, just
google for more info.


> -Original Message-
> From: Owens, Howard [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 13 March 2003 8:35 AM
> To: CF-Talk
> Subject: CF and PhotoShop
> 
> 
> Any of you ever scripted CF to run tasks in PhotoShop?  Can 
> it be done?
> CFExecute and all that.  On Win2K?
> 
> Any pointers on how to do it?
> 
> H.
> 
> 
> ~~
> Howard Owens
> Internet Operations Coordinator
> InsideVC.com/Ventura County Star
> [EMAIL PROTECTED]
> AIM: GoCatGo1956
> ~~
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: CF and PhotoShop

2003-03-12 Thread Michael T. Tangorre
i would not even make jokes about corel being better that adobe photoshop...
you must live in a bubble in a dark hole and use a mac  :-)


- Original Message -
From: "Jim Davis" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 7:32 PM
Subject: RE: CF and PhotoShop


> The CorelDRAW! suite of applications is accessible via COM VBA - perhaps
> something could be done with that?
>
> Besides - everybody knows that Corel is better anyways. ;^)
>
> Jim Davis
>
> > -Original Message-
> > From: Pablo Varando [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 12, 2003 7:23 PM
> > To: CF-Talk
> > Subject: Re: CF and PhotoShop
> >
> >
> > More then likely he's trying to generate images on the fly...
> >
> > The only way I could even imagine achieving this would be to
> > see what type (if any) of COM connections Photoshop has. I
> > use Photoshop extensively, but have never really tried to
> > integrate the two.
> >
> > The best thing you can do is to download the OLEView
> > application: http://www.microsoft.com/com/resources/OVI386.EXE
> >
> > and install it on the machine that had Photoshop, then see if
> > Photoshop has COM connections available.. (Not even sure it
> > does, or that it will allow you to do anything useful..)
> >
> > If you are not familiar with COM, check out this basic
> > tutorial: http://www.cfcomet.com/general_COM/OLEView/
> >
> > Good luck :)
> > Pablo
> >
> > - Original Message -
> > From: "Michael T. Tangorre" <[EMAIL PROTECTED]>
> > To: "CF-Talk" <[EMAIL PROTECTED]>
> > Sent: Wednesday, March 12, 2003 6:17 PM
> > Subject: Re: CF and PhotoShop
> >
> >
> > > can i ask why you would want to do this?
> > >
> > > - Original Message -
> > > From: "Owens, Howard" <[EMAIL PROTECTED]>
> > > To: "CF-Talk" <[EMAIL PROTECTED]>
> > > Sent: Wednesday, March 12, 2003 4:34 PM
> > > Subject: CF and PhotoShop
> > >
> > >
> > > > Any of you ever scripted CF to run tasks in PhotoShop?  Can it be
> > > > done? CFExecute and all that.  On Win2K?
> > > >
> > > > Any pointers on how to do it?
> > > >
> > > > H.
> > > >
> > > >
> > > > ~~
> > > > Howard Owens
> > > > Internet Operations Coordinator
> > > > InsideVC.com/Ventura County Star
> > > > [EMAIL PROTECTED]
> > > > AIM: GoCatGo1956
> > > > ~~
> > > >
> > > >
> > >
> >
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CF and PhotoShop

2003-03-12 Thread Jim Davis
The CorelDRAW! suite of applications is accessible via COM VBA - perhaps
something could be done with that?

Besides - everybody knows that Corel is better anyways. ;^)

Jim Davis

> -Original Message-
> From: Pablo Varando [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 12, 2003 7:23 PM
> To: CF-Talk
> Subject: Re: CF and PhotoShop
> 
> 
> More then likely he's trying to generate images on the fly...
> 
> The only way I could even imagine achieving this would be to 
> see what type (if any) of COM connections Photoshop has. I 
> use Photoshop extensively, but have never really tried to 
> integrate the two.
> 
> The best thing you can do is to download the OLEView 
> application: http://www.microsoft.com/com/resources/OVI386.EXE
> 
> and install it on the machine that had Photoshop, then see if 
> Photoshop has COM connections available.. (Not even sure it 
> does, or that it will allow you to do anything useful..)
> 
> If you are not familiar with COM, check out this basic 
> tutorial: http://www.cfcomet.com/general_COM/OLEView/
> 
> Good luck :)
> Pablo
> 
> - Original Message -
> From: "Michael T. Tangorre" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 12, 2003 6:17 PM
> Subject: Re: CF and PhotoShop
> 
> 
> > can i ask why you would want to do this?
> >
> > - Original Message -
> > From: "Owens, Howard" <[EMAIL PROTECTED]>
> > To: "CF-Talk" <[EMAIL PROTECTED]>
> > Sent: Wednesday, March 12, 2003 4:34 PM
> > Subject: CF and PhotoShop
> >
> >
> > > Any of you ever scripted CF to run tasks in PhotoShop?  Can it be 
> > > done? CFExecute and all that.  On Win2K?
> > >
> > > Any pointers on how to do it?
> > >
> > > H.
> > >
> > >
> > > ~~
> > > Howard Owens
> > > Internet Operations Coordinator
> > > InsideVC.com/Ventura County Star
> > > [EMAIL PROTECTED]
> > > AIM: GoCatGo1956 
> > > ~~
> > >
> > >
> > 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



CFX for CFMX

2003-03-12 Thread Daniel Napolitano
Hi

I am having a problem with the CFMX implementation of C++ CFXs.

The CFX is not retained in memory even though I have ticked that option
in the CF MX Administrator.

In order to make sure this was the case I created a simple CFX that
initialises a variable in memory to 0. On subsequent calls the CFX
increments that variable. On each call it returns the number to CF. 

Now if the CFX was in memory you would see the number going up - this
works in CF5 with the same CFX but in CFMX it doesn't appear to work at
all, the number initialises and returns 0 on each call.

Is this a known issue? Are other people experiencing this too?

I have tried checking on the MM forums and site but can find nothing
relating to this. I've updated my CF MX server with updater 2.

Thanks

Daniel
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Presentation on March 27, 2003 in San Antonio

2003-03-12 Thread samcfug
| It is my pleasure to announce a presentation of IVIS Blueprint, the
application
| framework for ColdFusion.
| Product details may be reviewed at: http://www.ivis.com/products/blueprint.cfm
|
| The location will be in Room 120 (auditorium) of the Visual Arts and
Technology
| building, on the beautiful campus of San Antonio College, in San Antonio,
Texas.
| Directions and location maps may be found on our group web site at
| http://samcfug.org.
|
| Who should attend:   Anyone interested in or actually developing ColdFusion
web
| applications, regardless of experience or skill level.
|
| Now that we have installed our new dedicated Server, we will be able to
| broadcast this presentation via Flashcom starting at 7:00 PM Central Time.
This
| installation ended a seven month saga attempting install of the FCS software
on
| a shared (multi-homed) server on which the default web site was NOT activated.
| By going to the dedicated (single-homed) server, the installation and set up
| took approximately 20 minutes to get up and running.
|
| Connectivity to the server from the presentation location will be via an OC3
| connection, and from Server to client a T-1 connection.
|
| A big thank you to Michael Dinowitz (HouseofFusion) for his assistance and
tips
| in creating the flash app for the front end.
|
| Due to the limited connections on our FCS license, we will publish the URL and
| password to join in this exiting presentation to those who RSVP on a first
come,
| first serve basis.  Group members will receive priority.
|
| One full copy of the software will be raffled off to meeting attendees, and
| another copy will be raffled off to a Flashcom participant.  Each is a
$1499.00
| value.
|
| Refreshments (Southern Fried Chicken, all you can eat) will be served.
| =
| Douglas White
| group Manager
| mailto:[EMAIL PROTECTED]
| http://www.samcfug.org
| =
| |
|

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



objects in application memory

2003-03-12 Thread Buckland, Ramon
 
We have an application which uses an object in
generating page output every request.
 
eg: cfset somevar = myobj.function(param1, param2, param3)
 
I have rewritten it just now as a CFC (originally Java)
and plan to invoke it via CFObject. 
 
It is generally called upon about 5 times within a page request
to do some processing 
 
My question is,
 
We will be calling it within the application.cfm 
so should it be 
 
1) invoked once and loaded into application memory
2) invoked once per session and saved into session memory
3) invoke and use each page request 
 
Just wondering if using / storing an object in memory vs invkoing it upon each request
has benfits. Dos MX do object caching behind the scenes?
Im am assuming depending on Java vs some other type of object .. it should be done 
differently?
Does anyone have any war scars in this area ?
 
What if the CFC was instead a Java Object ?
(the current 4.5 site is a Java Object, thread safe and invoked each request)
(3 years ago, it was written as a singleton class but CF4.5 didn't like that / didn't
seem to work that way so we just made it thread safe.)
 
I know this is broad as Im scoping avenues for the MX way :-)
 
cheers
Ramon
 
 
 

- NOTICE -

This message may contain confidential, proprietary or legally privileged 
information and is intended only for the use of the addressee named above.
No confidentiality or privilege is waived or lost by any mistransmission.
If you are not the intended recipient of this message you are hereby 
notified that you must not use, disseminate, copy it in any form or take
any action in reliance on it.  If you have received this message in error
please delete it and any copies of it and notify CREDIT SUISSE ASSET MANAGEMENT
immediately.

Any views expressed in this message are those of the individual sender, 
except where the message specifically states otherwise and the sender is 
authorized to state them to be the views of CREDIT SUISSE ASSET MANAGEMENT.

CREDIT SUISSE GROUP, CREDIT SUISSE FIRST BOSTON, and each legal entity in
the CREDIT SUISSE FIRST BOSTON or CREDIT SUISSE ASSET MANAGEMENT  business
units of CREDIT SUISSE FIRST BOSTON reserve the right to monitor all e-mail
communications through its networks.



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: CF and PhotoShop

2003-03-12 Thread Pablo Varando
More then likely he's trying to generate images on the fly...

The only way I could even imagine achieving this would be to see what type
(if any) of COM connections Photoshop has. I use Photoshop extensively, but
have never really tried to integrate the two.

The best thing you can do is to download the OLEView application:
http://www.microsoft.com/com/resources/OVI386.EXE

and install it on the machine that had Photoshop, then see if Photoshop has
COM connections available.. (Not even sure it does, or that it will allow
you to do anything useful..)

If you are not familiar with COM, check out this basic tutorial:
http://www.cfcomet.com/general_COM/OLEView/

Good luck :)
Pablo

- Original Message -
From: "Michael T. Tangorre" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 6:17 PM
Subject: Re: CF and PhotoShop


> can i ask why you would want to do this?
>
> - Original Message -
> From: "Owens, Howard" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 12, 2003 4:34 PM
> Subject: CF and PhotoShop
>
>
> > Any of you ever scripted CF to run tasks in PhotoShop?  Can it be done?
> > CFExecute and all that.  On Win2K?
> >
> > Any pointers on how to do it?
> >
> > H.
> >
> >
> > ~~
> > Howard Owens
> > Internet Operations Coordinator
> > InsideVC.com/Ventura County Star
> > [EMAIL PROTECTED]
> > AIM: GoCatGo1956
> > ~~
> >
> >
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: CF and PhotoShop

2003-03-12 Thread Michael T. Tangorre
can i ask why you would want to do this?

- Original Message -
From: "Owens, Howard" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 4:34 PM
Subject: CF and PhotoShop


> Any of you ever scripted CF to run tasks in PhotoShop?  Can it be done?
> CFExecute and all that.  On Win2K?
>
> Any pointers on how to do it?
>
> H.
>
>
> ~~
> Howard Owens
> Internet Operations Coordinator
> InsideVC.com/Ventura County Star
> [EMAIL PROTECTED]
> AIM: GoCatGo1956
> ~~
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Easy Len ?

2003-03-12 Thread Ben Doom
If you  or  it it shows up as a string?  What does it say?

Um...  time for me to book.  Will be happy to continue this tommorrow.


--  Ben Doom
Programmer & General Lackey
Moonbow Software, Inc

: -Original Message-
: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
: Sent: Wednesday, March 12, 2003 5:58 PM
: To: CF-Talk
: Subject: RE: Easy Len ?
:
:
: Yes.. .20
:
: It the other variable I made doing the Len() that it shows as a
: string, and
: not a number...so what in the world, I guess?  :-)
:
: Regards,
:
: Eric J. Hoffman
: DataStream Connexion
: www.datastreamconnexion.com
:
:
:
: -Original Message-
: From: Ben Doom [mailto:[EMAIL PROTECTED]
: Sent: Wednesday, March 12, 2003 4:46 PM
: To: CF-Talk
: Subject: RE: Easy Len ?
:
:
:
: Are you sure that variables.Value is a number?
:
:
: --  Ben Doom
: Programmer & General Lackey
: Moonbow Software, Inc
:
: : -Original Message-
: : From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
: : Sent: Wednesday, March 12, 2003 5:17 PM
: : To: CF-Talk
: : Subject: RE: Easy Len ?
: :
: :
: : Am I really losing my mind?  I enter this is a test in the text area and
: : submitthis is the processing code:
: :
: : 
: : 
: : 
: : 
: :
: : Yields:
: :
: : Error.
: : Cannot convert this is a test to number.
: :
: : Like Len is not returning the number, but the string itself.
: Oh, time for
: : more red bull.
: :
: : Regards,
: :
: : Eric J. Hoffman
: : DataStream Connexion
: : www.datastreamconnexion.com
: :
: :
: :
: : -Original Message-
: : From: Justin Scott [mailto:[EMAIL PROTECTED]
: : Sent: Wednesday, March 12, 2003 3:55 PM
: : To: CF-Talk
: : Subject: Re: Easy Len ?
: :
: :
: :
: : You can use this to get the length of a string, minus spaces..
: :
: : 
: :
: : -Justin Scott
: :
: :
: : - Original Message -
: : From: <[EMAIL PROTECTED]>
: : To: "CF-Talk" <[EMAIL PROTECTED]>
: : Sent: Wednesday, March 12, 2003 4:31 PM
: : Subject: Easy Len ?
: :
: :
: : > What is the best way to actually count the number of characters
: : > entered in
: : a
: : > checkbox, but not spaces?  Would I use a regex of some sort, then
: : > count
: : that
: : > result?
: : >
: : > Thanks for any pointers.
: : >
: : > Regards,
: : >
: : > Eric J. Hoffman
: : > DataStream Connexion
: : > www.datastreamconnexion.com
: : >
: : >
: : >
: : >
: : >
: :
: :
:
: 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Com and CFMX

2003-03-12 Thread Frank Mamone
It helped in the senses that before the updater the COM was totally
unusable. Now it's somewhat usable. Bottom line is that it's not totally
fixed yet.

- Original Message -
From: "Robert Bailey" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 3:51 PM
Subject: RE: Com and CFMX


> even the updater did not help the server, ugh
>
> Thanks!
> Robert Bailey
> Famous for nothing
>
>
> -Original Message-
> From: Frank Mamone [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 3:54 PM
> To: CF-Talk
> Subject: Re: Com and CFMX
>
>
> Updater 2 fixed alot of issues but there's still one for me where it
doesn't
> release the object from memory for a few seconds. Not a real issue if your
> object is multi-threaded but a problem for me as the object I'm using  is
> not. So ASP it is for the COM stuff.
>
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 12, 2003 3:39 PM
> Subject: RE: Com and CFMX
>
>
> > there is info on this in the known issues lists at macromedia.com
> >
> > D
> >
> > >-Original Message-
> > >From: Robert Bailey [mailto:[EMAIL PROTECTED]
> > >Sent: Wednesday, March 12, 2003 3:12 PM
> > >To: CF-Talk
> > >Subject: Com and CFMX
> > >
> > >
> > >So running the same scripts under CFMX and CF5 server, they do not work
> > >under CFMX. So I am guessing the CFMX is having some problems
> > >communicating
> > >with com objects. Any work arounds or has MM addressed this issue? Any
> > >pointers would be very welcomed, as I really need to be able
> > >to work with
> > >com objects within CFMX and it is a little disappointing that
> > >I am unable to
> > >:(
> > >
> > >Thanks!
> > >Robert Bailey
> > >Famous for nothing
> > >
> > >
> > >
> >
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Easy Len ?

2003-03-12 Thread webmaster
Yes.. .20

It the other variable I made doing the Len() that it shows as a string, and
not a number...so what in the world, I guess?  :-)

Regards,

Eric J. Hoffman
DataStream Connexion
www.datastreamconnexion.com



-Original Message-
From: Ben Doom [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2003 4:46 PM
To: CF-Talk
Subject: RE: Easy Len ? 



Are you sure that variables.Value is a number?


--  Ben Doom
Programmer & General Lackey
Moonbow Software, Inc

: -Original Message-
: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
: Sent: Wednesday, March 12, 2003 5:17 PM
: To: CF-Talk
: Subject: RE: Easy Len ?
:
:
: Am I really losing my mind?  I enter this is a test in the text area and
: submitthis is the processing code:
:
: 
:   
:   
: 
:
: Yields:
:
: Error.
: Cannot convert this is a test to number.
:
: Like Len is not returning the number, but the string itself.  Oh, time for
: more red bull.
:
: Regards,
:
: Eric J. Hoffman
: DataStream Connexion
: www.datastreamconnexion.com
:
:
:
: -Original Message-
: From: Justin Scott [mailto:[EMAIL PROTECTED]
: Sent: Wednesday, March 12, 2003 3:55 PM
: To: CF-Talk
: Subject: Re: Easy Len ?
:
:
:
: You can use this to get the length of a string, minus spaces..
:
: 
:
: -Justin Scott
:
:
: - Original Message -
: From: <[EMAIL PROTECTED]>
: To: "CF-Talk" <[EMAIL PROTECTED]>
: Sent: Wednesday, March 12, 2003 4:31 PM
: Subject: Easy Len ?
:
:
: > What is the best way to actually count the number of characters
: > entered in
: a
: > checkbox, but not spaces?  Would I use a regex of some sort, then
: > count
: that
: > result?
: >
: > Thanks for any pointers.
: >
: > Regards,
: >
: > Eric J. Hoffman
: > DataStream Connexion
: > www.datastreamconnexion.com
: >
: >
: >
: >
: >
:
: 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Easy Len ?

2003-03-12 Thread Ben Doom
Are you sure that variables.Value is a number?


--  Ben Doom
Programmer & General Lackey
Moonbow Software, Inc

: -Original Message-
: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
: Sent: Wednesday, March 12, 2003 5:17 PM
: To: CF-Talk
: Subject: RE: Easy Len ?
:
:
: Am I really losing my mind?  I enter this is a test in the text area and
: submitthis is the processing code:
:
: 
:   
:   
: 
:
: Yields:
:
: Error.
: Cannot convert this is a test to number.
:
: Like Len is not returning the number, but the string itself.  Oh, time for
: more red bull.
:
: Regards,
:
: Eric J. Hoffman
: DataStream Connexion
: www.datastreamconnexion.com
:
:
:
: -Original Message-
: From: Justin Scott [mailto:[EMAIL PROTECTED]
: Sent: Wednesday, March 12, 2003 3:55 PM
: To: CF-Talk
: Subject: Re: Easy Len ?
:
:
:
: You can use this to get the length of a string, minus spaces..
:
: 
:
: -Justin Scott
:
:
: - Original Message -
: From: <[EMAIL PROTECTED]>
: To: "CF-Talk" <[EMAIL PROTECTED]>
: Sent: Wednesday, March 12, 2003 4:31 PM
: Subject: Easy Len ?
:
:
: > What is the best way to actually count the number of characters
: > entered in
: a
: > checkbox, but not spaces?  Would I use a regex of some sort, then
: > count
: that
: > result?
: >
: > Thanks for any pointers.
: >
: > Regards,
: >
: > Eric J. Hoffman
: > DataStream Connexion
: > www.datastreamconnexion.com
: >
: >
: >
: >
: >
:
: 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Easy Len ?

2003-03-12 Thread Chris Edwards
checkboxes will not be initialized if you don't have them checked...
--
Chris Edwards
Web Application Developer
Outer Banks Internet, Inc.
252-441-6698
[EMAIL PROTECTED]
http://www.OuterBanksInternet.com

- Original Message -
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 5:17 PM
Subject: RE: Easy Len ?


> Am I really losing my mind?  I enter this is a test in the text area and
> submitthis is the processing code:
>
> 
> 
> 
> 
>
> Yields:
>
> Error.
> Cannot convert this is a test to number.
>
> Like Len is not returning the number, but the string itself.  Oh, time for
> more red bull.
>
> Regards,
>
> Eric J. Hoffman
> DataStream Connexion
> www.datastreamconnexion.com
>
>
>
> -Original Message-
> From: Justin Scott [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 3:55 PM
> To: CF-Talk
> Subject: Re: Easy Len ?
>
>
>
> You can use this to get the length of a string, minus spaces..
>
> 
>
> -Justin Scott
>
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 12, 2003 4:31 PM
> Subject: Easy Len ?
>
>
> > What is the best way to actually count the number of characters
> > entered in
> a
> > checkbox, but not spaces?  Would I use a regex of some sort, then
> > count
> that
> > result?
> >
> > Thanks for any pointers.
> >
> > Regards,
> >
> > Eric J. Hoffman
> > DataStream Connexion
> > www.datastreamconnexion.com
> >
> >
> >
> >
> >
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Apache 2.0.44 and CFMX Server HELP!!

2003-03-12 Thread Benoit Hediard
Hi Juan,

I just installed CFMX + Apache 2.0.44 on Windows 2000 Server yesterday.
It worked fine.
(I've also installed Jrun4 SP1a + CFMX for J2EE + Apache 2.0.44 on WinXP
Home, it also worked fine)

Steps :
- install CFMX with the default integrated web server,
- check your CFMX installation (access CF Administrator),
- run the updater 2,
- install Apache 2,
- check you Apache installation (access the default index.html page),
- edit c:\CFusionMX\bin\connectors\Apache_connector.bat and change
"..\program files\apache group\apache\.." to "..\program files\apache
group\apache2\.."
- run the Apache_connector.bat file,
- check your CFMX installation with a test.cfm page in Apache htdocs.

It should work...

If you need to remove any connectors (IIS or Apache), you can run
Remove_ALL_connectors.bat.

Good luck.

Benoit Hediard
www.benorama.com

PS : FYI, the .bat file should add the following lines in your httpd.conf

# JRun Settings
LoadModule jrun_module "C:/CFusionMX/runtime/lib/wsconfig/1/mod_jrun20.so"

JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap true
JRunConfig Serverstore
"C:/CFusionMX/runtime/lib/wsconfig/1/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51010
#JRunConfig Errorurl 
AddHandler jrun-handler .cfm .cfc .cfml .jsp .jws


> -Message d'origine-
> De : Juan Nava [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 12 mars 2003 22:19
> À : CF-Talk
> Objet : RE: Apache 2.0.44 and CFMX Server HELP!!
>
>
> Ok.  I reinstalled everything.  Apache ran fine.  I
> installed CFMX and the updater, and configured Apache
> for CFMX.  Apache still wont start.  Same problem with
> module compatibility.
> :(
>
> --- Lincoln Milner <[EMAIL PROTECTED]> wrote:
> >
> http://www.macromedia.com/software/coldfusion/special/updater/faq/
> >
> > -Original Message-
> > From: Juan Nava [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 12, 2003 3:25 PM
> > To: CF-Talk
> > Subject: RE: Apache 2.0.44 and CFMX Server HELP!!
> >
> >
> > Do you have a link for that?  I havent been able to
> > find it.
> >
> > --- Lincoln Milner <[EMAIL PROTECTED]> wrote:
> > > Do you have Updater 2 installed?  You need that to
> > > work with the newer versions (i.e., after 2.0.40)
> > of
> > > Apache...
> > >
> > > -lincoln
> > >
> > > -Original Message-
> > > From: Juan Nava [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, March 12, 2003 3:11 PM
> > > To: CF-Talk
> > > Subject: Apache 2.0.44 and CFMX Server HELP!!
> > >
> > >
> > > Hello all.  Has anyone successfully installed CFMX
> > > on
> > > Apache 2.0.44??  Apache wont start after
> > configuring
> > > it for CFMX.  It says "the mod_jrun20 file is not
> > > compatible with this version of Apache".  Any
> > > suggestions???  Thank you very much in advance.
> > > --Juan
> > >
> > > __
> > > Do you Yahoo!?
> > > Yahoo! Web Hosting - establish your business
> > online
> > > http://webhosting.yahoo.com
> > >
> > >
> >
> >
> >
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: XPath in CFMX

2003-03-12 Thread Dave Carabetta
>Crimson looks like it's been killed.
>
>Xerces is a parser.  Xalan is a transformation engine.

Yes, Crimson was rolled into Xerces 2 in the late fall some time. It is a 
hibernated project right now, which is to say that it's no longer being 
actively developed.

Look into Xerces 2.

Regards,
Dave.


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Easy Len ?

2003-03-12 Thread webmaster
Am I really losing my mind?  I enter this is a test in the text area and
submitthis is the processing code:






Yields:

Error.
Cannot convert this is a test to number.

Like Len is not returning the number, but the string itself.  Oh, time for
more red bull.

Regards,

Eric J. Hoffman
DataStream Connexion
www.datastreamconnexion.com



-Original Message-
From: Justin Scott [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2003 3:55 PM
To: CF-Talk
Subject: Re: Easy Len ?



You can use this to get the length of a string, minus spaces..



-Justin Scott


- Original Message -
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 4:31 PM
Subject: Easy Len ?


> What is the best way to actually count the number of characters 
> entered in
a
> checkbox, but not spaces?  Would I use a regex of some sort, then 
> count
that
> result?
>
> Thanks for any pointers.
>
> Regards,
>
> Eric J. Hoffman
> DataStream Connexion
> www.datastreamconnexion.com
>
>
>
>
> 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



second set of eyes needed

2003-03-12 Thread Jeff Beer
I think I'm doing this correctly.  I want to see duplicate values in a
table where a foreign key is different.  

SELECT A.EM
FROM   mgs A INNER JOIN
   mgs B ON 
A.EM = B.EM
WHERE (A.m_id = 52) AND 
(B.m_id = 59)

Does this look correct?

TIA!

Jeff

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Easy Len ?

2003-03-12 Thread Jerry Johnson
Spaces are often considered characters for such totals.

Do you want to get rid of all spaces?
Do you only want to get rid of big huge swaths of spaces that throw such totals off?

Do you need to get rid of all non viewable characters?
Do you need to get rid of anything that is not numbers or letters?

If the first, it looks Matthew's solution is the simplest.

If you need something more complex, try to describe what you are shooting for (why you 
want the spaces gone) and Ben Doom or I will see about a regex that could possibly 
help.

What version of CF? How long is the biggest possible text string?

Jerry Johnson

>>> [EMAIL PROTECTED] 03/12/03 05:00PM >>>
Sorry, it's a textarea...need to find out how many actual characters were
entered...

Regards,

Eric J. Hoffman
DataStream Connexion
www.datastreamconnexion.com 



-Original Message-
From: Matthew Walker [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2003 3:47 PM
To: CF-Talk
Subject: RE: Easy Len ?



Characters in a checkbox? What do you mean? Aside from that...
len(replace(form.field, " ", ""))

Or do you only mean leading and trailing space?
len(trim(form.field))

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 13 March 2003 9:32 a.m.
To: CF-Talk
Subject: Easy Len ?

What is the best way to actually count the number of characters entered in a
checkbox, but not spaces?  Would I use a regex of some sort, then count that
result?

Thanks for any pointers.

Regards,

Eric J. Hoffman
DataStream Connexion
www.datastreamconnexion.com 







~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Easy Len ?

2003-03-12 Thread Ben Doom
If you need to find the count of non-whitespace chars in it, you can use
len(rereplace(text, "[[:space:]]", "", "all"));


--  Ben Doom
Programmer & General Lackey
Moonbow Software, Inc

: -Original Message-
: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
: Sent: Wednesday, March 12, 2003 5:00 PM
: To: CF-Talk
: Subject: RE: Easy Len ?
:
:
: Sorry, it's a textarea...need to find out how many actual characters were
: entered...
:
: Regards,
:
: Eric J. Hoffman
: DataStream Connexion
: www.datastreamconnexion.com
:
:
:
: -Original Message-
: From: Matthew Walker [mailto:[EMAIL PROTECTED]
: Sent: Wednesday, March 12, 2003 3:47 PM
: To: CF-Talk
: Subject: RE: Easy Len ?
:
:
:
: Characters in a checkbox? What do you mean? Aside from that...
: len(replace(form.field, " ", ""))
:
: Or do you only mean leading and trailing space?
: len(trim(form.field))
:
: -Original Message-
: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
: Sent: Thursday, 13 March 2003 9:32 a.m.
: To: CF-Talk
: Subject: Easy Len ?
:
: What is the best way to actually count the number of characters
: entered in a
: checkbox, but not spaces?  Would I use a regex of some sort, then
: count that
: result?
:
: Thanks for any pointers.
:
: Regards,
:
: Eric J. Hoffman
: DataStream Connexion
: www.datastreamconnexion.com
:
:
:
:
:
:
: 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Easy Len ?

2003-03-12 Thread Matthew Walker
> If the first, it looks Matthew's solution is the simplest.

Except I stupidly left out the "all" attribute on the end ;-)



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Easy Len ?

2003-03-12 Thread webmaster
Got it...talk about fogettting to start at the easiest answer and going
forward!





-Original Message-
From: Clint [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2003 3:52 PM
To: CF-Talk
Subject: Re: Easy Len ?



why not remove the spaces in the string and then use len to calculate the
length?

Clint

- Original Message -
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 3:31 PM
Subject: Easy Len ?


> What is the best way to actually count the number of characters 
> entered in
a
> checkbox, but not spaces?  Would I use a regex of some sort, then 
> count
that
> result?
>
> Thanks for any pointers.
>
> Regards,
>
> Eric J. Hoffman
> DataStream Connexion
> www.datastreamconnexion.com
>
>
>
>
> 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: XPath in CFMX

2003-03-12 Thread Mueller, Ben
>Uh, "//[EMAIL PROTECTED]" and "//rule/@name" aren't
>equivalent XPATH expressions. 

 Understood.  But I think the previous poster was suggesting that, as
a workaround for this problem, you could, using something like a regular
expression replace, change the second Xpath call into the first call, then
use the XmlAttributes method on the returned XML object.


>I suspect what is happening is that when you do a
>cfdump, only the content of the node is displayed.
>Technically, the content of an element node is all the
>"text" between its enclosing tags (ignoring its
>attributes), whereas the content of an attribute node
>is nothing (but it has a value of "firstRule"). Or, in
>XSL terms, you're expecting  behavior
>while xmlsearch is exhibiting  behavior.

Are you suggesting that the value I'm after is somewhere in the returned
object, but cfdump doesn't know how to handle it, or that XmlSearch isn't
returning it at all.  If it's the former, then I'd love to know how to
access that information.
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Easy Len ?

2003-03-12 Thread Jim McAtee
The following should count non-whitespace characaters in a string:



Jim


- Original Message - 
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 2:31 PM
Subject: Easy Len ?


> What is the best way to actually count the number of characters entered in a
> checkbox, but not spaces?  Would I use a regex of some sort, then count that
> result?
> 
> Thanks for any pointers.
> 
> Regards,
> 
> Eric J. Hoffman
> DataStream Connexion
> www.datastreamconnexion.com

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: RE: XPath in CFMX

2003-03-12 Thread ksuh
Crimson looks like it's been killed.

Xerces is a parser.  Xalan is a transformation engine.

- Original Message -
From: Barney Boisvert <[EMAIL PROTECTED]>
Date: Wednesday, March 12, 2003 2:41 pm
Subject: RE: XPath in CFMX

> I'd use one of the packages from Apache, depending on your 
> specific need(s)
> 
>   http://xml.apache.org
> 
> Xerces and Xalan are the major ones of interest, and Crimson might 
> be worth
> a look.  I've not heard much about Crimson, so I don't know if 
> it's a newly
> aquired project, or just always been overshadowed by Xerces.
> 
> > -Original Message-
> > From: Alexander Sherwood [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 12, 2003 1:04 PM
> > To: CF-Talk
> > Subject: RE: XPath in CFMX
> >
> >
> > At 02:43 PM 3/12/2003 -0600, you wrote:
> >
> > >Yeah, we've already considered option 1, and we may in fact do 
> that.  We
> > >also may end up re-designing our XML structure at some point
> > down the road,
> > >which could obviate the need for this particular Xpath call.  
> But, those
> > >points aside, it's still mucho annoying that this doesn't work.
> >
> > Can anyone recommend a good alternative parser to use on Win2K/CFMX?
> >
> > Thanks!
> >
> >
> > >-Original Message-
> > >From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
> > >Sent: Wednesday, March 12, 2003 2:45 PM
> > >To: CF-Talk
> > >Subject: RE: XPath in CFMX
> > >
> > >
> > >Oh yeah, to workaround the bug, you could write a UDF that you'd
> > run before
> > >passing the xmlSearch() function that would format it via an
> > XPath statement
> > >CF likes:
> > >
> > >So, you'd look for strings ending in:
> > >/@attName
> > >
> > >and replace with
> > >[EMAIL PROTECTED]
> > >
> > >You might also just consider writing your own "xpath()" function
> > to use to
> > >replace the xmlSearch() function. You could then either choose 
> to use a
> > >Java-based parser, or just reformat strings to make them CFMX 
> "friendly."> >
> > >-Dan
> > >
> > > > -Original Message-
> > > > From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
> > > > Sent: Wednesday, March 12, 2003 3:34 PM
> > > > To: CF-Talk
> > > > Subject: RE: XPath in CFMX
> > > >
> > > > Seems like it is a bug. In following example, the first XPath
> > statement
> > > > works as expected, the second finds 2 matches, but returns
> > empty arrays.
> > > >
> > > > 
> > > >   
> > > > 
> > > > text here
> > > > 
> > > > 
> > > > text here
> > > > 
> > > > 
> > > > text here
> > > > 
> > > >   
> > > > 
> > > >
> > > > 
> > > > 
> > > > 
> > > >
> > > > 
> > > > 
> > > > 
> > > >
> > > > I also know that the XPath expression "rule/@name" works 
> with the XSLT
> > > > engine--I use that syntax a lot in my XSL sheets. I think
> > xmlSearch class
> > > > is
> > > > probably the culprit.
> > > >
> > > > -Dan
> > > >
> > > > > -Original Message-
> > > > > From: Mueller, Ben [mailto:[EMAIL PROTECTED]
> > > > > Sent: Wednesday, March 12, 2003 2:55 PM
> > > > > To: CF-Talk
> > > > > Subject: RE: XPath in CFMX
> > > > >
> > > > > The problem is not that MACR returns an array rather than a
> > string in
> > > > this
> > > > > particular XPath case.  The problem is that, in the case 
> where I'm
> > > > trying
> > > > > to
> > > > > get the value of an attribute, it returns an array of
> > length one that
> > > > > appears to have nothing in it.
> > > > >
> > > > > If you run this code in MX:
> > > > >
> > > > > 
> > > > > 
> > > > > text here
> > > > > 
> > > > > 
> > > > >
> > > > > 
> > > > > 
> > > > >
> > > > > ...you'll see that the cfdump of the "res1" object has no
> > data in it.
> > > > If
> > > > > it
> > > > > returned the value of the attribute somewhere in the array,
> > I'd be home
> > > > > free.
> > > > >
> > > > > Is there something really basic about this that I'm missing?
> > > > >
> > > > >
> > > > > -Original Message-
> > > > > From: Alexander Sherwood [mailto:[EMAIL PROTECTED]
> > > > > Sent: Wednesday, March 12, 2003 1:47 PM
> > > > > To: CF-Talk
> > > > > Subject: RE: XPath in CFMX
> > > > >
> > > > >
> > > > > At 11:19 AM 3/12/2003 -0600, you wrote:
> > > > >
> > > > > >That's sort of what I was afraid of.  If it's legal XPath
> > syntax, then
> > > > > why
> > > > > >doesn't the XmlSearch function support it?  Is it a
> > weakness in MX, or
> > > > is
> > > > > >this a deliberate omission?  And does anybody know if MM
> > has plans to
> > > > > >support this in the future?
> > > > >
> > > > > Well, i think it has more to do with how MACR wanted to
> > implement the
> > > > > XMLSearch feature. The W3C spec doesn't specifiy how the
> > parser should
> > > > > return data, it just specifies that the XPATH should 
> locate the
> > > > > element/attribute in the document - no matter what.
> > > > >
> > > > > MACR just decided that they wanted to return an array
> > instead of say, a
> > > > > string variable or a number. This makes

RE: CF Server and MS Exchange

2003-03-12 Thread Aidan Whitehall
> Tried that and I can't get it to work.

I've found it a bit quirky in the past. On a couple of occasions, I've
only had to add the IP of the ColdFusion server to the list of those
allowed to relay on other occasions, I've also had to add the IP to
the list of those allowed to connect.

Can't give you a good reason why, but it's not a big deal to add it to
both.

Failing that, your problem lies elsewhere... can you telnet from your CF
box to port 25 on your Exchange box?


-- 
Aidan Whitehall <[EMAIL PROTECTED]>
Macromedia ColdFusion Developer
Fairbanks Environmental Ltd  +44 (0)1695 51775


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: XPath in CFMX

2003-03-12 Thread Alexander Sherwood
At 01:42 PM 3/12/2003 -0800, you wrote:

>Uh, "//[EMAIL PROTECTED]" and "//rule/@name" aren't
>equivalent XPATH expressions. The first is "all
>element rule nodes which have a name attribute" while
>the second is "all name attribute nodes belonging to a
>rule element node"
>
>Running this with your example gives:
>
>text
>here
>
>text
>  here
>for "//[EMAIL PROTECTED]"
>
>and the corresponding 2 name attribute nodes for the
>"//rule/@name". The first should return an array of
>two element nodes and the second should return an
>array of two attribute nodes.
>
>I suspect what is happening is that when you do a
>cfdump, only the content of the node is displayed.
>Technically, the content of an element node is all the
>"text" between its enclosing tags (ignoring its
>attributes), whereas the content of an attribute node
>is nothing (but it has a value of "firstRule"). Or, in
>XSL terms, you're expecting  behavior
>while xmlsearch is exhibiting  behavior.
>
>So anyways, I would not recommend a rewrite as the two
>expressions are not equivalent.

I was just going to say that! ;-)

--
Alex Sherwood
PHS Collection Agency
THE COLLECTORS
T:   301.215.4200
F:   301.664.6834
W: www.phs-net.com

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFC's - Where to put them?

2003-03-12 Thread Ian Skinner
Ah, that's what was confusing me...trying to combine those...

-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 1:38 PM
To: CF-Talk
Subject: RE: CFC's - Where to put them?


I didn't say it did - I said mappings helped with calling CFCs and
cfmodules. It's two separate things.

===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
Member of Team Macromedia

Email: [EMAIL PROTECTED]
Blog : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -Original Message-
> From: Ian Skinner [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 12, 2003 3:22 PM
> To: CF-Talk
> Subject: RE: CFC's - Where to put them?
> 
> 
> How you use cfmoudule with a CFC?
> 
> -Original Message-
> From: Raymond Camden [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 12:36 PM
> To: CF-Talk
> Subject: RE: CFC's - Where to put them?
> 
> 
> What particular part?
> 


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Easy Len ?

2003-03-12 Thread webmaster
Sorry, it's a textarea...need to find out how many actual characters were
entered...

Regards,

Eric J. Hoffman
DataStream Connexion
www.datastreamconnexion.com



-Original Message-
From: Matthew Walker [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2003 3:47 PM
To: CF-Talk
Subject: RE: Easy Len ?



Characters in a checkbox? What do you mean? Aside from that...
len(replace(form.field, " ", ""))

Or do you only mean leading and trailing space?
len(trim(form.field))

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 13 March 2003 9:32 a.m.
To: CF-Talk
Subject: Easy Len ?

What is the best way to actually count the number of characters entered in a
checkbox, but not spaces?  Would I use a regex of some sort, then count that
result?

Thanks for any pointers.

Regards,

Eric J. Hoffman
DataStream Connexion
www.datastreamconnexion.com






~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Easy Len ?

2003-03-12 Thread Clint
why not remove the spaces in the string and then use len to calculate the
length?

Clint

- Original Message -
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 3:31 PM
Subject: Easy Len ?


> What is the best way to actually count the number of characters entered in
a
> checkbox, but not spaces?  Would I use a regex of some sort, then count
that
> result?
>
> Thanks for any pointers.
>
> Regards,
>
> Eric J. Hoffman
> DataStream Connexion
> www.datastreamconnexion.com
>
>
>
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Easy Len ?

2003-03-12 Thread Justin Scott
You can use this to get the length of a string, minus spaces..



-Justin Scott


- Original Message -
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 4:31 PM
Subject: Easy Len ?


> What is the best way to actually count the number of characters entered in
a
> checkbox, but not spaces?  Would I use a regex of some sort, then count
that
> result?
>
> Thanks for any pointers.
>
> Regards,
>
> Eric J. Hoffman
> DataStream Connexion
> www.datastreamconnexion.com
>
>
>
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: XPath in CFMX

2003-03-12 Thread I-Lin Kuo
Uh, "//[EMAIL PROTECTED]" and "//rule/@name" aren't
equivalent XPATH expressions. The first is "all
element rule nodes which have a name attribute" while
the second is "all name attribute nodes belonging to a
rule element node"

Running this with your example gives:

   text 
here

   text
 here
for "//[EMAIL PROTECTED]" 

and the corresponding 2 name attribute nodes for the
"//rule/@name". The first should return an array of
two element nodes and the second should return an
array of two attribute nodes.

I suspect what is happening is that when you do a
cfdump, only the content of the node is displayed.
Technically, the content of an element node is all the
"text" between its enclosing tags (ignoring its
attributes), whereas the content of an attribute node
is nothing (but it has a value of "firstRule"). Or, in
XSL terms, you're expecting  behavior
while xmlsearch is exhibiting  behavior.

So anyways, I would not recommend a rewrite as the two
expressions are not equivalent.

--- "Dan G. Switzer, II" <[EMAIL PROTECTED]> wrote:
> Oh yeah, to workaround the bug, you could write a
> UDF that you'd run before
> passing the xmlSearch() function that would format
> it via an XPath statement
> CF likes:
> 
> So, you'd look for strings ending in:
> /@attName
> 
> and replace with
> [EMAIL PROTECTED]
> 
> You might also just consider writing your own
> "xpath()" function to use to
> replace the xmlSearch() function. You could then
> either choose to use a
> Java-based parser, or just reformat strings to make
> them CFMX "friendly."
> 
> -Dan
> 
> > -Original Message-
> > From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 12, 2003 3:34 PM
> > To: CF-Talk
> > Subject: RE: XPath in CFMX
> > 
> > Seems like it is a bug. In following example, the
> first XPath statement
> > works as expected, the second finds 2 matches, but
> returns empty arrays.
> > 
> > 
> > 
> > 
> > text
> here
> > 
> > 
> > text
> here
> > 
> > 
> > text
> here
> > 
> > 
> > 
> > 
> > 
> >  xmlSearch(sampleXML,"//[EMAIL PROTECTED]")>
> > 
> > 
> > 
> > 
> > 
> > 
> > I also know that the XPath expression "rule/@name"
> works with the XSLT
> > engine--I use that syntax a lot in my XSL sheets.
> I think xmlSearch class
> > is
> > probably the culprit.
> > 
> > -Dan
> > 
> > > -Original Message-
> > > From: Mueller, Ben
> [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, March 12, 2003 2:55 PM
> > > To: CF-Talk
> > > Subject: RE: XPath in CFMX
> > >
> > > The problem is not that MACR returns an array
> rather than a string in
> > this
> > > particular XPath case.  The problem is that, in
> the case where I'm
> > trying
> > > to
> > > get the value of an attribute, it returns an
> array of length one that
> > > appears to have nothing in it.
> > >
> > > If you run this code in MX:
> > >
> > > 
> > > 
> > > text
> here
> > > 
> > > 
> > >
> > > 
> > > 
> > >
> > > ...you'll see that the cfdump of the "res1"
> object has no data in it.
> > If
> > > it
> > > returned the value of the attribute somewhere in
> the array, I'd be home
> > > free.
> > >
> > > Is there something really basic about this that
> I'm missing?
> > >
> > >
> > > -Original Message-
> > > From: Alexander Sherwood
> [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, March 12, 2003 1:47 PM
> > > To: CF-Talk
> > > Subject: RE: XPath in CFMX
> > >
> > >
> > > At 11:19 AM 3/12/2003 -0600, you wrote:
> > >
> > > >That's sort of what I was afraid of.  If it's
> legal XPath syntax, then
> > > why
> > > >doesn't the XmlSearch function support it?  Is
> it a weakness in MX, or
> > is
> > > >this a deliberate omission?  And does anybody
> know if MM has plans to
> > > >support this in the future?
> > >
> > > Well, i think it has more to do with how MACR
> wanted to implement the
> > > XMLSearch feature. The W3C spec doesn't specifiy
> how the parser should
> > > return data, it just specifies that the XPATH
> should locate the
> > > element/attribute in the document - no matter
> what.
> > >
> > > MACR just decided that they wanted to return an
> array instead of say, a
> > > string variable or a number. This makes sense
> when, in many cases,
> > you're
> > > not sure how much data is going to come back.
> The function is
> > standardized
> > > to return the same data type on each call: an
> array.
> > >
> > > Look at this Xpath, for example: '//Address'. If
> you XMLSearch()'ed on
> > > this
> > > path and the parser found 4 valid elements, how
> would it be returned to
> > > you? In an array or some other "collection" like
> data type (struct, hash
> > > table, etc.).
> > >
> > > BUT, when you are using XMLSearch() to grab one
> element's attribute, how
> > > can the function just return you a string, and
> not an array? You would
> > > have
> > > to write code after each function call to
> decided how to process the
> > > return
> > > data. Did I get back an array to loop 

RE: Easy Len ?

2003-03-12 Thread Matthew Walker
Characters in a checkbox? What do you mean? Aside from that...
len(replace(form.field, " ", ""))

Or do you only mean leading and trailing space?
len(trim(form.field))

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 13 March 2003 9:32 a.m.
To: CF-Talk
Subject: Easy Len ?

What is the best way to actually count the number of characters entered in a
checkbox, but not spaces?  Would I use a regex of some sort, then count that
result?

Thanks for any pointers.

Regards,

Eric J. Hoffman
DataStream Connexion
www.datastreamconnexion.com





~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: XPath in CFMX

2003-03-12 Thread Barney Boisvert
I'd use one of the packages from Apache, depending on your specific need(s)

http://xml.apache.org

Xerces and Xalan are the major ones of interest, and Crimson might be worth
a look.  I've not heard much about Crimson, so I don't know if it's a newly
aquired project, or just always been overshadowed by Xerces.

> -Original Message-
> From: Alexander Sherwood [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 1:04 PM
> To: CF-Talk
> Subject: RE: XPath in CFMX
>
>
> At 02:43 PM 3/12/2003 -0600, you wrote:
>
> >Yeah, we've already considered option 1, and we may in fact do that.  We
> >also may end up re-designing our XML structure at some point
> down the road,
> >which could obviate the need for this particular Xpath call.  But, those
> >points aside, it's still mucho annoying that this doesn't work.
>
> Can anyone recommend a good alternative parser to use on Win2K/CFMX?
>
> Thanks!
>
>
> >-Original Message-
> >From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
> >Sent: Wednesday, March 12, 2003 2:45 PM
> >To: CF-Talk
> >Subject: RE: XPath in CFMX
> >
> >
> >Oh yeah, to workaround the bug, you could write a UDF that you'd
> run before
> >passing the xmlSearch() function that would format it via an
> XPath statement
> >CF likes:
> >
> >So, you'd look for strings ending in:
> >/@attName
> >
> >and replace with
> >[EMAIL PROTECTED]
> >
> >You might also just consider writing your own "xpath()" function
> to use to
> >replace the xmlSearch() function. You could then either choose to use a
> >Java-based parser, or just reformat strings to make them CFMX "friendly."
> >
> >-Dan
> >
> > > -Original Message-
> > > From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, March 12, 2003 3:34 PM
> > > To: CF-Talk
> > > Subject: RE: XPath in CFMX
> > >
> > > Seems like it is a bug. In following example, the first XPath
> statement
> > > works as expected, the second finds 2 matches, but returns
> empty arrays.
> > >
> > > 
> > >   
> > > 
> > > text here
> > > 
> > > 
> > > text here
> > > 
> > > 
> > > text here
> > > 
> > >   
> > > 
> > >
> > > 
> > > 
> > > 
> > >
> > > 
> > > 
> > > 
> > >
> > > I also know that the XPath expression "rule/@name" works with the XSLT
> > > engine--I use that syntax a lot in my XSL sheets. I think
> xmlSearch class
> > > is
> > > probably the culprit.
> > >
> > > -Dan
> > >
> > > > -Original Message-
> > > > From: Mueller, Ben [mailto:[EMAIL PROTECTED]
> > > > Sent: Wednesday, March 12, 2003 2:55 PM
> > > > To: CF-Talk
> > > > Subject: RE: XPath in CFMX
> > > >
> > > > The problem is not that MACR returns an array rather than a
> string in
> > > this
> > > > particular XPath case.  The problem is that, in the case where I'm
> > > trying
> > > > to
> > > > get the value of an attribute, it returns an array of
> length one that
> > > > appears to have nothing in it.
> > > >
> > > > If you run this code in MX:
> > > >
> > > > 
> > > > 
> > > > text here
> > > > 
> > > > 
> > > >
> > > > 
> > > > 
> > > >
> > > > ...you'll see that the cfdump of the "res1" object has no
> data in it.
> > > If
> > > > it
> > > > returned the value of the attribute somewhere in the array,
> I'd be home
> > > > free.
> > > >
> > > > Is there something really basic about this that I'm missing?
> > > >
> > > >
> > > > -Original Message-
> > > > From: Alexander Sherwood [mailto:[EMAIL PROTECTED]
> > > > Sent: Wednesday, March 12, 2003 1:47 PM
> > > > To: CF-Talk
> > > > Subject: RE: XPath in CFMX
> > > >
> > > >
> > > > At 11:19 AM 3/12/2003 -0600, you wrote:
> > > >
> > > > >That's sort of what I was afraid of.  If it's legal XPath
> syntax, then
> > > > why
> > > > >doesn't the XmlSearch function support it?  Is it a
> weakness in MX, or
> > > is
> > > > >this a deliberate omission?  And does anybody know if MM
> has plans to
> > > > >support this in the future?
> > > >
> > > > Well, i think it has more to do with how MACR wanted to
> implement the
> > > > XMLSearch feature. The W3C spec doesn't specifiy how the
> parser should
> > > > return data, it just specifies that the XPATH should locate the
> > > > element/attribute in the document - no matter what.
> > > >
> > > > MACR just decided that they wanted to return an array
> instead of say, a
> > > > string variable or a number. This makes sense when, in many cases,
> > > you're
> > > > not sure how much data is going to come back. The function is
> > > standardized
> > > > to return the same data type on each call: an array.
> > > >
> > > > Look at this Xpath, for example: '//Address'. If you
> XMLSearch()'ed on
> > > > this
> > > > path and the parser found 4 valid elements, how would it be
> returned to
> > > > you? In an array or some other "collection" like data type
> (struct, hash
> > > > table, etc.).
> > > >
> > > > BUT, when you are using XMLSearch() to grab one element's
> attribute, how
> > > > can

RE: Easy Len ?

2003-03-12 Thread Ben Doom
Wow.  I didn't know you could enter information in a checkbox.  Learn
someting new every day! :-)

I'm going to assume I missunderstood them, and answer the rest of the
question.

The easiest way I can think of is:
length = len(replace(checkboxes, " ", "", "all"));

HTH


--  Ben Doom
Programmer & General Lackey
Moonbow Software, Inc

: -Original Message-
: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
: Sent: Wednesday, March 12, 2003 4:32 PM
: To: CF-Talk
: Subject: Easy Len ?
:
:
: What is the best way to actually count the number of characters
: entered in a
: checkbox, but not spaces?  Would I use a regex of some sort, then
: count that
: result?
:
: Thanks for any pointers.
:
: Regards,
:
: Eric J. Hoffman
: DataStream Connexion
: www.datastreamconnexion.com
:
:
:
:
: 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Easy Len ?

2003-03-12 Thread Jerry Johnson
You can't enter characters in a checkbox, can you?

Not sure what you are trying to do.

Jerry Johnson

>>> [EMAIL PROTECTED] 03/12/03 04:31PM >>>
What is the best way to actually count the number of characters entered in a
checkbox, but not spaces?  Would I use a regex of some sort, then count that
result?

Thanks for any pointers.

Regards,

Eric J. Hoffman
DataStream Connexion
www.datastreamconnexion.com 





~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: crazy email

2003-03-12 Thread Chris Edwards
everything is hardcoded.

I've looked at the mail logs.  nothing present after the client tries it.
the client has tried 2 times, one with IE and the other with AOL.

I do it, and its fine.  the mail logs confirm.


--
Chris Edwards
Web Application Developer
Outer Banks Internet, Inc.
252-441-6698
[EMAIL PROTECTED]
http://www.OuterBanksInternet.com

- Original Message -
From: "Ben Doom" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 3:54 PM
Subject: RE: crazy email


> Are you having the client enter a 'from' field?  If so, make sure that the
> smtp server rules allow this address to send.
>
> Have you checked the CF server's mail log?
>
>
> --  Ben Doom
> Programmer & General Lackey
> Moonbow Software, Inc
>
> : -Original Message-
> : From: Chris Edwards [mailto:[EMAIL PROTECTED]
> : Sent: Wednesday, March 12, 2003 3:36 PM
> : To: CF-Talk
> : Subject: crazy email
> :
> :
> : Hi
> :
> : this is going to be tuff
> :
> : I have a cf script thats sending out emails.  it does batchs of 500.  it
> : runs on a solaris box with sendmail.
> :
> : I go to the website from my computer..  login to the backend..
> : lala  execute
> : the script, and it works
> :
> : now the client, goes to the website. logs in, runs the script.  it looks
> : like its running fine, and all done.
> : however, it never sends the email.
> :
> : AAHHH.
> :
> : so does anyone have any idea?  is the client's browser caching
something?
> : could it be an AOL thing.
> :
> : thanks.
> : --
> : Chris Edwards
> : Web Application Developer
> : Outer Banks Internet, Inc.
> : 252-441-6698
> : [EMAIL PROTECTED]
> : http://www.OuterBanksInternet.com
> :
> :
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



CF and PhotoShop

2003-03-12 Thread Owens, Howard
Any of you ever scripted CF to run tasks in PhotoShop?  Can it be done?
CFExecute and all that.  On Win2K?

Any pointers on how to do it?

H.


~~
Howard Owens
Internet Operations Coordinator
InsideVC.com/Ventura County Star
[EMAIL PROTECTED]
AIM: GoCatGo1956
~~

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: XPath in CFMX

2003-03-12 Thread Mueller, Ben
It has been reported to MM.  Now we wait...

-Original Message-
From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 3:11 PM
To: CF-Talk
Subject: RE: XPath in CFMX


I'd almost recommend option 2--because it opens the door a little more. If
you choose to use a different XML engine down the road, all you need to do
is to update the UDF, where as otherwise you'd need to go through the code
*again* to replace the xmlSearch() functions.

Hopefully you reported this issue to MM. I'd definitely consider it a
bug--since it is valid XPath syntax and it's obvious that it's finding the
nodes, it's just not returning the correct data.

-Dan

> -Original Message-
> From: Mueller, Ben [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 3:43 PM
> To: CF-Talk
> Subject: RE: XPath in CFMX
> 
> Yeah, we've already considered option 1, and we may in fact do that.  We
> also may end up re-designing our XML structure at some point down the
> road,
> which could obviate the need for this particular Xpath call.  But, those
> points aside, it's still mucho annoying that this doesn't work.
> 
> -Original Message-
> From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 2:45 PM
> To: CF-Talk
> Subject: RE: XPath in CFMX
> 
> 
> Oh yeah, to workaround the bug, you could write a UDF that you'd run
> before
> passing the xmlSearch() function that would format it via an XPath
> statement
> CF likes:
> 
> So, you'd look for strings ending in:
> /@attName
> 
> and replace with
> [EMAIL PROTECTED]
> 
> You might also just consider writing your own "xpath()" function to use to
> replace the xmlSearch() function. You could then either choose to use a
> Java-based parser, or just reformat strings to make them CFMX "friendly."
> 
> -Dan
> 
> > -Original Message-
> > From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 12, 2003 3:34 PM
> > To: CF-Talk
> > Subject: RE: XPath in CFMX
> >
> > Seems like it is a bug. In following example, the first XPath statement
> > works as expected, the second finds 2 matches, but returns empty arrays.
> >
> > 
> > 
> > 
> > text here
> > 
> > 
> > text here
> > 
> > 
> > text here
> > 
> > 
> > 
> >
> > 
> > 
> > 
> >
> > 
> > 
> > 
> >
> > I also know that the XPath expression "rule/@name" works with the XSLT
> > engine--I use that syntax a lot in my XSL sheets. I think xmlSearch
> class
> > is
> > probably the culprit.
> >
> > -Dan
> >
> > > -Original Message-
> > > From: Mueller, Ben [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, March 12, 2003 2:55 PM
> > > To: CF-Talk
> > > Subject: RE: XPath in CFMX
> > >
> > > The problem is not that MACR returns an array rather than a string in
> > this
> > > particular XPath case.  The problem is that, in the case where I'm
> > trying
> > > to
> > > get the value of an attribute, it returns an array of length one that
> > > appears to have nothing in it.
> > >
> > > If you run this code in MX:
> > >
> > > 
> > > 
> > > text here
> > > 
> > > 
> > >
> > > 
> > > 
> > >
> > > ...you'll see that the cfdump of the "res1" object has no data in it.
> > If
> > > it
> > > returned the value of the attribute somewhere in the array, I'd be
> home
> > > free.
> > >
> > > Is there something really basic about this that I'm missing?
> > >
> > >
> > > -Original Message-
> > > From: Alexander Sherwood [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, March 12, 2003 1:47 PM
> > > To: CF-Talk
> > > Subject: RE: XPath in CFMX
> > >
> > >
> > > At 11:19 AM 3/12/2003 -0600, you wrote:
> > >
> > > >That's sort of what I was afraid of.  If it's legal XPath syntax,
> then
> > > why
> > > >doesn't the XmlSearch function support it?  Is it a weakness in MX,
> or
> > is
> > > >this a deliberate omission?  And does anybody know if MM has plans to
> > > >support this in the future?
> > >
> > > Well, i think it has more to do with how MACR wanted to implement the
> > > XMLSearch feature. The W3C spec doesn't specifiy how the parser should
> > > return data, it just specifies that the XPATH should locate the
> > > element/attribute in the document - no matter what.
> > >
> > > MACR just decided that they wanted to return an array instead of say,
> a
> > > string variable or a number. This makes sense when, in many cases,
> > you're
> > > not sure how much data is going to come back. The function is
> > standardized
> > > to return the same data type on each call: an array.
> > >
> > > Look at this Xpath, for example: '//Address'. If you XMLSearch()'ed on
> > > this
> > > path and the parser found 4 valid elements, how would it be returned
> to
> > > you? In an array or some other "collection" like data type (struct,
> hash
> > > table, etc.).
> > >
> > > BUT, when you are using XMLSearch() to grab one element's attribute,
> how
> > > can the function just return you a string, and not a

RE: CFC's - Where to put them?

2003-03-12 Thread Raymond Camden
I didn't say it did - I said mappings helped with calling CFCs and
cfmodules. It's two separate things.

===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
Member of Team Macromedia

Email: [EMAIL PROTECTED]
Blog : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -Original Message-
> From: Ian Skinner [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 12, 2003 3:22 PM
> To: CF-Talk
> Subject: RE: CFC's - Where to put them?
> 
> 
> How you use cfmoudule with a CFC?
> 
> -Original Message-
> From: Raymond Camden [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 12:36 PM
> To: CF-Talk
> Subject: RE: CFC's - Where to put them?
> 
> 
> What particular part?
> 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFMX and Webserver

2003-03-12 Thread Dave Watts
> Recently on a test platform I installed CFMX and it prompted 
> me to choose a web server. I chose standalone 8500 instead of 
> IIS. Now I need to change that setting to IIS and cannot find 
> it anywhere. I have tried unistalling CFMX and reinstalling 
> it, but it defaults to the standalone and does not give me a 
> means to change it to IIS. Am I missing something?

You need to run the wsconfig utility, which is described in the "Configuring
web servers" section of the "Installing ColdFusion MX" documentation book,
available in PDF or HTML form from the MM site.

Briefly, though, you should be able to run
\CFusionMX\runtime\bin\wsconfig.exe or \CFusionMX\runtime\lib\wsconfig.jar,
which will give you a GUI interface for configuring your web server.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFMX and Webserver

2003-03-12 Thread SPANGLER ALAN L. (dal1als)
On the installation cd...go to 
"Documentation/ColdFusion MX Documentation/Installing CF MX Server.pdf"

According to the Docs, you need to run something like this from the command
line.

cf_root\runtime\jre\bin\java -cp cf_root\runtime\lib -jar
cf_root\runtime\lib\wsconfig.jar -ws IIS -site "0" -map .cfm,.cfc,.cfml,.jsp
-v

-Original Message-
From: John Stanley [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2003 2:37 PM
To: CF-Talk
Subject: CFMX and Webserver

Recently on a test platform I installed CFMX and it prompted me to choose a
web server. I chose standalone 8500 instead of IIS. Now I need to change
that setting to IIS and cannot find it anywhere. I have tried unistalling
CFMX and reinstalling it, but it defaults to the standalone and does not
give me a means to change it to IIS. Am I missing something?


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Easy Len ?

2003-03-12 Thread webmaster
What is the best way to actually count the number of characters entered in a
checkbox, but not spaces?  Would I use a regex of some sort, then count that
result?

Thanks for any pointers.

Regards,

Eric J. Hoffman
DataStream Connexion
www.datastreamconnexion.com




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Com and CFMX

2003-03-12 Thread Robert Bailey
even the updater did not help the server, ugh

Thanks!
Robert Bailey
Famous for nothing


-Original Message-
From: Frank Mamone [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 3:54 PM
To: CF-Talk
Subject: Re: Com and CFMX


Updater 2 fixed alot of issues but there's still one for me where it doesn't
release the object from memory for a few seconds. Not a real issue if your
object is multi-threaded but a problem for me as the object I'm using  is
not. So ASP it is for the COM stuff.


- Original Message -
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 3:39 PM
Subject: RE: Com and CFMX


> there is info on this in the known issues lists at macromedia.com
>
> D
>
> >-Original Message-
> >From: Robert Bailey [mailto:[EMAIL PROTECTED]
> >Sent: Wednesday, March 12, 2003 3:12 PM
> >To: CF-Talk
> >Subject: Com and CFMX
> >
> >
> >So running the same scripts under CFMX and CF5 server, they do not work
> >under CFMX. So I am guessing the CFMX is having some problems
> >communicating
> >with com objects. Any work arounds or has MM addressed this issue? Any
> >pointers would be very welcomed, as I really need to be able
> >to work with
> >com objects within CFMX and it is a little disappointing that
> >I am unable to
> >:(
> >
> >Thanks!
> >Robert Bailey
> >Famous for nothing
> >
> >
> >
>

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Apache 2.0.44 and CFMX Server HELP!!

2003-03-12 Thread Juan Nava
Ok.  I reinstalled everything.  Apache ran fine.  I
installed CFMX and the updater, and configured Apache
for CFMX.  Apache still wont start.  Same problem with
module compatibility.  
:(

--- Lincoln Milner <[EMAIL PROTECTED]> wrote:
>
http://www.macromedia.com/software/coldfusion/special/updater/faq/
> 
> -Original Message-
> From: Juan Nava [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 3:25 PM
> To: CF-Talk
> Subject: RE: Apache 2.0.44 and CFMX Server HELP!!
> 
> 
> Do you have a link for that?  I havent been able to
> find it.
> 
> --- Lincoln Milner <[EMAIL PROTECTED]> wrote:
> > Do you have Updater 2 installed?  You need that to
> > work with the newer versions (i.e., after 2.0.40)
> of
> > Apache...
> > 
> > -lincoln
> > 
> > -Original Message-
> > From: Juan Nava [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 12, 2003 3:11 PM
> > To: CF-Talk
> > Subject: Apache 2.0.44 and CFMX Server HELP!!
> > 
> > 
> > Hello all.  Has anyone successfully installed CFMX
> > on
> > Apache 2.0.44??  Apache wont start after
> configuring
> > it for CFMX.  It says "the mod_jrun20 file is not
> > compatible with this version of Apache".  Any
> > suggestions???  Thank you very much in advance.
> > --Juan
> > 
> > __
> > Do you Yahoo!?
> > Yahoo! Web Hosting - establish your business
> online
> > http://webhosting.yahoo.com
> > 
> >
> 
> 
>

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: XPath in CFMX

2003-03-12 Thread Alexander Sherwood
At 02:43 PM 3/12/2003 -0600, you wrote:

>Yeah, we've already considered option 1, and we may in fact do that.  We
>also may end up re-designing our XML structure at some point down the road,
>which could obviate the need for this particular Xpath call.  But, those
>points aside, it's still mucho annoying that this doesn't work.

Can anyone recommend a good alternative parser to use on Win2K/CFMX?

Thanks!


>-Original Message-
>From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, March 12, 2003 2:45 PM
>To: CF-Talk
>Subject: RE: XPath in CFMX
>
>
>Oh yeah, to workaround the bug, you could write a UDF that you'd run before
>passing the xmlSearch() function that would format it via an XPath statement
>CF likes:
>
>So, you'd look for strings ending in:
>/@attName
>
>and replace with
>[EMAIL PROTECTED]
>
>You might also just consider writing your own "xpath()" function to use to
>replace the xmlSearch() function. You could then either choose to use a
>Java-based parser, or just reformat strings to make them CFMX "friendly."
>
>-Dan
>
> > -Original Message-
> > From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 12, 2003 3:34 PM
> > To: CF-Talk
> > Subject: RE: XPath in CFMX
> >
> > Seems like it is a bug. In following example, the first XPath statement
> > works as expected, the second finds 2 matches, but returns empty arrays.
> >
> > 
> >   
> > 
> > text here
> > 
> > 
> > text here
> > 
> > 
> > text here
> > 
> >   
> > 
> >
> > 
> > 
> > 
> >
> > 
> > 
> > 
> >
> > I also know that the XPath expression "rule/@name" works with the XSLT
> > engine--I use that syntax a lot in my XSL sheets. I think xmlSearch class
> > is
> > probably the culprit.
> >
> > -Dan
> >
> > > -Original Message-
> > > From: Mueller, Ben [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, March 12, 2003 2:55 PM
> > > To: CF-Talk
> > > Subject: RE: XPath in CFMX
> > >
> > > The problem is not that MACR returns an array rather than a string in
> > this
> > > particular XPath case.  The problem is that, in the case where I'm
> > trying
> > > to
> > > get the value of an attribute, it returns an array of length one that
> > > appears to have nothing in it.
> > >
> > > If you run this code in MX:
> > >
> > > 
> > > 
> > > text here
> > > 
> > > 
> > >
> > > 
> > > 
> > >
> > > ...you'll see that the cfdump of the "res1" object has no data in it.
> > If
> > > it
> > > returned the value of the attribute somewhere in the array, I'd be home
> > > free.
> > >
> > > Is there something really basic about this that I'm missing?
> > >
> > >
> > > -Original Message-
> > > From: Alexander Sherwood [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, March 12, 2003 1:47 PM
> > > To: CF-Talk
> > > Subject: RE: XPath in CFMX
> > >
> > >
> > > At 11:19 AM 3/12/2003 -0600, you wrote:
> > >
> > > >That's sort of what I was afraid of.  If it's legal XPath syntax, then
> > > why
> > > >doesn't the XmlSearch function support it?  Is it a weakness in MX, or
> > is
> > > >this a deliberate omission?  And does anybody know if MM has plans to
> > > >support this in the future?
> > >
> > > Well, i think it has more to do with how MACR wanted to implement the
> > > XMLSearch feature. The W3C spec doesn't specifiy how the parser should
> > > return data, it just specifies that the XPATH should locate the
> > > element/attribute in the document - no matter what.
> > >
> > > MACR just decided that they wanted to return an array instead of say, a
> > > string variable or a number. This makes sense when, in many cases,
> > you're
> > > not sure how much data is going to come back. The function is
> > standardized
> > > to return the same data type on each call: an array.
> > >
> > > Look at this Xpath, for example: '//Address'. If you XMLSearch()'ed on
> > > this
> > > path and the parser found 4 valid elements, how would it be returned to
> > > you? In an array or some other "collection" like data type (struct, hash
> > > table, etc.).
> > >
> > > BUT, when you are using XMLSearch() to grab one element's attribute, how
> > > can the function just return you a string, and not an array? You would
> > > have
> > > to write code after each function call to decided how to process the
> > > return
> > > data. Did I get back an array to loop over or a string? MACR just went
> > > with
> > > the array because it make the most sense - regardless of what the parser
> > > finds. Even if you search for one element, you grab it at index[1], and
> > > use
> > > XMLAttributes to extract the string or numeric value.
> > >
> > > It would be nice, however, to have an XMLExtractAttribute() function,
> > that
> > > simply returns the first attribute (in the form of a string return type)
> > > value found for the supplied XPATH.
> > >
> > >
> > >
> > >
> > >
> > > >-Original Message-
> > > >From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
>

RE: crazy email

2003-03-12 Thread Ben Doom
Are you having the client enter a 'from' field?  If so, make sure that the
smtp server rules allow this address to send.

Have you checked the CF server's mail log?


--  Ben Doom
Programmer & General Lackey
Moonbow Software, Inc

: -Original Message-
: From: Chris Edwards [mailto:[EMAIL PROTECTED]
: Sent: Wednesday, March 12, 2003 3:36 PM
: To: CF-Talk
: Subject: crazy email
:
:
: Hi
:
: this is going to be tuff
:
: I have a cf script thats sending out emails.  it does batchs of 500.  it
: runs on a solaris box with sendmail.
:
: I go to the website from my computer..  login to the backend..
: lala  execute
: the script, and it works
:
: now the client, goes to the website. logs in, runs the script.  it looks
: like its running fine, and all done.
: however, it never sends the email.
:
: AAHHH.
:
: so does anyone have any idea?  is the client's browser caching something?
: could it be an AOL thing.
:
: thanks.
: --
: Chris Edwards
: Web Application Developer
: Outer Banks Internet, Inc.
: 252-441-6698
: [EMAIL PROTECTED]
: http://www.OuterBanksInternet.com
:
: 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFC's - Where to put them?

2003-03-12 Thread Ian Skinner
How you use cfmoudule with a CFC?

-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 12:36 PM
To: CF-Talk
Subject: RE: CFC's - Where to put them?


What particular part?

===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
Member of Team Macromedia

Email: [EMAIL PROTECTED]
Blog : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -Original Message-
> From: Ian Skinner [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 12, 2003 2:25 PM
> To: CF-Talk
> Subject: RE: CFC's - Where to put them?
> 
> 
> Would you mind giving a simple example of how you might code this?  
> 
> Ian
> 
> 
> -Original Message-
> From: Raymond Camden [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 11:00 AM
> To: CF-Talk
> Subject: RE: CFC's - Where to put them?
> 
> 
> Yep, I meant a CF Server mapping. This is handy for CFCs, 
> CTs, and includes. If I know there is _any_ chance I'll be 
> deploying to a shared host, I will always use cfmodule with a 
> mapping instead of cf_.
> 
> ==
> =
> Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
> Member of Team Macromedia
> 
> Email: [EMAIL PROTECTED]
> Blog : www.camdenfamily.com/morpheus/blog
> Yahoo IM : morpheus
> 
> "My ally is the Force, and a powerful ally it is." - Yoda 
> 
> > -Original Message-
> > From: Ian Skinner [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 12, 2003 12:12 PM
> > To: CF-Talk
> > Subject: RE: CFC's - Where to put them?
> > 
> > 
> > You're referring to a Cold Fusion Server Mapping?  That can
> > maybe doable. Again, it's something that would have to be 
> > done by my host provider, but only once.  Much better then 
> > using the Custom Tag directory where I would go to them every 
> > time I made a change.
> > 
> > Ian
> > 
> > 
> > -Original Message-
> > From: Raymond Camden [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 12, 2003 7:21 AM
> > To: CF-Talk
> > Subject: RE: CFC's - Where to put them?
> > 
> > 
> > You can place them within a folder reachable by a mapping.
> > I'd suggest using mappings anyway, since it will also help 
> > you call your custom tags on a shared server.
> > 
> > ==
> > =
> > Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Member of 
> > Team Macromedia
> > 
> > Email: [EMAIL PROTECTED]
> > Blog : www.camdenfamily.com/morpheus/blog
> > Yahoo IM : morpheus
> > 
> > "My ally is the Force, and a powerful ally it is." - Yoda
> > 
> > > -Original Message-
> > > From: Ian Skinner [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, March 12, 2003 9:08 AM
> > > To: CF-Talk
> > > Subject: CFC's - Where to put them?
> > > 
> > > 
> > > I have just started a real project using CFC's, and I 
> have had some 
> > > difficulties with where to put them.  So I'm turning to the 
> > > knowledgeable group here to full in the gaps in the 
> documentation.  
> > > The best home for a CFC seems to be the Custom Tag 
> directory, when 
> > > I've put them there on my development machine, they were 
> accessible 
> > > everywhere I needed them.  But, my first project is going 
> to live on 
> > > a hosted, shared server at a web hosting company.  I don't have 
> > > ready access to the Custom Tag directory on this box. As an
> > > alternative, according to my understanding of the 
> > > documentation, a CFC can live in the website root, or any 
> > > directory accessible from it.  This works - sort of.  If I 
> > > put the CFC in the root, all other CFM files in the root can 
> > > access it, but files in subdirectories of the root can not!  
> > > I actually had to put a copy of the CFC in each folder in 
> > > order for it to be accessible to files in that folder.
> > > 
> > > This, obviously, is not very desirable.  What I would 
> like to know, 
> > > am I missing something here?  Is there some way I can use, or 
> > > someplace I can put my CFC file where it is accessible by all my 
> > > files in all my directories of my website?  Other then the Custom 
> > > Tag folder, which I already know works, but would like to 
> not use, 
> > > if possible.
> > > 
> > 
> > 
> > 
> 
> 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: XPath in CFMX

2003-03-12 Thread Dan G. Switzer, II
I'd almost recommend option 2--because it opens the door a little more. If
you choose to use a different XML engine down the road, all you need to do
is to update the UDF, where as otherwise you'd need to go through the code
*again* to replace the xmlSearch() functions.

Hopefully you reported this issue to MM. I'd definitely consider it a
bug--since it is valid XPath syntax and it's obvious that it's finding the
nodes, it's just not returning the correct data.

-Dan

> -Original Message-
> From: Mueller, Ben [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 3:43 PM
> To: CF-Talk
> Subject: RE: XPath in CFMX
> 
> Yeah, we've already considered option 1, and we may in fact do that.  We
> also may end up re-designing our XML structure at some point down the
> road,
> which could obviate the need for this particular Xpath call.  But, those
> points aside, it's still mucho annoying that this doesn't work.
> 
> -Original Message-
> From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 2:45 PM
> To: CF-Talk
> Subject: RE: XPath in CFMX
> 
> 
> Oh yeah, to workaround the bug, you could write a UDF that you'd run
> before
> passing the xmlSearch() function that would format it via an XPath
> statement
> CF likes:
> 
> So, you'd look for strings ending in:
> /@attName
> 
> and replace with
> [EMAIL PROTECTED]
> 
> You might also just consider writing your own "xpath()" function to use to
> replace the xmlSearch() function. You could then either choose to use a
> Java-based parser, or just reformat strings to make them CFMX "friendly."
> 
> -Dan
> 
> > -Original Message-
> > From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 12, 2003 3:34 PM
> > To: CF-Talk
> > Subject: RE: XPath in CFMX
> >
> > Seems like it is a bug. In following example, the first XPath statement
> > works as expected, the second finds 2 matches, but returns empty arrays.
> >
> > 
> > 
> > 
> > text here
> > 
> > 
> > text here
> > 
> > 
> > text here
> > 
> > 
> > 
> >
> > 
> > 
> > 
> >
> > 
> > 
> > 
> >
> > I also know that the XPath expression "rule/@name" works with the XSLT
> > engine--I use that syntax a lot in my XSL sheets. I think xmlSearch
> class
> > is
> > probably the culprit.
> >
> > -Dan
> >
> > > -Original Message-
> > > From: Mueller, Ben [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, March 12, 2003 2:55 PM
> > > To: CF-Talk
> > > Subject: RE: XPath in CFMX
> > >
> > > The problem is not that MACR returns an array rather than a string in
> > this
> > > particular XPath case.  The problem is that, in the case where I'm
> > trying
> > > to
> > > get the value of an attribute, it returns an array of length one that
> > > appears to have nothing in it.
> > >
> > > If you run this code in MX:
> > >
> > > 
> > > 
> > > text here
> > > 
> > > 
> > >
> > > 
> > > 
> > >
> > > ...you'll see that the cfdump of the "res1" object has no data in it.
> > If
> > > it
> > > returned the value of the attribute somewhere in the array, I'd be
> home
> > > free.
> > >
> > > Is there something really basic about this that I'm missing?
> > >
> > >
> > > -Original Message-
> > > From: Alexander Sherwood [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, March 12, 2003 1:47 PM
> > > To: CF-Talk
> > > Subject: RE: XPath in CFMX
> > >
> > >
> > > At 11:19 AM 3/12/2003 -0600, you wrote:
> > >
> > > >That's sort of what I was afraid of.  If it's legal XPath syntax,
> then
> > > why
> > > >doesn't the XmlSearch function support it?  Is it a weakness in MX,
> or
> > is
> > > >this a deliberate omission?  And does anybody know if MM has plans to
> > > >support this in the future?
> > >
> > > Well, i think it has more to do with how MACR wanted to implement the
> > > XMLSearch feature. The W3C spec doesn't specifiy how the parser should
> > > return data, it just specifies that the XPATH should locate the
> > > element/attribute in the document - no matter what.
> > >
> > > MACR just decided that they wanted to return an array instead of say,
> a
> > > string variable or a number. This makes sense when, in many cases,
> > you're
> > > not sure how much data is going to come back. The function is
> > standardized
> > > to return the same data type on each call: an array.
> > >
> > > Look at this Xpath, for example: '//Address'. If you XMLSearch()'ed on
> > > this
> > > path and the parser found 4 valid elements, how would it be returned
> to
> > > you? In an array or some other "collection" like data type (struct,
> hash
> > > table, etc.).
> > >
> > > BUT, when you are using XMLSearch() to grab one element's attribute,
> how
> > > can the function just return you a string, and not an array? You would
> > > have
> > > to write code after each function call to decided how to process the
> > > return
> > > data. Did I get back an array to loop over or a string? MACR just went
> > > wit

RE: XPath in CFMX

2003-03-12 Thread Mueller, Ben
Yeah, we've already considered option 1, and we may in fact do that.  We
also may end up re-designing our XML structure at some point down the road,
which could obviate the need for this particular Xpath call.  But, those
points aside, it's still mucho annoying that this doesn't work.

-Original Message-
From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 2:45 PM
To: CF-Talk
Subject: RE: XPath in CFMX


Oh yeah, to workaround the bug, you could write a UDF that you'd run before
passing the xmlSearch() function that would format it via an XPath statement
CF likes:

So, you'd look for strings ending in:
/@attName

and replace with
[EMAIL PROTECTED]

You might also just consider writing your own "xpath()" function to use to
replace the xmlSearch() function. You could then either choose to use a
Java-based parser, or just reformat strings to make them CFMX "friendly."

-Dan

> -Original Message-
> From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 3:34 PM
> To: CF-Talk
> Subject: RE: XPath in CFMX
> 
> Seems like it is a bug. In following example, the first XPath statement
> works as expected, the second finds 2 matches, but returns empty arrays.
> 
> 
>   
> 
> text here
> 
> 
> text here
> 
> 
> text here
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> I also know that the XPath expression "rule/@name" works with the XSLT
> engine--I use that syntax a lot in my XSL sheets. I think xmlSearch class
> is
> probably the culprit.
> 
> -Dan
> 
> > -Original Message-
> > From: Mueller, Ben [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 12, 2003 2:55 PM
> > To: CF-Talk
> > Subject: RE: XPath in CFMX
> >
> > The problem is not that MACR returns an array rather than a string in
> this
> > particular XPath case.  The problem is that, in the case where I'm
> trying
> > to
> > get the value of an attribute, it returns an array of length one that
> > appears to have nothing in it.
> >
> > If you run this code in MX:
> >
> > 
> > 
> > text here
> > 
> > 
> >
> > 
> > 
> >
> > ...you'll see that the cfdump of the "res1" object has no data in it.
> If
> > it
> > returned the value of the attribute somewhere in the array, I'd be home
> > free.
> >
> > Is there something really basic about this that I'm missing?
> >
> >
> > -Original Message-
> > From: Alexander Sherwood [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 12, 2003 1:47 PM
> > To: CF-Talk
> > Subject: RE: XPath in CFMX
> >
> >
> > At 11:19 AM 3/12/2003 -0600, you wrote:
> >
> > >That's sort of what I was afraid of.  If it's legal XPath syntax, then
> > why
> > >doesn't the XmlSearch function support it?  Is it a weakness in MX, or
> is
> > >this a deliberate omission?  And does anybody know if MM has plans to
> > >support this in the future?
> >
> > Well, i think it has more to do with how MACR wanted to implement the
> > XMLSearch feature. The W3C spec doesn't specifiy how the parser should
> > return data, it just specifies that the XPATH should locate the
> > element/attribute in the document - no matter what.
> >
> > MACR just decided that they wanted to return an array instead of say, a
> > string variable or a number. This makes sense when, in many cases,
> you're
> > not sure how much data is going to come back. The function is
> standardized
> > to return the same data type on each call: an array.
> >
> > Look at this Xpath, for example: '//Address'. If you XMLSearch()'ed on
> > this
> > path and the parser found 4 valid elements, how would it be returned to
> > you? In an array or some other "collection" like data type (struct, hash
> > table, etc.).
> >
> > BUT, when you are using XMLSearch() to grab one element's attribute, how
> > can the function just return you a string, and not an array? You would
> > have
> > to write code after each function call to decided how to process the
> > return
> > data. Did I get back an array to loop over or a string? MACR just went
> > with
> > the array because it make the most sense - regardless of what the parser
> > finds. Even if you search for one element, you grab it at index[1], and
> > use
> > XMLAttributes to extract the string or numeric value.
> >
> > It would be nice, however, to have an XMLExtractAttribute() function,
> that
> > simply returns the first attribute (in the form of a string return type)
> > value found for the supplied XPATH.
> >
> >
> >
> >
> >
> > >-Original Message-
> > >From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
> > >Sent: Wednesday, March 12, 2003 11:24 AM
> > >To: CF-Talk
> > >Subject: Re: XPath in CFMX
> > >
> > >
> > >Mueller, Ben wrote:
> > > > Yes, that is exactly what I want.  It would appear (at least from
> > > > Microsoft's website) that this is legal Xpath syntax.  A previous
> > poster
> > > > suggested that this may have been an extension MS made that falls
> > outside
> > > > the w3c spec.  

Re: Com and CFMX

2003-03-12 Thread Frank Mamone
Updater 2 fixed alot of issues but there's still one for me where it doesn't
release the object from memory for a few seconds. Not a real issue if your
object is multi-threaded but a problem for me as the object I'm using  is
not. So ASP it is for the COM stuff.


- Original Message -
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 3:39 PM
Subject: RE: Com and CFMX


> there is info on this in the known issues lists at macromedia.com
>
> D
>
> >-Original Message-
> >From: Robert Bailey [mailto:[EMAIL PROTECTED]
> >Sent: Wednesday, March 12, 2003 3:12 PM
> >To: CF-Talk
> >Subject: Com and CFMX
> >
> >
> >So running the same scripts under CFMX and CF5 server, they do not work
> >under CFMX. So I am guessing the CFMX is having some problems
> >communicating
> >with com objects. Any work arounds or has MM addressed this issue? Any
> >pointers would be very welcomed, as I really need to be able
> >to work with
> >com objects within CFMX and it is a little disappointing that
> >I am unable to
> >:(
> >
> >Thanks!
> >Robert Bailey
> >Famous for nothing
> >
> >
> >
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Remove_ALL_connectors.bat?

2003-03-12 Thread Aidan Whitehall
> In the future, you can simply back up the IIS metabase. You can do
> this right within the IIS management console. I would recommend
> that you do this before making any significant changes, and do it
> after you've set it up the way you like it, also.

As an addendum to this thread, I've just run Remove_ALL_connectors.bat
on a second machine also with CFMX and Updater 2. Again, it removed all
ISAPI filters in the Master Web Site Properties, not just the
JRunConnector Filter.

Having replicated it on a different machine, I'm now confident this is a
bug.


-- 
Aidan Whitehall <[EMAIL PROTECTED]>
Macromedia ColdFusion Developer
Fairbanks Environmental Ltd  +44 (0)1695 51775


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



  1   2   3   >