Next and Previous on grouped output

2009-06-02 Thread Jason Congerton
Hi I have query which joins together four tables, in my output i use group to display the correct information to the screen. The query returns around 42 records of which 13 are being displayed to the screen, code below; (i'll tidy up .* when i get it working) My question is how to do next

Scheduled Tasks

2009-06-02 Thread John M Bliss
Yesterday, we noticed that the CF server v8.0.1 (apparently) was just forgetting to run some (not all) of our scheduled tasks. They were not throwing exceptions, there was nothing useful in the logs, and I could run them just fine and error-free by clicking the Run Scheduled Task icon next to

Re: Next and Previous on grouped output

2009-06-02 Thread Gerald Guido
Have you looked at this? http://paginationcfc.riaforge.org/ On Tue, Jun 2, 2009 at 7:53 AM, Jason Congerton ja...@jasoncongerton.co.ukwrote: Hi I have query which joins together four tables, in my output i use group to display the correct information to the screen. The query returns

Re: Locking Issue - Read value from APPLICATION scope write it to SESSION scope

2009-06-02 Thread Dave Watts
Acknowledged. My (admittedly conservative) approach is to prove that the app _doesn't_ need locking rather than the reverse. Don't get me wrong, I'm all in favour of eliminating both the extra coding burden as well as the overhead. That said, the docs seem to lean towards locking when in

RE: jQuery Guru guidance needed....

2009-06-02 Thread Andy Matthews
You could also create an array variable outside of your tabs setup. Then add to that. Since it's external from the tabs code, every piece of JS would be able to recognize it. script var arrProdID = []; // tabs code here /script -Original Message- From: Will Tomlinson

Re: Scheduled Tasks

2009-06-02 Thread Dave Watts
Yesterday, we noticed that the CF server v8.0.1 (apparently) was just forgetting to run some (not all) of our scheduled tasks.  They were not throwing exceptions, there was nothing useful in the logs, and I could run them just fine and error-free by clicking the Run Scheduled Task icon next

captcha

2009-06-02 Thread Chad Gray
Anyone have recommendations for CAPTCHA? I know about CFImage's captcha, but what other programming can be used to figure out if the submission was done by a human? I thought about timing the form page load and time to submission. If it took a user less than 5 seconds to fill out the form

Re: captcha

2009-06-02 Thread Rob Parkhill
Awesome form protection http://cfformprotect.riaforge.org/ http://cfformprotect.riaforge.org/Rob On Tue, Jun 2, 2009 at 9:46 AM, Chad Gray cg...@careyweb.com wrote: Anyone have recommendations for CAPTCHA? I know about CFImage's captcha, but what other programming can be used to figure

Re: Scheduled Tasks

2009-06-02 Thread John M Bliss
Sorry. That was, Cumulative Hot Fix 2 for ColdFusion 8.0.1 - http://kb2.adobe.com/cps/403/kb403781.html On Tue, Jun 2, 2009 at 8:33 AM, Dave Watts dwa...@figleaf.com wrote: Yesterday, we noticed that the CF server v8.0.1 (apparently) was just forgetting to run some (not all) of our

Re: captcha

2009-06-02 Thread Scott Weikert
Rob Parkhill wrote: Awesome form protection http://cfformprotect.riaforge.org/ I second that. I've been using CFFormProtect for a while now with good results. ~| Want to reach the ColdFusion community with something they

Re: captcha

2009-06-02 Thread Ryan Letulle
Looks nice. I'll try it to. :) -- Ryan On Tue, Jun 2, 2009 at 8:51 AM, Scott Weikert li...@alphageek.com wrote: Rob Parkhill wrote: Awesome form protection http://cfformprotect.riaforge.org/ I second that. I've been using CFFormProtect for a while now with good results.

Re: captcha

2009-06-02 Thread Claude Schneegans
Anyone have recommendations for CAPTCHA? Yes: don't use captcha. Users hate them. what other programming can be used to figure out if the submission was done by a human? -Add some hidden check value by javascript on submit. I don't thing many bots execute correctly Javascript. - Add some

Re: AddSOAPRequestHeader

2009-06-02 Thread John M Bliss
Thanks to inspiration from Ray Camden, the solution: cfset doc = XmlNew() cfset doc.ApiUserAuthHeader = XmlElemNew(ApiUserAuthHeader, namespace, ApiUserAuthHeader) cfset doc.ApiUserAuthHeader.UserName = XmlElemNew(ApiUserAuthHeader, UserName) cfset doc.ApiUserAuthHeader.UserName.XmlText = x

Consuming .net web service with Coldfusion 7

2009-06-02 Thread Hong Chen
I got Could not generate stub objects for web service invocation. error. Here is my code: !--- ready test.txt file into a binary variable --- cffile action=readBinary file=#FileName# variable=objBinaryData !--- convert the binary variable to Base64 --- cfset b64file =

Re: File to large errors when posting to CF8

2009-06-02 Thread Tom Chiverton
It appears I had a stray 'ulimit' added to the top of the start up script. No idea why it was there :-) -- Helping to seamlessly generate interdependent technologies as part of the IT team of the year, '09 and '08 Tom Chiverton Developer Tel: +44 0161 618 5032 Fax: +44 0161 618 5099

Re: Next and Previous on grouped output

2009-06-02 Thread Jason Congerton
Hi Thanks for you response, i downloaded and set up pagination.cfc, however this still uses the main query to get the total record count, when using with grouped ouput the wrong page amounts are retuned. However, i must say easy to use and setup! Jason Have you looked at this?

Re: captcha

2009-06-02 Thread Jason Fisher
I have also had decent luck with the hidden form field. In your form, put an input type=text in a div that is display: none, so the field isn't technically hidden, but a human won't see it, and then call the field something like name=lastName, something that a bot will always fill out.

Twitter stopped accepting updates

2009-06-02 Thread Curt Schryver
About a month ago, I implemented this code: CFHTTP url=http://twitter.com/statuses/update.xml; method=POST username=useridhere password=passwordhere charset=UTF-8 CFHTTPPARAM type=FORMFIELD name=user value=useridhere CFHTTPPARAM type=FORMFIELD name=password value=passwordhere

Re: Twitter stopped accepting updates

2009-06-02 Thread Casey Dougall
On Tue, Jun 2, 2009 at 11:21 AM, Curt Schryver c...@schryver.org wrote: About a month ago, I implemented this code: CFHTTP url=http://twitter.com/statuses/update.xml; method=POST username=useridhere password=passwordhere charset=UTF-8 CFHTTPPARAM type=FORMFIELD name=user value=useridhere

RE: CFDocumentitem strangeness

2009-06-02 Thread Billy Cox
For the benefit of future searchers, this problem is remedied (for CF8) by applying the CFDocument hot fix available at: http://kb2.adobe.com/cps/402/kb402584.html -Original Message- From: Billy Cox [mailto:bi...@oldworldspices.com] Sent: Monday, June 01, 2009 4:58 PM To: cf-talk

Re: Twitter stopped accepting updates

2009-06-02 Thread Curt Schryver
No, just one account. Differing text, too. I just logged into Twitter and was able to post manually but a test from my web page still doesn't appear. Do they restrict certain accounts on how they can update? ~| Want to

IIS permissions on CF files

2009-06-02 Thread Peter Boughton
If I turn off read permission for an IIS directory (virtual or normal), I can't access that in the browser (as expected), and nor can I access any directories or files within it... well, except for CFM and CFC files. :/ It appears that IIS ignores the fact that there is no read permission for

RE: IIS permissions on CF files

2009-06-02 Thread Justin Scott
Does anyone know why this is the case, and how to fix it? IIS doesn't access the files directly. It hands the request off to the ColdFusion server and it reads the files and returns the content. You would need to disable anonymous access to the file/folder in IIS to ensure the user is

Re: IIS permissions on CF files

2009-06-02 Thread Peter Boughton
Well, the user wont be authenticated, because the point is to block this directory completely on this site (it will be accessed via an entirely different domain/port). But I think the login prompt that displays with anonymous access disabled is a good enough block, (even though a straight 403

Error register asp.net web service in CF 7 admin

2009-06-02 Thread Hong Chen
We have an ASMX webservice using Visual Studio 2005 and a web application project in Visual Studio 2008 that successfully consumes the web service. But when I register the web service under CF MX 7 admin, I got the following error: Could not generate stub objects for web service invocation.

CFformprotect

2009-06-02 Thread Chad Gray
Not sure if the developer of CFFormProtect monitors this list, I could not find an email. Maybe someone else can answer my question. Can CFFormProtect use the mail server setup in CFAdmin instead of having to specify mail server settings in the cffp.ini.cfm? I tried leaving emailServer

Re: Error register asp.net web service in CF 7 admin

2009-06-02 Thread Dave Watts
We have an ASMX webservice using Visual Studio 2005 and a web application project in Visual Studio 2008 that successfully consumes the web service. But when I register the web service under CF MX 7 admin, I got the following error: Could not generate stub objects for web service invocation.

Creating MS Word Documents

2009-06-02 Thread Paul Giesenhagen
Hello all! We have a project where we need to create MS Word documents on the fly via Coldfusion - has anyone had any experience with this. We need to adhere to strict output rules for this project and wondering if just creating HTML content will be enough. Has anyone used any tool for this

RE: Creating MS Word Documents

2009-06-02 Thread Jake Churchill
Hey, Paul, long time no talk. A guy I work with just demo'd the Apache POI project recently. He was doing it for Excel 2007 formatting but it handles pretty much all Office programs. I think there is a limited version of this built into CF8 (not sure if you are using that) but depending on

Re: replace width/height values in youtube script

2009-06-02 Thread Mike Little
hi, just wondering if anyone had some ideas on how to do the above function? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

Re: Creating MS Word Documents

2009-06-02 Thread Gerald Guido
I just got done doing something like this. What I did was take a RTF document which uses a markup like HTML except for word processors and opened the document in a text editor and inserted the variables wrapped with cfoutputs where I wanted them to show up. Then I saved it as a text file and

RE: Creating MS Word Documents

2009-06-02 Thread Paul Giesenhagen
That sounds like a pretty straightforward way of doing it. We'll dig into it tomorrow. Thanks Gerald. Paul Giesenhagen QuillDesign http://www.quilldesign.com Coldfusion Shopping Cart Software -Original Message- From: Gerald Guido [mailto:gerald.gu...@gmail.com] Sent: Tuesday, June

Re: IIS permissions on CF files

2009-06-02 Thread Azadi Saryev
put an Application.cfc in that directory and add code in onRequestStart method in it to check for cgi.server_name or cgi.http_host ( or for getPageContext().getRequest().getServerName() ) and abort the request (and maybe return a 403 header) if the domain the request is coming from is not

RE: Error register asp.net web service in CF 7 admin

2009-06-02 Thread Hong Chen
Dave, Thanks for the quick reply. I logged on to the coldfusion server and was able the see the WSDL on the web browser. The project I'm working on involves coldfusion mx7, .net web services, and HP Trim. The web service I want to register sits on Trim server. When I tried to register a web

Re: jQuery Guru guidance needed....

2009-06-02 Thread Will Tomlinson
go here: http://jqueryui.com/demos/tabs/ click on Methods tab. read about the 'URL' method. presumably, your product_add.cfm page adds a product using ajax post? if so, the callback function should receive the id of newly added product and then call the url() method on the other tabs (and maybe

Re: replace width/height values in youtube script

2009-06-02 Thread Mike Little
ok, i have made an attempt at converting a php function. unfortunately it does not quite work. i think i am close ?? cffunction name=resize_markup access=public returntype=string output=false cfargument name=markup type=string required=yes cfargument name=width

Re: jQuery Guru guidance needed....

2009-06-02 Thread Azadi Saryev
a safe bet would be to define all your js in the main page (tabs.cfm). but particulars depend on your code... how are you submitting your add product form? are you using jquery (i.e. $.ajax or $.post) or are you using cf8 built-in ajax features (cfajaxproxy or ColdFusion.Ajax.submitForm())?

Re: replace width/height values in youtube script

2009-06-02 Thread Mike Little
ah i found the prob. put this at top of function: cfset var new_string = arguments.markup and the rereplace becomes: cfset new_string = REReplaceNoCase(new_string, '#patterns[idx]#', '#replacements[idx]#', 'All') ~| Want

Re: jQuery Guru guidance needed....

2009-06-02 Thread Will Tomlinson
a safe bet would be to define all your js in the main page (tabs.cfm). but particulars depend on your code... how are you submitting your add product form? are you using jquery (i.e. $.ajax or $.post) or are you using cf8 built-in ajax features (cfajaxproxy or ColdFusion.Ajax.submitForm())?

Re: Error register asp.net web service in CF 7 admin

2009-06-02 Thread Dave Watts
I got the Could not generate stub objects for web service invocation.as I posted before when I directly invoke the web service without pre register it in CF Admin. Based on your original error: Could not generate stub objects for web service invocation. Name: http:///xxx.asmx?wsdl.

Re: jQuery Guru guidance needed....

2009-06-02 Thread Azadi Saryev
Man, I have no idea what I'm doin. hehe, i often feel that way, too :) i do not know what your processProd.cfm exactly does and what it returns, but it MUST return the new product ID. in its simplest form, make sure that your processProd.cfm does not return anything but the new product id (no