RE: Macromedia gives up on the server market in Australia and wal ks away.

2004-11-17 Thread dave
[quote]"Classic" ASP is still here - there's nothing stopping you from running 
your
ASP applications on Windows Server 2003[/quote]

well duh! of course u can still use it but is it being dev'd anymore? no

the comment was in ref to he/she saying well they dont know if cfml will be 
here tomorrow.
ok so what if its not? ppl will still run it for yrs to come, hell u still got 
ppl on here running 4.5 & how old is it?
and how in the world is it going to just "go away"?
even if MM went belly up, someone would buy it not to mention companies such as 
new atlanta and the other ones currently making cfm servers.

I remember even before i started doing this, my first real estate web site that 
i had made 4 me was in coldfusion and i remember one of my clients looking at 
it and moaning about how cfm wasnt going to be around for much longer and that 
i shoulda went with the "new great technology" called ASP. nuff said.





-- Original Message --
From: Dave Watts <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date:  Wed, 17 Nov 2004 11:20:49 -0500

>> wouldnt using the words "safety" and "microsoft" in the same 
>> sentence and have a direct meaning to one another be 
>> slanderous statement? makes me wanna barfff
>> 
>> thats funny, the perception that is.
>> and thats the exact route i would take to fight it.
>> running it on a windows server pretty much puts a target on 
>> your back, wouldnt it be "safer" to run cfm on a linux 
>> server? Not to mention their constant "updating" woes.
>
>This kind of visceral, irrational anti-MS sentiment doesn't really help sell
>non-MS products. Lots of people use MS products successfully and safely, and
>just dismiss any rational arguments you might actually have if they're
>preceded by this. Lots of people run secure Windows servers, and lots of
>people run insecure Linux servers.
>
>> and then before u mentioned something about not knowing if 
>> what ur proposing will even be around in a few yrs.
>> 
>> u mean like m$ did with asp? and im sure will do again with .net
>
>"Classic" ASP is still here - there's nothing stopping you from running your
>ASP applications on Windows Server 2003, for example. Most web applications
>have a relatively short lifespan anyway.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>phone: 202-797-5496
>fax: 202-797-5444
>
>
>

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Macromedia gives up on the server market in Australia and wal ks away.

2004-11-17 Thread dave
[quote]Well, actually, have you checked out ASP.NET 2.0[/quote]
no not really and i wont until billy comes over and sucks a fart outta my azz 
and refunds me all the money hes ripped me off for! haha
Luckily, i dont have to work for anyone, especially where'd i'd be in a 
position to have to support some crap azz'd company like m$.
sure maybe the stuff is good and great but i also have a choice and my choice 
is to give my devotion to a decent company..aka MM
and i dont use anything that that the others have that cfm doesnt
but i am also a salesman and selling cfm aint that hard! 
so i might have been wrong on some of my statements and thats cool, i can admit 
it


[quote]Neither Flex nor Flash is built around using
>CF as the back end, either - you can use practically anything to get your
>data into Flex.[/quote]

now come on dave, i didnt ever say u couldnt use other things to connect to 
those. Hell, if u could pop out a turd with info in it, flash could probably 
get the info out! That wasnt what i was saying at all. 
now was flex and remoting built around cfm? U BETCHA! and u cant say it wasnt, 
sure u can use other things too but flash w/remoting, and flex where really 
built around using cfm as the backend. Watch the vids on MM they even say so, 
then look at it.

remoting~ comes with cfml built in even, does it with .net? no, with php, no 
and i know u dont want me anywhere near that argument again! haha
so the native function of that was using cfml

flex~ same almost, sure u can use anything to get data in but it was made to 
really work with cfml and maybe thats why u can run flex straight within your 
cfml code. as far as i know you cant do that with the others right?


-- Original Message --
From: Dave Watts <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date:  Wed, 17 Nov 2004 10:53:32 -0500

>> what else has progressed as much as cfm in the last yr or so?
>> 
>> .net not much
>> php - nope
>> jsp - nope actually probably gone done now that cfm can play 
>> with jsp cgi? Lol
>
>Well, actually, have you checked out ASP.NET 2.0? There's quite a bit of new
>stuff coming there. Likewise, in the JSP world, there are all kinds of
>relatively new things like JavaServer Faces. I don't know enough about PHP 5
>to comment on it, but PHP fans are very excited about new features there.
>
>> cfc's, remoting, j2ee deployment, flash forms, the new print 
>> functions, new reporting functions, flex intrgration, not to 
>> mention that flex & flash are really build around using 
>> coldfusion as the backend
>
>Most of the things you mention here aren't really specific to CF. CFCs are
>essentially just classes, you can use remoting with J2EE or .NET (and pay
>less for those packages than you would for CF), you can do fantastic
>reporting from ASP.NET using the new MS SQL Server Reporting Services (which
>are also available through CF). Neither Flex nor Flash is built around using
>CF as the back end, either - you can use practically anything to get your
>data into Flex.
>
>Personally, I really like CF, as you do. I'm very excited about Blackstone,
>especially with regard to the asynchronous processing stuff like event
>gateways. But I don't let that blind me to the fact that there are lots of
>other competitive products out there, and neither should you.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>phone: 202-797-5496
>fax: 202-797-5444
>
>
>

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Reference to complex var not destroyed

2004-11-17 Thread Taco Fleur
> This is the correct behavior in CF as well as in any other language I know
of in which you can pass values by reference. The conceptual error you're
making is that there is no "original" structure - there is simply a
structure that has one or more references. When you create a structure and
put it in a variable, that variable contains a reference to the structure,
rather than the structure itself.

Dave,

I don't think you understand me correctly, I understand that a REFERENCE is
created and not a copy of the structure itself, if you read my message again
you might see this.

My question is: why is the reference not destroyed when the original
structure is?
When I update the original structure with another value the reference is
updated, but why not destroyed?


-- 
Taco Fleur
Senior Web Systems Engineer
http://www.webassociates.com


-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 18 November 2004 3:22 PM
To: CF-Talk
Subject: RE: Reference to complex var not destroyed

> When I create a reference to a complex structure I was always under 
> the impression that the reference would be destroyed if the original 
> is destroyed, but it seems this is not the case. Can anyone confirm 
> whether this is normal behaviour or not?

This is the correct behavior in CF as well as in any other language I know
of in which you can pass values by reference. The conceptual error you're
making is that there is no "original" structure - there is simply a
structure that has one or more references. When you create a structure and
put it in a variable, that variable contains a reference to the structure,
rather than the structure itself.

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




~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Reference to complex var not destroyed

2004-11-17 Thread Dave Watts
> When I create a reference to a complex structure I was always under 
> the impression that the reference would be destroyed if the original
> is destroyed, but it seems this is not the case. Can anyone confirm 
> whether this is normal behaviour or not?

This is the correct behavior in CF as well as in any other language I know
of in which you can pass values by reference. The conceptual error you're
making is that there is no "original" structure - there is simply a
structure that has one or more references. When you create a structure and
put it in a variable, that variable contains a reference to the structure,
rather than the structure itself.

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


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Macromedia gives up on the server market in Australia and wal ks away.

2004-11-17 Thread Donnie Bachan
I agree with Dave here. As far as I am concerned there is nothing like CF 
for rapid deployment but CF is not the be all and end all in my development. 
I like the ability to intermix custom server side Java stuff depending on 
the situation and that to me is a big plus. However, ASP.NET is chock full 
of features and one thing that Microsoft does REALLY well is make it easy 
for their products to communicate and well .NET works REALLY well with SQL 
Server features.

CFC's are great, it gives us the feeling that we are really OO programmers 
for an instant but a CFC is simply a Java or C++ or C# class if you think 
about it. Every single Java object you create is a CFC and you can't get 
much more native than that. I was very upset with Macromedia for releasing 
CF MX when they did, it was a substandard product! 6.1 has been much better 
to us on Windows 2003 systems and I suspect that Blackstone will be even 
better but I can't honestly say that I will turn a blind eye to everything 
else because CF is easy. I believe in using the best technology for the 
particular implementation.

Someone mentioned that Flash forms will probably not be used much, I 
disagree with this statement. If Macromedia takes CF in the direction I 
think they are moving with their big push towards converting the web to RIAs 
there will be nothing easier than Flash Form stuff in the near future.

Just my $0.02

Best Regards,

Donnie Bachan 
Phone: (718) 
217-2883 
ICQ#: 28006783 

"Nitendo Vinces - 
By Striving You Shall Conquer" 


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


SOLVED Re: cfmail problems

2004-11-17 Thread George Abraham
Right,
Apparently the virus protection program screws around with
port-blocking rules. Ah, well!

George


On Wed, 17 Nov 2004 22:45:03 -0500, George Abraham
<[EMAIL PROTECTED]> wrote:
> All,
> I had cfmx 6.1 running on a Windows server. The mail setting had never
> worked, but I had never needed it, so I left it as is. Anyway, I need
> it for a project now, so here goes. I updated 6.1 using the updater
> and voila, it worked . for about 3 days. Just today morning while
> I was testing I sent three emails to myself and it had worked then.
> Suddenly now it cannot connect to the smtp server of my ISP. So I
> activated the IIS SMTP server to see if it would connect to that.
> Doesn't do it there either. Now this is all on my test server.
> 
> I went through the same routine three days ago with my production
> server and the updater managed to get my cfmail working. At the same
> time that my cfmail on my test server crapped out, the cfmail on my
> production server crapped out. Now I know what you are thinking: ISP
> problems! But I can send and receive mails with no problems. What's
> more I tested the same thing with a totally different CF 5 server with
> the ISP's SMTP and it works fine.
> 
> What gives?
> 
> Here is the exception it gives when I try to send mail:
> 
> Could not connect to SMTP host: smtp.isp.com, port: 25; nested
> exception is: java.net.SocketException: Software caused connection
> abort: connect
> 
> 
> TIA,
> George
>

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


cfmail problems

2004-11-17 Thread George Abraham
All,
I had cfmx 6.1 running on a Windows server. The mail setting had never
worked, but I had never needed it, so I left it as is. Anyway, I need
it for a project now, so here goes. I updated 6.1 using the updater
and voila, it worked . for about 3 days. Just today morning while
I was testing I sent three emails to myself and it had worked then.
Suddenly now it cannot connect to the smtp server of my ISP. So I
activated the IIS SMTP server to see if it would connect to that.
Doesn't do it there either. Now this is all on my test server.

I went through the same routine three days ago with my production
server and the updater managed to get my cfmail working. At the same
time that my cfmail on my test server crapped out, the cfmail on my
production server crapped out. Now I know what you are thinking: ISP
problems! But I can send and receive mails with no problems. What's
more I tested the same thing with a totally different CF 5 server with
the ISP's SMTP and it works fine.

What gives?

Here is the exception it gives when I try to send mail: 

Could not connect to SMTP host: smtp.isp.com, port: 25; nested
exception is: java.net.SocketException: Software caused connection
abort: connect


TIA,
George

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


An exception occurred when executing a Com method

2004-11-17 Thread Asim Manzur
This is not a JAVA component, I am aware that coldfusion is not good to 
initiate the NON JAVA Components.
But this component is perfectly working in ASP. There must be a way to work 
around to initiate the component in coldfuion.

Is any software which creates the virtual environment (which is used by ASP).

Anything which is possible to create the object with the COM component.

The following is my code.
 

its not generating the error on this line, its generating error when I dump it. 

What does it means, the component will create when I use it or the component 
will create with the line of code I wrote above?


thanks all

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Reference to complex var not destroyed

2004-11-17 Thread Taco Fleur
When I create a reference to a complex structure I was always under the
impression that the reference would be destroyed if the original is
destroyed, but it seems this is not the case. Can anyone confirm whether
this is normal behaviour or not?

What I am trying to do is set a complex var in the application scope, create
a reference to it in the server scope and was hoping it would get destroyed
when the application times out, but its not working, unfortunately..
-- 
Taco Fleur
Senior Web Systems Engineer
http://www.webassociates.com  

 


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


oscache and mx

2004-11-17 Thread Katz, Dov B (IT)
Has anyone used OpenSymphony oscache with Cfmx?  Any experiences to
share or advice?
 
Dov Katz 

 
NOTICE: If received in error, please destroy and notify sender.  Sender does 
not waive confidentiality or privilege, and use is prohibited. 
 


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Verity Collection

2004-11-17 Thread Douglas Knudsen
  custom2="itemListPrice"
>  key="itemID"
>  title="itemName"
>  query="getItems">
>  subject="COLLECTION INDEXING" server="#MAIL_SERVER#">
> FINISHED INDEXING THE ITEM QUERY
> 
> 
> 
>  
> 
>  subject="COLLECTION INDEXING" server="#MAIL_SERVER#">
> FINISHED OPTIMIZING THE ITEM COLLECTION
> 
> 
> 
> 
> 
>  At 02:29 PM 11/17/2004, you wrote:
> >can you post your cfindex tag code?  oh, and your cfsearch code too.
> >
> >Doug
> >
> >On Wed, 17 Nov 2004 14:00:34 -0700, Jason Smith
> ><[EMAIL PROTECTED]> wrote:
> > >
> > >
> > > Anyone out there real familiar with verity collections, I'm having trouble
> > > getting one to index correctly. I'll give us many details as possible if I
> > > left anything out just let me know.
> > >
> > > The server is a Coldfusion 6.1MX on a windows 2003 server. Now myself I'm
> > > very new to cold fusion and just trying to learn more. I have setup a few
> > > sites for customers but this is the first site that uses a verity
> > collection.
> > >
> > > Now on to the problem I have read a few resources that all point to
> > > creating the verity collection and then index the collection. Well I 
> > > called
> > > the previous hosting company they moved from to get the exact settings
> > > however the indexing of verity collections if not written down doesn't
> > > appear to be retrievable. So this is where I am stuck I have the 
> > > collection
> > > created.
> > >
> > > name itemcollection
> > > mapped yes
> > > online yes
> > > external no
> > > language english
> > > path c:\inetpub\mysite\admin\verity\collections\itemcollection
> > >
> > > Now for the indexing this is the problem I run into I'm assuming it should
> > > be indexing the search directory since that is where all the items have
> > > created detail pages. File extensions since looking in that directory 
> > > there
> > > are mainly html pages with 2 cfm pages I'm assuming html pages are the 
> > > only
> > > things I want to index.
> > >
> > > path c:\inetpub\mysite\search
> > > return url http://www.mysite.com/search
> > >
> > > After I let it index the files and I go to the test search engine and run 
> > > a
> > > search the results are wrong, first off you can search for anything and 
> > > get
> > > a return of 100+ matches which is the company name not a product. Then
> > > checking the link of the result found I come across another problem.
> > >
> > >
> > http://www.mysite.com/search/itemDetail_C:/Inetpub/mysite/search/itemSearch.html.html
> > >
> > > Every result has this as the url which obviously isn't correct.
> > >
> > > I have spent a few hours reviewing forums and reading posts, book
> > > information different things so far I have yet to find a fix for this so 
> > > if
> > > anyone can help I would greatly appreciate it.
> > >
> > > Jason Smith
> > >
> > > __ NOD32 1.924 (20041117) Information __
> > >
> > > This message was checked by NOD32 antivirus system.
> > > http://www.nod32.com
> > >
> > > Web Your Business Inc., - located in Loveland, Colorado; serving the 
> > > World!
> > > http://www.webyourbusiness.com/ - & - http://www.aaabusinesshosting.com/
> > > Phone: 970-593-6260 - Fax: 970-593-6267 - Toll Free: 1-877-416-8655
> > >
> > >
> >
> >
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: What sets the domain in default CFID cookies?

2004-11-17 Thread Nick Cabell
Mark,

Thanks for your patience. I really want to figure this out.

OK, I can see that requests contain different host names (e.g. myhost.net, 
www.myhost.com, etc). The problem is that when I do a redirect via cflocation, 
a different host name than what they started with will get stored as the 
session token, and thus the session confusion. 

For example, on the home page a session token is set, then in my 
application.cfm they are redirected to the login page if they request a secure 
page, using something like this:



The resulting URL is set to contain a domain name that might well differ from 
the original request. 

How do others deal with this problem of multiple domain names creating 
different session tokens?

nick

> Configure your web server to log the host name of each request and 
> check it out... if you see it changing then you can use the referrer 
> (which you should also log) and find the link that is changing the 
> host name.
> 
> As for the domain value for cookies, it comes from the current host 
> name.
> 
>   Mark

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: What sets the domain in default CFID cookies?

2004-11-17 Thread Nick Cabell
Mark,

Thanks for your patience. I really want to figure this out.

OK, I can see that requests contain different host names (e.g. myhost.net, 
www.myhost.com, etc). The problem is that when I do a redirect via cflocation, 
a different host name than what they started with will get stored as the 
session token, and thus the session confusion. 

For example, on the home page a session token is set, then in my 
application.cfm they are redirected to the login page if they request a secure 
page, using something like this:



The resulting URL is set to contain a domain name that might well differ from 
the original request. 

How do others deal with this problem of multiple domain names creating 
different session tokens?

nick

> Configure your web server to log the host name of each request and 
> check it out... if you see it changing then you can use the referrer 
> (which you should also log) and find the link that is changing the 
> host name.
> 
> As for the domain value for cookies, it comes from the current host 
> name.
> 
>   Mark

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: CFMX 6.1 Linux install problem

2004-11-17 Thread Simeon Bateman
That leads me to believe that jrun/cfmx are not processin the requests.

Which install did you do.  Standalone server? j2ee?

simeon


On Wed, 17 Nov 2004 16:05:06 -0800, JB McMichael <[EMAIL PROTECTED]> wrote:
> It downloads the cfm code and all.  In my case, its the encrypted admin page.
> 
> 
> 
> 
> On Wed, 17 Nov 2004 15:40:25 -0800, Simeon Bateman <[EMAIL PROTECTED]> wrote:
> > Thas kinda bizarre.  Usually when I am not connected correctly, I just
> > outputs the contents of the cfm file to the browser.
> >
> > When you download a page is it the cfm, or is it the rendered html you
> > would expect?
> >
> > simeon
> >
> >
> >
> >
> > On Wed, 17 Nov 2004 15:35:55 -0800, JB McMichael <[EMAIL PROTECTED]> wrote:
> > > On Mandrake 10, I installed 6.1 without a problem.  It installed, it
> > > created all of the so files it needed to, and its running.  But
> > > whenever I try to go to a cfm page the browser tries to download the
> > > page, not render it.  Here are the relavant parts of my apache
> > > configs, maybe I am missing something?
> > > From httpd.conf
> > > # JRun Settings
> > > LoadModule jrun_module 
> > > /opt/coldfusionmx/runtime/lib/wsconfig/1/mod_jrun20.so
> > > 
> > > JRunConfig Verbose false
> > > JRunConfig Apialloc false
> > > JRunConfig Ssl false
> > > JRunConfig Ignoresuffixmap false
> > > JRunConfig Serverstore
> > > /opt/coldfusionmx/runtime/lib/wsconfig/1/jrunserver.store
> > > JRunConfig Bootstrap 127.0.0.1:51010
> > > #JRunConfig Errorurl 
> > > AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc
> > > 
> > >
> > > In commonhttpd.conf
> > > 
> > > DirectoryIndex index.html index.cfm index.html.var index.php
> > > index.php3 index.shtml index.cgi index.pl index.htm Default.htm
> > > default.htm index.xml
> > > 
> > >
> > > Is there anything else that should exist in any other file?
> > >
> > > -JB
> > >
> > >
> >
> >
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Image color info?

2004-11-17 Thread Emmet McGovern
HAH!  Don't change too much.  You might put your award in jeopardy.

-e

-Original Message-
From: Lewis Sellers [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 17, 2004 7:28 PM
To: CF-Talk
Subject: Re: Image color info?

Emmet McGovern wrote:

>I totally forgot about that site.  It should get the wacky cf site of the
>millennia award.  Or something like that.
>
>  
>
Hey... Like, I _HEARD_ you. /-)

For your information, the site is about to under go a relaunch. All the 
software has been updated and repackaged, plus some neat new stuff. Some 
free, some commercial.

It will still be "wacky"/scary, etc, I'm afraid, but a little less so at 
least.  (Sorry, I just couldn't restrain myself enough to get rid of the 
Oroborous logo/tattoo -- It's now the official logo.)

>I put together a nice server manager with his hosting toolkit a long time
>ago. I wonder if any of that stuff works with IIS/win2003 these days.
>
>  
>
Yes. At least the copy on my machine does. I just rebuilt and repacked 
it two or three(?) weeks ago. Simply haven't had the chance to finish 
the redesign of the website so that it's all downloadable.

>BTW...  the tag works like a charm.  Hopefully the server will appreciate
>the atomic warfare that I've unleashed upon it.
>
>  
>
Yes... It's true, since I was a wee lad I've always wanted my remains to 
be laid to rest on a little wooden platform draped above a live 
thermonuclear device ... A modern-day viking-style pyre... just without 
the business of the long boats.

I know.

I have a problem.

Shrug. ;)

>-e
>
>-Original Message-
>From: James Smith [mailto:[EMAIL PROTECTED] 
>Sent: Wednesday, November 17, 2004 11:55 AM
>To: CF-Talk
>Subject: RE: Image color info?
>
>I think http://www.intrafoundation.com/CFX_ImageInfoMX.asp will do what you
>ask.
>
>--
>Jay 
>  
>
--min
Intrafoundation Software
http://ww.intrafoundation.com




~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


IHTK v3.19

2004-11-17 Thread Lewis Sellers
I've finally [risen from the dead] and fixed the issues with CFX_IIS tag
in IHTK not working under CFMX 6.1, etc.

If two or three people want to beta it, email me. It's a 1.8mb exe.

I'm looking for a bit of feedback on the issue with people who have
actively been using it the last few years, btw.

Thanks,

--min
Intrafoundation Software
http://www.intrafoundation.com




~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


IHTK v3.19

2004-11-17 Thread Lewis Sellers
I've finally [risen from the dead] and fixed the issues with CFX_IIS tag
in IHTK not working under CFMX 6.1, etc.

If two or three people want to beta it, email me. It's a 1.8mb exe.

I'm looking for a bit of feedback on the issue with people who have
actively been using it the last few years, btw.

Thanks,

--min
Intrafoundation Software
http://ww.intrafoundation.com




~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Image color info?

2004-11-17 Thread Lewis Sellers
Emmet McGovern wrote:

>I totally forgot about that site.  It should get the wacky cf site of the
>millennia award.  Or something like that.
>
>  
>
Hey... Like, I _HEARD_ you. /-)

For your information, the site is about to under go a relaunch. All the 
software has been updated and repackaged, plus some neat new stuff. Some 
free, some commercial.

It will still be "wacky"/scary, etc, I'm afraid, but a little less so at 
least.  (Sorry, I just couldn't restrain myself enough to get rid of the 
Oroborous logo/tattoo -- It's now the official logo.)

>I put together a nice server manager with his hosting toolkit a long time
>ago. I wonder if any of that stuff works with IIS/win2003 these days.
>
>  
>
Yes. At least the copy on my machine does. I just rebuilt and repacked 
it two or three(?) weeks ago. Simply haven't had the chance to finish 
the redesign of the website so that it's all downloadable.

>BTW...  the tag works like a charm.  Hopefully the server will appreciate
>the atomic warfare that I've unleashed upon it.
>
>  
>
Yes... It's true, since I was a wee lad I've always wanted my remains to 
be laid to rest on a little wooden platform draped above a live 
thermonuclear device ... A modern-day viking-style pyre... just without 
the business of the long boats.

I know.

I have a problem.

Shrug. ;)

>-e
>
>-Original Message-
>From: James Smith [mailto:[EMAIL PROTECTED] 
>Sent: Wednesday, November 17, 2004 11:55 AM
>To: CF-Talk
>Subject: RE: Image color info?
>
>I think http://www.intrafoundation.com/CFX_ImageInfoMX.asp will do what you
>ask.
>
>--
>Jay 
>  
>
--min
Intrafoundation Software
http://ww.intrafoundation.com


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: CFMX 6.1 Linux install problem

2004-11-17 Thread JB McMichael
It downloads the cfm code and all.  In my case, its the encrypted admin page.


On Wed, 17 Nov 2004 15:40:25 -0800, Simeon Bateman <[EMAIL PROTECTED]> wrote:
> Thas kinda bizarre.  Usually when I am not connected correctly, I just
> outputs the contents of the cfm file to the browser.
> 
> When you download a page is it the cfm, or is it the rendered html you
> would expect?
> 
> simeon
> 
> 
> 
> 
> On Wed, 17 Nov 2004 15:35:55 -0800, JB McMichael <[EMAIL PROTECTED]> wrote:
> > On Mandrake 10, I installed 6.1 without a problem.  It installed, it
> > created all of the so files it needed to, and its running.  But
> > whenever I try to go to a cfm page the browser tries to download the
> > page, not render it.  Here are the relavant parts of my apache
> > configs, maybe I am missing something?
> > From httpd.conf
> > # JRun Settings
> > LoadModule jrun_module 
> > /opt/coldfusionmx/runtime/lib/wsconfig/1/mod_jrun20.so
> > 
> > JRunConfig Verbose false
> > JRunConfig Apialloc false
> > JRunConfig Ssl false
> > JRunConfig Ignoresuffixmap false
> > JRunConfig Serverstore
> > /opt/coldfusionmx/runtime/lib/wsconfig/1/jrunserver.store
> > JRunConfig Bootstrap 127.0.0.1:51010
> > #JRunConfig Errorurl 
> > AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc
> > 
> >
> > In commonhttpd.conf
> > 
> > DirectoryIndex index.html index.cfm index.html.var index.php
> > index.php3 index.shtml index.cgi index.pl index.htm Default.htm
> > default.htm index.xml
> > 
> >
> > Is there anything else that should exist in any other file?
> >
> > -JB
> >
> >
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: CFMX 6.1 Linux install problem

2004-11-17 Thread Simeon Bateman
Thas kinda bizarre.  Usually when I am not connected correctly, I just
outputs the contents of the cfm file to the browser.

When you download a page is it the cfm, or is it the rendered html you
would expect?

simeon


On Wed, 17 Nov 2004 15:35:55 -0800, JB McMichael <[EMAIL PROTECTED]> wrote:
> On Mandrake 10, I installed 6.1 without a problem.  It installed, it
> created all of the so files it needed to, and its running.  But
> whenever I try to go to a cfm page the browser tries to download the
> page, not render it.  Here are the relavant parts of my apache
> configs, maybe I am missing something?
> From httpd.conf
> # JRun Settings
> LoadModule jrun_module /opt/coldfusionmx/runtime/lib/wsconfig/1/mod_jrun20.so
> 
> JRunConfig Verbose false
> JRunConfig Apialloc false
> JRunConfig Ssl false
> JRunConfig Ignoresuffixmap false
> JRunConfig Serverstore
> /opt/coldfusionmx/runtime/lib/wsconfig/1/jrunserver.store
> JRunConfig Bootstrap 127.0.0.1:51010
> #JRunConfig Errorurl 
> AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc
> 
> 
> In commonhttpd.conf
> 
> DirectoryIndex index.html index.cfm index.html.var index.php
> index.php3 index.shtml index.cgi index.pl index.htm Default.htm
> default.htm index.xml
> 
> 
> Is there anything else that should exist in any other file?
> 
> -JB
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


CFMX 6.1 Linux install problem

2004-11-17 Thread JB McMichael
On Mandrake 10, I installed 6.1 without a problem.  It installed, it
created all of the so files it needed to, and its running.  But
whenever I try to go to a cfm page the browser tries to download the
page, not render it.  Here are the relavant parts of my apache
configs, maybe I am missing something?
>From httpd.conf
# JRun Settings
LoadModule jrun_module /opt/coldfusionmx/runtime/lib/wsconfig/1/mod_jrun20.so

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


In commonhttpd.conf

DirectoryIndex index.html index.cfm index.html.var index.php
index.php3 index.shtml index.cgi index.pl index.htm Default.htm
default.htm index.xml


Is there anything else that should exist in any other file?

-JB

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: CFC form handling

2004-11-17 Thread Dawson, Michael
I think I would just have the form submit to itself.

At the top of the page, check if the form was submitted.  If so,
validate the data.  If there are any errors, store them in a list or
array (or CFC instance) and then redisplay the form.  By submitting the
form to itself, you can easily fill out the form fields with the
just-submitted data so the user doesn't have to type everything again.

Another alternative is to submit to an action page, do the same stuff,
but if there are errors, copy the form fields to the session scope and
go back to the form. 

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 17, 2004 11:47 AM
To: CF-Talk
Subject: CFC form handling

I am stumped here.

I am trying to learn how to utilize the full power of CFC's in a better
practice way (working my way towards best practices).  I am building an
administrative application.  I have put the queries into a data CFC, my
business logic into its own CFC, and thus leaving the display code in
its own CFM file.

This has been working well so far, but I have found my self in a dark
alley and I can not see how to code myself out of it.  I'm looking for
some basic strategy suggestions on how to build this in a more
OO/multi-tier and less procedural way.

The path I have followed so far is something like this:

Form.cfm
This is just what it says, a file that contains a form.

App.cfc
This file is a middleman CFC that the form submits to using the
following structure.  My current thinking is that this file is doing the
validation and verification of the data submitted from the form
according to the business needs.

   
   ...


Data.cfc
This is the CFC that the App.cfc utilizes to actually get the data from
the form into the database.  It contains the database logic and SQL
statements.

The trouble I am experiencing is that the logic in the app.cfc has two
exits.  First of all, my understanding of best practices makes me feel
that this may be a bad result of itself, but I do not see a way to
rearrange the pieces of my code to eliminate this.  Secondly, even if I
accept the two exits from the App.cfc method, I can't figure a way to
actually make it work.

The problem is that the formMethod() function is checking the data from
the form, if the data is valid; it calls the appropriate method of the
data.cfc to get the data into the database.  But what do I do when the
data is invalid?  The program flow needs to somehow get back to the form
with information about why the data is invalid, so that the user can be
prompted to correct the errors.

Since the form has been submitted to the App.cfc that is where the logic
"pointer" is currently located.  In other words, if I don't do anything
to relocate and just finish processing, the URL of the browser will be
such as "http://aWebSite/app.cfc";.   So how can I get the location and
the error data back to the form.cfm file?  

I tried to store the error data in the session scope to persist it and
then us a , but that does not seem to work.  When I dump
the session scope in the form file, it is unaware of any of the values
set in the app.cfc code.  I think I have run into this problem before.
It seems that if one submits forms to cfc methods for processing, this
cfc has a separate world of persistent variables.  I can set and output
values in application or session scope in the cfc, but not from files
that come after the cfc.

So can somebody guide me to a better way to organize my logic so that I
do not have the two exits currently required from the app.cfc
formMethod() function?  Or at least help me figure out how to get the
data from this method back to the originating form?

Thank you much.

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

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

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





~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: MX Methodologies (Mach2?? Fusebox??)

2004-11-17 Thread Dawson, Michael
You might want to subscribe to the MachII mailing list.  You should also
subscribe to the CFC mailing list.  The CFC list is at
http:www.cfczone.org/.

There has been some recent dicussion about validation and design
patterns that may help you with a methodology.

M!ke 

-Original Message-
From: Ali Awan [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 17, 2004 12:01 PM
To: CF-Talk
Subject: MX Methodologies (Mach2?? Fusebox??)

I was wondering if anyone on here has had any experience upgrading their
CF apps (pre-MX) to the Mach2 framework?

If so, how would you advise someone who was attempting to upgrade an app
written for CF 5.0 to Mach2. (I'm upgrading to MX also, obviously).

I have seen examples of Mach2, like Shopping Cart apps, etc.  This seems
to work nicely when there are clearly defined objects, events, etc.  But
as most of us know, not all Cold Fusion or web apps can be neatly
organized into objects, events etc.

Anyway, I just wanted to start a discussion, to see if anyone else has
converted an app that wasn't as clearly defined as a shopping cart, to
Mach2 and what advise they may have, or what pitfalls they encountered.
Additionally in some cases is it better just to stick with the Fusebox
framework on MX?

Thanks,
Ali



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Update multiple rows

2004-11-17 Thread Parker, Kevin
Thanks Graham - I actually use Code Charge Studio and quite like it but
I don't find it particularly suitable for doing some front end stuff -
its makes great backbends - I had naturally considered it for this job
and have done the whole backend with CCS but I feel more comfortable
hand coding the front end - I just needed to get my head around multiple
row updates (which CCS's grid functionality does quite well - but not
for this job).

Thanks for the suggestion! 



++
Kevin Parker
Web Services Manager
WorkCover Corporation

p: 08 8233 2548
m: 0418 806 166
e: [EMAIL PROTECTED]
w: www.workcover.com

++

-Original Message-
From: Graham Pearson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 17 November 2004 10:42 PM
To: CF-Talk
Subject: Re: Update multiple rows

Check out www.yessoftware.com for a Program called CodeCharge Studio
which I usee to create all of my data entry screens. The money I used to
purchase this program allows me to save time and not worry about
validation or user entry issues as it handles this, I then take their
code and wrap my own headers/footers around the application and have a
finished product.


At 11:22 PM 11/16/2004, you wrote:
>I need to write an app where the user can update multipe rows from one 
>screen - like a GRID (but not using CFGRID or similar tags) - needs to 
>be table based.
>
>I need a starting point to learn how to do this.
>
>Can anyone point me to suitable articles, tutes etc
>
>Thank you muchly
>
>++
>Kevin Parker
>Web Services Manager
>WorkCover Corporation
>
>p: 08 8233 2548
>m: 0418 806 166
>e: [EMAIL PROTECTED]
>w: www.workcover.com
>
>++
>***
>* This e-mail is intended for the use of the addressee only. It may 
>contain information that is protected by legislated confidentiality 
>and/or is legally privileged. If you are not the intended recipient you

>are prohibited from disseminating, distributing or copying this e-mail.
>
>Any opinion expressed in this e-mail may not necessarily be that of the

>WorkCover Corporation of South Australia. Although precautions have 
>been taken, the sender cannot warrant that this e-mail or any files 
>transmitted with it are free of viruses or any other defect.
>
>If you have received this e-mail in error, please notify the sender 
>immediately by return e-mail and destroy the original e-mail and any 
>copies.
>***
>*
>
>



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Help! Error on ValueList SOLVED

2004-11-17 Thread Pascal Peters
Then your condition should probably be something like

NOT listFindNoCase(fileNames,
REReplaceNoCase(qDirectory.name,"\.jpg$",""))

Pascal

> -Original Message-
> From: Donna French [mailto:[EMAIL PROTECTED]
> Sent: 17 November 2004 23:08
> To: CF-Talk
> Subject: Re: Help! Error on ValueList SOLVED
> 
> Oh okay, I see - the image is referred to by lanesid (img
> src=images/400/#lanesid#.jpg)
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Help! Error on ValueList SOLVED

2004-11-17 Thread Pascal Peters
Then your condition should probably be something like

NOT listFindNoCase(fileNames,
REReplaceNoCase(qDirectory.name,"\.jpg$",""))

Pascal

> -Original Message-
> From: Donna French [mailto:[EMAIL PROTECTED]
> Sent: 17 November 2004 23:08
> To: CF-Talk
> Subject: Re: Help! Error on ValueList SOLVED
> 
> Oh okay, I see - the image is referred to by lanesid (img
> src=images/400/#lanesid#.jpg)
> 
> 
> 
> 
> On Wed, 17 Nov 2004 22:56:16 +0100, Pascal Peters <[EMAIL PROTECTED]>
wrote:
> > The general idea of what you are doing seems OK. Get the images from
> > your tables and compare them with the images in your file system. I
was
> > asking what you are storing in your table. The image file name, the
file
> > name without extension, the relative path to te file, the url to the
> > file, ...??
> >
> > It is deleting all your images because
> > NOT listFind(fileNames, qDirectory.name)
> > always returns true. You have to find out why this happens. My best
> > guess is that your table doesn't store the filename, but something
else
> > (the relative path from some directory maybe?). Or maybe you are on
a
> > windows server and the stored filename doesn't respect the case (use
> > listFindNoCase then).
> >
> > There could be about a hundred more things that go wrong. You could
> > write a test page first that doesn't do the deletes, but outputs
some
> > variables.
> >
> >
> >
> > Pascal
> >
> > > -Original Message-
> > > From: Donna French [mailto:[EMAIL PROTECTED]
> > > Sent: 17 November 2004 22:41
> > > To: CF-Talk
> > > Subject: Re: Help! Error on ValueList SOLVED
> > >
> > > 
> > >
> > > I didn't write this code - you could probably figure that out by
now.
> > > But what I'm trying to do is cleanup images off the server. When I
> > > first wrote this web app about 3 years ago, I didn't include logic
to
> > > delete the image files when a product was deleted from the
database.
> > >
> > > And I'm also in the process of re-designing the database, because
I
> > > have products in two different tables (dolls and products). So
don't
> > > slap my hand on that one. I had just started doing CF much less
> > > database work.
> > >
> > > I do appreciate all of the help and do not take anyone's time for
> > granted.
> > >
> > > ~ Donna
> > >
> > >
> > > On Wed, 17 Nov 2004 22:27:49 +0100, Pascal Peters <[EMAIL PROTECTED]>
> > wrote:
> > > > Your logic is probably wrong. What does #fileNames# contain???
Just
> > an
> > > > image name, a relative path, ...? Also, it's not a very good
idea to
> > > > test your code on a live server.
> > > >
> > > >
> > > >
> > > > Pascal
> > > >
> > > > > -Original Message-
> > > > > From: Donna French [mailto:[EMAIL PROTECTED]
> > > > > Sent: 17 November 2004 22:14
> > > > > To: CF-Talk
> > > > > Subject: Re: Help! Error on ValueList SOLVED
> > > > >
> > > > > Okay, that deleted all files in each directory so I'm having
the
> > > > > hosting company restore from backup.
> > > > >
> > > > > Any ideas?
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Help! Error on ValueList SOLVED

2004-11-17 Thread Donna French
Oh okay, I see - the image is referred to by lanesid (img
src=images/400/#lanesid#.jpg)




On Wed, 17 Nov 2004 22:56:16 +0100, Pascal Peters <[EMAIL PROTECTED]> wrote:
> The general idea of what you are doing seems OK. Get the images from
> your tables and compare them with the images in your file system. I was
> asking what you are storing in your table. The image file name, the file
> name without extension, the relative path to te file, the url to the
> file, ...??
> 
> It is deleting all your images because
> NOT listFind(fileNames, qDirectory.name)
> always returns true. You have to find out why this happens. My best
> guess is that your table doesn't store the filename, but something else
> (the relative path from some directory maybe?). Or maybe you are on a
> windows server and the stored filename doesn't respect the case (use
> listFindNoCase then).
> 
> There could be about a hundred more things that go wrong. You could
> write a test page first that doesn't do the deletes, but outputs some
> variables.
> 
> 
> 
> Pascal
> 
> > -Original Message-
> > From: Donna French [mailto:[EMAIL PROTECTED]
> > Sent: 17 November 2004 22:41
> > To: CF-Talk
> > Subject: Re: Help! Error on ValueList SOLVED
> >
> > 
> >
> > I didn't write this code - you could probably figure that out by now.
> > But what I'm trying to do is cleanup images off the server. When I
> > first wrote this web app about 3 years ago, I didn't include logic to
> > delete the image files when a product was deleted from the database.
> >
> > And I'm also in the process of re-designing the database, because I
> > have products in two different tables (dolls and products). So don't
> > slap my hand on that one. I had just started doing CF much less
> > database work.
> >
> > I do appreciate all of the help and do not take anyone's time for
> granted.
> >
> > ~ Donna
> >
> >
> > On Wed, 17 Nov 2004 22:27:49 +0100, Pascal Peters <[EMAIL PROTECTED]>
> wrote:
> > > Your logic is probably wrong. What does #fileNames# contain??? Just
> an
> > > image name, a relative path, ...? Also, it's not a very good idea to
> > > test your code on a live server.
> > >
> > >
> > >
> > > Pascal
> > >
> > > > -Original Message-
> > > > From: Donna French [mailto:[EMAIL PROTECTED]
> > > > Sent: 17 November 2004 22:14
> > > > To: CF-Talk
> > > > Subject: Re: Help! Error on ValueList SOLVED
> > > >
> > > > Okay, that deleted all files in each directory so I'm having the
> > > > hosting company restore from backup.
> > > >
> > > > Any ideas?
> > > >
> > >
> > >
> >
> >
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: All Loopy over Loops - Need Help

2004-11-17 Thread Pascal Peters
Code missing, but maybe you don't need loops

variables.list = ListAppend(variables.list, ValueList(qQuery,column))

Pascal

> -Original Message-
> From: Bailey, Neal [mailto:[EMAIL PROTECTED]
> Sent: 17 November 2004 22:59
> To: CF-Talk
> Subject: All Loopy over Loops - Need Help
> 
> Hey guys...
> 
> Man I am stuck in a loop...
> 
> I have this query that I need to loop through and then somehow pull
data
> out
> of the query and append it to another comma delimited list. Any ideas
on
> how
> I would go about this. Its got my all loopy.
> 
> Here is kind of an example of what I am trying to do:
> 
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


All Loopy over Loops - Need Help

2004-11-17 Thread Bailey, Neal
Hey guys... 
 
Man I am stuck in a loop... 
 
I have this query that I need to loop through and then somehow pull data out
of the query and append it to another comma delimited list. Any ideas on how
I would go about this. Its got my all loopy. 
 
Here is kind of an example of what I am trying to do:


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Help! Error on ValueList SOLVED

2004-11-17 Thread Pascal Peters
The general idea of what you are doing seems OK. Get the images from
your tables and compare them with the images in your file system. I was
asking what you are storing in your table. The image file name, the file
name without extension, the relative path to te file, the url to the
file, ...??

It is deleting all your images because 
NOT listFind(fileNames, qDirectory.name)
always returns true. You have to find out why this happens. My best
guess is that your table doesn't store the filename, but something else
(the relative path from some directory maybe?). Or maybe you are on a
windows server and the stored filename doesn't respect the case (use
listFindNoCase then).

There could be about a hundred more things that go wrong. You could
write a test page first that doesn't do the deletes, but outputs some
variables.

Pascal

> -Original Message-
> From: Donna French [mailto:[EMAIL PROTECTED]
> Sent: 17 November 2004 22:41
> To: CF-Talk
> Subject: Re: Help! Error on ValueList SOLVED
> 
> 
> 
> I didn't write this code - you could probably figure that out by now.
> But what I'm trying to do is cleanup images off the server. When I
> first wrote this web app about 3 years ago, I didn't include logic to
> delete the image files when a product was deleted from the database.
> 
> And I'm also in the process of re-designing the database, because I
> have products in two different tables (dolls and products). So don't
> slap my hand on that one. I had just started doing CF much less
> database work.
> 
> I do appreciate all of the help and do not take anyone's time for
granted.
> 
> ~ Donna
> 
> 
> On Wed, 17 Nov 2004 22:27:49 +0100, Pascal Peters <[EMAIL PROTECTED]>
wrote:
> > Your logic is probably wrong. What does #fileNames# contain??? Just
an
> > image name, a relative path, ...? Also, it's not a very good idea to
> > test your code on a live server.
> >
> >
> >
> > Pascal
> >
> > > -Original Message-
> > > From: Donna French [mailto:[EMAIL PROTECTED]
> > > Sent: 17 November 2004 22:14
> > > To: CF-Talk
> > > Subject: Re: Help! Error on ValueList SOLVED
> > >
> > > Okay, that deleted all files in each directory so I'm having the
> > > hosting company restore from backup.
> > >
> > > Any ideas?
> > >
> >
> >
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Verity Collection

2004-11-17 Thread Jason Smith
The original developer of this web site made a serious mess, I'm still 
looking for certain files to make changes I personally have never seen a 
web site with so many useless files in so many locations but as I said I'm 
new to cold fusion so if you can point me in the direction of what file is 
most likely to contain the information you need it would help tremendously.

Now like I said I have done some things with different cold fusion sites 
however this is the first cf application I have seen that does not use a 
global file for anything it would appear he puts all code in every file. 
Plain and simple the entire application needs a rewrite but I'm really not 
sure where all strings are that you might need to see.

As far as I can tell this is the search info you might be looking for.

 
 
 EXACT 
MATCHES FOR '#UCASE(exactSearch)#'.
 #mySearchQuery.recordCount# 
Matching Items
 
 
 
 
 
 ]*>", "", "ALL")>
 
 #exactSearch#", "ALL")>
 
 
 #iCount#. #MySearchQuery.Title#
 
 #DollarFormat(mySearchQuery.custom2)#
 
 
 
 
 
 
 
 
 
 #searchSummary# (#Round(score * 100)#% Match)
 
  
 
 
 
 THERE WERE NO EXACT MATCHES FOR 
'#UCASE(exactSearch)#'.
 
 

 

And assuming I have found the information you looking for this would be the 
cfindex guess.



 SELECT itemName, itemDescription, itemKeywords, itemID, 
itemThumbnail, itemListPrice, itemLeaseNumber
 FROM tblItem, tblkItemStatus
 WHERE tblItem.itemStatusID = tblkItemStatus.itemStatusID
 AND tblkItemStatus.itemStatusMainID  = 2





FINISHED INDEXING THE ITEM QUERY



 


FINISHED OPTIMIZING THE ITEM COLLECTION



 At 02:29 PM 11/17/2004, you wrote:
>can you post your cfindex tag code?  oh, and your cfsearch code too.
>
>Doug
>
>On Wed, 17 Nov 2004 14:00:34 -0700, Jason Smith
><[EMAIL PROTECTED]> wrote:
> >
> >
> > Anyone out there real familiar with verity collections, I'm having trouble
> > getting one to index correctly. I'll give us many details as possible if I
> > left anything out just let me know.
> >
> > The server is a Coldfusion 6.1MX on a windows 2003 server. Now myself I'm
> > very new to cold fusion and just trying to learn more. I have setup a few
> > sites for customers but this is the first site that uses a verity 
> collection.
> >
> > Now on to the problem I have read a few resources that all point to
> > creating the verity collection and then index the collection. Well I called
> > the previous hosting company they moved from to get the exact settings
> > however the indexing of verity collections if not written down doesn't
> > appear to be retrievable. So this is where I am stuck I have the collection
> > created.
> >
> > name itemcollection
> > mapped yes
> > online yes
> > external no
> > language english
> > path c:\inetpub\mysite\admin\verity\collections\itemcollection
> >
> > Now for the indexing this is the problem I run into I'm assuming it should
> > be indexing the search directory since that is where all the items have
> > created detail pages. File extensions since looking in that directory there
> > are mainly html pages with 2 cfm pages I'm assuming html pages are the only
> > things I want to index.
> >
> > path c:\inetpub\mysite\search
> > return url http://www.mysite.com/search
> >
> > After I let it index the files and I go to the test search engine and run a
> > search the results are wrong, first off you can search for anything and get
> > a return of 100+ matches which is the company name not a product. Then
> > checking the link of the result found I come across another problem.
> >
> > 
> http://www.mysite.com/search/itemDetail_C:/Inetpub/mysite/search/itemSearch.html.html
> >
> > Every result has this as the url which obviously isn't correct.
> >
> > I have spent a few hours reviewi

Re: Help! Error on ValueList SOLVED

2004-11-17 Thread Donna French


I didn't write this code - you could probably figure that out by now.
But what I'm trying to do is cleanup images off the server. When I
first wrote this web app about 3 years ago, I didn't include logic to
delete the image files when a product was deleted from the database.

And I'm also in the process of re-designing the database, because I
have products in two different tables (dolls and products). So don't
slap my hand on that one. I had just started doing CF much less
database work.

I do appreciate all of the help and do not take anyone's time for granted.

~ Donna


On Wed, 17 Nov 2004 22:27:49 +0100, Pascal Peters <[EMAIL PROTECTED]> wrote:
> Your logic is probably wrong. What does #fileNames# contain??? Just an
> image name, a relative path, ...? Also, it's not a very good idea to
> test your code on a live server.
> 
> 
> 
> Pascal
> 
> > -Original Message-
> > From: Donna French [mailto:[EMAIL PROTECTED]
> > Sent: 17 November 2004 22:14
> > To: CF-Talk
> > Subject: Re: Help! Error on ValueList SOLVED
> >
> > Okay, that deleted all files in each directory so I'm having the
> > hosting company restore from backup.
> >
> > Any ideas?
> >
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: CFMAIL and Bulk Email Strategies

2004-11-17 Thread Ryan Hartwich
>In this case, Yes it will make a difference, we provide open house
>times for the weekend, and reasonably we can assume a large proportion
>of users put in their work address and/or wont check their email after
>5pm on a Friday night.

Makes sense why you need it to send faster.  I know that CF4.5 was slow, 5 was 
faster and MX/6.1 much faster in the email area.  Sadly, I think 6.1 still has 
some problems with email from a stability point of view, but it can be made 
quite fast.

Check the mail threads setting in CF.  That may help, may be set to 3 or some 
such.  If its a constant 12/minute it may not be anything lame like defragging 
the hard drive.  Have you looked into your ISP?  If you aren't running your own 
mail server maybe your ISP is limiting the throughput for spam control reasons. 
 In fact, maybe your smtp/mail server has a setting that limits throughput out.

Either way, 12/minute is WAY slower than it should be, even in 4.5.  

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Call a cfc from a cfform

2004-11-17 Thread Nathan Strutz
Scott Brady wrote:
> On Tue, 16 Nov 2004 20:23:57 -0500, Joe Rinehart <[EMAIL PROTECTED]> wrote:
>>Rick,
>>
>>Some people have done as a way of using the CFC as a controller -
>>using cflocation in the CFC to relocate after the opeation is done - i
>>think www.benorama.com does this in his MVC example.
> 
> 
> Man, that seems like a bad use of a CFC.  It seems like a CFC should
> be fairly self-contained.  This would seem to take away part of the
> reusability of a CFC/method.

It does seem like it, but that's what servlets do, though typically 
something more like a server-side redirect instead of the cflocation 
style HTTP 302 redirect. In CF you can do that with 
getPageContext().forward('page.cfm')

-nathan strutz
http://www.dopefly.com/


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Verity Collection

2004-11-17 Thread Douglas Knudsen
can you post your cfindex tag code?  oh, and your cfsearch code too.

Doug

On Wed, 17 Nov 2004 14:00:34 -0700, Jason Smith
<[EMAIL PROTECTED]> wrote:
> 
> 
> Anyone out there real familiar with verity collections, I'm having trouble
> getting one to index correctly. I'll give us many details as possible if I
> left anything out just let me know.
> 
> The server is a Coldfusion 6.1MX on a windows 2003 server. Now myself I'm
> very new to cold fusion and just trying to learn more. I have setup a few
> sites for customers but this is the first site that uses a verity collection.
> 
> Now on to the problem I have read a few resources that all point to
> creating the verity collection and then index the collection. Well I called
> the previous hosting company they moved from to get the exact settings
> however the indexing of verity collections if not written down doesn't
> appear to be retrievable. So this is where I am stuck I have the collection
> created.
> 
> name itemcollection
> mapped yes
> online yes
> external no
> language english
> path c:\inetpub\mysite\admin\verity\collections\itemcollection
> 
> Now for the indexing this is the problem I run into I'm assuming it should
> be indexing the search directory since that is where all the items have
> created detail pages. File extensions since looking in that directory there
> are mainly html pages with 2 cfm pages I'm assuming html pages are the only
> things I want to index.
> 
> path c:\inetpub\mysite\search
> return url http://www.mysite.com/search
> 
> After I let it index the files and I go to the test search engine and run a
> search the results are wrong, first off you can search for anything and get
> a return of 100+ matches which is the company name not a product. Then
> checking the link of the result found I come across another problem.
> 
> http://www.mysite.com/search/itemDetail_C:/Inetpub/mysite/search/itemSearch.html.html
> 
> Every result has this as the url which obviously isn't correct.
> 
> I have spent a few hours reviewing forums and reading posts, book
> information different things so far I have yet to find a fix for this so if
> anyone can help I would greatly appreciate it.
> 
> Jason Smith
> 
> __ NOD32 1.924 (20041117) Information __
> 
> This message was checked by NOD32 antivirus system.
> http://www.nod32.com
> 
> Web Your Business Inc., - located in Loveland, Colorado; serving the World!
> http://www.webyourbusiness.com/ - & - http://www.aaabusinesshosting.com/
> Phone: 970-593-6260 - Fax: 970-593-6267 - Toll Free: 1-877-416-8655
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Help! Error on ValueList SOLVED

2004-11-17 Thread Pascal Peters
Your logic is probably wrong. What does #fileNames# contain??? Just an
image name, a relative path, ...? Also, it's not a very good idea to
test your code on a live server.

Pascal

> -Original Message-
> From: Donna French [mailto:[EMAIL PROTECTED]
> Sent: 17 November 2004 22:14
> To: CF-Talk
> Subject: Re: Help! Error on ValueList SOLVED
> 
> Okay, that deleted all files in each directory so I'm having the
> hosting company restore from backup.
> 
> Any ideas?
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: DevNet Version of CFMX adds rubbish to the start of my HTML.

2004-11-17 Thread Dirk De Bock - Listclient
maybe just a  will do the trick

- Original Message - 
>> 
>>
>> The MM site says use cfcontent to make the file text/xml but then it does
>> not
>> work in a browser and I need to have both.
>>


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Help! Error on ValueList SOLVED

2004-11-17 Thread Pascal Peters
Your logic is probably wrong. What does #fileNames# contain??? Just an
image name, a relative path, ...? Also, it's not a very good idea to
test your code on a live server.

Pascal

> -Original Message-
> From: Donna French [mailto:[EMAIL PROTECTED]
> Sent: 17 November 2004 22:14
> To: CF-Talk
> Subject: Re: Help! Error on ValueList SOLVED
> 
> Okay, that deleted all files in each directory so I'm having the
> hosting company restore from backup.
> 
> Any ideas?
> 
> Code used:
> 
> 
> 
> Images Cleanup
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>   SELECT #imageColumnName# AS mycol FROM products
>   UNION
>   SELECT #imageColumnName# AS mycol FROM dolls
> 
> 
> 
> 
> 
> 
> 
>name="qDirectory">
> 
>   
>   
>   
>  qDirectory.name)>
>   
>file="#imagesDirectory#\#i#\#qDirectory.name#">
>   
> Test Mode:  #imagesDirectory#\#i#\#qDirectory.name# would be
> deleted. 
>   
> 
>   
>   
> 
> 
> 
> 
> 
> 
> 
> On Wed, 17 Nov 2004 20:47:41 +0100, Pascal Peters <[EMAIL PROTECTED]>
wrote:
> > There is also a directory .
> >
> > See my previous post for the solution
> >
> >
> >
> > Pascal
> >
> > > -Original Message-
> > > From: Donna French [mailto:[EMAIL PROTECTED]
> > > Sent: 17 November 2004 20:41
> > > To: CF-Talk
> > > Subject: Re: Help! Error on ValueList SOLVED
> > >
> > > Tried starting the CFOUTPUT at startrow 2 but then I have to
specify a
> > > query - so I'm not sure how to work around this???
> > >
> > > It seems like a CFIF should work to check for ".." but everything
I've
> > > tried throws an error.
> > >
> > > ~ D
> > >
> > >
> > > On Wed, 17 Nov 2004 13:36:03 -0600, Donna French
<[EMAIL PROTECTED]>
> > > wrote:
> > > > Okay, thank you for your help. I have altered the code to
include
> > the
> > > > alias. Just looking at it without knowing it looked like an
> > > > unnecessary extra step.
> > > >
> > > > Now I have the following error and I'm not sure how to go about
> > fixing
> > > > it. I want to have it skip the .. directory listing on the
server,
> > but
> > > > can't figure out how after several attempts. Please bare with
me,
> > I've
> > > > ordered CF books and plan to put them to good use!
> > > >
> > > > Here's the code and error:
> > > >
> > > > 
> > > > 
> > > >> > > name="qDirectory">
> > > >
> > > >   
> > > >   
> > > >   
> > > > 
> > > >   
> > > > 
> > > > 
> > > >> > > file="#imagesDirectory#\#i#\#qDirectory.name#.jpg">
> > > > 
> > > >
> > > >
> > > >   
> > > > Test Mode:  #imagesDirectory#\#i#\#qDirectory.name#
would be
> > > > deleted. 
> > > >   
> > > > 
> > > >   
> > > >   
> > > > 
> > > >
> > > >
> > > > Error processing CFFILE
> > > >
> > > > The path, 'c:\inetpub\lanescollectibles\images\400\..jpg', is
> > illegal.
> > > > Path specifications cannot include '..'
> > > >
> > > > The error occurred while processing an element with a general
> > > > identifier of (CFFILE), occupying document position (48:11) to
> > > > (48:85).
> > > >
> > > > Thank you!
> > > > ~ D
> > > >
> > > >
> > > >
> > > >
> > > > On Wed, 17 Nov 2004 20:25:49 +0100, Pascal Peters
<[EMAIL PROTECTED]>
> > > wrote:
> > > > > You have a dynamically named column that you can't use with
the
> > > function
> > > > > ValueList(). This leaves two options:
> > > > >
> > > > > Option 1 (use an alias to get a fixed column name):
> > > > > 
> > > > >   SELECT #imageColumnName# AS mycol FROM products
> > > > >   UNION
> > > > >   SELECT #imageColumnName# AS mycol FROM dolls
> > > > > 
> > > > > 
> > > > >
> > > > > Option 2 (use evaluate):
> > > > > 
> > > > >   SELECT #imageColumnName# FROM products
> > > > >   UNION
> > > > >   SELECT #imageColumnName# FROM dolls
> > > > > 
> > > > >  > > > > Evaluate("ValueList(qGetFilenames.#imageColumnName#")>
> > > > >
> > > > > Evaluate is not a very performant function and should only be
used
> > if
> > > > > there is no other option (and there usually is another option)
> > > > >
> > > > >
> > > > >
> > > > > Pascal
> > > > >
> > > > > > -Original Message-
> > > > > > From: Donna French [mailto:[EMAIL PROTECTED]
> > > > > > Sent: 17 November 2004 20:15
> > > > > > To: CF-Talk
> > > > > > Subject: Re: Help! Error on ValueList SOLVED
> > > > > >
> > > > > > Thanks for your help Pascal. Forgive me for not knowing, but
can
> > I
> > > ask
> > > > > > you why I should use the alias instead of the variable ?
> > > > > >
> > > > > > TIA,
> > > > > > Donna
> > > > > >
> > > > >
> > > > >
> > >
> > >
> >
> >
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184667
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscrib

RE: Bulk Mailing Methods (was Need Suggestions for Spreading Out Notification Mailings)

2004-11-17 Thread Dave Phillips
Ken,

I've been sending large mailings using cold fusion for several years, and
Cold Fusion MX handles it better than all previous versions (as suspsected).
I've found that CF isn't really my problem.  My problem is ISPs blocking you
if they get too much mail within a short period of time.  I've had 30,000+
e-mails generated and spooled with CFMX CFMAIL with no problems.  It takes
some time to spool to the mail server, but it also depends on your mail
server and how many incoming connections it allows.  In addition, if you
have CFMX Enterprise, you can set how many threads the spooler uses as well
(but not in CFMX Professional).

In any case, there are many facets to consider when sending large amounts of
mail.  I'm very curious to hear others who have done this as well and what
methods they have used (legitimate bulk mailers only!). 

Sincerely,
 
Dave Phillips
BizBreeze.com
[EMAIL PROTECTED]
615-746-3851

-Original Message-
From: Ken Ketsdever [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 16, 2004 4:01 PM
To: CF-Talk
Subject: RE: Need Suggestions for Spreading Out Notification Mailings

Please keep us abreast of how this works.  I am building a system that will
need to send out 20,000 -30,000 e-mails.  I am concerned with how the server
and Coldfusion  will handle that  many e-mails at a time. SO I am
considering breaking it up into smaller mailings to happen over night. Would
like any feedback from anyone who has sent out this large of a mailing.  
Ken 

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





~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Help! Error on ValueList SOLVED

2004-11-17 Thread Donna French
Okay, that deleted all files in each directory so I'm having the
hosting company restore from backup.

Any ideas?

Code used:



Images Cleanup




















  SELECT #imageColumnName# AS mycol FROM products
  UNION
  SELECT #imageColumnName# AS mycol FROM dolls 







  
  
  
  
  

  
  
  
Test Mode:  #imagesDirectory#\#i#\#qDirectory.name# would be
deleted. 
  

  
  







On Wed, 17 Nov 2004 20:47:41 +0100, Pascal Peters <[EMAIL PROTECTED]> wrote:
> There is also a directory .
> 
> See my previous post for the solution
> 
> 
> 
> Pascal
> 
> > -Original Message-
> > From: Donna French [mailto:[EMAIL PROTECTED]
> > Sent: 17 November 2004 20:41
> > To: CF-Talk
> > Subject: Re: Help! Error on ValueList SOLVED
> >
> > Tried starting the CFOUTPUT at startrow 2 but then I have to specify a
> > query - so I'm not sure how to work around this???
> >
> > It seems like a CFIF should work to check for ".." but everything I've
> > tried throws an error.
> >
> > ~ D
> >
> >
> > On Wed, 17 Nov 2004 13:36:03 -0600, Donna French <[EMAIL PROTECTED]>
> > wrote:
> > > Okay, thank you for your help. I have altered the code to include
> the
> > > alias. Just looking at it without knowing it looked like an
> > > unnecessary extra step.
> > >
> > > Now I have the following error and I'm not sure how to go about
> fixing
> > > it. I want to have it skip the .. directory listing on the server,
> but
> > > can't figure out how after several attempts. Please bare with me,
> I've
> > > ordered CF books and plan to put them to good use!
> > >
> > > Here's the code and error:
> > >
> > > 
> > > 
> > >> > name="qDirectory">
> > >
> > >   
> > >   
> > >   
> > > 
> > >   
> > > 
> > > 
> > >> > file="#imagesDirectory#\#i#\#qDirectory.name#.jpg">
> > > 
> > >
> > >
> > >   
> > > Test Mode:  #imagesDirectory#\#i#\#qDirectory.name# would be
> > > deleted. 
> > >   
> > > 
> > >   
> > >   
> > > 
> > >
> > >
> > > Error processing CFFILE
> > >
> > > The path, 'c:\inetpub\lanescollectibles\images\400\..jpg', is
> illegal.
> > > Path specifications cannot include '..'
> > >
> > > The error occurred while processing an element with a general
> > > identifier of (CFFILE), occupying document position (48:11) to
> > > (48:85).
> > >
> > > Thank you!
> > > ~ D
> > >
> > >
> > >
> > >
> > > On Wed, 17 Nov 2004 20:25:49 +0100, Pascal Peters <[EMAIL PROTECTED]>
> > wrote:
> > > > You have a dynamically named column that you can't use with the
> > function
> > > > ValueList(). This leaves two options:
> > > >
> > > > Option 1 (use an alias to get a fixed column name):
> > > > 
> > > >   SELECT #imageColumnName# AS mycol FROM products
> > > >   UNION
> > > >   SELECT #imageColumnName# AS mycol FROM dolls
> > > > 
> > > > 
> > > >
> > > > Option 2 (use evaluate):
> > > > 
> > > >   SELECT #imageColumnName# FROM products
> > > >   UNION
> > > >   SELECT #imageColumnName# FROM dolls
> > > > 
> > > >  > > > Evaluate("ValueList(qGetFilenames.#imageColumnName#")>
> > > >
> > > > Evaluate is not a very performant function and should only be used
> if
> > > > there is no other option (and there usually is another option)
> > > >
> > > >
> > > >
> > > > Pascal
> > > >
> > > > > -Original Message-
> > > > > From: Donna French [mailto:[EMAIL PROTECTED]
> > > > > Sent: 17 November 2004 20:15
> > > > > To: CF-Talk
> > > > > Subject: Re: Help! Error on ValueList SOLVED
> > > > >
> > > > > Thanks for your help Pascal. Forgive me for not knowing, but can
> I
> > ask
> > > > > you why I should use the alias instead of the variable ?
> > > > >
> > > > > TIA,
> > > > > Donna
> > > > >
> > > >
> > > >
> >
> >
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Call a cfc from a cfform

2004-11-17 Thread Scott Brady
On Tue, 16 Nov 2004 20:23:57 -0500, Joe Rinehart <[EMAIL PROTECTED]> wrote:
> Rick,
> 
> Some people have done as a way of using the CFC as a controller -
> using cflocation in the CFC to relocate after the opeation is done - i
> think www.benorama.com does this in his MVC example.

Man, that seems like a bad use of a CFC.  It seems like a CFC should
be fairly self-contained.  This would seem to take away part of the
reusability of a CFC/method.

Scott

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

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Is this a know problem WAS: CFC form handling.

2004-11-17 Thread Ian Skinner
Is this a problem or is this some expected behavior that I do not understand.

TEST CASE:
I have the following basic CFC to that is meant to be the action of a form.

Test.cfc



session.test = structNew();
session.test.foo = "bar3";
session.test.form = duplicate(form);


http://playground/form_cfc_tests/test2.cfm"; 
addtoken="no">



I then have the two following forms to access copies of this CFC in different 
locations.  The first one is in the same directory as the form; the second is 
in a directory that is mapped as a virtual directory ["resources"] to the 
website in IIS.

Test.cfm














The first form that accesses the copy of the CFC in the same directory works as 
I would expect it to.  The values are set in the session scope, the cflocation 
is followed and then when the session scope is dumped in the form file, the 
values set in the CFC are there.

The second form does not do this.  The CFC is processed without exception, but 
when the cflocation is followed and the session scope is dumped, none of the 
values set in the CFC exist.  Is this correct? Is it a known bug? If so, has it 
been fixed?

Thank You

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

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

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



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Verity Collection

2004-11-17 Thread Jason Smith
Anyone out there real familiar with verity collections, I'm having trouble
getting one to index correctly. I'll give us many details as possible if I
left anything out just let me know.

The server is a Coldfusion 6.1MX on a windows 2003 server. Now myself I'm
very new to cold fusion and just trying to learn more. I have setup a few
sites for customers but this is the first site that uses a verity collection.

Now on to the problem I have read a few resources that all point to
creating the verity collection and then index the collection. Well I called
the previous hosting company they moved from to get the exact settings
however the indexing of verity collections if not written down doesn't
appear to be retrievable. So this is where I am stuck I have the collection
created.

name itemcollection
mapped yes
online yes
external no
language english
path c:\inetpub\mysite\admin\verity\collections\itemcollection

Now for the indexing this is the problem I run into I'm assuming it should
be indexing the search directory since that is where all the items have
created detail pages. File extensions since looking in that directory there
are mainly html pages with 2 cfm pages I'm assuming html pages are the only
things I want to index.

path c:\inetpub\mysite\search
return url http://www.mysite.com/search

After I let it index the files and I go to the test search engine and run a
search the results are wrong, first off you can search for anything and get
a return of 100+ matches which is the company name not a product. Then
checking the link of the result found I come across another problem.

http://www.mysite.com/search/itemDetail_C:/Inetpub/mysite/search/itemSearch.html.html

Every result has this as the url which obviously isn't correct.

I have spent a few hours reviewing forums and reading posts, book
information different things so far I have yet to find a fix for this so if
anyone can help I would greatly appreciate it.


Jason Smith


__ NOD32 1.924 (20041117) Information __

This message was checked by NOD32 antivirus system.
http://www.nod32.com

Web Your Business Inc., - located in Loveland, Colorado; serving the World!
http://www.webyourbusiness.com/ - & - http://www.aaabusinesshosting.com/
Phone: 970-593-6260 - Fax: 970-593-6267 - Toll Free: 1-877-416-8655  


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: easy query help

2004-11-17 Thread Ray Champagne
Thanks, Michael.  That was a lot more complicated than I thought it was.

I definitely learned something today!

Ray

At 03:40 PM 11/17/2004, you wrote:
> > From: Ray Champagne [mailto:[EMAIL PROTECTED]
> > Hey all, I have three tables for an office mgmt app that I am running:
> > I need to get a query that, provided the company_ID, will
> > capture all the domains associated with the company, as well
> > as those domains that have SSL info.
>
>SELECT
> C.*,
> D.*,
> S.*
>FROM
> Companies C
> INNER JOIN domains D
> ON (C.company_ID = D.domain_company_FK)
> LEFT JOIN SSL_Info S
> ON (D.domain_ID = S.SSL_domain_FL)
>WHERE
> C.company_ID = #companyId#
>
>
>Change C.*, D.*, and S.* to the columns you specifically want.
>
>Mike
>
>

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: easy query help

2004-11-17 Thread Tangorre, Michael
> From: Ray Champagne [mailto:[EMAIL PROTECTED] 
> Hey all, I have three tables for an office mgmt app that I am running:
> I need to get a query that, provided the company_ID, will 
> capture all the domains associated with the company, as well 
> as those domains that have SSL info.

SELECT
C.*,
D.*,
S.*
FROM
Companies C
INNER JOIN domains D 
ON (C.company_ID = D.domain_company_FK)
LEFT JOIN SSL_Info S 
ON (D.domain_ID = S.SSL_domain_FL)
WHERE
C.company_ID = #companyId#


Change C.*, D.*, and S.* to the columns you specifically want.

Mike

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Mapping?

2004-11-17 Thread Douglas Knudsen
the CF mappings are for CF tags only.  So a CF mapping is useless for
use in an HTML IMG tag.  For nav headers and such, to make them
portable, I usually set a variable to store the full path to the app
wherever you store app level settings.  So,  for example

approot = 'http://foo.com/mypath/to/myapp'

then in the img tag


HTH

Doug


On Wed, 17 Nov 2004 15:08:25 -0500, Jeff Small <[EMAIL PROTECTED]> wrote:
> Okay, so in my root, I want to set up the navigation include so the path is
>  and on lower pages, the path
> can be identical. Then, IN the navigation I'd like to be able to use  src="/images/navigation/button1.jpg"> and have it work on pages both in the
> root and a single directory down.
> 
> I feel like I'm sniffing around for mappings, but I've never actually done
> it. I have a localhost that I'm testing here on my machine (F12) and when
> I'm done and check it in, I'd like the paths to work over on our development
> server as well. So do I need to create two sets of mappings? In each of my
> CFAdmins (the one locally and the one on dev)?
> 
> So the mapping to http://localhost/foo is to C:\Inetpub\wwwroot\foo, right?
> Am I heading in the roght direction?
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


easy query help

2004-11-17 Thread Ray Champagne
Hey all, I have three tables for an office mgmt app that I am running:

SSL_info
--
SSL_ID (PK)
SSL_domain_FK
SSL_renew_date
SSL_vendor
...etc

...and...

domains
--
domain_ID (PK)
domain_company_FK
domain_name
...etc

...and...

companies

company_ID (PK)
company_name
company_address
...etc

I need to get a query that, provided the company_ID, will capture all the 
domains associated with the company, as well as those domains that have SSL 
info.

Can anyone help?

Here is what I have, but I know this is not correct:

SELECT *
FROM domains, SSL_info
WHERE domain_company_FK = #company_ID#
AND SSL_domain_FK = domain_ID

I know why I am getting zero records returned, but I don't know how to get 
what I want...

Thanks,

Ray



=
Ray Champagne - Senior Application Developer
CrystalVision Web Site Design and Internet Services
603.433.9559
www.crystalvision.org
=

The information contained in this transmission (including any attached
files) is CONFIDENTIAL and is intended only for the person(s) named
above. If you received this transmission in error, please delete it
from your system and notify us immediately. If you are not an intended
recipient, please note that any use or dissemination of the information
contained in this transmission (including any attached files) and the
copying, printing, or retransmission of that information is strictly
prohibited. You can notify us by return email or by phone at 603.433.9559.
Thank you.



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: What sets the domain in default CFID cookies?

2004-11-17 Thread Gaulin, Mark
Configure your web server to log the host name of each request and check it 
out... if you see it changing then you can use the referrer (which you should 
also log) and find the link that is changing the host name.

As for the domain value for cookies, it comes from the current host name.

Mark

-Original Message-
From: Nick Cabell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 17, 2004 10:04 AM
To: CF-Talk
Subject: Re: What sets the domain in default CFID cookies?


I guess I'm not sure what would cause them to change, but I can see the result 
of it in the different cookies. Doesn't happen on dev machine where it is 
always localhost. What determines the domain value for CFIF/CFTOKEN cookies and 
how can I prevent it?

> Is there any chance that the host names are changing across your web 
> site?  Using both www.xyz.com and xyz.com will cause different sets of 
> cookies to be used, even if you use "domain cookies".  (But www.xyz.
> com and abc.xyz.com will share cookies when domain cookies are used.)
>   Mark
> 



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Mapping?

2004-11-17 Thread Jeff Small
Okay, so in my root, I want to set up the navigation include so the path is 
 and on lower pages, the path 
can be identical. Then, IN the navigation I'd like to be able to use  and have it work on pages both in the 
root and a single directory down.

I feel like I'm sniffing around for mappings, but I've never actually done 
it. I have a localhost that I'm testing here on my machine (F12) and when 
I'm done and check it in, I'd like the paths to work over on our development 
server as well. So do I need to create two sets of mappings? In each of my 
CFAdmins (the one locally and the one on dev)?

So the mapping to http://localhost/foo is to C:\Inetpub\wwwroot\foo, right? 
Am I heading in the roght direction? 



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: DevNet Version of CFMX adds rubbish to the start of my HTML.

2004-11-17 Thread Marlon Moyer
try putting 


> -Original Message-
> From: kevin roche [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 17, 2004 10:33 AM
> To: CF-Talk
> Subject: DevNet Version of CFMX adds rubbish to the start of my HTML.
> 
> Hi,
> 
> I am trying to build pages for the first time with XHTML and the
validators
> in
> both Homesite and Dreamweaver seem only to do half the job. I am
> trying to
> point the W3C validator at my development machine which is running
> the
> multiuser devnet version of my site but the server adds an extra line at
the
> front of the file and the result is invalid.
> 
> Anyone know how to get rid of the line?
> 
> 
> 
> The MM site says use cfcontent to make the file text/xml but then it does
> not
> work in a browser and I need to have both.
> 
> --
> Kevin Roche
> 
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Help! Error on ValueList SOLVED

2004-11-17 Thread Pascal Peters
In your case, you probably want to delete files only

 
...

You don't want to delete directories and there was an extra .jpg in your
CFFILE

Pascal


> -Original Message-
> From: Donna French [mailto:[EMAIL PROTECTED]
> Sent: 17 November 2004 20:36
> To: CF-Talk
> Subject: Re: Help! Error on ValueList SOLVED
> 
> Okay, thank you for your help. I have altered the code to include the
> alias. Just looking at it without knowing it looked like an
> unnecessary extra step.
> 
> Now I have the following error and I'm not sure how to go about fixing
> it. I want to have it skip the .. directory listing on the server, but
> can't figure out how after several attempts. Please bare with me, I've
> ordered CF books and plan to put them to good use!

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Help! Error on ValueList SOLVED

2004-11-17 Thread Pascal Peters
There is also a directory .

See my previous post for the solution

Pascal

> -Original Message-
> From: Donna French [mailto:[EMAIL PROTECTED]
> Sent: 17 November 2004 20:41
> To: CF-Talk
> Subject: Re: Help! Error on ValueList SOLVED
> 
> Tried starting the CFOUTPUT at startrow 2 but then I have to specify a
> query - so I'm not sure how to work around this???
> 
> It seems like a CFIF should work to check for ".." but everything I've
> tried throws an error.
> 
> ~ D
> 
> 
> On Wed, 17 Nov 2004 13:36:03 -0600, Donna French <[EMAIL PROTECTED]>
> wrote:
> > Okay, thank you for your help. I have altered the code to include
the
> > alias. Just looking at it without knowing it looked like an
> > unnecessary extra step.
> >
> > Now I have the following error and I'm not sure how to go about
fixing
> > it. I want to have it skip the .. directory listing on the server,
but
> > can't figure out how after several attempts. Please bare with me,
I've
> > ordered CF books and plan to put them to good use!
> >
> > Here's the code and error:
> >
> > 
> > 
> >> name="qDirectory">
> >
> >   
> >   
> >   
> > 
> >   
> > 
> > 
> >> file="#imagesDirectory#\#i#\#qDirectory.name#.jpg">
> > 
> >
> >
> >   
> > Test Mode:  #imagesDirectory#\#i#\#qDirectory.name# would be
> > deleted. 
> >   
> > 
> >   
> >   
> > 
> >
> >
> > Error processing CFFILE
> >
> > The path, 'c:\inetpub\lanescollectibles\images\400\..jpg', is
illegal.
> > Path specifications cannot include '..'
> >
> > The error occurred while processing an element with a general
> > identifier of (CFFILE), occupying document position (48:11) to
> > (48:85).
> >
> > Thank you!
> > ~ D
> >
> >
> >
> >
> > On Wed, 17 Nov 2004 20:25:49 +0100, Pascal Peters <[EMAIL PROTECTED]>
> wrote:
> > > You have a dynamically named column that you can't use with the
> function
> > > ValueList(). This leaves two options:
> > >
> > > Option 1 (use an alias to get a fixed column name):
> > > 
> > >   SELECT #imageColumnName# AS mycol FROM products
> > >   UNION
> > >   SELECT #imageColumnName# AS mycol FROM dolls
> > > 
> > > 
> > >
> > > Option 2 (use evaluate):
> > > 
> > >   SELECT #imageColumnName# FROM products
> > >   UNION
> > >   SELECT #imageColumnName# FROM dolls
> > > 
> > >  > > Evaluate("ValueList(qGetFilenames.#imageColumnName#")>
> > >
> > > Evaluate is not a very performant function and should only be used
if
> > > there is no other option (and there usually is another option)
> > >
> > >
> > >
> > > Pascal
> > >
> > > > -Original Message-
> > > > From: Donna French [mailto:[EMAIL PROTECTED]
> > > > Sent: 17 November 2004 20:15
> > > > To: CF-Talk
> > > > Subject: Re: Help! Error on ValueList SOLVED
> > > >
> > > > Thanks for your help Pascal. Forgive me for not knowing, but can
I
> ask
> > > > you why I should use the alias instead of the variable ?
> > > >
> > > > TIA,
> > > > Donna
> > > >
> > >
> > >
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Help! Error on ValueList SOLVED

2004-11-17 Thread Pascal Peters
In your case, you probably want to delete files only



...

You don't want to delete directories and there was an extra .jpg in your
CFFILE

Pascal

> -Original Message-
> From: Donna French [mailto:[EMAIL PROTECTED]
> Sent: 17 November 2004 20:36
> To: CF-Talk
> Subject: Re: Help! Error on ValueList SOLVED
> 
> Okay, thank you for your help. I have altered the code to include the
> alias. Just looking at it without knowing it looked like an
> unnecessary extra step.
> 
> Now I have the following error and I'm not sure how to go about fixing
> it. I want to have it skip the .. directory listing on the server, but
> can't figure out how after several attempts. Please bare with me, I've
> ordered CF books and plan to put them to good use!
> 
> Here's the code and error:
> 
> 
> 
>name="qDirectory">
> 
>   
>   
>   
> 
>   
> 
> 
>file="#imagesDirectory#\#i#\#qDirectory.name#.jpg">
> 
>   
> Test Mode:  #imagesDirectory#\#i#\#qDirectory.name# would be
> deleted. 
>   
> 
>   
>   
> 
> 
> 
> Error processing CFFILE
> 
> The path, 'c:\inetpub\lanescollectibles\images\400\..jpg', is illegal.
> Path specifications cannot include '..'
> 
> The error occurred while processing an element with a general
> identifier of (CFFILE), occupying document position (48:11) to
> (48:85).
> 
> 
> Thank you!
> ~ D
> 
> 
> On Wed, 17 Nov 2004 20:25:49 +0100, Pascal Peters <[EMAIL PROTECTED]>
wrote:
> > You have a dynamically named column that you can't use with the
function
> > ValueList(). This leaves two options:
> >
> > Option 1 (use an alias to get a fixed column name):
> > 
> >   SELECT #imageColumnName# AS mycol FROM products
> >   UNION
> >   SELECT #imageColumnName# AS mycol FROM dolls
> > 
> > 
> >
> > Option 2 (use evaluate):
> > 
> >   SELECT #imageColumnName# FROM products
> >   UNION
> >   SELECT #imageColumnName# FROM dolls
> > 
> >  > Evaluate("ValueList(qGetFilenames.#imageColumnName#")>
> >
> > Evaluate is not a very performant function and should only be used
if
> > there is no other option (and there usually is another option)
> >
> >
> >
> > Pascal
> >
> > > -Original Message-
> > > From: Donna French [mailto:[EMAIL PROTECTED]
> > > Sent: 17 November 2004 20:15
> > > To: CF-Talk
> > > Subject: Re: Help! Error on ValueList SOLVED
> > >
> > > Thanks for your help Pascal. Forgive me for not knowing, but can I
ask
> > > you why I should use the alias instead of the variable ?
> > >
> > > TIA,
> > > Donna
> > >
> >
> >
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Help! Error on ValueList SOLVED

2004-11-17 Thread Donna French
Tried starting the CFOUTPUT at startrow 2 but then I have to specify a
query - so I'm not sure how to work around this???

It seems like a CFIF should work to check for ".." but everything I've
tried throws an error.

~ D


On Wed, 17 Nov 2004 13:36:03 -0600, Donna French <[EMAIL PROTECTED]> wrote:
> Okay, thank you for your help. I have altered the code to include the
> alias. Just looking at it without knowing it looked like an
> unnecessary extra step.
> 
> Now I have the following error and I'm not sure how to go about fixing
> it. I want to have it skip the .. directory listing on the server, but
> can't figure out how after several attempts. Please bare with me, I've
> ordered CF books and plan to put them to good use!
> 
> Here's the code and error:
> 
> 
> 
>name="qDirectory">
> 
>   
>   
>   
> 
>   
> 
> 
>file="#imagesDirectory#\#i#\#qDirectory.name#.jpg">
> 
> 
> 
>   
> Test Mode:  #imagesDirectory#\#i#\#qDirectory.name# would be
> deleted. 
>   
> 
>   
>   
> 
> 
> 
> Error processing CFFILE
> 
> The path, 'c:\inetpub\lanescollectibles\images\400\..jpg', is illegal.
> Path specifications cannot include '..'
> 
> The error occurred while processing an element with a general
> identifier of (CFFILE), occupying document position (48:11) to
> (48:85).
> 
> Thank you!
> ~ D
> 
> 
> 
> 
> On Wed, 17 Nov 2004 20:25:49 +0100, Pascal Peters <[EMAIL PROTECTED]> wrote:
> > You have a dynamically named column that you can't use with the function
> > ValueList(). This leaves two options:
> >
> > Option 1 (use an alias to get a fixed column name):
> > 
> >   SELECT #imageColumnName# AS mycol FROM products
> >   UNION
> >   SELECT #imageColumnName# AS mycol FROM dolls
> > 
> > 
> >
> > Option 2 (use evaluate):
> > 
> >   SELECT #imageColumnName# FROM products
> >   UNION
> >   SELECT #imageColumnName# FROM dolls
> > 
> >  > Evaluate("ValueList(qGetFilenames.#imageColumnName#")>
> >
> > Evaluate is not a very performant function and should only be used if
> > there is no other option (and there usually is another option)
> >
> >
> >
> > Pascal
> >
> > > -Original Message-
> > > From: Donna French [mailto:[EMAIL PROTECTED]
> > > Sent: 17 November 2004 20:15
> > > To: CF-Talk
> > > Subject: Re: Help! Error on ValueList SOLVED
> > >
> > > Thanks for your help Pascal. Forgive me for not knowing, but can I ask
> > > you why I should use the alias instead of the variable ?
> > >
> > > TIA,
> > > Donna
> > >
> >
> > 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Help! Error on ValueList SOLVED

2004-11-17 Thread Donna French
Okay, thank you for your help. I have altered the code to include the
alias. Just looking at it without knowing it looked like an
unnecessary extra step.

Now I have the following error and I'm not sure how to go about fixing
it. I want to have it skip the .. directory listing on the server, but
can't figure out how after several attempts. Please bare with me, I've
ordered CF books and plan to put them to good use!

Here's the code and error:



  
  
  
  
  

  


  

  
Test Mode:  #imagesDirectory#\#i#\#qDirectory.name# would be
deleted. 
  

  
  



Error processing CFFILE

The path, 'c:\inetpub\lanescollectibles\images\400\..jpg', is illegal.
Path specifications cannot include '..'

The error occurred while processing an element with a general
identifier of (CFFILE), occupying document position (48:11) to
(48:85).


Thank you!
~ D


On Wed, 17 Nov 2004 20:25:49 +0100, Pascal Peters <[EMAIL PROTECTED]> wrote:
> You have a dynamically named column that you can't use with the function
> ValueList(). This leaves two options:
> 
> Option 1 (use an alias to get a fixed column name):
> 
>   SELECT #imageColumnName# AS mycol FROM products
>   UNION
>   SELECT #imageColumnName# AS mycol FROM dolls
> 
> 
> 
> Option 2 (use evaluate):
> 
>   SELECT #imageColumnName# FROM products
>   UNION
>   SELECT #imageColumnName# FROM dolls
> 
>  Evaluate("ValueList(qGetFilenames.#imageColumnName#")>
> 
> Evaluate is not a very performant function and should only be used if
> there is no other option (and there usually is another option)
> 
> 
> 
> Pascal
> 
> > -Original Message-
> > From: Donna French [mailto:[EMAIL PROTECTED]
> > Sent: 17 November 2004 20:15
> > To: CF-Talk
> > Subject: Re: Help! Error on ValueList SOLVED
> >
> > Thanks for your help Pascal. Forgive me for not knowing, but can I ask
> > you why I should use the alias instead of the variable ?
> >
> > TIA,
> > Donna
> >
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: MX Methodologies (Mach2?? Fusebox??)

2004-11-17 Thread Douglas Knudsen
I'd head over to mach-ii.com and mach-ii.info.  mach-ii.info has info
on signing up for the mach-ii list.  I just started wrapping my head
around mach-ii, its not the framework that's the difficulty really,
its re-training ur head to think more OO then the old spaghetti.

Doug


On Wed, 17 Nov 2004 14:00:54 -0400, Ali Awan <[EMAIL PROTECTED]> wrote:
> I was wondering if anyone on here has had any experience upgrading their CF 
> apps (pre-MX) to the Mach2 framework?
> 
> If so, how would you advise someone who was attempting to upgrade an app 
> written for CF 5.0 to Mach2. (I'm upgrading to MX also, obviously).
> 
> I have seen examples of Mach2, like Shopping Cart apps, etc.  This seems to 
> work nicely when there are clearly defined objects, events, etc.  But as most 
> of us know, not all Cold Fusion or web apps can be neatly organized into 
> objects, events etc.
> 
> Anyway, I just wanted to start a discussion, to see if anyone else has 
> converted an app that wasn't as clearly defined as a shopping cart, to Mach2 
> and what advise they may have, or what pitfalls they encountered.  
> Additionally in some cases is it better just to stick with the Fusebox 
> framework on MX?
> 
> Thanks,
> Ali
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: CFML vs PHP/ASP functionality [Was: Macromedia gives up on the server market in Australia and walks away.]

2004-11-17 Thread Aaron Rouse
I have always been curious as to how PHP and/or ASP.NET handle doing
that type of output.  Just never sparked the curious level high enough
to go googling for the answer.

On Thu, 18 Nov 2004 06:20:44 +1100, Aaron DC
<[EMAIL PROTECTED]> wrote:
> Maybe it's a small thing, but implementing http://www.cfhosting.net

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


RE: Help! Error on ValueList SOLVED

2004-11-17 Thread Pascal Peters
You have a dynamically named column that you can't use with the function
ValueList(). This leaves two options:

Option 1 (use an alias to get a fixed column name):

  SELECT #imageColumnName# AS mycol FROM products
  UNION
  SELECT #imageColumnName# AS mycol FROM dolls



Option 2 (use evaluate):

  SELECT #imageColumnName# FROM products
  UNION
  SELECT #imageColumnName# FROM dolls



Evaluate is not a very performant function and should only be used if
there is no other option (and there usually is another option)

Pascal 

> -Original Message-
> From: Donna French [mailto:[EMAIL PROTECTED]
> Sent: 17 November 2004 20:15
> To: CF-Talk
> Subject: Re: Help! Error on ValueList SOLVED
> 
> Thanks for your help Pascal. Forgive me for not knowing, but can I ask
> you why I should use the alias instead of the variable ?
> 
> TIA,
> Donna
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: CFML vs PHP/ASP functionality [Was: Macromedia gives up on the server market in Australia and walks away.]

2004-11-17 Thread Aaron DC
Maybe it's a small thing, but implementing 
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, November 17, 2004 8:14 PM
Subject: RE: Macromedia gives up on the server market in Australia and walks
away.


> Euhmm..  ASP.NET? PHP? Name one thing that cannot be done on these
> platforms and can be done with ColdFusion.



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: CFC form handling

2004-11-17 Thread Dan O'Keefe
>I am trying to learn how to utilize the full power of CFC's in a
better practice way (working >my way towards best practices).  I am
building an administrative application.  I have put >the queries into
a data CFC, my business logic into its own CFC, and thus leaving the
>display code in its own CFM file.

Ian,

What you are describing is basically the seperation defined in a "MVC"
approach, as you may be aware. The issue you are describing is
soemthing similiar to what I am dealing with right now and working on
a solution. I have resurected the old   tag from the
Fusebox 2 days, and I am working on a solution using that concept. The
major issue, as you described is not ending up on the controller page
in the URL. Our situation is a little more involved with a few
different CFC's being used after a post, but the crust of the issue is
the same.

We have a couple of ideas and I will let you know what we come up with
in the next day or two.

Maybe MACH-II concepts on how they handle that might be enlightening for us.

Dan

On Wed, 17 Nov 2004 09:47:10 -0800, Ian Skinner
<[EMAIL PROTECTED]> wrote:
> I am stumped here.
> 
> I am trying to learn how to utilize the full power of CFC's in a better 
> practice way (working my way towards best practices).  I am building an 
> administrative application.  I have put the queries into a data CFC, my 
> business logic into its own CFC, and thus leaving the display code in its own 
> CFM file.
> 
> This has been working well so far, but I have found my self in a dark alley 
> and I can not see how to code myself out of it.  I'm looking for some basic 
> strategy suggestions on how to build this in a more OO/multi-tier and less 
> procedural way.
> 
> The path I have followed so far is something like this:
> 
> Form.cfm
> This is just what it says, a file that contains a form.
> 
> App.cfc
> This file is a middleman CFC that the form submits to using the following 
> structure.  My current thinking is that this file is doing the validation and 
> verification of the data submitted from the form according to the business 
> needs.
> 
>
>...
> 
> 
> Data.cfc
> This is the CFC that the App.cfc utilizes to actually get the data from the 
> form into the database.  It contains the database logic and SQL statements.
> 
> The trouble I am experiencing is that the logic in the app.cfc has two exits. 
>  First of all, my understanding of best practices makes me feel that this may 
> be a bad result of itself, but I do not see a way to rearrange the pieces of 
> my code to eliminate this.  Secondly, even if I accept the two exits from the 
> App.cfc method, I can't figure a way to actually make it work.
> 
> The problem is that the formMethod() function is checking the data from the 
> form, if the data is valid; it calls the appropriate method of the data.cfc 
> to get the data into the database.  But what do I do when the data is 
> invalid?  The program flow needs to somehow get back to the form with 
> information about why the data is invalid, so that the user can be prompted 
> to correct the errors.
> 
> Since the form has been submitted to the App.cfc that is where the logic 
> "pointer" is currently located.  In other words, if I don't do anything to 
> relocate and just finish processing, the URL of the browser will be such as 
> "http://aWebSite/app.cfc";.   So how can I get the location and the error data 
> back to the form.cfm file?
> 
> I tried to store the error data in the session scope to persist it and then 
> us a , but that does not seem to work.  When I dump the 
> session scope in the form file, it is unaware of any of the values set in the 
> app.cfc code.  I think I have run into this problem before.  It seems that if 
> one submits forms to cfc methods for processing, this cfc has a separate 
> world of persistent variables.  I can set and output values in application or 
> session scope in the cfc, but not from files that come after the cfc.
> 
> So can somebody guide me to a better way to organize my logic so that I do 
> not have the two exits currently required from the app.cfc formMethod() 
> function?  Or at least help me figure out how to get the data from this 
> method back to the originating form?
> 
> Thank you much.
> 
> --
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
> 
> "C code. C code run. Run code run. Please!"
> - Cynthia Dunning
> 
> Confidentiality Notice:  This message including any
> attachments is for the sole use of the intended
> recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the
> intended recipient, please contact the sender and
> delete any copies of this message.
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http:/

Re: Help! Error on ValueList SOLVED

2004-11-17 Thread Donna French
Thanks for your help Pascal. Forgive me for not knowing, but can I ask
you why I should use the alias instead of the variable ?

TIA,
Donna


On Wed, 17 Nov 2004 19:59:34 +0100, Pascal Peters <[EMAIL PROTECTED]> wrote:
> I hardly think this will work correctly. Dumping filenames should give
> you the string "ValueList(qGetFilenames.lanesid)". You would need an
> evaluate to make it work. A better solution is using an alias (see my
> other post).
> 
> Pascal
> 
> 
> 
> > -Original Message-
> > From: Donna French [mailto:[EMAIL PROTECTED]
> > Sent: 17 November 2004 19:49
> > To: CF-Talk
> > Subject: Re: Help! Error on ValueList SOLVED
> >
> > Got it working with the following code:
> >
> > 
> > 
> > Images Cleanup
> > 
> > 
> >
> > 
> > 
> >
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > 
> >
> >
> > 
> > 
> >   SELECT #imageColumnName# FROM products
> >   UNION
> >   SELECT #imageColumnName# FROM dolls
> > 
> >
> > 
> > 
> >
> > 
> > 
> >> name="qDirectory">
> >
> >   
> >   
> >   
> > 
> >   
> >  > file="#imagesDirectory#\#i#\#qDirectory.name#">
> >   
> > Test Mode:  #imagesDirectory#\#i#\#qDirectory.name# would be
> > deleted. 
> >   
> > 
> >   
> >   
> > 
> >
> > 
> > 
> >
> >
> > Thank you to everyone that helped!!!
> >
> > ~ Donna
> >
> >
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Help! Error on ValueList

2004-11-17 Thread Donna French
Doh! 

I forgot this site is still running on CF5 on the server..duh.

Thx,
~ D


On Wed, 17 Nov 2004 20:04:06 +0100, Pascal Peters <[EMAIL PROTECTED]> wrote:
> Yes you do (only on pre CFMX)
> 
> 
> 
> > -Original Message-
> > From: Donna French [mailto:[EMAIL PROTECTED]
> > Sent: 17 November 2004 20:00
> > To: CF-Talk
> > Subject: Re: Help! Error on ValueList
> >
> > Well, it ALMOST worked - when I tried it in REAL mode I get the
> following
> > error:
> >
> > Error processing CFFILE
> >
> > Unable to delete the file 'c:\inetpub\lanescollectibles\images\400\..'
> > Access is denied. (error 5)
> >
> > The error occurred while processing an element with a general
> > identifier of (CFFILE), occupying document position (46:9) to (46:79).
> >
> >
> > I'm assuming it's the .. to go up a folder on the server that it's
> > trying to delete. Guess I need to plug in a CFIF to skip that?
> >
> > TIA,
> > Donna
> >
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Help! Error on ValueList

2004-11-17 Thread Pascal Peters
Yes you do (only on pre CFMX)

> -Original Message-
> From: Donna French [mailto:[EMAIL PROTECTED]
> Sent: 17 November 2004 20:00
> To: CF-Talk
> Subject: Re: Help! Error on ValueList
> 
> Well, it ALMOST worked - when I tried it in REAL mode I get the
following
> error:
> 
> Error processing CFFILE
> 
> Unable to delete the file 'c:\inetpub\lanescollectibles\images\400\..'
> Access is denied. (error 5)
> 
> The error occurred while processing an element with a general
> identifier of (CFFILE), occupying document position (46:9) to (46:79).
> 
> 
> I'm assuming it's the .. to go up a folder on the server that it's
> trying to delete. Guess I need to plug in a CFIF to skip that?
> 
> TIA,
> Donna
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Help! Error on ValueList

2004-11-17 Thread Donna French
Well, it ALMOST worked - when I tried it in REAL mode I get the following error:

Error processing CFFILE

Unable to delete the file 'c:\inetpub\lanescollectibles\images\400\..'
Access is denied. (error 5)

The error occurred while processing an element with a general
identifier of (CFFILE), occupying document position (46:9) to (46:79).


I'm assuming it's the .. to go up a folder on the server that it's
trying to delete. Guess I need to plug in a CFIF to skip that?

TIA,
Donna



On Wed, 17 Nov 2004 12:36:53 -0600, Donna French <[EMAIL PROTECTED]> wrote:
> I had left the CFAbort from yesterday. Removed that, then the query
> name was wrong in part of the output. So I've corrected that and have
> the current code and error:
> 
> Code:
> 
> 
> Images Cleanup
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>   SELECT #imageColumnName# FROM products
>   UNION
>   SELECT #imageColumnName# FROM dolls
> 
> 
> 
> 
> 
> 
> 
> 
> 
>name="qDirectory">
> 
>   
>   
>   
> 
>   
>  file="#imagesDirectory#\#i#\#qDirectory.name#">
>   
> Test Mode:  #imagesDirectory#\#i#\#qDirectory.name# would be
> deleted. 
>   
> 
>   
>   
> 
> 
> 
> 
> 
> Error:
> Error Diagnostic Information
> 
> An error occurred while evaluating the expression:
> 
>  fileNames = #ValueList(qGetFilenames.imageColumnName)#
> 
> Error near line 30, column 7.
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Help! Error on ValueList SOLVED

2004-11-17 Thread Pascal Peters
I hardly think this will work correctly. Dumping filenames should give
you the string "ValueList(qGetFilenames.lanesid)". You would need an
evaluate to make it work. A better solution is using an alias (see my
other post).

Pascal

> -Original Message-
> From: Donna French [mailto:[EMAIL PROTECTED]
> Sent: 17 November 2004 19:49
> To: CF-Talk
> Subject: Re: Help! Error on ValueList SOLVED
> 
> Got it working with the following code:
> 
> 
> 
> Images Cleanup
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>   SELECT #imageColumnName# FROM products
>   UNION
>   SELECT #imageColumnName# FROM dolls
> 
> 
> 
> 
> 
> 
> 
>name="qDirectory">
> 
>   
>   
>   
> 
>   
>  file="#imagesDirectory#\#i#\#qDirectory.name#">
>   
> Test Mode:  #imagesDirectory#\#i#\#qDirectory.name# would be
> deleted. 
>   
> 
>   
>   
> 
> 
> 
> 
> 
> 
> Thank you to everyone that helped!!!
> 
> ~ Donna
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


MX Methodologies (Mach2?? Fusebox??)

2004-11-17 Thread Ali Awan
I was wondering if anyone on here has had any experience upgrading their CF 
apps (pre-MX) to the Mach2 framework?

If so, how would you advise someone who was attempting to upgrade an app 
written for CF 5.0 to Mach2. (I'm upgrading to MX also, obviously).

I have seen examples of Mach2, like Shopping Cart apps, etc.  This seems to 
work nicely when there are clearly defined objects, events, etc.  But as most 
of us know, not all Cold Fusion or web apps can be neatly organized into 
objects, events etc.

Anyway, I just wanted to start a discussion, to see if anyone else has 
converted an app that wasn't as clearly defined as a shopping cart, to Mach2 
and what advise they may have, or what pitfalls they encountered.  Additionally 
in some cases is it better just to stick with the Fusebox framework on MX?

Thanks,
Ali

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Help! Error on ValueList

2004-11-17 Thread Pascal Peters
imageColumnName isn't your column name, it's a variable!

I would suggest


  SELECT #imageColumnName# AS mycol FROM products
  UNION
  SELECT #imageColumnName# AS mycol FROM dolls

cfset fileNames = #ValueList(qGetFilenames.mycol)# />

Pascal

> -Original Message-
> From: Donna French [mailto:[EMAIL PROTECTED]
> Sent: 17 November 2004 19:37
> To: CF-Talk
> Subject: Re: Help! Error on ValueList
> 
> I had left the CFAbort from yesterday. Removed that, then the query
> name was wrong in part of the output. So I've corrected that and have
> the current code and error:
> 
> Code:
> 
> 
> Images Cleanup
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>   SELECT #imageColumnName# FROM products
>   UNION
>   SELECT #imageColumnName# FROM dolls
> 
> 
> 
> 
> 
> 
> 
>name="qDirectory">
> 
>   
>   
>   
> 
>   
>  file="#imagesDirectory#\#i#\#qDirectory.name#">
>   
> Test Mode:  #imagesDirectory#\#i#\#qDirectory.name# would be
> deleted. 
>   
> 
>   
>   
> 
> 
> 
> 
> 
> Error:
> Error Diagnostic Information
> 
> An error occurred while evaluating the expression:
> 
> 
>  fileNames = #ValueList(qGetFilenames.imageColumnName)#
> 
> 
> 
> Error near line 30, column 7.
> 
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Help! Error on ValueList

2004-11-17 Thread Dave Francis
Does this work?



-Original Message-
From: Donna French [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 17, 2004 1:37 PM
To: CF-Talk
Subject: Re: Help! Error on ValueList


I had left the CFAbort from yesterday. Removed that, then the query
name was wrong in part of the output. So I've corrected that and have
the current code and error:

Code:


Images Cleanup




















  SELECT #imageColumnName# FROM products
  UNION
  SELECT #imageColumnName# FROM dolls







  

  
  
  

  

  
Test Mode:  #imagesDirectory#\#i#\#qDirectory.name# would be
deleted. 
  

  
  





Error:
Error Diagnostic Information

An error occurred while evaluating the expression:


 fileNames = #ValueList(qGetFilenames.imageColumnName)#



Error near line 30, column 7.




~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Help! Error on ValueList SOLVED

2004-11-17 Thread Donna French
Got it working with the following code:



Images Cleanup




















  SELECT #imageColumnName# FROM products
  UNION
  SELECT #imageColumnName# FROM dolls 







  
  
  
  
  

  

  
Test Mode:  #imagesDirectory#\#i#\#qDirectory.name# would be
deleted. 
  

  
  






Thank you to everyone that helped!!!

~ Donna

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: apache and muliple CF instances

2004-11-17 Thread Douglas Knudsen
ah, ic, just played with this some more.  I setup a virtual directory
in IIS say TWO/, modify the extension mappings to use the proper
wsconfig dir for cftwo instance.  I can see http://domain/TWO using
the cftwo instance.  Might have some mapping/cust tag path issues to
setup, but looks like it works.  I left the context path in JRun ADmin
as / though.  This where you were going?


doug

On Wed, 17 Nov 2004 13:40:49 -0500, Douglas Knudsen
<[EMAIL PROTECTED]> wrote:
> because I'm not at all familiar with what you are saying.  I setup two
> CFMX instances, cfone and cftwo with context paths /one and /two set
> respectfully.  (what to set the doc roots to?)  Now, how to setup IIS?
>  I have the main site on port 80 hooked up to instance cfone.  How to
> get a cirtual directory linked to use instance cftwo?  FYI, all our
> doc roots are inetpub]wwwroot.
> 
> 
> 
> Doug
> 
> On Wed, 17 Nov 2004 12:23:39 -0500, Dave Watts <[EMAIL PROTECTED]> wrote:
> >
> >
> > > We have a server on our intranet hosting several CF apps all
> > > under one CFMX instance.  A couple of these apps have grown
> > > in popularity and I'd like to run thme under a seperate CFMX
> > > instance BUT retain the URL
> > > path.  Running https too, so IIRC, can't use host headers.   We are
> > > using IIS now, can add a new site but has to be a diff port,
> > > hence the URL path changes.  Looks like I'll just have to
> > > work with a redirect and get everyone to add a new bookmark, eh?
> >
> > Why not just use one virtual web server connected to two different CFMX/JRun
> > instances using different context roots?
> >
> > Dave Watts, CTO, Fig Leaf Software
> > http://www.figleaf.com/
> > phone: 202-797-5496
> > fax: 202-797-5444
> >
> > 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: dynamic jTree from jComponents

2004-11-17 Thread Emmet McGovern
What structure is your table?  Does it include the parent within the same
table or are you using relational tables?

Also, you might want to check to make sure you can set up links if your
using this for frameless navigation.  You need to capture the data using
javascript and it's not entirely documented. (hint hint joe)  I had limited
success with it using document.location, document(replace) and so forth.
For some reson the treeimages and text would function separately. I switched
to the tree at www.treeview.net (remembers state very nicely).  Joes is  a
beautiful tag and fast as all get out, I just couldn't get it to work for
navigation. 

If your interested in that, email me and I'll send you the code for
treeview.

-e


-Original Message-
From: Coleman, Brian [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 17, 2004 1:24 PM
To: CF-Talk
Subject: dynamic jTree from jComponents

I have a question that I'm not sure how to phrase, regarding using jTree
from jComponents (if anyone's got some experience on using it) from
http://clearsoftware.net/client/jComponents.cfm
 
The basic layout of the jTree stuff is something like this
 
 




















 
my problem is when I try to make this interact with a database, I can't
wrap my head around how to make it build nodes and closing nodes, where
some might be nested inside others, etc.
does anyone have any sample code for this?
 
Thanks,
Brian




~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: apache and muliple CF instances

2004-11-17 Thread Douglas Knudsen
because I'm not at all familiar with what you are saying.  I setup two
CFMX instances, cfone and cftwo with context paths /one and /two set
respectfully.  (what to set the doc roots to?)  Now, how to setup IIS?
 I have the main site on port 80 hooked up to instance cfone.  How to
get a cirtual directory linked to use instance cftwo?  FYI, all our
doc roots are inetpub]wwwroot.

Doug 


On Wed, 17 Nov 2004 12:23:39 -0500, Dave Watts <[EMAIL PROTECTED]> wrote:
> 
> 
> > We have a server on our intranet hosting several CF apps all
> > under one CFMX instance.  A couple of these apps have grown
> > in popularity and I'd like to run thme under a seperate CFMX
> > instance BUT retain the URL
> > path.  Running https too, so IIRC, can't use host headers.   We are
> > using IIS now, can add a new site but has to be a diff port,
> > hence the URL path changes.  Looks like I'll just have to
> > work with a redirect and get everyone to add a new bookmark, eh?
> 
> Why not just use one virtual web server connected to two different CFMX/JRun
> instances using different context roots?
> 
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> phone: 202-797-5496
> fax: 202-797-5444
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Help! Error on ValueList

2004-11-17 Thread Donna French
I had left the CFAbort from yesterday. Removed that, then the query
name was wrong in part of the output. So I've corrected that and have
the current code and error:

Code:


Images Cleanup




















  SELECT #imageColumnName# FROM products
  UNION
  SELECT #imageColumnName# FROM dolls 







  
  
  
  
  

  

  
Test Mode:  #imagesDirectory#\#i#\#qDirectory.name# would be
deleted. 
  

  
  





Error:
Error Diagnostic Information

An error occurred while evaluating the expression: 


 fileNames = #ValueList(qGetFilenames.imageColumnName)# 



Error near line 30, column 7.


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Help! Error on ValueList

2004-11-17 Thread Donna French
Okay, I've uploaded to my production server - CFMX and MS SQL - and
ran the page in test mode and I'm not getting anything. Just a blank
page when I run it now.

Any ideas/suggestions???

Thank you all for your help!

Donna


On Wed, 17 Nov 2004 11:16:20 -0700, Scott Brady <[EMAIL PROTECTED]> wrote:
> The error message actually tells you the primary issue:
> > Error Executing Database Query.
> > [MERANT][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft
> > Access Driver] The Microsoft Jet database engine cannot find the input
> > table or query 'products'. Make sure it exists and that its name is
> > spelled correctly.
> 
> It can't find a table called "products" in the datasource.  Make sure
> you're using the right datasource. Make sure there is actually a table
> (or query) in Access called "products" in that datasource.
> 
> You can also take your query and try running it inside Access to see
> if it runs there.
> 
> Scott
> --
> -
> Scott Brady
> http://www.scottbrady.net/
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


dynamic jTree from jComponents

2004-11-17 Thread Coleman, Brian
I have a question that I'm not sure how to phrase, regarding using jTree
from jComponents (if anyone's got some experience on using it) from
http://clearsoftware.net/client/jComponents.cfm
 
The basic layout of the jTree stuff is something like this
 
 




















 
my problem is when I try to make this interact with a database, I can't
wrap my head around how to make it build nodes and closing nodes, where
some might be nested inside others, etc.
does anyone have any sample code for this?
 
Thanks,
Brian


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Help! Error on ValueList

2004-11-17 Thread Scott Brady
The error message actually tells you the primary issue:
> Error Executing Database Query.
> [MERANT][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft
> Access Driver] The Microsoft Jet database engine cannot find the input
> table or query 'products'. Make sure it exists and that its name is
> spelled correctly.

It can't find a table called "products" in the datasource.  Make sure
you're using the right datasource. Make sure there is actually a table
(or query) in Access called "products" in that datasource.

You can also take your query and try running it inside Access to see
if it runs there.

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

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: CFC form handling

2004-11-17 Thread Doug James
Could you pass in the Form.cfm url along with the form, hidden fields 
maybe. Then if the data is valid go to a function that calls Data.cfc or 
if the data is invalid then it goes to a function that returns the form 
fields back to Form.cfm using the url parameter.

Just a thought.

I have been mulling the idea of using cfc's in a similar method.

Doug

Ian Skinner wrote:

>I am stumped here.
>
>I am trying to learn how to utilize the full power of CFC's in a better 
>practice way (working my way towards best practices).  I am building an 
>administrative application.  I have put the queries into a data CFC, my 
>business logic into its own CFC, and thus leaving the display code in its own 
>CFM file.
>
>This has been working well so far, but I have found my self in a dark alley 
>and I can not see how to code myself out of it.  I'm looking for some basic 
>strategy suggestions on how to build this in a more OO/multi-tier and less 
>procedural way.
>
>The path I have followed so far is something like this:
>
>Form.cfm 
>This is just what it says, a file that contains a form.
>
>App.cfc 
>This file is a middleman CFC that the form submits to using the following 
>structure.  My current thinking is that this file is doing the validation and 
>verification of the data submitted from the form according to the business 
>needs.
>
>   
>   ...
>
>
>Data.cfc
>This is the CFC that the App.cfc utilizes to actually get the data from the 
>form into the database.  It contains the database logic and SQL statements.
>
>The trouble I am experiencing is that the logic in the app.cfc has two exits.  
>First of all, my understanding of best practices makes me feel that this may 
>be a bad result of itself, but I do not see a way to rearrange the pieces of 
>my code to eliminate this.  Secondly, even if I accept the two exits from the 
>App.cfc method, I can't figure a way to actually make it work.
>
>The problem is that the formMethod() function is checking the data from the 
>form, if the data is valid; it calls the appropriate method of the data.cfc to 
>get the data into the database.  But what do I do when the data is invalid?  
>The program flow needs to somehow get back to the form with information about 
>why the data is invalid, so that the user can be prompted to correct the 
>errors.
>
>Since the form has been submitted to the App.cfc that is where the logic 
>"pointer" is currently located.  In other words, if I don't do anything to 
>relocate and just finish processing, the URL of the browser will be such as 
>"http://aWebSite/app.cfc";.   So how can I get the location and the error data 
>back to the form.cfm file?  
>
>I tried to store the error data in the session scope to persist it and then us 
>a , but that does not seem to work.  When I dump the session 
>scope in the form file, it is unaware of any of the values set in the app.cfc 
>code.  I think I have run into this problem before.  It seems that if one 
>submits forms to cfc methods for processing, this cfc has a separate world of 
>persistent variables.  I can set and output values in application or session 
>scope in the cfc, but not from files that come after the cfc.
>
>So can somebody guide me to a better way to organize my logic so that I do not 
>have the two exits currently required from the app.cfc formMethod() function?  
>Or at least help me figure out how to get the data from this method back to 
>the originating form?
>
>Thank you much.
>
>--
>Ian Skinner
>Web Programmer
>BloodSource
>www.BloodSource.org
>Sacramento, CA
>
>"C code. C code run. Run code run. Please!"
>- Cynthia Dunning
>
>Confidentiality Notice:  This message including any
>attachments is for the sole use of the intended
>recipient(s) and may contain confidential and privileged
>information. Any unauthorized review, use, disclosure or
>distribution is prohibited. If you are not the
>intended recipient, please contact the sender and
>delete any copies of this message. 
>
>
>
>

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


CFC form handling

2004-11-17 Thread Ian Skinner
I am stumped here.

I am trying to learn how to utilize the full power of CFC's in a better 
practice way (working my way towards best practices).  I am building an 
administrative application.  I have put the queries into a data CFC, my 
business logic into its own CFC, and thus leaving the display code in its own 
CFM file.

This has been working well so far, but I have found my self in a dark alley and 
I can not see how to code myself out of it.  I'm looking for some basic 
strategy suggestions on how to build this in a more OO/multi-tier and less 
procedural way.

The path I have followed so far is something like this:

Form.cfm 
This is just what it says, a file that contains a form.

App.cfc 
This file is a middleman CFC that the form submits to using the following 
structure.  My current thinking is that this file is doing the validation and 
verification of the data submitted from the form according to the business 
needs.

   
   ...


Data.cfc
This is the CFC that the App.cfc utilizes to actually get the data from the 
form into the database.  It contains the database logic and SQL statements.

The trouble I am experiencing is that the logic in the app.cfc has two exits.  
First of all, my understanding of best practices makes me feel that this may be 
a bad result of itself, but I do not see a way to rearrange the pieces of my 
code to eliminate this.  Secondly, even if I accept the two exits from the 
App.cfc method, I can't figure a way to actually make it work.

The problem is that the formMethod() function is checking the data from the 
form, if the data is valid; it calls the appropriate method of the data.cfc to 
get the data into the database.  But what do I do when the data is invalid?  
The program flow needs to somehow get back to the form with information about 
why the data is invalid, so that the user can be prompted to correct the errors.

Since the form has been submitted to the App.cfc that is where the logic 
"pointer" is currently located.  In other words, if I don't do anything to 
relocate and just finish processing, the URL of the browser will be such as 
"http://aWebSite/app.cfc";.   So how can I get the location and the error data 
back to the form.cfm file?  

I tried to store the error data in the session scope to persist it and then us 
a , but that does not seem to work.  When I dump the session 
scope in the form file, it is unaware of any of the values set in the app.cfc 
code.  I think I have run into this problem before.  It seems that if one 
submits forms to cfc methods for processing, this cfc has a separate world of 
persistent variables.  I can set and output values in application or session 
scope in the cfc, but not from files that come after the cfc.

So can somebody guide me to a better way to organize my logic so that I do not 
have the two exits currently required from the app.cfc formMethod() function?  
Or at least help me figure out how to get the data from this method back to the 
originating form?

Thank you much.

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

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

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



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: SQL Query using 'FOR XML' & Coldfusion

2004-11-17 Thread Rob
Yes, you have to loop over the query columns and build a new string
with the columns data.

The way you go about it is pretty wacky and I forget the syntax, but I
(and others) have posted how to do it to the list at one point so it
should be in the archive (it was like a year ago though)

On Wed, 17 Nov 2004 07:58:42 -0400, Andy Mcshane <[EMAIL PROTECTED]> wrote:
> Hi all. I am trying to utilise the SQL2000 'FOR XML' functionality to return 
> the results of a stored procedure, called from Coldfusion using 
> 'CFStoredProc', as an XML string to my Coldfusion app. I am having a few 
> problems;
> 
> When I run the query in the SQL query window the results are exactly as I 
> want, when I then call the stored procedure from Coldfusion app I get a 
> recordset with multiple rows instead of one record containing a string and 
> when I look at the 'ColumnList' property of the query I have mulitple columns 
> with a naming convention as 'XML_F52E2B61-18A1-11D1-B105-00805F49916B'.
> 
> Has anybody managed to use this SQL 'FOR XML' functionality in a Coldfusion 
> app before?
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: loop over form objects - using JavaScript - Client Validation

2004-11-17 Thread Ron Gowen
I believe this is what you are looking for:




function validateFields(oForm) {
var colorChecked = 0;

for (var i=0; i wrote:
> I dont think you are understanding what I'm trying to do..
> I already check for server validation on the processing page.
> What I'm trying to prevent is from the user to hit submit without
> checking a box using client validation... javascript. If they hit
> submit I want to display a message that they havent selected
> anything... before it goes to the processing page.
> 
> On Tue, 16 Nov 2004 15:57:14 -0500, Ewok <[EMAIL PROTECTED]> wrote:
> > Well since checkboxes don't really exist in the scope unless they were
> > checked... I usually build cfparams for the fields with the same query and
> > loop I built the form fields with. Then use the query loop again to check
> > the value of the fields
> >
> > Basic example
> >
> > <~--- to build the fields (which you already have ) --->
> > 
> > 
> > 
> >
> > 
> > 
> > 
> > 
> >
> > 
> > 
> > FORM.FLD_#i# = #form['fld_' & i]#
> > 
> >
> > You would just use currentrow or a recordID in your query loop rather than
> > an index.
> >
> >
> >
> >
> > -Original Message-
> > From: Greg Morphis [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, November 16, 2004 2:34 PM
> > To: CF-Talk
> > Subject: loop over form objects
> >
> > I have a page with X number of check boxes on it.
> > I have a query which generates these check boxes.
> > The query also returns the min and max value of the ID for those check
> > boxes.
> > Basically creating
> > r_23
> > r_24
> > r_25
> > r_26
> > ... and so forth.
> > I'm trying to loop over these fields to check to see if none are checked.
> > for(i=#sweeps.minval#;i <
> > #sweeps.maxval#; i++)
> > {
> >
> > }
> >
> > In the above scenerio the for loop would translate to
> > for(i=23;i<=26;i++)
> >
> > How do I check to see if r_i is checked..
> >
> > --
> > Auxilium meum a Domino
> >
> >
> >
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: payment gateway question

2004-11-17 Thread Emmet McGovern
Check out www.modernauthorize.com It doesn't really answer your original
question, but its pretty competitive.  The same company also runs
www.sslfactory.com very cheap ssl certs.  

I had a client try to grope me after the amount she saved from switching
from the Verisign/CSI/Thawte money pit.

-e

-Original Message-
From: DRE [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 17, 2004 12:19 PM
To: CF-Talk
Subject: Re: payment gateway question

nobody every heard of them?


On Tue, 16 Nov 2004 15:18:56 -0800, DRE <[EMAIL PROTECTED]> wrote:
> Hi, I have a client who wants to run credit cards thru a processor /
> gateway called WorkSmartPros.com who uses Cornerstone as their
> Merchant processor.
> 
> Anybody got any feedback on these people and how easy it is to deal
> with their system, uptime, etc?
> 
> Or perhaps I should be asking for best recomendations.  She seems to
> think that authorize.net is more expensive.
> 
> Thanks.
> 
> --
> DRE
> www.webmachineinc.com
> www.theanticool.com
> 


-- 
DRE
www.webmachineinc.com
www.theanticool.com



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Image color info?

2004-11-17 Thread Emmet McGovern
I totally forgot about that site.  It should get the wacky cf site of the
millennia award.  Or something like that.

I put together a nice server manager with his hosting toolkit a long time
ago. I wonder if any of that stuff works with IIS/win2003 these days.

BTW...  the tag works like a charm.  Hopefully the server will appreciate
the atomic warfare that I've unleashed upon it.

-e

-Original Message-
From: James Smith [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 17, 2004 11:55 AM
To: CF-Talk
Subject: RE: Image color info?

I think http://www.intrafoundation.com/CFX_ImageInfoMX.asp will do what you
ask.

--
Jay 

> -Original Message-
> From: Emmet McGovern [mailto:[EMAIL PROTECTED] 
> Sent: 17 November 2004 16:03
> To: CF-Talk
> Subject: RE: Image color info?
> 
> I wrote the original question assuming everyone knew I was 
> talking about jpg.  Although it would be nice to be able to 
> determine ai, tiff, psd, eps but I can just assume that they 
> are cmyk to begin with and so can the printer. The problem 
> exists with reading any jpg's in the directory.
> 
> -Original Message-
> From: James Smith [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 17, 2004 10:51 AM
> To: CF-Talk
> Subject: RE: Image color info?
> 
> > I don't know as I've ever seen a .gif or .jpg that was ever 
> cmyk (only 
> > time I ever really see .png is within a Flash
> 
> A gif can't be CMYK, it can't be RGB either, a gif is by 
> definition an indexed format with it's own colour palette.  A 
> jpg can be either RGB or CMYK but will not be displayed in IE 
> or Netscape if it is CMYK, you usually only see it when you 
> receive graphics from Mac using graphic designers used to 
> designing for print and not appreciating the difference in 
> designing for screen use.
> 
> --
> Jay
> 
> 
> 
> 
> 



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: payment gateway question

2004-11-17 Thread DRE
nobody every heard of them?


On Tue, 16 Nov 2004 15:18:56 -0800, DRE <[EMAIL PROTECTED]> wrote:
> Hi, I have a client who wants to run credit cards thru a processor /
> gateway called WorkSmartPros.com who uses Cornerstone as their
> Merchant processor.
> 
> Anybody got any feedback on these people and how easy it is to deal
> with their system, uptime, etc?
> 
> Or perhaps I should be asking for best recomendations.  She seems to
> think that authorize.net is more expensive.
> 
> Thanks.
> 
> --
> DRE
> www.webmachineinc.com
> www.theanticool.com
> 


-- 
DRE
www.webmachineinc.com
www.theanticool.com

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: apache and muliple CF instances

2004-11-17 Thread Dave Watts
> We have a server on our intranet hosting several CF apps all 
> under one CFMX instance.  A couple of these apps have grown 
> in popularity and I'd like to run thme under a seperate CFMX 
> instance BUT retain the URL
> path.  Running https too, so IIRC, can't use host headers.   We are
> using IIS now, can add a new site but has to be a diff port, 
> hence the URL path changes.  Looks like I'll just have to 
> work with a redirect and get everyone to add a new bookmark, eh?

Why not just use one virtual web server connected to two different CFMX/JRun
instances using different context roots?

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


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Image color info?

2004-11-17 Thread James Smith
I think http://www.intrafoundation.com/CFX_ImageInfoMX.asp will do what you
ask.

--
Jay 

> -Original Message-
> From: Emmet McGovern [mailto:[EMAIL PROTECTED] 
> Sent: 17 November 2004 16:03
> To: CF-Talk
> Subject: RE: Image color info?
> 
> I wrote the original question assuming everyone knew I was 
> talking about jpg.  Although it would be nice to be able to 
> determine ai, tiff, psd, eps but I can just assume that they 
> are cmyk to begin with and so can the printer. The problem 
> exists with reading any jpg's in the directory.
> 
> -Original Message-
> From: James Smith [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 17, 2004 10:51 AM
> To: CF-Talk
> Subject: RE: Image color info?
> 
> > I don't know as I've ever seen a .gif or .jpg that was ever 
> cmyk (only 
> > time I ever really see .png is within a Flash
> 
> A gif can't be CMYK, it can't be RGB either, a gif is by 
> definition an indexed format with it's own colour palette.  A 
> jpg can be either RGB or CMYK but will not be displayed in IE 
> or Netscape if it is CMYK, you usually only see it when you 
> receive graphics from Mac using graphic designers used to 
> designing for print and not appreciating the difference in 
> designing for screen use.
> 
> --
> Jay
> 
> 
> 
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Verity Search string assistance

2004-11-17 Thread Raymond Camden
http://www.cflib.org/udf.cfm?ID=760

Enjoy


On Wed, 17 Nov 2004 11:33:44 -0500, Dennis Powers
<[EMAIL PROTECTED]> wrote:
> We are still using CF5 and the built in verity engine with excellent
> success. However, every once in a while the search page generates an error
> within the cfsearch tag that tells us that an invalid character was passed
> in the search string.
> 
> We have written a filter that removes non-alphanumeric characters from the
> search string, but every now and then someone finds a way to enter a search
> string that our filter doesn't catch and generates an error.
> 
> Does anyone have a definitive filter for the search string that will insure
> that CFSearch will not complain?
> 
> Best Regards,
> 
> Dennis Powers
> UXB Internet- A Website Design and Hosting Company
> 690 Wolcott Road - P.O. Box 6028
> Wolcott, CT 06716tel: (203)879-2844
> http://www.uxbinternet.com
> http://dennis.uxb.net
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: apache and muliple CF instances

2004-11-17 Thread Douglas Knudsen
We have a server on our intranet hosting several CF apps all under one
CFMX instance.  A couple of these apps have grown in popularity and
I'd like to run thme under a seperate CFMX instance BUT retain the URL
path.  Running https too, so IIRC, can't use host headers.   We are
using IIS now, can add a new site but has to be a diff port, hence the
URL path changes.  Looks like I'll just have to work with a redirect
and get everyone to add a new bookmark, eh?

Doug

On Wed, 17 Nov 2004 11:10:18 -0500, Dave Watts <[EMAIL PROTECTED]> wrote:
> > I did find that I could setup virtual hosts on the same
> > domain under different ports and 'map' seperate CF instances
> > to them.  Then mod_rewrite can be employed to move requests
> > from foo.com/home to foo.com and foo.com/yourhome to foo.com:88.
> 
> Out of curiosity, why do you want separate virtual hosts at all?
> 
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> phone: 202-797-5496
> fax: 202-797-5444
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Verity Search string assistance

2004-11-17 Thread Dennis Powers
We are still using CF5 and the built in verity engine with excellent
success. However, every once in a while the search page generates an error
within the cfsearch tag that tells us that an invalid character was passed
in the search string.

We have written a filter that removes non-alphanumeric characters from the
search string, but every now and then someone finds a way to enter a search
string that our filter doesn't catch and generates an error.

Does anyone have a definitive filter for the search string that will insure
that CFSearch will not complain?


Best Regards,

Dennis Powers
UXB Internet- A Website Design and Hosting Company
690 Wolcott Road - P.O. Box 6028
Wolcott, CT 06716tel: (203)879-2844
http://www.uxbinternet.com
http://dennis.uxb.net



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


DevNet Version of CFMX adds rubbish to the start of my HTML.

2004-11-17 Thread kevin roche
Hi,

I am trying to build pages for the first time with XHTML and the validators in 
both Homesite and Dreamweaver seem only to do half the job. I am trying to 
point the W3C validator at my development machine which is running the 
multiuser devnet version of my site but the server adds an extra line at the 
front of the file and the result is invalid.

Anyone know how to get rid of the line?



The MM site says use cfcontent to make the file text/xml but then it does not 
work in a browser and I need to have both.

-- 
Kevin Roche


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Macromedia gives up on the server market in Australia and wal ks away.

2004-11-17 Thread Lawrence Ng
yeah... when I first started years ago as a rookie, I could not believe
how easy it was to connect to a db and write out your queries freely
without worrying about line breaks, not appending correctly, etc. and
all inside a tag to boot.



>>> [EMAIL PROTECTED] 11/17/2004 8:20:24 AM >>>
Dave nailed it here:

> The fact is, you can do pretty much anything with any of these
products. 
> The
> hands-down advantage of CF, in my opinion, is that you can do most of
the
> common, important things very easily.


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




~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Macromedia gives up on the server market in Australia and wal ks away.

2004-11-17 Thread Greg Morphis
Their stocks aren't doing too bad.
http://finance.yahoo.com/q?s=MACR


On Wed, 17 Nov 2004 08:20:24 -0800, Bryan Stevenson
<[EMAIL PROTECTED]> wrote:
> Dave nailed it here:
> 
> > The fact is, you can do pretty much anything with any of these products.
> > The
> > hands-down advantage of CF, in my opinion, is that you can do most of the
> > common, important things very easily.
> 
> 
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> phone: 250.480.0642
> fax: 250.480.1264
> cell: 250.920.8830
> e-mail: [EMAIL PROTECTED]
> web: www.electricedgesystems.com/54
> 
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Macromedia gives up on the server market in Australia and wal ks away.

2004-11-17 Thread Bryan Stevenson
Dave nailed it here:

> The fact is, you can do pretty much anything with any of these products. 
> The
> hands-down advantage of CF, in my opinion, is that you can do most of the
> common, important things very easily.


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


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: Macromedia gives up on the server market in Australia and wal ks away.

2004-11-17 Thread Mark Drew

No, that I wouldnt but surely Australia (and probably that includes
New Zealand and South Africa) is a large enough area to need more than
one person out there.. then again its a demand vs supply thing.

Here in spain CF is pretty low (where I am at any rate) But I know
that in the capital there is more activity. I am sure that one MM
person for the whole of Europe would be a kinda small testimate.

It would sadden me to see MM leave any territory, but as has been said
in this list, survive or die. If PHP is becoming glorious (no ££ to
buy and avalable on nearly all platforms) its an amazing testament to
no marketing forces right?

With the ASP.NET stuff I am kinda dubious as has been said before but
then again Microsoft can aford to saturate and do what the hell it
likes as it can make it a  loss leader just so that people have to buy
Visual Studio.

Would MM do that to Coldfusion to let them sell more licences for
Dreamweaver? Maybe ship a free version of CF with every copy of
dreamweaver?

I think CF and the related technologies (fusebox for example) is
great, love it. but is MM really on the decline financially? (not
rethorical question.. I simply dont know or have the time to check
out)

As the market fragments I think CF wil find its niche (look at the
proposed features of Blackstone) and work it until that dries up and
then change the feature focus. As with any product really.


I hope CF and MM keep gonig.. means that more people get to use CFEclipse!


My 50 eurocents worth
MD
On Wed, 17 Nov 2004 10:55:27 -0500, Dave Watts <[EMAIL PROTECTED]> wrote:
> > Not so much outlive anything but going back to topic.
> >
> > count number of sales reps/evangelisers for CF in Australia
> > count number of sales reps/evanglisers for Microsoft/ ASP.NET
> > in Australia
> >
> > Simple.. make a call to noth and see who turns up on your
> > doorstep first pluggin their wares.
> >
> > I LOVE CF but Macromedia need to plan on Total Global
> > Coverge, besides.. I recon a few Macromeedies from London
> > wouldnt mind spending a stint in Oz ;)
> 
> Do you really expect Macromedia to be able to field as many product
> evangelists as Microsoft? Is that realistic? Would you be happy to cover
> their salaries by paying significantly more for CF?
> 
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> phone: 202-797-5496
> fax: 202-797-5444
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Macromedia gives up on the server market in Australia and wal ks away.

2004-11-17 Thread Dave Watts
> wouldnt using the words "safety" and "microsoft" in the same 
> sentence and have a direct meaning to one another be 
> slanderous statement? makes me wanna barfff
> 
> thats funny, the perception that is.
> and thats the exact route i would take to fight it.
> running it on a windows server pretty much puts a target on 
> your back, wouldnt it be "safer" to run cfm on a linux 
> server? Not to mention their constant "updating" woes.

This kind of visceral, irrational anti-MS sentiment doesn't really help sell
non-MS products. Lots of people use MS products successfully and safely, and
just dismiss any rational arguments you might actually have if they're
preceded by this. Lots of people run secure Windows servers, and lots of
people run insecure Linux servers.

> and then before u mentioned something about not knowing if 
> what ur proposing will even be around in a few yrs.
> 
> u mean like m$ did with asp? and im sure will do again with .net

"Classic" ASP is still here - there's nothing stopping you from running your
ASP applications on Windows Server 2003, for example. Most web applications
have a relatively short lifespan anyway.

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


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Macromedia gives up on the server market in Australia and wal ks away.

2004-11-17 Thread Dave Watts
> I'll post the results here once we're done. I guess our 
> issues are exactly the same as with any other company selling 
> ColdFusion, customers choose the safety of the brand 
> "Microsoft" instead of using their brains and comparing the 
> results with the costs. That's how it works unfortunately, it 
> is easier for a manager to explain his manager he has failed 
> with a Microsoft project than it is with a ColdFusion project 
> (sounds ridiculous does it?). Then ofcourse we have the sales 
> team, aware of ColdFusion as a product but knowing the "M" 
> name saves their sales pitch, and knowing the "M" name 
> enables them to raise prices. :) ..

Unfortunately, you're correct about this. However, it's not really
ridiculous at all. People have a limited amount of time to learn about
competing products, so all things being equal you're better off choosing the
product from the company you know about rather than the one you don't.

The key to success here is not to fail with your CF projects. Of course,
that's easy to say, but I think that's really your only hope. I prefer CF to
.NET simply because I think projects are more likely to succeed.

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


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: How do I rewrite this as a join query?

2004-11-17 Thread Keith Gaughan
Rick Faircloth wrote:

> I'm using MySQL (4.0) version, which doesn't support
> subqueries, so I need to rewrite this as a join query...how would I do that?
> 
> Select CAL.EmailAddress
>from classroom_access_list CAL
> where CAL.EmailAddress
>  not in (Select S.EmailAddress from staff S)
> 
> What I'm after is a query that gives me all the email addresses in the
> classroom_access_list table and the staff table without duplicates...
> 
> I've been working on the join approach, but those things just
> elude my logic for some reason...can't wait until I'm ready to move to
> MySQL 4.1, which supports subqueries...

SELECT  DISTINCT COALESCE(s.EmailAddress, cal.EmailAddress) EmailAddress
FROMclassroom_access_list cal
FULL OUTER JOIN staff s ON s.EmailAddress = cal.EmailAddress

Or something like that.

K.

-- 
Keith Gaughan, Developer
Digital Crew Ltd., Pembroke House, Pembroke Street, Cork, Ireland
http://digital-crew.com/

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Verity Installation Problem

2004-11-17 Thread kevin roche
- Forwarded message from [EMAIL PROTECTED] -
Date: Wed, 17 Nov 2004 16:02:46 +
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
 Subject: Not Subscribed: RE: Verity Installation Problem
  To: [EMAIL PROTECTED]

You are not subscribed to the CF-Talk list with the address 
[EMAIL PROTECTED] To add this address to your profile, please visit the 
sign in page at http://www.houseoffusion.com/signin/
Return-Path: <[EMAIL PROTECTED]>
Received: from nmail1.systems.pipex.net ([62.241.160.130])
  by hof001.houseoffusion.com (Post.Office MTA v3.5.3 release 223
  ID# 0-54969U100L100S0V35) with ESMTP id com
  for <[EMAIL PROTECTED]>; Wed, 17 Nov 2004 11:04:35 -0500
Received: from nmail1.systems.pipex.net (localhost [127.0.0.1])
by nmail1.systems.pipex.net (8.12.10/8.12.10) with ESMTP id 
iAHG2kre023121
for <[EMAIL PROTECTED]>; Wed, 17 Nov 2004 16:02:46 GMT
Received: (from [EMAIL PROTECTED])
by nmail1.systems.pipex.net (8.12.10/8.12.10/Submit) id iAHG2kih023120
for [EMAIL PROTECTED]; Wed, 17 Nov 2004 16:02:46 GMT

Neil,

It is Windows, but I never needed to do that before. Any ideas why this is 
different?

How do I do I make it a Windows Service? What if I don't want to do that?

Kevin 

Quoting "Robertson-Ravo, Neil (RX)" <[EMAIL PROTECTED]>:

> What O/S?  On Windows you will need to enable Verity via the Command Prompt
> to be a Windows Service (if you want it to be).
> 
> 
> 
> -Original Message-
> From: kevin roche [mailto:[EMAIL PROTECTED] 
> Sent: 17 November 2004 15:26
> To: CF-Talk
> Subject: Verity Installation Problem
> 
> Hi,
> 
> I have recently installed CFMX 6.1 on a server that was locked down by the 
> hosting company. The server already had CF5 running and I wanted to be able
> to 
> run the two versions on the same box. The server was installe in JRun Mode
> and 
> I have now set up a new virtual server that uses CFMX while the exsiting 
> virtual server is running CF5
> 
> All seems Ok except the verity pages which says:
> 
> You must configure your application server to enable Verity. For
> instructions, 
> see "Installing and Using ColdFusion MX." 
> 
> I read the manual and it says that verity must have a couple of lines added
> to 
> the JRun parameters. I checked and they are already there.
> 
> Anyone know what else I should be looking for ?
> 
> -- 
> Kevin Roche
> 
> 
> 
> 
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: Image color info?

2004-11-17 Thread Emmet McGovern
I wrote the original question assuming everyone knew I was talking about
jpg.  Although it would be nice to be able to determine ai, tiff, psd, eps
but I can just assume that they are cmyk to begin with and so can the
printer. The problem exists with reading any jpg's in the directory.

-Original Message-
From: James Smith [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 17, 2004 10:51 AM
To: CF-Talk
Subject: RE: Image color info?

> I don't know as I've ever seen a .gif or .jpg that was ever 
> cmyk (only time I ever really see .png is within a Flash 

A gif can't be CMYK, it can't be RGB either, a gif is by definition an
indexed format with it's own colour palette.  A jpg can be either RGB or
CMYK but will not be displayed in IE or Netscape if it is CMYK, you usually
only see it when you receive graphics from Mac using graphic designers used
to designing for print and not appreciating the difference in designing for
screen use.

--
Jay




~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


Re: What sets the domain in default CFID cookies?

2004-11-17 Thread Nick Cabell
I guess I'm not sure what would cause them to change, but I can see the result 
of it in the different cookies. Doesn't happen on dev machine where it is 
always localhost. What determines the domain value for CFIF/CFTOKEN cookies and 
how can I prevent it?

> Is there any chance that the host names are changing across your web 
> site?  Using both www.xyz.com and xyz.com will cause different sets of 
> cookies to be used, even if you use "domain cookies".  (But www.xyz.
> com and abc.xyz.com will share cookies when domain cookies are used.)
>   Mark
> 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


RE: apache and muliple CF instances

2004-11-17 Thread Dave Watts
> I did find that I could setup virtual hosts on the same 
> domain under different ports and 'map' seperate CF instances 
> to them.  Then mod_rewrite can be employed to move requests 
> from foo.com/home to foo.com and foo.com/yourhome to foo.com:88.

Out of curiosity, why do you want separate virtual hosts at all?

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


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

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


  1   2   >