Re: Packing directory output to a list

2009-09-25 Thread Ultimator Ultimator
ok this problem has been solved it is one of my directories acting up. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

RE: cffile action=delete problems

2009-09-25 Thread Will Swain
Your query needs a name - so you can refer to it later. CFQUERY DATASOURCE=#Application.DSN# NAME=qGetDocument SELECT * FROM documnents WHERE docid = CFQUERYPARAM CFSQLTYPE=CF_SQL_INTEGER Value=#docid# maxlength=4 /CFQUERY Assuming the filename is docname, and your file lives in F:\downloads\:

cffile action=delete problems

2009-09-25 Thread Ian Vaughan
Hi I have the following script that removes a record from a database. This database record contains document information i.e. docid, docname, docpath etc. CFQUERY DATASOURCE=#Application.DSN# SELECT * FROM documnents WHERE docid = CFQUERYPARAM CFSQLTYPE=CF_SQL_INTEGER Value=#docid#

RE: cffile action=delete problems

2009-09-25 Thread Ian Vaughan
Thanks Will, that's great -Original Message- From: Will Swain [mailto:w...@hothorse.com] Sent: 25 September 2009 10:08 To: cf-talk Subject: RE: cffile action=delete problems Your query needs a name - so you can refer to it later. CFQUERY DATASOURCE=#Application.DSN# NAME=qGetDocument

RE: Applications and constant connection

2009-09-25 Thread Paul Vernon
Our company is looking for a solution to a problem we are sure is very common - We have various documents stored within our application on our internet server - our employees connect to the application to access these documents - the problem is... sometimes our employees are at client

cf_barcode height not working in Firefox:

2009-09-25 Thread Richard White
Hi we are using the tag cf_barcode and although we can change the height in IE it is not changing in firefox. The code that sets the height is as follows (note: attributes.barheight). can anyone spot what could be causing this? span

Applications and constant connection

2009-09-25 Thread Richard White
Hi Our company is looking for a solution to a problem we are sure is very common - We have various documents stored within our application on our internet server - our employees connect to the application to access these documents - the problem is... sometimes our employees are at client sites

Re: Applications and constant connection

2009-09-25 Thread Azadi Saryev
depending where you and your clients are located, you may also use one of the 'pocket wi-fi' services like verizon's wireless MiFi: http://news.digitaltrends.com/news-article/19896/verizon-wireless-mifi-lets-wi-fi-devices-tap-3g-connectivity another option is to just issue all your employees

Re: cf_barcode height not working in Firefox:

2009-09-25 Thread Azadi Saryev
see if adding display:inline-block to the span's style, or setting line-height property, helps. iirc, span, by default, is not a block-level element, and thus uses the line-height of its parent for its height... Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 25/09/2009 18:50, Richard

Re: cf_barcode height not working in Firefox:

2009-09-25 Thread Richard White
thanks for your reply, this has sorted out the height issue, although the width has increased significatly (again only in Mozilla but works fine in IE) do you know what would cause this? thanks see if adding display:inline-block to the span's style, or setting line-height property, helps.

RE: How to clear local cache when users logout

2009-09-25 Thread Imperial, Robert
I tend wrap content in a cfif SESSION.Validatedstuffcfelsesend them back to login/cfif type deal, no need to clear anything client side (even if you could). Bob -Original Message- From: Nathan Chen [mailto:nathan.c...@cu.edu] Sent: Thursday, September 24, 2009 6:54 PM To: cf-talk

Re: cftextarea richtext=true not displaying after clicking ajaxlink

2009-09-25 Thread Shadeyoj Shadeyoj
Solved. If any runs in to this quirk. I changed the cfinputs to inputs and it worked. I also noticed that if i placed the cfinputs below the textarea it worked as well. I can't get the cftextarea richtext=true to display after clicking ajaxlink (or coldfusion.navigate) The cftextarea

Its Friday please dont be mad! - checkbox which corresponded with the value?

2009-09-25 Thread Glyn Jackson
Going a bit mad! I should know how to do this but my brain is not working today when the form below is submitted if the checkbox is checked I want to update the option on the valueId (which is a hidden field) and keep looping all the results only updating option have is ticked. however

Re: Its Friday please dont be mad! - checkbox which corresponded with the value?

2009-09-25 Thread Rob Parkhill
You would give it an ID, that would correspond to the ID of the ValueID you were looping on so cfoutput cfset current = storeService.getCurrentOptions(prodID=#rc.ProdcutBean.getprodId()#,valueID=#rc.option.valueID#) !--- cfdump var=#current#--- tr td class=borderleftnbsp; input

Invoking components, methods and storing instance in application scope

2009-09-25 Thread Tony Bentley
I am building an application where I want to eliminate instantiating the same component more than once per application. I thought it would be a good idea to setup all of the methods through the application scope: application.getters = createObject(component,cfc.GetterQueries); This way I am

Re: getting min value based on inputs

2009-09-25 Thread Greg Morphis
They use it for 100+ line accounts. Umm yeah, not going to happen. Thank for your time though Brad, good solution for learning purposes. On Tue, Sep 8, 2009 at 10:51 AM, Greg Morphis gmorp...@gmail.com wrote: Thanks brad! We use Oracle but I should be able to adapt your solution to it. I'd

methods other than GET or POST

2009-09-25 Thread Claude Schneegans
Hi, I recently found in my error logs a request to a page using METHOD=OPTIONS... I didn't even know this couls exist. Apparently, thes requests are sent by Microsoft Office, in this occurrence, while receiving some CSV file. This caused an error in my system because no parameter the template

Re: Applications and constant connection

2009-09-25 Thread Richard White
thanks for your replies the 3G seems the best way to go and found there are now 3G/GPRS USB data cards, so this is a combination of both your suggestions :) thanks for your help Hi Our company is looking for a solution to a problem we are sure is very common - We have various

Re: Applications and constant connection

2009-09-25 Thread Judah McAuley
You might also take a look at developing an Air application that understands when it is online/offline. When the app is online, have it sync the remote document store to the local document store. When it is offline, just run off of whatever is in the local document store. Judah On Fri, Sep 25,

Check for Specific Numeric Date

2009-09-25 Thread Steve LaBadie
I am trying to checked that a specific number is entered into a form field. I am able stop the form from executing, but can't get the form to submit with the correct number. Any guidance would be appreciated. cfif IsDefined(form.num) AND form.num NEQ AND IsNumeric(form.num) EQ 4 cfelse

Re: Check for Specific Numeric Date

2009-09-25 Thread Charlie Griefer
isNumeric(form.num) will always evaluate to 0 (and not 4). It's a literal string (by virtue of the fact that it's enclosed in quotes). So this condition will never be true. What you want is isNumeric(form.num). Which will return true or false. So when you say isNumeric(form.num) eq 4... I'm

RE: Check for Specific Numeric Date

2009-09-25 Thread Steve LaBadie
Thanks for that Charles. All I am doing is setting up a simple math question on a form to stop the spam bots. I am not a fan of Captcha and being a public institution I need to accommodate the masses regarding accessibility. This is an interim fix until I have time to evaluate my options. Steve

Re: methods other than GET or POST

2009-09-25 Thread Dave Watts
But I see many other types of requests ( http://www.askapache.com/online-tools/request-method-scanner/ ) including MOVE, COPY or DELETE! These are used by WebDAV. If your server isn't configured to support WebDAV, it should ignore those HTTP verbs. My question: is: it safe to allow only GET

Re: methods other than GET or POST

2009-09-25 Thread Claude Schneegans
Thanks for tis clarification. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

Re: CF 8.01 Server Error IO server on server communication

2009-09-25 Thread Tracy Loi
This error is related to RDS not being enabled on server, apparently can't browse without RDS. Question answered. Thanks I'm encountered this problem when click on the browse buttom, how can I fix this problem? ~| Want

Re: methods other than GET or POST

2009-09-25 Thread Matthew Small
Hi Claude, Yes, it is safe to allow only GET and POST verbs. Be aware, limiting yourself to these verb may have unintended consequences, such as when trying execute a remote debugging session against the server (I don't know how many CFers do that). You can limit the verbs via the ISAPI

Re: CF 8.01 Server Error IO server on server communication

2009-09-25 Thread Dave Watts
This error is related to RDS not being enabled on server, apparently can't browse without RDS. Question answered. I'm encountered this problem when click on the browse buttom, how can I fix this problem? Enable RDS, as described in previous posts. Dave Watts, CTO, Fig Leaf Software

Re: CF 8.01 Server Error IO server on server communication

2009-09-25 Thread Kris Jones
This problem is not just an RDS issue. I've seen this on new installs of CF8, with RDS enabled, and cannot get the browse to work. Simply typing the path to the item works (in my case this was a DSN setup thing). Suspect this may be related to JVM version. For instance, on my localhost @ work,

Re: methods other than GET or POST

2009-09-25 Thread Matthew Small
Just a word of warning - PUT will in fact place a file on the webserver if 1) WRITE access is enabled in IIS for the folder and 2) The account used (IUSR_MACHINENAME for anonymous is default) has NTFS permissions to write to the folder. No coding necessary - just add the PUT header, a

Re: CF 8.01 Server Error IO server on server communication

2009-09-25 Thread Dave Watts
This problem is not just an RDS issue. I've seen this on new installs of CF8, with RDS enabled, and cannot get the browse to work. Simply typing the path to the item works (in my case this was a DSN setup thing). Suspect this may be related to JVM version. For instance, on my localhost @

Re: methods other than GET or POST

2009-09-25 Thread Claude Schneegans
Just a word of warning - PUT will in fact place a file on the webserver Ok, but I do not need this feature. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing

Re: methods other than GET or POST

2009-09-25 Thread Claude Schneegans
(I don't know how many CFers do that). Not me anyway ;-/ IIS Manager Right-click the website Properties Home Directory tab Configuration Button Mappings Find .cfm, .cfc and any other extensions that you are worried about for CF Edit Verbs: Limit to ... Ah ok, and I enter a list

Re: methods other than GET or POST

2009-09-25 Thread Dave Watts
Just a word of warning - PUT will in fact place a file on the webserver if 1) WRITE access is enabled in IIS for the folder and 2) The account used (IUSR_MACHINENAME for anonymous is default) has NTFS permissions to write to the folder.  No coding necessary - just add the PUT header, a

Re: methods other than GET or POST

2009-09-25 Thread Dave Watts
Ah ok, and I enter a list like GET,POST I suppose? Right. But this has to be done for every web site. I finally prefer my solution in a commonApplication.cfm which is included by every site Application.cfm Well, actually, you can do this. If you're using IIS 6 or earlier, you can

Re: WebService Axis Issues

2009-09-25 Thread Rob Brooks-Bilson
Adrian, did you ever solve this issue? I'm seeing a similar problem. From what I can tell it's an unresolved bug in Apache Axis: http://issues.apache.org/jira/browse/AXIS-2758 -Rob I get the same on CF8 and on Railo I get: org.xml.sax.SAXException: Deserializing parameter

RE: CF 8.01 Server Error IO server on server communication

2009-09-25 Thread brad
http://www.codersrevolution.com/index.cfm/2009/3/19/ColdFusion-Administrator-Why-Cant-I-Browse-The-Server Original Message Subject: Re: CF 8.01 Server Error IO server on server communication From: Tracy Loi tracy@lacity.org Date: Fri, September 25, 2009 4:40 pm To: cf-talk

(ot) Detect OS and CPU Architecture

2009-09-25 Thread Don L
Hi, Preferably do it with javascript. Did a bit of digging myself, neither navigator.userAgent nor navigator.appVersion command would suffice for the CPU part. Hmm, is javascript simply unable to or I simply don't know better? As always many thanks.

Re: (ot) Detect OS and CPU Architecture

2009-09-25 Thread Barney Boisvert
Well, windows only runs on Intel, and it states 32/64 bit in the user agent. Linux usually has an architecture in the user agent. OSX is a wildcard, but universal binaries make it no big deal if it's PPC or Intel. But to answer your question, JS is unable to determine it, and more to

Re: methods other than GET or POST

2009-09-25 Thread Judah McAuley
On Fri, Sep 25, 2009 at 4:34 PM, Dave Watts dwa...@figleaf.com wrote: Yes, PUT and DELETE are both WebDAV commands, and they'll both run if you've enabled WebDAV (the write access mentioned above) and the user's permissions are appropriate. HTTP verbs like PUT and DELETE are used in RESTful