RE: Javascript & Iframe question

2005-11-13 Thread Jim Davis
> -Original Message-
> From: jonese [mailto:[EMAIL PROTECTED]
> Sent: Sunday, November 13, 2005 9:12 PM
> To: CF-Talk
> Subject: OT: Javascript & Iframe question
> 
> Does anyone know how to populate a form field which resides on a
> differant server but pulled in via an iframe?

Simple answer is that you can't.

Although all the code resides in the same browser security models will
prevent frames populated from different servers from interacting.

There are ways to get around it however... but none are simple or pretty.

+) You might use a server-side proxy.  Instead of the iFrame fetching the
form have your server do it and pass it to the client.  Then all the frames
will be populated from the same server and you'll be set.  Of course this
can get tricky if the frame is dynamic or client-specific.

+) You can use a browser security mode which doesn't prevent this.  In the
IE world this would mean using the HTA (HyperText Application) capabilities
of IE 5+.  FireFox has, I believe a similar "high rights" mode.  I LOVE this
stuff but it's not something to do lightly: you lose browser chrome and
capabilities.

In effect your just running HTML/DHTML in a "blank" browser container.  It's
great for building client-side apps using web technologies but isn't
something to decide to solve a web page problem.

I'm sure there are other options... but they're all going to be sea-changes.
Doing this in a "normal" browser environment just isn't allowed.

Jim Davis



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224058
Archives: http://www.houseoffusion.com/cf_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: We're Okay

2005-11-13 Thread Rich Kroll
Ike,
Glad to hear you got in safe and sorry to hear about the car troubles.  Hope
you get settled soon so I can pester you with more pointless questions
(though it will be hard since your not in yelling range).

Rich

Rich Kroll
Application Developer

-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 12, 2005 12:02 PM
To: CF-Talk
Subject: OT: We're Okay

Hi all,

Tiff and I are now home safe after our move.

Hurricane Wilma caused more damage than we'd expected on October 24th
and we were without power for our last week in Ft Lauderdale Florida
(with no real hope of receiving power soon). We left on Nov. 2nd for
our move to Charlottesville Virginia and promptly lost the
transmission in our car and were stranded in St Augustine Florida for
the following week. We're now unpacking in our new apartment and have
a bed (we slept on the floor the first night and an air-matress the
2nd) and a serviceable desk and were able to achieve internet
connectivity late last night. I'm just now sifting through large
amounts of email before I get back to some programming tasks I've been
unable to work on for the past two weeks.


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

add features without fixtures with
the onTap open source framework

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




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224057
Archives: http://www.houseoffusion.com/cf_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: Scope for XMLHttpRequest transmited data

2005-11-13 Thread Bobby Hartsfield
Let's try this again... my last message doesn’t seem to be coming through.

You can POST a form 'object' which will be in the form scope on the cf page
you are posting to.

I usually keep xmlhttprequests pretty simple and hardly ever post forms
since I USUALLY have to write a non-js version for anything I write with JS.


Keeping it simple I usually just use "GET" to send url vars like so...

xmlHttp.open("GET", "mycfpage.cfm?messageSent=" + messageToSend, true);
xmlHttp.send(null);

so on the mycfpage.cfm, there will be a url variable named 'messageSend'
with the value in 'messageToSend'

If you show more code, I might be able to help a little more.

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 13, 2005 6:09 PM
To: CF-Talk
Subject: Scope for XMLHttpRequest transmited data

Hi,

I'm trying to implement XMLHttpRequest in an application which send data 
to a CF template using the post method.
The send function is:
xmlhttp.send("messageSent=" + messageToSend)
The CF template is called, but in which scope will it receive the 
messageSent variable?
I've tryied form, url, none, but can't find the content of this variable.

Thanks

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




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224056
Archives: http://www.houseoffusion.com/cf_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: Scope for XMLHttpRequest transmited data

2005-11-13 Thread Claude Schneegans
Forget it : URL, of course! ;-)

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


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224055
Archives: http://www.houseoffusion.com/cf_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: Scope for XMLHttpRequest transmited data

2005-11-13 Thread Dave Watts
> I'm trying to implement XMLHttpRequest in an application 
> which send data to a CF template using the post method.
> The send function is:
> xmlhttp.send("messageSent=" + messageToSend)
> The CF template is called, but in which scope will it 
> receive the messageSent variable? I've tryied form, url, 
> none, but can't find the content of this variable.

This depends on what you put into your open method - you have to specify GET
or POST within there, if I recall correctly. If you want to send URL
parameters, just embed them within the URL you specify within open and
specify GET, then call send.

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

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

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


OT: Javascript & Iframe question

2005-11-13 Thread jonese
Does anyone know how to populate a form field which resides on a
differant server but pulled in via an iframe?

jonese

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224054
Archives: http://www.houseoffusion.com/cf_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: Is this a bug,... or an undocumented feature?

2005-11-13 Thread Dawson, Michael
Yes, this is normal.  Application servers cannot know what CGI variables
are passed to it.  In fact, if you loop over all CGI variables using
ASP, you get many of the same CGI variables, but you get quite a few
more.

The best you can do is check for specific values or for empty strings.
You probably should not check for the existence of CGI variables for the
reason you noticed.

M!ke 

-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 13, 2005 9:25 PM
To: CF-Talk
Subject: Is this a bug,... or an undocumented feature?

It looks like ANY variable in the cgi scope is always defined, ie:  is always true, and
#CGI.anythingYouPutHere# always return an empty string.


CGI.whateverYouPutHere =
[#CGI.whateverYouPutHere#]
CGI.whateverYouPutHere not defined 

Always displays
CGI.whateverYouPutHere = []

Is this normal doc?

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224052
Archives: http://www.houseoffusion.com/cf_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 bug,... or an undocumented feature?

2005-11-13 Thread Claude Schneegans
It looks like ANY variable in the cgi scope is always defined, ie: 
is always true, and #CGI.anythingYouPutHere# always return an empty string.


CGI.whateverYouPutHere = [#CGI.whateverYouPutHere#]
CGI.whateverYouPutHere not defined


Always displays
CGI.whateverYouPutHere = []

Is this normal doc?

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




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224051
Archives: http://www.houseoffusion.com/cf_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: cfstat

2005-11-13 Thread Dave Watts
> Anyone know how to manaually enable the CF performance 
> monitoring in windows. For some reason it doesn't appear 
> to have been installed, and cfstat is not anywhere on 
> the server.

If you're running CFMX on JRun, you don't have cfstat. Instead, you can use
JRun's Metrics:
http://bpurcell.org/blog/index.cfm?mode=entry&entry=991

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

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224050
Archives: http://www.houseoffusion.com/cf_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: Scope for XMLHttpRequest transmited data

2005-11-13 Thread Claude Schneegans
 >>It looks like your just trying to send a simple message though? If so 
just
change your method to 'GET' and you'll find it in the URL scope.

For the time being, the text is rather small, but I may have much more 
to pass, including several variables, since I don't expect the session 
variables to be working because of cookies not being passed.

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


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224049
Archives: http://www.houseoffusion.com/cf_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: Scope for XMLHttpRequest transmited data

2005-11-13 Thread Claude Schneegans
 >>xmlhttp.setRequestHeader("Content-Type", 
"application/x-www-form-urlencoded");

Ah ah! I missed this one. Ok, gonna try id.

 >>What's the calling function look like?  Are you using any of the
xmlHttp "Ajax" libraries?

No, because I don't actually need xml, and I can parse messages by 
myself, the only problem is find how to get the text.

Thanks.

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


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

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


Losing session vars

2005-11-13 Thread Cedric Villat
Hey all. I'm having an issue where visitors to my site are losing their
session variables when I transfer them from www.mysite.com
  to secure.mysite.com. Basically, all of the
session vars are lost, including the fact that they are logged in, items in
their cart, etc. Short of adding the CFID and CFTOKEN to every link on the
site, is there a way around this? I already have setDomainCookies set in my
cfapplication, hoping that would fix it, but no.

 

Anyone have any ideas how to solve this issue of losing session vars?

 

Thanks!

Cedric




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224047
Archives: http://www.houseoffusion.com/cf_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: Scope for XMLHttpRequest transmited data

2005-11-13 Thread Marlon Moyer
it should show up in the form scope.  Are you setting the request
header like such:

xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");


What's the calling function look like?  Are you using any of the
xmlHttp "Ajax" libraries?



On 11/13/05, Claude Schneegans <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to implement XMLHttpRequest in an application which send data
> to a CF template using the post method.
> The send function is:
> xmlhttp.send("messageSent=" + messageToSend)
> The CF template is called, but in which scope will it receive the
> messageSent variable?
> I've tryied form, url, none, but can't find the content of this variable.
>
> Thanks
>
> --
> ___
> REUSE CODE! Use custom tags;
> See http://www.contentbox.com/claude/customtags/tagstore.cfm
> (Please send any spam to this address: [EMAIL PROTECTED])
> Thanks.
>
>
> 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224045
Archives: http://www.houseoffusion.com/cf_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: Scope for XMLHttpRequest transmited data

2005-11-13 Thread Bobby Hartsfield
If you are POSTING a form (for lack of a better word) 'object', it'll be in
the form scope.

It looks like your just trying to send a simple message though? If so just
change your method to 'GET' and you'll find it in the URL scope.
 
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 13, 2005 6:09 PM
To: CF-Talk
Subject: Scope for XMLHttpRequest transmited data

Hi,

I'm trying to implement XMLHttpRequest in an application which send data 
to a CF template using the post method.
The send function is:
xmlhttp.send("messageSent=" + messageToSend)
The CF template is called, but in which scope will it receive the 
messageSent variable?
I've tryied form, url, none, but can't find the content of this variable.

Thanks

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




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224046
Archives: http://www.houseoffusion.com/cf_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: Error found by CF45 but Not CFMX7?

2005-11-13 Thread Alan Rother
Hatton,

Basically, what you are doing inside the loop is unnecessary, you already
have a cfoutput on the page.

In previous version of CF the only time you were allowed to nest cfoutputs
was inside a grouped query output. Now they've basically removed the check
from CFMX and beyond so that it is no longer illegal to do it. But it still
is bad coding practice to nest cfoutputs like that, for the very reason you
discovered.

=]


--
Alan Rother
Macromedia Certified Advanced ColdFusion MX 7 Developer


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224044
Archives: http://www.houseoffusion.com/cf_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: Error found by CF45 but Not CFMX7?

2005-11-13 Thread Matt Robertson
You could say its no longer an error.  I ran into this back when MX
came out.  I was developing on a 6.0 dev box and porting live to a
4.5.1 box.

Not something you want to build into your code from scratch, but in a
pinch this loosening of the reins can be very handy.  I am now porting
a CF5 app to CF7, and the original developer hardcoded the full url of
the site everywhere.  Both in CF and in html output.  I needed to
substitute in an application-wide (request) variable, but couldn't
guarantee the string would be within cfoutputs.  So I either did them
all by hand (all 2,986 of them...) or I took advantage of this
loophole for everything in html output and saved myself about 2,700
manual read/decide/cut/paste operations.

--
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224043
Archives: http://www.houseoffusion.com/cf_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: Slowing down CFMAIL revisited

2005-11-13 Thread Matt Robertson
Les Mizzell wrote:
> what I *do* have is a problem on
> the hosting end. So far, this client ain't moving, so I've got to put up
> with the hosting in question.

Ouch.  This is a shared server, then?  If so, then 3000 emails is
roughly 13 minutes at the 250ms second timeout you were mentioning. 
Will that shared server allow a 13-minute request without timing it
out?  If you do 250 emails and wait for a full second between runs,
thats a 12-second run and probably well within their timeouts... but
on a busy shared server I'd worry whether I was slowing it down
enough.

If the CF server's mail spool rate is 30 seconds, and you slow down
all of your mail so it takes 12 seconds to dump out 3000 emails, then
you have done little if anything to solve the problem despite your
efforts.  You have to tailor what it is you do to how they have the
server set up.

So... do you know what their mail spooler interval is on the server?

--
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Scope for XMLHttpRequest transmited data

2005-11-13 Thread Claude Schneegans
Hi,

I'm trying to implement XMLHttpRequest in an application which send data 
to a CF template using the post method.
The send function is:
xmlhttp.send("messageSent=" + messageToSend)
The CF template is called, but in which scope will it receive the 
messageSent variable?
I've tryied form, url, none, but can't find the content of this variable.

Thanks

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


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Re: More RAD than Ruby On Rails

2005-11-13 Thread Sean Corfield
On 11/13/05, Marlon Moyer <[EMAIL PROTECTED]> wrote:
> I would say it's probably the most common type of web app deployed today.

Possibly but the trend is to more complex business applications, IMO.

> RoR doesn't need any special editor other than notepad and a command line.

Right, but PLUM does (so I expect you're agreeing with me that RoR
"wins" over PLUM here?).

> Isn't that like saying Mach-II won't let you reuse your FBX circuit
> files?  What framework does play nice with other frameworks?  PLUM and
> RoR are frameworks.

You can build a model (ad hoc CFCs or with Tartan or ColdSpring or...)
and just drop it into any of Mach II, Fusebox or Model-Glue. The same
is not true of what PLUM generates as far as I can tell.

> This isn't directed at you Sean since you seem to try everything at
> least once, this thread seems to be the epitomy of not using the right
> tool for the job.  Mark should try RoR instead of asking others about
> how it compares to his choice, afterall, how will you know you're
> using the correct tool if all you know is CF?

Good point - and one of the main reasons I keep harping on about
learning more than one technology.

I installed RoR and ran through the tutorials. I only blogged about it
afterward (although I voice some concerns on lists before that). I'm
hoping to find more time to play with RoR to expand on my concerns
(or, maybe, allay them).
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

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

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

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


Re: More RAD than Ruby On Rails

2005-11-13 Thread Marlon Moyer
On 11/13/05, Sean Corfield <[EMAIL PROTECTED]> wrote:
> On 11/11/05, Mark Fuqua <[EMAIL PROTECTED]> wrote:
> > I really can't believe Ruby would be/could be quicker than PLUM.
>
> Nor can I. RoR requires you manually generate controllers, models and
> scaffolding. If you want a nicely formatted page / form, you need to
> write it yourself since the defaults are ugly ass tables that don't
> really let you tweak them easily with CSS. PLUM does a lot more
> auto-generation so it's bound to be faster and I suspect the generated
> code is easier to modify visually.
>

"ruby script\generate model User" is all that is required to generate
a user model.  "ruby script\generate scaffold User" will generate the
model, controller, and all of the add/edit/delete/list templates.   
PLUM's autogeneration is a lot more "automated", but the problem
starts when you've modified templates.  PLUM's autogeneration becomes
useless then unless you want to overwrite your changes.  Truthfully,
RoR's scaffolding isn't meant to be production code.  You're expected
to completely modify it.

> I'm glad to see someone who isn't foaming at the mouth about RoR! :)
>
> However, my voiced concerns about scalability (of applications) in
> regard to RoR also apply to PLUM. The automation in both of these
> 'products' targets a specific type of data-entry application - a very
> common one, granted, but still a specific problem space. Once you get
> beyond that core problem space, you are back to writing code.
>
I would say it's probably the most common type of web app deployed today.

> Barney's already mentioned the cross-platform issues here so I won't
> belabor that.


RoR doesn't need any special editor other than notepad and a command line.

> My other complaint about PLUM (that is, technically,
> applicable to RoR) is that it doesn't play nice with your
> framework-of-choice.
>

Isn't that like saying Mach-II won't let you reuse your FBX circuit
files?  What framework does play nice with other frameworks?  PLUM and
RoR are frameworks.


> I think this just highlights the point about using the right tool for
> the job. I personally think RoR is totally over-hyped (and I feel
> David and Adam are a little too fervent about PLUM but, hey, they
> created it). I don't want to get into a(another) flame war about PLUM.
> If ever they port it to Java (or create a workable Mono version) and
> make it work with MySQL, I'll certainly try it - I try pretty much
> anything that will run on my platform so that I have plenty of tools
> at my disposal.

This isn't directed at you Sean since you seem to try everything at
least once, this thread seems to be the epitomy of not using the right
tool for the job.  Mark should try RoR instead of asking others about
how it compares to his choice, afterall, how will you know you're
using the correct tool if all you know is CF?

> --
> Sean A Corfield -- http://corfield.org/
> Got frameworks?
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224039
Archives: http://www.houseoffusion.com/cf_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: Error found by CF45 but Not CFMX7?

2005-11-13 Thread Adrian Lynch
Yup, it was something that cropped up back when CF6 came out. Putting code
from 6 to 5 highlighted this.

Ade

-Original Message-
From: C. Hatton Humphrey [mailto:[EMAIL PROTECTED]
Sent: 13 November 2005 19:12
To: CF-Talk
Subject: Error found by CF45 but Not CFMX7?


Had an interesting issue come up on Friday - I had sent some code to a
client for a small job I was working on and got a message back that
there was a syntax error.  I replied that it had not happened on my
setup and showed them via a series of screen shots; they replied with
a screen shot of the error.

Nested CFOutput tag found without a query attribute on the outer
CFOutput.  Interestingly enough, there was a syntax error that did not
show up in CFMX7...

Inside a custom tag there was a nested cfoutput.  I didn't write the
tag so I'm not 100% why this occured but it most defnintely was there


    some text
   
  #ThisItem#
   


it blew up on CF45 as well it should... but it did not on 7.  Anyone
see this behavior before?

Hatton


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

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


Error found by CF45 but Not CFMX7?

2005-11-13 Thread C. Hatton Humphrey
Had an interesting issue come up on Friday - I had sent some code to a
client for a small job I was working on and got a message back that
there was a syntax error.  I replied that it had not happened on my
setup and showed them via a series of screen shots; they replied with
a screen shot of the error.

Nested CFOutput tag found without a query attribute on the outer
CFOutput.  Interestingly enough, there was a syntax error that did not
show up in CFMX7...

Inside a custom tag there was a nested cfoutput.  I didn't write the
tag so I'm not 100% why this occured but it most defnintely was there


    some text
   
  #ThisItem#
   


it blew up on CF45 as well it should... but it did not on 7.  Anyone
see this behavior before?

Hatton

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

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


Re: More RAD than Ruby On Rails

2005-11-13 Thread Sean Corfield
On 11/11/05, Mark Fuqua <[EMAIL PROTECTED]> wrote:
> I really can't believe Ruby would be/could be quicker than PLUM.

Nor can I. RoR requires you manually generate controllers, models and
scaffolding. If you want a nicely formatted page / form, you need to
write it yourself since the defaults are ugly ass tables that don't
really let you tweak them easily with CSS. PLUM does a lot more
auto-generation so it's bound to be faster and I suspect the generated
code is easier to modify visually.

I'm glad to see someone who isn't foaming at the mouth about RoR! :)

However, my voiced concerns about scalability (of applications) in
regard to RoR also apply to PLUM. The automation in both of these
'products' targets a specific type of data-entry application - a very
common one, granted, but still a specific problem space. Once you get
beyond that core problem space, you are back to writing code.

Barney's already mentioned the cross-platform issues here so I won't
belabor that. My other complaint about PLUM (that is, technically,
applicable to RoR) is that it doesn't play nice with your
framework-of-choice.

I think this just highlights the point about using the right tool for
the job. I personally think RoR is totally over-hyped (and I feel
David and Adam are a little too fervent about PLUM but, hey, they
created it). I don't want to get into a(another) flame war about PLUM.
If ever they port it to Java (or create a workable Mono version) and
make it work with MySQL, I'll certainly try it - I try pretty much
anything that will run on my platform so that I have plenty of tools
at my disposal.
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

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

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224036
Archives: http://www.houseoffusion.com/cf_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: OT: Ruby on Rails hey, read this one.

2005-11-13 Thread Mark Fuqua
Hey, just for the record, I sent this out yesterday at 10:30 am.  Don't know
why it didn't post til today (most likely on my side since everyone elses
posts came through).  I am sorry about the triple post, only meant to post
once, but posted again when I noticed it was not comming through.

Mark

-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 13, 2005 1:00 PM
To: CF-Talk
Subject: Re: OT: Ruby on Rails hey, read this one.


Yep, you're correct about only the IDE requiring windows.  But PLUM
itself only supports MSSQL, Access and Oracle 9i.  Granted, Oracle
isn't Windows-only, but it's also massively non-free.  You might be
able to develop on one of those, and then deploy to something else,
but it'd undoubtedly be a bunch of work.

cheers,
barneyb

On 11/13/05, Dave Watts <[EMAIL PROTECTED]> wrote:
> > Sadly "doesn't mind working on a windows machine" rules out
> > a lot more than just Sean. Not to belittle the work they've
> > done in any way (from what I understand, it's pretty impressive),
> > but using Java, Ruby, Python, etc. rather than .NET would
> > have made for a much larger target audience. Java seems the
> > obvious choice, since CF is itself a Java application, but
> > any cross-platform environment would have worked just as well.
>
> The only part of PLUM that requires Windows is the IDE, if I recall
> correctly. The generated application runs on any CF server. The vast
> majority of CF developers run Windows desktops - despite the popularity of
> OSX among developers now, I seriously doubt that more than one out of,
say,
> every five hundred CF developers runs something other than Windows. It's
> worth pointing out that the membership of this list isn't necessarily
> representative of CF users in general - I suspect that the percentage of
> non-Windows users is higher here than elsewhere.
>
> My evidence for this is purely anecdotal, but I've met a lot of CF
> developers, most of whom are not readers of this list.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224035
Archives: http://www.houseoffusion.com/cf_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: OT: Ruby on Rails hey, read this one.

2005-11-13 Thread Barney Boisvert
Yep, you're correct about only the IDE requiring windows.  But PLUM
itself only supports MSSQL, Access and Oracle 9i.  Granted, Oracle
isn't Windows-only, but it's also massively non-free.  You might be
able to develop on one of those, and then deploy to something else,
but it'd undoubtedly be a bunch of work.

cheers,
barneyb

On 11/13/05, Dave Watts <[EMAIL PROTECTED]> wrote:
> > Sadly "doesn't mind working on a windows machine" rules out
> > a lot more than just Sean. Not to belittle the work they've
> > done in any way (from what I understand, it's pretty impressive),
> > but using Java, Ruby, Python, etc. rather than .NET would
> > have made for a much larger target audience. Java seems the
> > obvious choice, since CF is itself a Java application, but
> > any cross-platform environment would have worked just as well.
>
> The only part of PLUM that requires Windows is the IDE, if I recall
> correctly. The generated application runs on any CF server. The vast
> majority of CF developers run Windows desktops - despite the popularity of
> OSX among developers now, I seriously doubt that more than one out of, say,
> every five hundred CF developers runs something other than Windows. It's
> worth pointing out that the membership of this list isn't necessarily
> representative of CF users in general - I suspect that the percentage of
> non-Windows users is higher here than elsewhere.
>
> My evidence for this is purely anecdotal, but I've met a lot of CF
> developers, most of whom are not readers of this list.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224034
Archives: http://www.houseoffusion.com/cf_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: MySQL longtext question

2005-11-13 Thread Ray Champagne
Thanks Barney.  After I posted this, I noticed that even though I could 
specify the length when creating the field, when I saved the table, it 
reverted back to the default.  Guess I should have tried that first.

Thanks for the other info, that is very helpful.

Ray

Barney Boisvert wrote:
> If you're using LONGTEXT, you don't get a choice of lengths.  You can
> use TINYTEXT, TEXT, MEDIUMTEXT, or LONGTEXT to select different sizes
> (up to 2^8, 2^16, 2^24, and 2^32 chars respectively), but that's it. 
> TINYTEXT takes the length of the string to store plus one byte.  Text
> takes length + two bytes.  It's +3 and +4 for MEDIUMTEXT and LONGTEXT,
> respectively.
> 
> cheers,
> barneyb
> 
> On 11/11/05, Ray Champagne <[EMAIL PROTECTED]> wrote:
> 
>>So, I'm building a little mini-CMS for my own personal use here, and am
>>using MySQL as the DB backend.  I am going to be storing page content in
>>a longtext field (it will be strictly HTML inserted by fckeditor), but I
>>have no idea how long to make the field.  I see that the max size is
>>4294967295 characters, but I've seen ppl use multiples of 512 in this
>>field when checking other sites that I am modeling after.  First off,
>>why is this?  Second, what is a good suggested size to set this field at?
>>
>>Hopefully someone's up at this hour on a Friday, and I'm not the only
>>one all geeked-up right now.
>>
>>Thanks,
>>
>>Ray
>>--
>>==
>>Ray Champagne
>>Application Developer
>>CrystalVision Web Site Design
>>http://www.crystalvision.org
>>603.433.9559
>>[EMAIL PROTECTED]
>>==
>>
>>
> 
> 
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


RE: CF locking program?

2005-11-13 Thread Snake
As your title suggests, this could well be a cf locking problem, but you
have not mentioned anywhere whether you are actually cflocking.
If you are then this would caus eaccess to be single threaded.

Russ 

-Original Message-
From: brad f [mailto:[EMAIL PROTECTED] 
Sent: 13 November 2005 14:21
To: CF-Talk
Subject: CF locking program?

Here is my delima. Our application used to call a com object via an .asp
page. Now we have rewritten it to call the object via a .cfm page. The
program takes information submitted online and makes a text file that is
then sent to 1 of 6 report servers to produce the information via an online
report. Now whenever the program is called, only one instance can run at a
time, therefore making 5 of the report servers non functional. Is there any
reason why making the call via .cfm instead of an .asp page would cause only
one instance (thread) of the com object to run at a time?



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


CF locking program?

2005-11-13 Thread brad f
Here is my delima. Our application used to call a com object via an .asp page. 
Now we have rewritten it to call the object via a .cfm page. The program takes 
information submitted online and makes a text file that is then sent to 1 of 6 
report servers to produce the information via an online report. Now whenever 
the program is called, only one instance can run at a time, therefore making 5 
of the report servers non functional. Is there any reason why making the call 
via .cfm instead of an .asp page would cause only one instance (thread) of the 
com object to run at a time?

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224031
Archives: http://www.houseoffusion.com/cf_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: OT: Ruby on Rails hey, read this one.

2005-11-13 Thread Dave Watts
> Sadly "doesn't mind working on a windows machine" rules out 
> a lot more than just Sean. Not to belittle the work they've 
> done in any way (from what I understand, it's pretty impressive), 
> but using Java, Ruby, Python, etc. rather than .NET would 
> have made for a much larger target audience. Java seems the 
> obvious choice, since CF is itself a Java application, but 
> any cross-platform environment would have worked just as well.

The only part of PLUM that requires Windows is the IDE, if I recall
correctly. The generated application runs on any CF server. The vast
majority of CF developers run Windows desktops - despite the popularity of
OSX among developers now, I seriously doubt that more than one out of, say,
every five hundred CF developers runs something other than Windows. It's
worth pointing out that the membership of this list isn't necessarily
representative of CF users in general - I suspect that the percentage of
non-Windows users is higher here than elsewhere.

My evidence for this is purely anecdotal, but I've met a lot of CF
developers, most of whom are not readers of this list.

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

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


Named anchor + url params in IE

2005-11-13 Thread Dave Merrill
I'm finding that urls with both parameters and a named anchor, like this:

  somesite/somedir/somefile.cfm?method=go&action=showHelp#help_sql

work fine in Firefox, but not in IE. It goes to the page, but not to the
requested anchor.


Also tried this variant:

  somesite/somedir/somefile.cfm#help_sql?method=go&action=showHelp

no joy in either browser.


Has anyone else seen this behavior? More importantly, got a workaround?

Thanks,

Dave Merrill



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224029
Archives: http://www.houseoffusion.com/cf_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: Best Practice - Omit "The" and other common words Text Input for Search and another question

2005-11-13 Thread George Abraham
Hi Les,
I would also look at enabling full-text search on (I am assuming) SQL Server
and using the CONTAINS clause. You might still have to filter out the 'The',
but it might also help on other situations.

George



On 11/12/05, Adrian Lynch <[EMAIL PROTECTED]> wrote:
>
> If "The" is the only word causing you problems, look for it at the
> beginning
> of the search(it would have to be the beginning as you don't want to take
> it
> from the middle of a string) term and remove it before it gets passed to
> SQL.
>
> Ade
>
> -Original Message-
> From: Les Mizzell [mailto:[EMAIL PROTECTED]
> Sent: 11 November 2005 16:55
> To: CF-Talk
> Subject: Best Practice - Omit "The" and other common words Text Input
> for Search and another question
>
>
> Let's say I'm searching book titles in a database.
>
> I want to find "The Red Tent".
> However, in the database, it's listed as "Red Tent, The".
>
> So:
> search books
> where Title like '%#formtitle#%'
>
> So, the following will find it:
> "Red Tent"
> "Red"
> "Tent"
>
> The exact title "The Red Tent" won't.
>
> 1. What's the best way to exclude common words from what's entered in
> the form field.
>
> 2. How would I do something a little more comparitive?
> Assume the book title is actually "The Big Fat Tent that is Red"
> and if I enter "Red Tent" into the search field, I'd like
> it to come up.
>
> The only thing I can think of here would be to take each word entered
> into the form field - "The Red Tent" - put them in a list - "The, Red,
> Tent" - and then do a search for the terms in the list. Any other ideas?
>
> A verity search will NOT work in this case, as there's a ton of other
> tables with joins and all sorts of other rotten stuff involved...
>
> --
> ---
> Les Mizzell
>
>
> 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224028
Archives: http://www.houseoffusion.com/cf_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: scheduled task - Crystal Tech

2005-11-13 Thread Tim Laureska
Yeah... thought of that but didn't want to leave that template hanging
out there unprotected... I think I may have worked it out... application
file wasn't working right... we'll see when that task comes up for
execution again... thanks for the suggestion tho

Tim


-Original Message-
From: Snake [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 13, 2005 8:18 AM
To: CF-Talk
Subject: RE: scheduled task - Crystal Tech

Move the file to a folder that is not protected by a login.
The application.cfm will run b4 the file in question otherwise, and if
this
is where your login check is, the file will never get executed.

Russ

-Original Message-
From: Tim Laureska [mailto:[EMAIL PROTECTED] 
Sent: 13 November 2005 12:46
To: CF-Talk
Subject: scheduled task - Crystal Tech

I'm using Crystal Tech's scheduled task feature in their control panel -
however the template I'm trying to schedule won't execute b/c the
directory
its in requires a login (via application.cfm)

I've even tried adding code to the top of the page that is scheduled to
indicate that the user is already logged in... still no luck

Any help would be appreciated

Tim








~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224027
Archives: http://www.houseoffusion.com/cf_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: scheduled task - Crystal Tech

2005-11-13 Thread Snake
Move the file to a folder that is not protected by a login.
The application.cfm will run b4 the file in question otherwise, and if this
is where your login check is, the file will never get executed.

Russ

-Original Message-
From: Tim Laureska [mailto:[EMAIL PROTECTED] 
Sent: 13 November 2005 12:46
To: CF-Talk
Subject: scheduled task - Crystal Tech

I'm using Crystal Tech's scheduled task feature in their control panel -
however the template I'm trying to schedule won't execute b/c the directory
its in requires a login (via application.cfm)

I've even tried adding code to the top of the page that is scheduled to
indicate that the user is already logged in... still no luck

Any help would be appreciated

Tim






~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224026
Archives: http://www.houseoffusion.com/cf_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: OT: text editor that allow a tab

2005-11-13 Thread Dave Merrill
In a very similar situation, I've allowed ^t to stand for a tab; just
replace when the page is submitted. Some editors use that shorthand in
replace dlogs, so it's not completely foreign.

Dave Merrill


> From: Ryan Guill [mailto:[EMAIL PROTECTED]
>
> Well im looking for an actual tab character.
>
> See im working on a tool im wanting to release to the community, its a
> query browser that lets you test out queries in a page.  I developed
> it for a company I am consulting for and they have found it pretty
> useful.  It basically just has textarea, and most of the time people
> seem to be copying their sql code into it which will retain their
> tabs, but there is no way to insert a tab in while writing directly
> into it.  Its just a much asked for feature that I dont think is
> possible, but just wanted to check.  But I dont want it to insert code
> of course behind the scenes, I need it to be an actual tab.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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


scheduled task - Crystal Tech

2005-11-13 Thread Tim Laureska
I'm using Crystal Tech's scheduled task feature in their control panel -
however the template I'm trying to schedule won't execute b/c the
directory its in requires a login (via application.cfm)

I've even tried adding code to the top of the page that is scheduled to
indicate that the user is already logged in... still no luck

Any help would be appreciated

Tim




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224024
Archives: http://www.houseoffusion.com/cf_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: We're Okay

2005-11-13 Thread Kevin Aebig
Glad to hear you're safe. Good luck in getting back on your feet...

Cheers from the north,

Kevin

- Original Message - 
From: "S.Isaac Dealey" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Saturday, November 12, 2005 11:02 AM
Subject: OT: We're Okay


> Hi all,
>
> Tiff and I are now home safe after our move.
>
> Hurricane Wilma caused more damage than we'd expected on October 24th
> and we were without power for our last week in Ft Lauderdale Florida
> (with no real hope of receiving power soon). We left on Nov. 2nd for
> our move to Charlottesville Virginia and promptly lost the
> transmission in our car and were stranded in St Augustine Florida for
> the following week. We're now unpacking in our new apartment and have
> a bed (we slept on the floor the first night and an air-matress the
> 2nd) and a serviceable desk and were able to achieve internet
> connectivity late last night. I'm just now sifting through large
> amounts of email before I get back to some programming tasks I've been
> unable to work on for the past two weeks.
>
>
> s. isaac dealey 434.293.6201
> new epoch : isn't it time for a change?
>
> add features without fixtures with
> the onTap open source framework
>
> http://www.fusiontap.com
> http://coldfusion.sys-con.com/author/4806Dealey.htm
>
>
> 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

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