RE: Help! - Dynamically Generate Forms from SQL DB - Bad Idea?
I created some screenshots, the languagepack used is dutch. http://www.formmanager.nl/fm1.jpg http://www.formmanager.nl/fm2.jpg http://www.formmanager.nl/fm3.jpg http://www.formmanager.nl/fm4.jpg Micha Schopman Software Engineer Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: DHTML recursion problem
I don't know, but it's a nasty way to do it. First of all, you don't need to call every function in the onclick (lowercase, not camelCase). Just send the needed var to a function and go from there. Secondly, you should not even have cf put onclick inline; just have a class on the nec. menu items, then use js to add the onclick via a getElementsByClassName script. The images can also be background images associated with a class. See here for some ideas: http://www.kryogenix.org/code/browser/aqlists/ I understand, however, if you are stuck with a script that's not yours :-( [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Mapping .html in CFMX 6.1 JRun version...
I need some help guys. I'm trying to map the ".html" extension so that all files w/ that extension are processed via CFMX. First, I updated IIS with the proper application mapping pointing ".html" to "d:\jrun4\lib\wsconfig\1\jrun.dll". Next, I did everything specified in this HoF post: http://www.houseoffusion.com/cf_lists/messages.cfm/threadid=27883&forumid=4 but it didn't work. I also tried what was mentioned in this MM technote: http://www.macromedia.com/support/coldfusion/ts/documents/tn18289.htm And still nothing. When I run my file, I get "The page cannot be displayed" message. .cfm files run just fine. Yes, I did stop the CFMX service before editing the web.xml file and restarted it afterwards. Now, I'm wondering if I didn't update the correct web.xml file. I edited the one located at: D:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\web.xml. The thread said to "Open the {serverRoot}\WEB-INF\web.xml". I'm not 100% sure on how CFMX is configured and administered so I'm wondering if perhaps I've updated the wrong web.xml file. Any ideas? Rey [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Need Help with Form entry
besides the popup we use some code to automagically force the user to use mm/dd/ format. I can email you the code, just some JS, if you want. I can't recall where we got it though. :( Doug -Original Message- From: Kevin [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 6:47 PM To: CF-Talk Subject: RE: Need Help with Form entry Thanks, I had not thought of that. :-( I knew that I would have to do a lot of tests to do what I wanted, but I don't know of any test that would be able to know if this was November or January. :-( I think splitting it into 3 fields and then to concatenate them before writing to the DB would be easiest. Thanks again, Kevin _ Only user-proof way I've found is to split dates up into 3 fields: Year,month,day Its also nigh impossible to validate unless you insist on leading zeroes. ie is 1132004 11/3/2004 or 1/13/2004 _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Need Help with Form entry
No problem :-) Also, hop on the mailing list at yahoo; qformsapi is the group name. It is not high traffic by any means but Dan does answer a lot of questions there along with other qForm users such as myself. Good luck! Mike > Hey Mike! > I went to the site and all I can say is WOW. All I ever > wanted in one easy to use set of pre-written functions. :-) I > thank you for the link to this, it will make my life SO much easier. > Kevin [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Need Help with Form entry
Hey Mike! I went to the site and all I can say is WOW. All I ever wanted in one easy to use set of pre-written functions. :-) I thank you for the link to this, it will make my life SO much easier. Kevin _ Check out qForms from www.pengoworks.com Dan Switzer offers a great API that has an abundance of formatting methods in it, some of which pertain to dates and will let you do what you are after. HTH, Mike [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: HELP - having trouble with a insert query.
> I would like to ask one question though. In the isnull.cfm script, in > the return evaluate(myvar); line what exactly does the evaluate() > function do in this case? Evaluate() does something similar to what eval() in _javascript_ does- evaluates an _expression_ as a variable and returns the value of the evaluated _expression_. For example, evaluate("form.size" & i & "qty), where i=5, would return the value of form.size5qty. > Thanks for you help, I always learn so much from this list. Glad to help. Rob [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Need Help with Form entry
e... now that I look at this I see you can eliminate the need to use the first case in that switch by simply limiting your select options to 1-31. Don't know why I had that in there. -- --Matt Robertson-- MSB Designs, Inc. mysecretbase.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Need Help with Form entry
>I think splitting it into 3 fields and > then to concatenate them before writing to the DB would be easiest. I've done this, too. If you use drop-down selects for each of the fields your formatting woes are pretty much over. Your formatting is gauranteed since you are specifying the inputs yourself when you code the app. Your validation is then a reasonably simple case statement that makes sure of stuff like the user didn't pick June 31st, or Feb 29 if its not a leap year. The example below resets the date to an allowable max, but you can do whatever you like. -- --Matt Robertson-- MSB Designs, Inc. mysecretbase.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Need Help with Form entry
Thanks, I had not thought of that. :-( I knew that I would have to do a lot of tests to do what I wanted, but I don't know of any test that would be able to know if this was November or January. :-( I think splitting it into 3 fields and then to concatenate them before writing to the DB would be easiest. Thanks again, Kevin _ Only user-proof way I've found is to split dates up into 3 fields: Year,month,day Its also nigh impossible to validate unless you insist on leading zeroes. ie is 1132004 11/3/2004 or 1/13/2004 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Need Help with Form entry
Or use a js calendar component so the user just clicks stuff and the calendar app does the formatting? http://dynarch.com:1979/mishoo/calendar.epl -- --Matt Robertson-- MSB Designs, Inc. mysecretbase.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CF Tag help needed
Thanks to everyone who replied!, answer received! - Original Message - From: Mike Kelp To: CF-Talk Sent: Wednesday, July 28, 2004 4:53 PM Subject: Re: CF Tag help needed take a look at the cfsavecontent tag: http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-a29.htm#wp1844410 Have a good day. - Original Message - From: Dale Hans <[EMAIL PROTECTED]> Date: Wed, 28 Jul 2004 17:42:23 -0400 Subject: CF Tag help needed To: CF-Talk <[EMAIL PROTECTED]> Sorry if this is a duplicate post. Trying to get up to speed on this site list usage. My problem is I cannot remember a tag / function. I can't find it in the docs either. Can anyone remind me of what tag / function it is that can be used to capture a block of HTML / CF page output to a variable? I want to create a table of data and then send that table to the browser, an e-mail, and a blob all the same content. Spectra used this technique to compile content into structures also. Thanks for your help on this! [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Help! - Dynamically Generate Forms from SQL DB - Bad Idea?
I built one of these as an integral part of my CMPro cms. The idea was to allow the non-tech content editor to build whatever form they pleased, secure or not, encrypted data or not, supporting all html form field types -- and adding in a few special ones, via a web-based interface. The data is then stored and managed by another part of the same application. If you are trying to build an interface that anyone can use to build and manage form data, then have at it; its a very popular feature. If you are just looking to shortcut the form production process for your own development then I'd look to one of the tools mentioned here, or another one like them. Otherwise you are looking at a pretty big project with a LOT of little pitfalls. -- --Matt Robertson-- MSB Designs, Inc. mysecretbase.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: ColdFusion/DHTML recursion tree
Not sure what the question is here. However, I built one of these, and released it as a free tag. It doesn't use layers or anything fancy. The code is very, very simple, the tree is persistent and the html is easy to modify to whatever suits you. I came up with a color-coded variant that uses colors and fonts based on the indent level, rather than having a tree look. Gotta get that one posted someday. http://mysecretbase.com/treemonger.cfm -- --Matt Robertson-- MSB Designs, Inc. mysecretbase.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CF Tag help needed
CFSAVECONTENT: hello, world #myVar# #myVar# cheers, barneyb On Wed, 28 Jul 2004 17:42:23 -0400, Dale Hans <[EMAIL PROTECTED]> wrote: > Sorry if this is a duplicate post. Trying to get up to speed on this site list usage. > > My problem is I cannot remember a tag / function. I can't find it in the docs either. Can anyone remind me of what tag / function it is that can be used to capture a block of HTML / CF page output to a variable? > > I want to create a table of data and then send that table to the browser, an e-mail, and a blob all the same content. Spectra used this technique to compile content into structures also. > > Thanks for your help on this! > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CF Tag help needed
take a look at the cfsavecontent tag: http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-a29.htm#wp1844410 Have a good day. - Original Message - From: Dale Hans <[EMAIL PROTECTED]> Date: Wed, 28 Jul 2004 17:42:23 -0400 Subject: CF Tag help needed To: CF-Talk <[EMAIL PROTECTED]> Sorry if this is a duplicate post. Trying to get up to speed on this site list usage. My problem is I cannot remember a tag / function. I can't find it in the docs either. Can anyone remind me of what tag / function it is that can be used to capture a block of HTML / CF page output to a variable? I want to create a table of data and then send that table to the browser, an e-mail, and a blob all the same content. Spectra used this technique to compile content into structures also. Thanks for your help on this! [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: CF Tag help needed
> -Original Message- > From: Dale Hans [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 28, 2004 4:42 PM > To: CF-Talk > Subject: CF Tag help needed > > Sorry if this is a duplicate post. Trying to get up to speed on this site list > usage. > > My problem is I cannot remember a tag / function. I can't find it in the > docs either. Can anyone remind me of what tag / function it is that can > be used to capture a block of HTML / CF page output to a variable? > > I want to create a table of data and then send that table to the browser, > an e-mail, and a blob all the same content. Spectra used this technique > to compile content into structures also. > > Thanks for your help on this! > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CF Tag help needed
cfsavecontent Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Original Message - From: Dale Hans To: CF-Talk Sent: Wednesday, July 28, 2004 2:42 PM Subject: CF Tag help needed Sorry if this is a duplicate post. Trying to get up to speed on this site list usage. My problem is I cannot remember a tag / function. I can't find it in the docs either. Can anyone remind me of what tag / function it is that can be used to capture a block of HTML / CF page output to a variable? I want to create a table of data and then send that table to the browser, an e-mail, and a blob all the same content. Spectra used this technique to compile content into structures also. Thanks for your help on this! [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFHTTP
Thank you very much. The name instead of username was the problem. Works great - Original Message - From: Adam Haskell To: CF-Talk Sent: Wednesday, July 28, 2004 5:03 PM Subject: Re: CFHTTP I would re-look at your actual Cfhttp call Invalid column would indicate to me that you are trying to put the cfhttp content into a query. Notice: name="username" Should be: username="username" Adam H On Wed, 28 Jul 2004 16:49:27 -0400, Dave Watts <[EMAIL PROTECTED]> wrote: > > h...not sure what that column stuff is aboutbut have > > a look at CFHTTPPARAM...it's used for passing in the URL > > params "?name=searchname&number=123&search=all" properly > > You can send URL parameters embedded directly within the URL attribute, > rather than using CFHTTPPARAM. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > phone: 202-797-5496 > fax: 202-797-5444 > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
CF Tag help needed
Sorry if this is a duplicate post. Trying to get up to speed on this site list usage. My problem is I cannot remember a tag / function. I can't find it in the docs either. Can anyone remind me of what tag / function it is that can be used to capture a block of HTML / CF page output to a variable? I want to create a table of data and then send that table to the browser, an e-mail, and a blob all the same content. Spectra used this technique to compile content into structures also. Thanks for your help on this! [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFHTTP
Hi Dave, Sorry this was a cut and paste issue, my tag does use https:// - Original Message - From: Dave Watts To: CF-Talk Sent: Wednesday, July 28, 2004 4:31 PM Subject: RE: CFHTTP > I have never used CFHTTP before,and I am running in to an > issue. I would like to retrieve information from a form on a > remote server. If I simple do this in IE . > > https://username:[EMAIL PROTECTED]/search.cgi?name=searc > hname&number=123&search=all > > This returns the proper information in my browser. > > So I tried this in CF > > > name="username" > password="password" > method="get" > url="" > resolveurl="yes"> > > > > #cfhttp.FileContent# > > But I get the following error > The column name " > HTML 2.0//EN>" is invalid. > Column names must be valid variable names. They must > start with a letter and can only include letters, numbers, > and underscores. > > > I don't really understand how columns work. I would just like > to display that page or save it to a variable. > > How do I deal with columns with CFHTTP? I'm not sure what exactly you're getting back, but your first URL uses HTTPS, while your CFHTTP tag isn't. You must specify the entire URL within the CFHTTP tag (https://...) Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Need Help with Form entry
Check out qForms from www.pengoworks.com Dan Switzer offers a great API that has an abundance of formatting methods in it, some of which pertain to dates and will let you do what you are after. HTH, Mike > I am trying to find a simple way to automate the entry of a > form field for dates. What I would like to do is allow the > user to enter a date and have it automatically add the "/" > where they belong. Is there a function to do this or do I > need to write a _javascript_ function to test the input and > either give an error or format it a replace it in the field? > Before I start I wanted to make sure I was not reinventing > the wheel. ;-) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Need Help with Form entry
Only user-proof way I've found is to split dates up into 3 fields: Year,month,day Its also nigh impossible to validate unless you insist on leading zeroes. ie is 1132004 11/3/2004 or 1/13/2004 - Original Message - From: Kevin To: CF-Talk Sent: Wednesday, July 28, 2004 4:43 PM Subject: Need Help with Form entry I am trying to find a simple way to automate the entry of a form field for dates. What I would like to do is allow the user to enter a date and have it automatically add the "/" where they belong. Is there a function to do this or do I need to write a _javascript_ function to test the input and either give an error or format it a replace it in the field? Before I start I wanted to make sure I was not reinventing the wheel. ;-) Thanks, Kevin [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFHTTP
I would re-look at your actual Cfhttp call Invalid column would indicate to me that you are trying to put the cfhttp content into a query. Notice: name="username" Should be: username="username" Adam H On Wed, 28 Jul 2004 16:49:27 -0400, Dave Watts <[EMAIL PROTECTED]> wrote: > > h...not sure what that column stuff is aboutbut have > > a look at CFHTTPPARAM...it's used for passing in the URL > > params "?name=searchname&number=123&search=all" properly > > You can send URL parameters embedded directly within the URL attribute, > rather than using CFHTTPPARAM. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > phone: 202-797-5496 > fax: 202-797-5444 > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFHTTP
hehe...like I said...rusty ;-) Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Original Message - From: Dave Watts To: CF-Talk Sent: Wednesday, July 28, 2004 1:49 PM Subject: RE: CFHTTP > h...not sure what that column stuff is aboutbut have > a look at CFHTTPPARAM...it's used for passing in the URL > params "?name=searchname&number=123&search=all" properly You can send URL parameters embedded directly within the URL attribute, rather than using CFHTTPPARAM. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Help! - Dynamically Generate Forms from SQL DB - Bad Idea?
>otherwise you get a blank page? > It's not just a "blank" page either - it's void of any html or coding etc. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFHTTP
1) You are getting the column error because you are passing the "name" attribute, which specifies a variable name for creating a query based on the data returned (hence cf is looking for a list of column names in the first line of the response) 2) Check out the livedocs! http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-p58.htm#wp1632966 I hope this helps you solve your problem. CFHTTP is a great tag, but it is easy to get confused with all the parameters for its wide-ranging capabilities. Later. - Original Message - From: Bryan Stevenson <[EMAIL PROTECTED]> Date: Wed, 28 Jul 2004 13:24:20 -0700 Subject: Re: CFHTTP To: CF-Talk <[EMAIL PROTECTED]> h...not sure what that column stuff is aboutbut have a look at CFHTTPPARAM...it's used for passing in the URL params "?name=searchname&number=123&search=all" properly Sorry.,...tad rusty on CFHTTPbut that should shed some light Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Original Message - From: Mickael To: CF-Talk Sent: Wednesday, July 28, 2004 1:06 PM Subject: CFHTTP Hello All, I have never used CFHTTP before,and I am running in to an issue. I would like to retrieve information from a form on a remote server. If I simple do this in IE . https://username:[EMAIL PROTECTED]/search.cgi?name=searchname&number=123&search=all This returns the proper information in my browser. So I tried this in CF name="username" password="password" method="get" url="" resolveurl="yes"> #cfhttp.FileContent# But I get the following error The column name " 2.0//EN>" is invalid. Column names must be valid variable names. They must start with a letter and can only include letters, numbers, and underscores. I don't really understand how columns work. I would just like to display that page or save it to a variable. How do I deal with columns with CFHTTP? Mike [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Need Help with Form entry
I am trying to find a simple way to automate the entry of a form field for dates. What I would like to do is allow the user to enter a date and have it automatically add the "/" where they belong. Is there a function to do this or do I need to write a _javascript_ function to test the input and either give an error or format it a replace it in the field? Before I start I wanted to make sure I was not reinventing the wheel. ;-) Thanks, Kevin [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: CFHTTP
> h...not sure what that column stuff is aboutbut have > a look at CFHTTPPARAM...it's used for passing in the URL > params "?name=searchname&number=123&search=all" properly You can send URL parameters embedded directly within the URL attribute, rather than using CFHTTPPARAM. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: CFHTTP
> I'm not sure what exactly you're getting back, but your first > URL uses HTTPS, while your CFHTTP tag isn't. You must specify > the entire URL within the CFHTTP tag (https://...) Actually, to be more accurate, if you don't specify the protocol in the URL attribute, it will default to HTTP rather than HTTPS. You can either specify it within the URL attribute or set the PORT attribute to "443", I think. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFHTTP
h...not sure what that column stuff is aboutbut have a look at CFHTTPPARAM...it's used for passing in the URL params "?name=searchname&number=123&search=all" properly Sorry.,...tad rusty on CFHTTPbut that should shed some light Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Original Message - From: Mickael To: CF-Talk Sent: Wednesday, July 28, 2004 1:06 PM Subject: CFHTTP Hello All, I have never used CFHTTP before,and I am running in to an issue. I would like to retrieve information from a form on a remote server. If I simple do this in IE . https://username:[EMAIL PROTECTED]/search.cgi?name=searchname&number=123&search=all This returns the proper information in my browser. So I tried this in CF name="username" password="password" method="get" url="" resolveurl="yes"> #cfhttp.FileContent# But I get the following error The column name "" is invalid. Column names must be valid variable names. They must start with a letter and can only include letters, numbers, and underscores. I don't really understand how columns work. I would just like to display that page or save it to a variable. How do I deal with columns with CFHTTP? Mike [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: CFHTTP
> I have never used CFHTTP before,and I am running in to an > issue. I would like to retrieve information from a form on a > remote server. If I simple do this in IE . > > https://username:[EMAIL PROTECTED]/search.cgi?name=searc > hname&number=123&search=all > > This returns the proper information in my browser. > > So I tried this in CF > > > name="username" > password="password" > method="get" > url="" > resolveurl="yes"> > > > > #cfhttp.FileContent# > > But I get the following error > The column name " > HTML 2.0//EN>" is invalid. > Column names must be valid variable names. They must > start with a letter and can only include letters, numbers, > and underscores. > > > I don't really understand how columns work. I would just like > to display that page or save it to a variable. > > How do I deal with columns with CFHTTP? I'm not sure what exactly you're getting back, but your first URL uses HTTPS, while your CFHTTP tag isn't. You must specify the entire URL within the CFHTTP tag (https://...) Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
DHTML recursion problem
Hello, I'm trying to create windows explorer style directory structure. And I'm some issues. My folder end up nesting inside of themselves. Here is my code its a custom tag that calls itself when it finds children SELECT * FROM participant_assess_actn_doc WHERE path_name = '#parentItemId#' ORDER BY file_name #file_name# SELECT * FROM participant_assess_actn_doc WHERE path_name = '#get_parents.participant_assess_actn_doc_id#' Thanks in advance for any help :) Metzy [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: cleaning up
Simon, It might help to at the point in the page where you no longer need the query named queryName. But I've been using CF since version 2 and never had that error. You have a REALLY big query (maybe the selection criteria could be more specific) or a really small JVM memory space (increasing mem space might help). [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
CFHTTP
Hello All, I have never used CFHTTP before,and I am running in to an issue. I would like to retrieve information from a form on a remote server. If I simple do this in IE . https://username:[EMAIL PROTECTED]/search.cgi?name=searchname&number=123&search=all This returns the proper information in my browser. So I tried this in CF name="username" password="password" method="get" url="" resolveurl="yes"> #cfhttp.FileContent# But I get the following error The column name "" is invalid. Column names must be valid variable names. They must start with a letter and can only include letters, numbers, and underscores. I don't really understand how columns work. I would just like to display that page or save it to a variable. How do I deal with columns with CFHTTP? Mike [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Session-Based CFC Usage Across Clusters
Barney, >From reading your post, your solution sounds more like a global UDF whose methods are called with the data stored in the client scope than a true flyweight pattern (e.g., a shared, type-specific object for all users). But after reading this thread we were testing some ideas. All of our CFCs use private variables (variables. not this.) and support two related methods: setFromStruct and getAsStruct. setFromStruct takes a structure, examines its key names, looks for any similarly named setters (e.g., key is name maps to setName) and calls the appropriate methods. getFromStruct simply returns variables. We wddx'd getAsStruct and saved the result to the client scope. On the next page hit, we retrieved the client variable we had just saved. We have an application scoped object called ObjFactory, which has the method getObject(typeName, struct). getObject basically creates an object of the specified typeName, initializes it and calls its setfromStruct(). The calling template sets a request scope variable to the object returned from ObjFactory.getObject(). (e.g., objectFactory("com.myObject", client.wddxifiedData) />) At that point, we have completely recreated the state of the user-specific object and can treat it as a proper object. Some adjustment would need to be made to handle public object variables (this. scope), but it's not a big deal. Develoeprs need to use the Bean-style convention of getVariableName/setVariableName. And some consideration needs to be given to non default constructors (we always use an init() method that returns this). What do the forum members think of this approach? Scott [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
ColdFusion/DHTML recursion tree
Hello, I'm trying to create windows explorer style directory structure. And I'm some issues. My folder end up nesting inside of themselves. Here is my code its a custom tag that calls itself when it finds children SELECT * FROM participant_assess_actn_doc WHERE path_name = '#parentItemId#' ORDER BY file_name #file_name# SELECT * FROM participant_assess_actn_doc WHERE path_name = '#get_parents.participant_assess_actn_doc_id#' Thanks in advance for any help :) Metzy [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
ANNOUNCE: Fusebox Conf interviews 3: Michael Smith Real World FLiP saves programming headaches
In this Fusebox Conference interview, Hal Helms talks with me, Michael Smith about "Real World FLiP" way to save headaches when developing web applications (Fusebox or other style). But first some news. * Conference and training news * $149 price expires midnight EST 7/31/04 (it costs $199 after that) * Team Fusebox announced * Optional Fusebox and Mach-II classes are filling up - register soon to guarantee your place. * Now back to the interviews Michael Smith: This week I have invited Hal Helms to invite me about "Real World FLiP". Hal Helms: What's FLiP and "real world" as opposed to what? MS:FLiP is the Fusebox Lifecycle Process. It's a methodology for software development that reduces maintenance costs dramatical. HH: And what's a "methodology", exactly? MS: It's a fancy word for "method". A methodology tells you how to approach a software project. In other words, what steps to take. HH: And "real world"? MS: I mean that we will examine what happens in actual organizations when Fuseboxers try to implement FLiP in their projects. That's as opposed to what you read about FLiP in books, which can be a bit theoretical sometimes. HH: How are the two different? MS: Well, in books, there's no opposition to FLiP! In the real world, it can be hard to convince your boss or end-users to use FLiP. Also I have spoken with programmers who have trouble with some of the pieces of FLiP on real projects. That is the kind of issue we will be looking at. HH: Why do we need FLiP? Doesn't Fusebox do a good job of organizing code and providing focus to software applications? MS: Fusebox organizes the project code, but FLiP organizes the people and communications on the project. In my experience most project failures are not due to some technical problem, but are caused by people communication problems. For example the client may say they want X. We program Y for them and in reality they need Z! This is scope creep caused by miscommunication. The problem is that clients and programmers speak different languages. Even though both claim to speak English, really clients speak a dialect called "clientese" and programmers speak the "techish" dialect. No wonder we both get confused about what the other person wants! HH: How does FLiP help solve those problems? MS: FLiP provides provides tools and processes to allow for communication. That sounds terribly stuffy. Let me try it again: instead of just using more words to try to communicate, FLiP translates those words into wireframes and prototypes. The client tells us something and instead of just making a note and interpreting what the client means at coding time, we produce something for the client to look at, to click through. And we say, "You mean like THIS?" And we keep wireframing and prototyping until the client says, "Yes, THAT is exactly what I mean." It reduces misunderstandings enormously. HH: So the client actually gets to see the application before it's built? MS: Exactly. You could think of FLiP like a digital camera with a time machine that can see into the future. That is after all the late night code changes and crazy client phone calls, to a time when (finally!) your application finally does exactly what the client needs. If you could do this and bring the photos back to the present day and link them all together into a clickable website, then that could be your model. Imagine how much coding time and frustration you could save if there were no changes or misunderstandings from having this perfect model available at the beginning of your project. The database could be designed right the first time and you could easily pick out common code to reuse. HH: What's so special about wireframing and prototyping? MS: What is special is that they are so simple. I believe that doing things simple is harder than writing something more complex - but is also more valueable. A wireframe is just the skeleton of the site and only shows what pages there are, how they link together and what each page is responsible for doing. There are no graphics or data or real functionality. All this is provided in a website model that the user can click through using one of the free wireframe editors. The ability to test drive the site at the very first meeting with a client is very powerful for communicating about what pages and features are required. HH: Is there any other benefit to a wireframe? MS: It also shows up page flow issues or missing shortcuts to key pages too. I find that having an accurate list of pages and features about a site makes it much easier for me to give an accurate time and cost estimate for a site. Think of this process as a blueprint for building a web application. No one would dream of building an office building without plans. Why should we buid complex software without plans either? HH: What about the HTML prototype? MS: A full HTML prototype is the next step in filling in the details on the model of the site. It gives all the
RE: OT Have I got a virus or what?
Hmmm ... this happened to me yesterday too, but i'm running on Apache. Had to do a hard reboot and it hasn't reoccured. I HOPE it's not a worm, although the behavior reminds me of one circulating a year back or so. -Original Message- From: Kevin Roche [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 3:07 PM To: CF-Talk Subject: RE: OT Have I got a virus or what? Ok So I found the solution to this problem but it does not make any sense to me. I removed the registry entry which SQL Enterprise Manager has which pointed to a SQL Server which has gone down and is now disconnected to the network. Now everything works again. Explain that! Kevin -Original Message- From: Kevin Roche [mailto:[EMAIL PROTECTED] Sent: 28 July 2004 12:51 To: CF-Talk Subject: OT Have I got a virus or what? Hi, Yesterday I started getting problems with my PC. The symptoms are that the web server never responds to a request for a cfm page. If I try to look at a htm page, the start of page is not there. This is not a browser problem as the pages work OK if browsed directly. Anyone got any ideas? Kevin [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Best Practice - Forms
Right after your initial insert set a session variable containing the some kind of ID to the record. Before you do another insert, check to see if the session var exists and if so, use an update query instead with the ID in the var... Mike > The problem I have run into in the past is that a user will > submit a form, then see the results (confirmation page) and > need to make a change, hit the back button, and end up > creating record #2 instead of updating the original record. > > So, in this case, how do you make the second pass on the form > actual perform an update operation instead of an insert? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: from web server get file on file server
> CF 5.0 generally can't access network resources with > cfcontent because the cfcontent tag itself is running in the > Web server process, not the CF process. If you are running > Apache, you can change the Apache service's permissions to > access the resource and it will work. > > If you are running IIS, you are basically out of luck. I've > tried to get IIS running with something other than local > system permissions, even used an MS engineer to try to make > it work, but we never got it running right. IIS 5 must run as SYSTEM. The underlying reason for this is that it needs to be able to impersonate other users, which is only allowed to security contexts which run as part of the operating system. This is essential to the security model of IIS, which is tightly integrated with Windows' own security - every request is handled using the rights of a specific user; in the case of anonymous requests, the "IUSR_" account is used, while in the case of authenticated requests, the specific Windows account in question is used. To the best of my knowledge, you simply can't do that with other web servers on Windows. In Windows Server 2003, the ability to impersonate other users is a separate privilege, and IIS 6 can run as a user with this privilege. Windows Server 2003 also provides a security context to allow network access to services, if I recall correctly. However, if you're using earlier versions of Windows, you should be able to allow anonymous access to network resources by using null sessions, and the SYSTEM security context of your web server should then be able to connect to those resources: http://support.microsoft.com/default.aspx?scid=kb;EN-US;q289655 Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Best Practice - Forms
The problem I have run into in the past is that a user will submit a form, then see the results (confirmation page) and need to make a change, hit the back button, and end up creating record #2 instead of updating the original record. So, in this case, how do you make the second pass on the form actual perform an update operation instead of an insert? Thanks -- Jeff Quoting Paul Giesenhagen <[EMAIL PROTECTED]>: > I am not sure what you are actually asking ... > > Questions back at you: > > 1) Are you concerned with someone who inserts a form and hitting their back > button only to get the form again without anything in it or an EXPIRED page? > 2) Or are you asking if someone goes into a page where they are updating > information, and then hits refresh? Wouldn't it just refresh the page and > the data from the db? > > Maybe I am missing something on your original post. > > Paul Giesenhagen > QuillDesign > > - Original Message - > From: Jeff Chastain > To: CF-Talk > Sent: Wednesday, July 28, 2004 1:33 PM > Subject: Best Practice - Forms > > > I have dealt with this in a variety of different ways in the past, I am > wanted to see how other people did it. I have a form. This same form is > reused for creating a new record as well as updating an existing record. > > > So, the question is how do people 'control' the back button and the case > where the user submits the form, backs up, and resubmits it again? In > the > case of a create operation, the first time the form is displayed it would > be > empty, but upon reloading the form, it would contain the original data and > would now be an update operation. In the case of an update operation, the > first time the form is displayed, it would contain the current data, but > upon reloading the form, it would contain the updated data and still be an > update operation (would go to an update query instead of an insert). > > > So, what are your best practices for handling form input and reusing a > form? > > > Thanks > -- Jeff > > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: HELP - having trouble with a insert query.
Hi Robert, Wow, thank you. You just help me make my code much easier. I also have learned from it and can now make some cleanup changes to other pages as well. :-) The color is not numeric so I had to add the ' ' around the field, but other then that it worked right off. :-) No need to make a large series of if's. I would like to ask one question though. In the isnull.cfm script, in the return evaluate(myvar); line what exactly does the evaluate() function do in this case? Thanks for you help, I always learn so much from this list. Thanks, Kevin - Original Message - You are making this way to hard on yourself. Try something like this to clean up your code and give yourself easier debugging. Also, make sure all of your fields are numeric, or add quotes around inserted values as necessary. The "color" field, for instance, is that numeric or text? function isNull(myvar){ if(isdefined(myvar)) return evaluate(myvar); else return "NULL"; } INSERT INTO tblOEOrderDetails (orderID, styleNumber, sizeScaleID, color, unitPrice, lineTotal ,size1qty,size2qty,size3qty,size4qty,size5qty,size6qty) VALUES ( #FORM.orderID#, #FORM.styleNumber#, #FORM.sizeScaleID#, #FORM.color#, #FORM.unitPrice#, #FORM.lineTotal# ,#isNull("form.size1qty")# ,#isNull("form.size2qty")# ,#isNull("form.size3qty")# ,#isNull("form.size4qty")# ,#isNull("form.size5qty")# ,#isNull("form.size6qty")# ) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Best Practice - Forms
I am not sure what you are actually asking ... Questions back at you: 1) Are you concerned with someone who inserts a form and hitting their back button only to get the form again without anything in it or an EXPIRED page? 2) Or are you asking if someone goes into a page where they are updating information, and then hits refresh? Wouldn't it just refresh the page and the data from the db? Maybe I am missing something on your original post. Paul Giesenhagen QuillDesign - Original Message - From: Jeff Chastain To: CF-Talk Sent: Wednesday, July 28, 2004 1:33 PM Subject: Best Practice - Forms I have dealt with this in a variety of different ways in the past, I am wanted to see how other people did it. I have a form. This same form is reused for creating a new record as well as updating an existing record. So, the question is how do people 'control' the back button and the case where the user submits the form, backs up, and resubmits it again? In the case of a create operation, the first time the form is displayed it would be empty, but upon reloading the form, it would contain the original data and would now be an update operation. In the case of an update operation, the first time the form is displayed, it would contain the current data, but upon reloading the form, it would contain the updated data and still be an update operation (would go to an update query instead of an insert). So, what are your best practices for handling form input and reusing a form? Thanks -- Jeff [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: cfsilent how to...
CFSILENT works like CFSAVECONTENT except the generated content is thrown away, i believe. So it operates at the HTML buffer level, unlike CFSETTING. Not sure about CFPROCESSINGDIRECTIVE cheers, barneyb On Wed, 28 Jul 2004 14:10:55 -0400, S. Isaac Dealey <[EMAIL PROTECTED]> wrote: > that's never worked for me... the cfsavecontent tag shouldn't generate > any content because it's just looking at the output buffer... which > doesn't receive any content while it's inside the cfsilent tags... > > afaik there's not any way to output anything inside cfsilent tags... > you can still use to generate variables since the cfset tag > doesn't deal with the output buffer, but afaik not cfsavecontent. > > s. isaac dealey 954.927.5117 > > new epoch : isn't it time for a change? > > add features without fixtures with > the onTap open source framework > http://www.sys-con.com/story/?storyid=44477&DE=1 > > > > If i'm doing something like that then this is how I do > > it... > > > > > > [do stuff] > > > > > > > > > > > > > > > [do more stuff] > > > > > > > > > > #errormessage# > > > > > > > [rest of code not needing to be in CFSILENT] > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Best Practice - Forms
I have dealt with this in a variety of different ways in the past, I am wanted to see how other people did it. I have a form. This same form is reused for creating a new record as well as updating an existing record. So, the question is how do people 'control' the back button and the case where the user submits the form, backs up, and resubmits it again? In the case of a create operation, the first time the form is displayed it would be empty, but upon reloading the form, it would contain the original data and would now be an update operation. In the case of an update operation, the first time the form is displayed, it would contain the current data, but upon reloading the form, it would contain the updated data and still be an update operation (would go to an update query instead of an insert). So, what are your best practices for handling form input and reusing a form? Thanks -- Jeff [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: from web server get file on file server
CF 5.0 generally can't access network resources with cfcontent because the cfcontent tag itself is running in the Web server process, not the CF process. If you are running Apache, you can change the Apache service's permissions to access the resource and it will work. If you are running IIS, you are basically out of luck. I've tried to get IIS running with something other than local system permissions, even used an MS engineer to try to make it work, but we never got it running right. Rob > CF (5.0) is running w/ admin permissions. > I am able to get to the same file using ; then > surround the file name by for my internal users this is fine; > however, for users going through the webpage( behind the gateway), I > do not want them to be able to change the original file. > > --this does not work > > > however, if I put the same file on the CF SERVER it does work > > > > deletefile="No"> > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: HELP - having trouble with a insert query.
You are making this way to hard on yourself. Try something like this to clean up your code and give yourself easier debugging. Also, make sure all of your fields are numeric, or add quotes around inserted values as necessary. The "color" field, for instance, is that numeric or text? function isNull(myvar){ if(isdefined(myvar)) return evaluate(myvar); else return "NULL"; } INSERT INTO tblOEOrderDetails (orderID, styleNumber, sizeScaleID, color, unitPrice, lineTotal ,size1qty,size2qty,size3qty,size4qty,size5qty,size6qty) VALUES ( #FORM.orderID#, #FORM.styleNumber#, #FORM.sizeScaleID#, #FORM.color#, #FORM.unitPrice#, #FORM.lineTotal# ,#isNull("form.size1qty")# ,#isNull("form.size2qty")# ,#isNull("form.size3qty")# ,#isNull("form.size4qty")# ,#isNull("form.size5qty")# ,#isNull("form.size6qty")# ) > Hi again everyone, > > I have been working on this insert query and can not seem to find my > error. I am trying to build the insert statement from a form input > where some fields may not always exist due to being disabled in the > form. Here is my code for the query and the building of the string. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > INSERT INTO tblOEOrderDetails (#sql_str#) > VALUES(#sql_str_val#) > > > This is the error that the debugger spits out: > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: from web server get file on file server
Subject: From: Kristen Winsor <[EMAIL PROTECTED]> Date: Wed, 28 Jul 2004 12:20:13 -0400 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid =34202&forumid=4#172317 Kristen, I have done my home work on this one before, here is the best I have found. Patrick McGeehan Applications Developer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Search PDFs?
Verity can also index the XML as flat files or in a database, if you want to move all the searching into one place. Jerry Johnson >>> [EMAIL PROTECTED] 07/28/04 01:19PM >>> > Can verity index the contents of PDF docs? Yes, of course. Verity can index most document formats (HTML, CFML, MS Office, PDF, etc). This is exactly what CFIndex and CFSearch are built in to ColdFusion for. -- Tom Jordahl Macromedia Server Development -Original Message- From: Burns, John D [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 1:08 PM To: CF-Talk Subject: RE: Search PDFs? Well, no, we're making the calls to the java classes from within CF. The only thing is that we want the search to be a smart search where someone just types in what they want to search and we do a search on the xml database which we have to do in java anyway and we also want to search a collection of pdfs that are stored on the server. Can verity index the contents of PDF docs? John [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: cfsilent how to...
> that's never worked for me... the cfsavecontent tag shouldn't generate > any content because it's just looking at the output buffer... which > doesn't receive any content while it's inside the cfsilent tags... Works great for me but then I guess I am testing in CFMX 6.1 . Paul [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
HELP - having trouble with a insert query. (FIXED IT!!)
Hi again, I just wanted to let you all know I found my error. I placed the variable that holds the string inside a PreserveSingleQuotes() and now it works like a charm!! Yippee. Thanks for being here. Kevin [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: cfsilent how to...
that's never worked for me... the cfsavecontent tag shouldn't generate any content because it's just looking at the output buffer... which doesn't receive any content while it's inside the cfsilent tags... afaik there's not any way to output anything inside cfsilent tags... you can still use to generate variables since the cfset tag doesn't deal with the output buffer, but afaik not cfsavecontent. s. isaac dealey 954.927.5117 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.sys-con.com/story/?storyid=44477&DE=1 > If i'm doing something like that then this is how I do > it... > > [do stuff] > > > > > > [do more stuff] > > > > #errormessage# > > > [rest of code not needing to be in CFSILENT] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Help! - Dynamically Generate Forms from SQL DB - Bad Idea?
otherwise you get a blank page? - Original Message - From: Micha Schopman <[EMAIL PROTECTED]> Date: Wed, 28 Jul 2004 15:54:07 +0200 Subject: RE: Help! - Dynamically Generate Forms from SQL DB - Bad Idea? To: CF-Talk <[EMAIL PROTECTED]> The system is only available with a valid account, I can create one but if you are interested you can contact me by personal mail. Micha Schopman Software Engineer Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: A script to Prevent SQL Injection: feedback/suggestions?
Alright...thanks, Jochem... Rick -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 1:02 PM To: CF-Talk Subject: Re: A script to Prevent SQL Injection: feedback/suggestions? Rick Faircloth wrote: > I haven't been following this intensive discussion completely, > but I'm curious as to what the end result of your conversion is... > > Does this mean using cfqueryparam for form data is not 100% > foolproof against SQL injection and we need to use cfqueryparam > along with HTMLEditFormat and ClearURL, etc., to be "safer"? cfqueryparam is sufficient against SQL injection attack. But you need to add something else against Cross Site Scripting, and I prefer HTMLEditFormat() / HTMLCodeFormat() for that instead of custom RE based filters. Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: OT Have I got a virus or what?
Yes, Looks like you are right. Have uninstalled Zone Alarm for the time being. Let me know if you find a solution. I thought it was a problem in CF with a datasource. Kevin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 28 July 2004 14:04 To: CF-Talk Subject: RE: OT Have I got a virus or what? >> Yesterday I started getting problems with my PC. The symptoms are that the >> web server never responds to a request for a cfm page. Have you got the new Zone Alarm installed and using IIS? I had this prob at home and it turns out the new Zone Alarm mucks about with IIS, no fix as yet, you just need to stop and restart Zone Alarm if that is your issue -- dc [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: from web server get file on file server
> > I was just testing w/ cfcontent..but this does not appear to let me > > > retrieve a file from another server?? > > If you are running CF 5.0 or earlier, that's true. If you are running > CFMX, cfcontent runs with the permissions of the server user that is > running the CF Application Server process. Here is my checklist to set > this all up: > > 1. Run your CF Server process under a user that has network > permissions to the resource you want to access. On Windows you set > this in the Services panel. > 2. Create a share on your target system and grant the user from step 1 > rights to read from that share. > 3. In cfcontent, access the target resource using UNC mapping- e.g. > \\hostname or IP address\sharename\filename > > Then you should be able to serve your PDF from your other system. > > Rob CF (5.0) is running w/ admin permissions. I am able to get to the same file using ; then surround the file name by for my internal users this is fine; however, for users going through the webpage( behind the gateway), I do not want them to be able to change the original file. --this does not work however, if I put the same file on the CF SERVER it does work [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: cfsilent how to...
Not that I'm aware of... Your only option is to close off your cfsilent tags. [do stuff] [do more stuff] -- Jeff - Original Message - From: Jim McAtee To: CF-Talk Sent: Wednesday, July 28, 2004 10:36 AM Subject: cfsilent how to... ColdFusion 5.0. If I've got a block and wish to cfinclude another template that generates output to the browser, is there a means of turning off from within the included template? [do stuff] [do more stuff] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: cfsilent how to...
If i'm doing something like that then this is how I do it... [do stuff] [do more stuff] #errormessage# [rest of code not needing to be in CFSILENT] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
cfsilent how to...
ColdFusion 5.0. If I've got a block and wish to cfinclude another template that generates output to the browser, is there a means of turning off from within the included template? [do stuff] [do more stuff] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
HELP - having trouble with a insert query.
Hi again everyone, I have been working on this insert query and can not seem to find my error. I am trying to build the insert statement from a form input where some fields may not always exist due to being disabled in the form. Here is my code for the query and the building of the string. INSERT INTO tblOEOrderDetails (#sql_str#) VALUES(#sql_str_val#) This is the error that the debugger spits out: [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Search PDFs?
> Can verity index the contents of PDF docs? Yes, of course. Verity can index most document formats (HTML, CFML, MS Office, PDF, etc). This is exactly what CFIndex and CFSearch are built in to ColdFusion for. -- Tom Jordahl Macromedia Server Development -Original Message- From: Burns, John D [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 1:08 PM To: CF-Talk Subject: RE: Search PDFs? Well, no, we're making the calls to the java classes from within CF. The only thing is that we want the search to be a smart search where someone just types in what they want to search and we do a search on the xml database which we have to do in java anyway and we also want to search a collection of pdfs that are stored on the server. Can verity index the contents of PDF docs? John -Original Message- From: Mark Drew [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 11:41 AM To: CF-Talk Subject: Re: Search PDFs? Well since this is posted to the cf =talk group, have you thought of doing a Verity Collection? No CF involved? right, have a look at http://jakarta.apache.org/lucene/docs/index.html And see if that is the kinda thing you want HTH Mark Drew On Wed, 28 Jul 2004 11:28:40 -0400, Burns, John D <[EMAIL PROTECTED]> wrote: > I'm looking for some way to create a search that will allow me to > search the contents of PDF files (much like how google does). The > majority of this programming and the search feature is going to be > built in java because of our need to access an XML Database (Tamino) > so we'd like to find some kind of open source code or some > documentation on creating a search in JAVA to search the contents of > PDF files. Anyone have experience with something like this or can > point me in the right direction? Thanks! > > John Burns > > _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Search PDFs?
Well, no, we're making the calls to the java classes from within CF. The only thing is that we want the search to be a smart search where someone just types in what they want to search and we do a search on the xml database which we have to do in java anyway and we also want to search a collection of pdfs that are stored on the server. Can verity index the contents of PDF docs? John -Original Message- From: Mark Drew [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 11:41 AM To: CF-Talk Subject: Re: Search PDFs? Well since this is posted to the cf =talk group, have you thought of doing a Verity Collection? No CF involved? right, have a look at http://jakarta.apache.org/lucene/docs/index.html And see if that is the kinda thing you want HTH Mark Drew On Wed, 28 Jul 2004 11:28:40 -0400, Burns, John D <[EMAIL PROTECTED]> wrote: > I'm looking for some way to create a search that will allow me to > search the contents of PDF files (much like how google does). The > majority of this programming and the search feature is going to be > built in java because of our need to access an XML Database (Tamino) > so we'd like to find some kind of open source code or some > documentation on creating a search in JAVA to search the contents of > PDF files. Anyone have experience with something like this or can > point me in the right direction? Thanks! > > John Burns > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Small query question.. (Updated, SQL Syntax)
techmike wrote: > > How would one normally return a range of results then.. Ultimatly I'm > trying to get all the results for one month. SELECT * FROM table WHERE EXTRACT(MONTH FROM date) = Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: from web server get file on file server
> I was just testing w/ cfcontent..but this does not appear to let me > retrieve a file from another server?? If you are running CF 5.0 or earlier, that's true. If you are running CFMX, cfcontent runs with the permissions of the server user that is running the CF Application Server process. Here is my checklist to set this all up: 1. Run your CF Server process under a user that has network permissions to the resource you want to access. On Windows you set this in the Services panel. 2. Create a share on your target system and grant the user from step 1 rights to read from that share. 3. In cfcontent, access the target resource using UNC mapping- e.g. \\hostname or IP address\sharename\filename Then you should be able to serve your PDF from your other system. Rob [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: A script to Prevent SQL Injection: feedback/suggestions?
Rick Faircloth wrote: > I haven't been following this intensive discussion completely, > but I'm curious as to what the end result of your conversion is... > > Does this mean using cfqueryparam for form data is not 100% > foolproof against SQL injection and we need to use cfqueryparam > along with HTMLEditFormat and ClearURL, etc., to be "safer"? cfqueryparam is sufficient against SQL injection attack. But you need to add something else against Cross Site Scripting, and I prefer HTMLEditFormat() / HTMLCodeFormat() for that instead of custom RE based filters. Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Small query question.. (Updated, SQL Syntax) (solved)
Got it.. WHERE date >= "03-01-04" AND date <= "03-31-04" did what I needed.. -mike -Original Message- From: "techmike" <[EMAIL PROTECTED]> To: CF-Talk <[EMAIL PROTECTED]> Date: Wed, 28 Jul 2004 12:02:27 -0400 Subject: Re: Small query question.. (Updated, SQL Syntax) > Thats how I normally pull one result.. I guess when I left off the > column > = it was completely ignoring the WHERE line.. > > So I guess my whole problem is in my MySQL syntax.. > > How would one normally return a range of results then.. Ultimatly I'm > trying to get all the results for one month. I can go from date to > date, > or date to the number of rows. Whichever is easier.. > > -Original Message- > From: Jason Lemahieu <[EMAIL PROTECTED]> > To: CF-Talk <[EMAIL PROTECTED]> > Date: Wed, 28 Jul 2004 10:55:29 -0400 > Subject: Re: Small query question.. > > > > > > > SELECT * > > > FROM #tablename# > > > WHERE "#url.date#" > > > ORDER by date > > > LIMIT 31 > > > > > > > I don't use MySQL so maybe this is not the case, but don't you need > to > > say something like: WHERE myDateColumn = #url.date#, rather than just > > WHERE #url.date# ? > > > > Or does MySQL have some built-in thing where that's implied? > > > > Just a thought. > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: cleaning up
Hi Simon, If all else fails, you can use the System.gc() function to give the java garbage collector a nudge - it might not work, but it's worth a try. I blogged about this here : http://instantbadger.blogspot.com/2004/06/collecting-your-garbage-in-cfm x.html Hope that helps Alistair Alistair Davidson Senior Technical Developer Headshift.com -- HEADSHIFT >> www.headshift.com T: 020 7357 7358 -- smarter > simpler > social > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Search PDFs?
I have a Java CFX tag up at OpenXCF (http://sourceforge.net/projects/openxcf) that allows you to turn a PDF into a string. Once you have it as a string you can do a whole bunch of things with it for searching purposes including feeding it to Lucene. -Matt > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Burns, John D > Sent: Wednesday, July 28, 2004 11:29 AM > To: CF-Talk > Subject: Search PDFs? > > I'm looking for some way to create a search that will allow me to search > the contents of PDF files (much like how google does). The majority of > this programming and the search feature is going to be built in java > because of our need to access an XML Database (Tamino) so we'd like to > find some kind of open source code or some documentation on creating a > search in JAVA to search the contents of PDF files. Anyone have > experience with something like this or can point me in the right > direction? Thanks! > > John Burns > > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Help! - Dynamically Generate Forms from SQL DB - Bad Idea?
>The system is only available with a valid account, I can create one but >if you are interested you can contact me by personal mail. So that means one can't even see what it is about and what it's features are etc? It would be nice to see how it works, what the interface/workflow is etc without having to create an account. Also - price points etc... jay [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
from web server get file on file server
On my website behind a password protected area I need to give the ability for the webuser to "retrieve" a PDFfile. I know I could open a one way port to allow the user to view the file simply by but I don't want the webusers (who have ADOBE writer) to be able to change anything on the file.(password protecting the pdf is not an option) I was just testing w/ cfcontent..but this does not appear to let me retrieve a file from another server?? lost...and of course, this needs to be done yesterday; any assistance is greatly appreciated. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Small query question.. (Updated, SQL Syntax)
Thats how I normally pull one result.. I guess when I left off the column = it was completely ignoring the WHERE line.. So I guess my whole problem is in my MySQL syntax.. How would one normally return a range of results then.. Ultimatly I'm trying to get all the results for one month. I can go from date to date, or date to the number of rows. Whichever is easier.. -Original Message- From: Jason Lemahieu <[EMAIL PROTECTED]> To: CF-Talk <[EMAIL PROTECTED]> Date: Wed, 28 Jul 2004 10:55:29 -0400 Subject: Re: Small query question.. > > > > SELECT * > > FROM #tablename# > > WHERE "#url.date#" > > ORDER by date > > LIMIT 31 > > > > I don't use MySQL so maybe this is not the case, but don't you need to > say something like: WHERE myDateColumn = #url.date#, rather than just > WHERE #url.date# ? > > Or does MySQL have some built-in thing where that's implied? > > Just a thought. > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Search PDFs?
Well since this is posted to the cf =talk group, have you thought of doing a Verity Collection? No CF involved? right, have a look at http://jakarta.apache.org/lucene/docs/index.html And see if that is the kinda thing you want HTH Mark Drew On Wed, 28 Jul 2004 11:28:40 -0400, Burns, John D <[EMAIL PROTECTED]> wrote: > I'm looking for some way to create a search that will allow me to search > the contents of PDF files (much like how google does). The majority of > this programming and the search feature is going to be built in java > because of our need to access an XML Database (Tamino) so we'd like to > find some kind of open source code or some documentation on creating a > search in JAVA to search the contents of PDF files. Anyone have > experience with something like this or can point me in the right > direction? Thanks! > > John Burns > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Search PDFs?
I'm looking for some way to create a search that will allow me to search the contents of PDF files (much like how google does). The majority of this programming and the search feature is going to be built in java because of our need to access an XML Database (Tamino) so we'd like to find some kind of open source code or some documentation on creating a search in JAVA to search the contents of PDF files. Anyone have experience with something like this or can point me in the right direction? Thanks! John Burns [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
IOException "too many open files"
Has anyone else run into this error on Windows 2000? I know it's has something to do with file Handler limits in either Windows or the JVM. I'm just curious how others might have prevented this from happening in the future. ERJ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: mimetype - .log and .ini
Sometimes I have more urgent things to do than to read and answer cf-talk posts ;-) Pascal > -Original Message- > From: cf coder [mailto:[EMAIL PROTECTED] > Sent: 28 July 2004 17:14 > To: CF-Talk > Subject: Re: mimetype - .log and .ini > > that was simple. I was wondering why you've taken so long :) Thanks Pascal > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Hotel scheduling
Cutter (CF-Talk) wrote: > I may have asked this some time way back, but requirements changed > to > make it unnecessary at the time. I am looking for a prebuilt > package to > handle hotel reservation scheduling and management. Any body know of > anything? This was recommended on the evolt list: http://www.hallisoft.com/RezEasy/RezEasy.html Looks like it's built in perl, not CFML, though. I don't know anything about it but the person who recommended it was impressed with the trial version and the level of support from the developer. HTH - Regards, Bob Haroche O n P o i n t S o l u t i o n s www.OnPointSolutions.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: mimetype - .log and .ini
On Wednesday 28 Jul 2004 16:14 pm, cf coder wrote: > that was simple. I kinda assumed you'd have noticed that already :-) -- Tom Chiverton Advanced ColdFusion Programmer Tel: +44(0)1749 834997 email: [EMAIL PROTECTED] BlueFinger Limited Underwood Business Park Wookey Hole Road, WELLS. BA5 1AF Tel: +44 (0)1749 834900 Fax: +44 (0)1749 834901 web: www.bluefinger.com Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, BRISTOL. BS1 6EG. *** This E-mail contains confidential information for the addressee only. If you are not the intended recipient, please notify us immediately. You should not use, disclose, distribute or copy this communication if received in error. No binding contract will result from this e-mail until such time as a written document is signed on behalf of the company. BlueFinger Limited cannot accept responsibility for the completeness or accuracy of this message as it has been transmitted over public networks.*** [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: mimetype - .log and .ini
that was simple. I was wondering why you've taken so long :) Thanks Pascal [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Need recommendations for charting engines
>What makes any of the below system better than the charting functionality the ships with CFMX. essentially cannot handle dates properly, which in turn makes it virtually impossible to create charts of events over time e.g. tracking a stock, etc. I've managed to kludge a workaround for my own situation by dividing a date/time range up into period segments and charting values within each segment. It's not ideal but is working for my immediate purposes. Regards, Dave [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: mimetype - .log and .ini
Those files have the mime-type "application/octet-stream" and this is not in your list of accepted mime-types. Pascal > -Original Message- > From: cf coder [mailto:[EMAIL PROTECTED] > Sent: 28 July 2004 13:42 > To: CF-Talk > Subject: mimetype - .log and .ini > > When I try to upload either a .log or a .ini file, I get a error message > that the mime type was not accepted by the server. Here is the code > > > > action=""> > filefield="docUpload" > destination="#request.UploadFolder#" > nameconflict="MAKEUNIQUE" > accept="#fileMimeTypes#"> > > Can someone help > regards, > cfcoder > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: mimetype - .log and .ini
On Wednesday 28 Jul 2004 15:24 pm, cf coder wrote: > The MIME type of the uploaded file (application/octet-stream) was not > accepted by the server One or other of your client and server is sending the wrong MIME type. No idea how to sort that out on windows, Linux has a mime-types file. -- Tom Chiverton Advanced ColdFusion Programmer Tel: +44(0)1749 834997 email: [EMAIL PROTECTED] BlueFinger Limited Underwood Business Park Wookey Hole Road, WELLS. BA5 1AF Tel: +44 (0)1749 834900 Fax: +44 (0)1749 834901 web: www.bluefinger.com Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, BRISTOL. BS1 6EG. *** This E-mail contains confidential information for the addressee only. If you are not the intended recipient, please notify us immediately. You should not use, disclose, distribute or copy this communication if received in error. No binding contract will result from this e-mail until such time as a written document is signed on behalf of the company. BlueFinger Limited cannot accept responsibility for the completeness or accuracy of this message as it has been transmitted over public networks.*** [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Small query question..
> > SELECT * > FROM #tablename# > WHERE "#url.date#" > ORDER by date > LIMIT 31 > I don't use MySQL so maybe this is not the case, but don't you need to say something like: WHERE myDateColumn = #url.date#, rather than just WHERE #url.date# ? Or does MySQL have some built-in thing where that's implied? Just a thought. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Need recommendations for charting engines
There is none, .. you still have to provide the data, and formulas you need Micha Schopman Software Engineer Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: mimetype - .log and .ini
This is the error msg I get: The MIME type of the uploaded file (application/octet-stream) was not accepted by the server [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Need recommendations for charting engines
What makes any of the below system better than the charting functionality the ships with CFMX. I'm interested in a charting tool that allows me to design the graph, point the tool to the database tables, and bam there's my graph. I'm trying to get around writing the the sql. -- Original Message -- From: "Marco Antonio C. Santos" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Wed, 28 Jul 2004 10:28:10 -0300 >Googling for Java Charts... integrating with CF will be very easy... > >Examples: > >Kava Chart(very good): http://www.ve.com/servlet_demos.html?ref=gad422 >ChartDirector(very good too): http://www.advsofteng.com/ > >and so on... > >Cheers > >On Wed, 28 Jul 2004 07:09:24 -0400, Hagan, Ryan Mr (Contractor ACI) ><[EMAIL PROTECTED]> wrote: >> If you have the ability to run PHP, I'd strongly recommend JPGraph. It's >> the best charting and graphing software I've ever used. It's much easier to >> use than PopCharts and I'm fairly certain it has more features. >> >> http://www.aditus.nu/jpgraph/index.php >> >> >> >> -Original Message- >> From: Dave Wilson [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, July 28, 2004 7:00 AM >> To: CF-Talk >> Subject: Need recommendations for charting engines >> >> Hi all, >> >> I've been caught short once again by cfchart's inability to handle dates and >> timelines and am looking for recommendations as to which charting engines >> out there would best suit my needs. The majority of my charting needs >> involves timeline based charts. >> >> I've had experience with popchart in the past (about 2-3 years ago) but I >> notice there are a few other options available today, such as Swiffchart and >> chartfx. However chartfx uses com which is no use as we're running on linux >> and Swiff Chart examples on globfx.com don't specifically state >> compatibility with cfmx on linux although they do have a linux version for >> php. >> >> Any input would be much appreciated. >> >> Dave >> >> __ >> Dave Wilson, CTO >> Integrated Autos Solutions Ltd. (Karsystems) >> 155 Northumberland Street, >> Belfast, BT13 2JF >> >> t: +44 (0) 28 9024 3123 >> f: +44 (0) 28 9024 3124 >> e: [EMAIL PROTECTED] >> _ >> >> > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: cleaning up
On Wednesday 28 Jul 2004 12:56 pm, Simon Whittaker wrote: > java.lang.OutOfMemoryError > use to me to increase the size of the JVM memory generation size as Almost certainly :-) > Also, could I consider breaking up the huge page into smaller pages > and including/linking to them? My guess would be it woul dmake no distance, because CF must still build the whole page. cfflush may help, or not. Try it :-) -- Tom Chiverton Advanced ColdFusion Programmer Tel: +44(0)1749 834997 email: [EMAIL PROTECTED] BlueFinger Limited Underwood Business Park Wookey Hole Road, WELLS. BA5 1AF Tel: +44 (0)1749 834900 Fax: +44 (0)1749 834901 web: www.bluefinger.com Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, BRISTOL. BS1 6EG. *** This E-mail contains confidential information for the addressee only. If you are not the intended recipient, please notify us immediately. You should not use, disclose, distribute or copy this communication if received in error. No binding contract will result from this e-mail until such time as a written document is signed on behalf of the company. BlueFinger Limited cannot accept responsibility for the completeness or accuracy of this message as it has been transmitted over public networks.*** [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Small query question..
SELECT * FROM #tablename# WHERE "#url.date#" ORDER by date LIMIT 31 (In my testing #url.date# is 03-01-04) Does anyone see a problem with the above query that would cause me to get the first 31 results instead of the 31 results after the WHERE statement? Rather, I get the same first 31 results regardless the date I specify.. As long as the date is found in the query results. If not I get the usual error.. Also tried it with and without quotes with the same result. The datasource this time around is MySQL. -Mike [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Help! - Dynamically Generate Forms from SQL DB - Bad Idea?
The system is only available with a valid account, I can create one but if you are interested you can contact me by personal mail. Micha Schopman Software Engineer Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: OT: iframe and mozilla
On Wednesday 28 Jul 2004 13:39 pm, Cutter (CF-Talk) wrote: > I'm using Mozilla 1.7.1 and iframes work fine for me. Don't know how > much of a difference Firefox is... Same rendering engine, faster inter module calls and nicer look. -- Tom Chiverton Advanced ColdFusion Programmer Tel: +44(0)1749 834997 email: [EMAIL PROTECTED] BlueFinger Limited Underwood Business Park Wookey Hole Road, WELLS. BA5 1AF Tel: +44 (0)1749 834900 Fax: +44 (0)1749 834901 web: www.bluefinger.com Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, BRISTOL. BS1 6EG. *** This E-mail contains confidential information for the addressee only. If you are not the intended recipient, please notify us immediately. You should not use, disclose, distribute or copy this communication if received in error. No binding contract will result from this e-mail until such time as a written document is signed on behalf of the company. BlueFinger Limited cannot accept responsibility for the completeness or accuracy of this message as it has been transmitted over public networks.*** [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Need recommendations for charting engines
Googling for Java Charts... integrating with CF will be very easy... Examples: Kava Chart(very good): http://www.ve.com/servlet_demos.html?ref=gad422 ChartDirector(very good too): http://www.advsofteng.com/ and so on... Cheers On Wed, 28 Jul 2004 07:09:24 -0400, Hagan, Ryan Mr (Contractor ACI) <[EMAIL PROTECTED]> wrote: > If you have the ability to run PHP, I'd strongly recommend JPGraph. It's > the best charting and graphing software I've ever used. It's much easier to > use than PopCharts and I'm fairly certain it has more features. > > http://www.aditus.nu/jpgraph/index.php > > > > -Original Message- > From: Dave Wilson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 28, 2004 7:00 AM > To: CF-Talk > Subject: Need recommendations for charting engines > > Hi all, > > I've been caught short once again by cfchart's inability to handle dates and > timelines and am looking for recommendations as to which charting engines > out there would best suit my needs. The majority of my charting needs > involves timeline based charts. > > I've had experience with popchart in the past (about 2-3 years ago) but I > notice there are a few other options available today, such as Swiffchart and > chartfx. However chartfx uses com which is no use as we're running on linux > and Swiff Chart examples on globfx.com don't specifically state > compatibility with cfmx on linux although they do have a linux version for > php. > > Any input would be much appreciated. > > Dave > > __ > Dave Wilson, CTO > Integrated Autos Solutions Ltd. (Karsystems) > 155 Northumberland Street, > Belfast, BT13 2JF > > t: +44 (0) 28 9024 3123 > f: +44 (0) 28 9024 3124 > e: [EMAIL PROTECTED] > _ > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Text Input Field Data not recognized with use of Enter key
No, problem. :o) I was stuck on trying to use the submit button's presence as the trigger, instead of seeing that the other formfields could serve the purpose just as well, and now, I realize, even better, because their presence in a submission is consistent whether the form is submitted with the Enter key or the submit button... Thanks for your help... Rick -Original Message- From: Aaron DC [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 9:00 AM To: CF-Talk Subject: Re: Text Input Field Data not recognized with use of Enter key Yeah :) I was trying to help and not being understood, forgive my frustration. You got it working and in the end that's the important thing, well done. Aaron - Original Message - From: Rick Faircloth To: CF-Talk Sent: Wednesday, July 28, 2004 10:59 PM Subject: RE: Text Input Field Data not recognized with use of Enter key Aaron wrote: "This is not the name of the textbox. I said (twice now), check for the presence of the textbox." I realize that Form.Search is not the textbox... I also realize that you're saying that I can check to see whether or not any of the formfields in the form are defined for triggering search action based on parameters in the form, rather than adding an extra hidden field. We're both getting to the same place, I'm just taking a longer route to get there. The hidden field method does work, it's just not necessary... I can check for Form.Keyword or Form.PropertyType or whatever, instead... Rick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: OT Have I got a virus or what?
>> Yesterday I started getting problems with my PC. The symptoms are that the >> web server never responds to a request for a cfm page. Have you got the new Zone Alarm installed and using IIS? I had this prob at home and it turns out the new Zone Alarm mucks about with IIS, no fix as yet, you just need to stop and restart Zone Alarm if that is your issue -- dc [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Hotel scheduling
I may have asked this some time way back, but requirements changed to make it unnecessary at the time. I am looking for a prebuilt package to handle hotel reservation scheduling and management. Any body know of anything? Cutter [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: OT Have I got a virus or what?
Ok So I found the solution to this problem but it does not make any sense to me. I removed the registry entry which SQL Enterprise Manager has which pointed to a SQL Server which has gone down and is now disconnected to the network. Now everything works again. Explain that! Kevin -Original Message- From: Kevin Roche [mailto:[EMAIL PROTECTED] Sent: 28 July 2004 12:51 To: CF-Talk Subject: OT Have I got a virus or what? Hi, Yesterday I started getting problems with my PC. The symptoms are that the web server never responds to a request for a cfm page. If I try to look at a htm page, the start of page is not there. This is not a browser problem as the pages work OK if browsed directly. Anyone got any ideas? Kevin [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Flash Remoting TechNote Notification: "Flash Remoting RequestDeni edException"
http://www.macromedia.com/support/flash_remoting/ts/documents/reqdeniedexp.h tm htm> [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Text Input Field Data not recognized with use of Enter key
Yeah :) I was trying to help and not being understood, forgive my frustration. You got it working and in the end that's the important thing, well done. Aaron - Original Message - From: Rick Faircloth To: CF-Talk Sent: Wednesday, July 28, 2004 10:59 PM Subject: RE: Text Input Field Data not recognized with use of Enter key Aaron wrote: "This is not the name of the textbox. I said (twice now), check for the presence of the textbox." I realize that Form.Search is not the textbox... I also realize that you're saying that I can check to see whether or not any of the formfields in the form are defined for triggering search action based on parameters in the form, rather than adding an extra hidden field. We're both getting to the same place, I'm just taking a longer route to get there. The hidden field method does work, it's just not necessary... I can check for Form.Keyword or Form.PropertyType or whatever, instead... Rick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: A script to Prevent SQL Injection: feedback/suggestions?
I haven't been following this intensive discussion completely, but I'm curious as to what the end result of your conversion is... Does this mean using cfqueryparam for form data is not 100% foolproof against SQL injection and we need to use cfqueryparam along with HTMLEditFormat and ClearURL, etc., to be "safer"? Rick -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 5:28 AM To: CF-Talk Subject: Re: A script to Prevent SQL Injection: feedback/suggestions? Matt Robertson wrote: >> In both cases, I think you are better of with HTMLEditFormat() / >> HTMLCodeFormat(). > > Interesting. I ran that same code, removed the call to CodeCleaner > and changed the next line to > > > > and got the same result: The difference in the code was detected. You are using CleanURL to detect differences in strings before and after cleaning. If there is a difference, you reject the post completely. That is a very safe way of using CleanURL, but I doubt that is the way it is used typically. People will use these types of cleaners to scrub unwanted elements from the input and let whatever comes out of the scrubbing be processed further, for instance inserted in the database. In that case you can design your attack in such a case that you don't submit the string you want in the database, but you submit a string that will be transformed to the string you want. Preventing that pretty much means escaping/removing all <, >, ', \ and ", at which point just using HTMLEditFormat() or HTMLCodeFormat() is the easy option. Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Text Input Field Data not recognized with use of Enter key
Aaron wrote: "This is not the name of the textbox. I said (twice now), check for the presence of the textbox." I realize that Form.Search is not the textbox... I also realize that you're saying that I can check to see whether or not any of the formfields in the form are defined for triggering search action based on parameters in the form, rather than adding an extra hidden field. We're both getting to the same place, I'm just taking a longer route to get there. The hidden field method does work, it's just not necessary... I can check for Form.Keyword or Form.PropertyType or whatever, instead... Rick -Original Message- From: Aaron DC [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 4:06 AM To: CF-Talk Subject: Re: Text Input Field Data not recognized with use of Enter key > So you're saying that the textbox field value is not being passed > and the "Search" button value is? That makes sense, because No, I'm saying the textbox will always be submitted, regardless of how the form is submitted. The search button will only be passed if you click it. > This is not the name of the textbox. > I checked for the presence of Form.Search when the Enter key is hit while > the cursor is in the Keyword Text Input Field and it was not present. This is not the name of the textbox. I said (twice now), check for the presence of the textbox. > When the form is submitted by hitting the Enter key, the Search button value is not > passed. But the hidden field is passed As is the textbox, as I said the first time I responded to your post. You do not need to add any hidden fields, simply check for the existence of the textbox. > So now I've learned something new...don't use the submit button value or > presence as a trigger, use the value or presence of a hidden field... And I'm telling you that you don't need to add an unecessary hidden fields, just use the field(s) you already have in the form - eg. the search textbox. Aaron - Original Message - From: Rick Faircloth To: CF-Talk Sent: Wednesday, July 28, 2004 5:42 PM Subject: RE: Text Input Field Data not recognized with use of Enter key Alright, I give... The code for the form and the text input field of concern: Value="#Form.Keyword#" Size="30" MaxLength="30" Class="TextInput01"> Class="TextInput01"> I checked for the presence of Form.Search when the Enter key is hit while the cursor is in the Keyword Text Input Field and it was not present. Click outside the Keyword Text Input Field and hit the Enter key and "Form.Search" is present. The form is submitting back to the page which it's on, if that matters...everything works fine except when the cursor is in the Keyword field when the Enter key is hit. The cursor can be in the Keyword field when the "Search" button is clicked and everything works fine...go figure... HmmmI just check something else, also. When I select a city for the search (this is a real estate application) and put the cursor in the Keyword field and hit the Enter key, the value for the city is passed by the form, but the value for Form.Search (The Search Button) is not present... (Pause...trying out an idea...) Well, the trick is to have a hidden field in the form and to check for its presence instead of checking for the presence of the value of the Search button. When the form is submitted by hitting the Enter key, the Search button value is not passed. But the hidden field is passed and can be used to trigger the search action involving the Keyword field. You can see from the code above that the Keyword field value was not factored in if the Form.Search field was not defined. So now I've learned something new...don't use the submit button value or presence as a trigger, use the value or presence of a hidden field... Rick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: iframe and mozilla
http://www.mozilla.org/docs/dom/domref/dom_frame_ref13.html -Original Message- From: CFDEV [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 8:33 AM To: CF-Talk Subject: RE: iframe and mozilla This is the call : scrolling="Auto" src="" Patrick _ From: John Stanley [mailto:[EMAIL PROTECTED] Sent: July 28, 2004 08:31 To: CF-Talk Subject: RE: iframe and mozilla can you post the call to the iframe, because iframes should work in the later versions of mozilla. -Original Message- From: CFDEV [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 8:26 AM To: CF-Talk Subject: OT: iframe and mozilla Hi there, I have an ifram for a wysiwyg editor I made that is only working with IE.. i'm looking at having it working with mozilla firefox.. does anyone know a site or somehting for good information on ifram in mozilla... i looked at google but did'nt quite found what i'm looking for.. Thanks Patrick _ _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]