Flex 7?

2009-06-04 Thread Phillip Vector
Otherwise known as CLS in Tampa, FL... Anyone have any dealings with them good or bad? Please contact me off list. Thanks. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of

Re: Strategy for exposing webservices

2009-06-04 Thread Jim Cumming
Thanks Andy, a really useful presentation. Certainly given me a lot to think about. Cheers Jim Jim... Simon Free gave an excellent presentation to the Nashville CFUG on writing public facing APIs. I'd point you that direction to get started:

XML Issues with webservices

2009-06-04 Thread Jim Cumming
Hello all. Was hoping someone could help me solve this irritating issue. Curently I have a cfc called gateway.cfc setup to recieve incoming xml, perform some operations and then pass back some xml. Here is the component cffunction name=sfrequest description=I take a method name and

Generating appopriate transaction IDs

2009-06-04 Thread Fawzi Amadu
I am building a electronic advertisement site and I need to generate transaction IDs. Since the page will hopefully be a high volume site, I am wondering the best form of generating transaction IDs. I was considering rand function, but I read that the randrange has an upper recommended upper

Re: Generating appopriate transaction IDs

2009-06-04 Thread Peter Boughton
getTickcount() or createUuid() ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

RE: [Spam?] Re: CFIF Not Working As Expected

2009-06-04 Thread Steve LaBadie
Peter, I always use cfparam but I gather that also using the StructKeyExists is more efficient. And yes agree I should be trimming as well and checking that the submit button has been pushed. Steve LaBadie, Web Manager East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa

Re: Generating appopriate transaction IDs

2009-06-04 Thread Ryan Letulle
I've been using createuuid() for a little while now and I haven't encountered any issues. I like it because you don't have as many smart asses trying to go in and change the id in the querystring. :) -- Ryan On Thu, Jun 4, 2009 at 6:28 AM, Peter Boughton bought...@gmail.com wrote:

Re: Cflayout CfMenu Problem

2009-06-04 Thread Cutter (CFRelated)
No, if you are placing the cfmenu inside a border region (like north) then the styles won't allow the submenu items to properly flow over your center region. You may be able to find the necessary css class for those sub-items and apply an overriding style definition, declaring a z-index that

RE: jquery question

2009-06-04 Thread Andy Matthews
I'll second the use of Pretty Photo. I just put it in place on my site for Flash modal windows and it works awesome. Super easy to install as well. You can see it in action here (click the watch video): http://andymatthews.net/read/2009/05/26/jQuery-and-AIR:-Creating-a-new-AIR-p roject-in-Aptana

RE: jquery question

2009-06-04 Thread Andy Matthews
Just write the contents of the textarea into the html of the target. -Original Message- From: Mike Little [mailto:m...@nzsolutions.co.nz] Sent: Wednesday, June 03, 2009 7:03 PM To: cf-talk Subject: Re: jquery question thanks guys, my question is though - how to pass formatted

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

2009-06-04 Thread Hong Chen
I have learned this is a general error message. It simply tells user that the java classes(webservice stubs) could not be created. -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Wednesday, June 03, 2009 5:10 PM To: cf-talk Subject: Re: Error register asp.net web

Re: CFHTTP Problem - is file type extension required?

2009-06-04 Thread Gerald Weir
Hello all, I've tried using cfhttpparam and it hasn't helped. The only thing that I can think of at this moment is that CF's CFHTTP doesn't properly format the request if a doc-type suffix is not present. So, since I have the following:

Re: CFHTTP Problem - is file type extension required?

2009-06-04 Thread Dave Watts
I've tried using cfhttpparam and it hasn't helped.  The only thing that I can think of at this moment is that CF's CFHTTP doesn't properly format the request if a doc-type suffix is not present.  So, since I have the following:

Re: CFHTTP Problem - is file type extension required?

2009-06-04 Thread Gerald Weir
Hello Dave, It's been a long time since I've received your advice, glad to see you're still at it and helping out. Unfortunately, it clearly doesn't work. I can - and have - repeatedly called the page using that URL from a browser and it works. It's a pretty simple request and returns very

Re: CFHTTP Problem - is file type extension required?

2009-06-04 Thread Dave Watts
Unfortunately, it clearly doesn't work. I can - and have - repeatedly called the page using that URL from a browser and it works.  It's a pretty simple request and returns very simple HTML code.  I've made a copy of the request response and saved it as a simple HTML file on the same

Re: CFHTTP Problem - is file type extension required?

2009-06-04 Thread Brad Wood
Gerald, What do you mean when you say it doesn't work? Does the remote server respond? What HTTP status code comes back? What is in the body of the response? I would recommend installing a packet sniffer like wireshark. Install it on your CF server and run your browser tests from there.

reducing a query result

2009-06-04 Thread Chad Gray
Say I have a query returned with 500 records. Is there a way in CF (not SQL) to reduce the query to only rows 1-50, 51-100 etc? I talking physically reducing the query object. ~| Want to reach the ColdFusion community with

RE: reducing a query result

2009-06-04 Thread Adrian Lynch
Query the query using the same query variable name. Adrian -Original Message- From: Chad Gray [mailto:cg...@careyweb.com] Sent: 04 June 2009 16:07 To: cf-talk Subject: reducing a query result Say I have a query returned with 500 records. Is there a way in CF (not SQL) to

RE: reducing a query result

2009-06-04 Thread Chad Gray
Oh ya... duh. I kept thinking of using functions to do it. Guess I need another cup of coffee. Thanks! -Original Message- From: Adrian Lynch [mailto:cont...@adrianlynch.co.uk] Sent: Thursday, June 04, 2009 11:11 AM To: cf-talk Subject: RE: reducing a query result Query the

Re: reducing a query result

2009-06-04 Thread Alan Rother
Hey Chad, It's kind of an odd questions. Can you tell us what you are trying to accomplish? So often on these lists people ask about their solution, not their problem... I'm guess you don't really want to reduce the query, you don't want it to dump out 500 records on a page. Instead you want

RE: reducing a query result

2009-06-04 Thread Chad Gray
Ya it was a pagination thing, but I thought of a better solution using CSS and a better query. I posted before I thoroughly thought it out. Thanks though! -Original Message- From: Alan Rother [mailto:alan.rot...@gmail.com] Sent: Thursday, June 04, 2009 11:17 AM To: cf-talk

Re: reducing a query result

2009-06-04 Thread Alan Rother
Coolio... If you ever need my good friend Nathan Strutz wrote a great tool for pagination http://www.dopefly.com/projects/pagination/ Sure saves a lot of time... http://www.dopefly.com/projects/pagination/=] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix

Re: reducing a query result

2009-06-04 Thread Ryan Letulle
All I can say is wow! -- Ryan On Thu, Jun 4, 2009 at 10:24 AM, Alan Rother alan.rot...@gmail.com wrote: Coolio... If you ever need my good friend Nathan Strutz wrote a great tool for pagination http://www.dopefly.com/projects/pagination/ Sure saves a lot of time...

Re: reducing a query result

2009-06-04 Thread Brad Wood
If you are looping over the query with a cfoutput tag, you can specify the startRow and maxRows attribute to make pagination easy. That actually modify the query object though. The easiest way to pare down a result set is with a query of queries which lets you run SQL commands against a

Re: reducing a query result

2009-06-04 Thread Gerald Guido
+ 1 billion for pagination.cfc It just works. But for the record blockfactor maxrows can be used to limit the number of rows returned. On Thu, Jun 4, 2009 at 11:24 AM, Alan Rother alan.rot...@gmail.com wrote: Coolio... If you ever need my good friend Nathan Strutz wrote a great tool for

RE: reducing a query result

2009-06-04 Thread Andy Matthews
If you're using mySQL, then look into the LIMIT keyword: SELECT [columns] FROM [tableName] LIMIT [totalRecords], [startingRow] This way you ONLY get the data you want. You could easily tie this into a data grid via Ext (or jQuery) so that new pages call only the data for that page. Here's one

Re: reducing a query result

2009-06-04 Thread Ryan Stille
You can do something similar with SQL Server 2005 http://www.stillnetstudios.com/2008/11/12/pagination-mssql-2005/ -Ryan Andy Matthews wrote: If you're using mySQL, then look into the LIMIT keyword: SELECT [columns] FROM [tableName] LIMIT [totalRecords], [startingRow] This way you ONLY

Re: CFHTTP Problem - is file type extension required?

2009-06-04 Thread Gerald Weir
I'll include the whole get-go here and see if anyone sees anything else. The server was disconnected accidentally for the last 2 hours so I got behind on my posts. Here is the URL and the result from a browser: http://server.somewhere.com/websvc/util?a=doHTMLRequestevent=workgroupstat

RE: Generating appopriate transaction IDs

2009-06-04 Thread Justin Scott
getTickcount() or createUuid() You'll run into dupes pretty quickly by using getTickCount() since it resets back to 1 every time the server restarts. Not recommended. CreateUUID() would work much better if you don't want integer only IDs. -Justin

RE: Generating appopriate transaction IDs

2009-06-04 Thread Jason Fisher
The other benefit of createUUID() is that you can later split / combine records from different tables if you ever need to, such as pulling production records down to review in development ... no integer clashes when you've got fully unique values across the tables and datasources.

Re: Generating appopriate transaction IDs

2009-06-04 Thread Alan Rother
Just as a note, CreateUUID does have a downside http://kb2.adobe.com/cps/190/tn_19007.html http://kb2.adobe.com/cps/190/tn_19007.htmlEspecially if it's on a very high volume site. Not sure if this has been addressed in later versions of CF. =] -- Alan Rother Adobe Certified Advanced

Re: CFHTTP Problem - is file type extension required?

2009-06-04 Thread Matt Williams
I usually just do a cfdump of the cfhttp variable. If you aren't getting what you expect then you've either got the wrong url or are not passing something correctly. You may need to be grabbing a cookie from an earlier landing page and passing that back as part of the cfhttp request. And

Re: XML Issues with webservices

2009-06-04 Thread Matt Williams
And what are the errors? Are you sure the xml is still valid? I have recently worked with a couple of webservices talking in XML. I have generally returned things as a string as opposed to type=xml. Just something else to try. -Matt Hello all. Was hoping someone could help me solve this

Re: CFHTTP Problem - is file type extension required?

2009-06-04 Thread Dave Watts
I'll include the whole get-go here and see if anyone sees anything else.  The server was disconnected accidentally for the last 2 hours so I got behind on my posts. Here is the URL and the result from a browser: That's not the whole get-go. Where are the HTTP request and response

Re: Generating appopriate transaction IDs

2009-06-04 Thread Jason Fisher
Looks like that was fixed in JVM 1.3.1_04 ... and CF 8 is shipped with 1.6.0_4, with the recommendation to upgrade to 1.6.0_11 or higher, so I think we're OK on the server clock issue (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4500388). Fascinating, though.

Re: CFHTTP Problem - is file type extension required?

2009-06-04 Thread Gerald Weir
Dave, Is this what you need? I'm beginning to think that it is a security setting on the web service itself. Like an access setting in a cffunction. I'm not sure how the web service is constructed - it's not CFM. -

RE: CFHTTP Problem - is file type extension required?

2009-06-04 Thread brad
Gerald, We're still missing one more thing. That is what the request headers look like when your CF server makes its CFHTTP call. You need to know what that looks like so you can find the differences. Install MS Fiddler, go to its Request Builder tab and paste in these exact headers your

Re: Generating appopriate transaction IDs

2009-06-04 Thread Peter Boughton
it resets back to 1 every time the server restarts. Huh? I was under the impression it was number of milliseconds since the unix epoch (1-Jan-1970). Certainly that's what Railo is returning, and no resetting after restart there. I'm 99% certain that CF7 acts in the same way. The CF docs are

Re: Generating appopriate transaction IDs

2009-06-04 Thread Ryan Stille
I just fired up Tomcat and tried getTickCount() on all 3 CFML engines within a second or two of each other. OpenBD: 276282Railo: 1244157288529cfusion: 1244157287685 Running date +%s on my linux box gives me 1244157286 so it looks like cfusion and Railo do indeed return milliseconds since the

Re: Generating appopriate transaction IDs

2009-06-04 Thread Ryan Stille
Eh sorry my webmail sucks, lets see if this one comes through formatted better. __ I just fired up Tomcat and tried getTickCount() on all 3 CFML engines within a second or two of each other. OpenBD: 276282 Railo: 1244157288529

Re: ColdFusio 8.0.1 cfinput binded variable truncating off leading zero in a text string?

2009-06-04 Thread Dennis House of Fusion
The zero is not missing going into the query its missing going back to the cfinput text box. If I dump the CFC results the leading zero is there. Something is happening with the bind output results. heres a seriously STUPID way of having to het this done... This fn will ensure a leading

Re: ColdFusio 8.0.1 cfinput binded variable truncating off leading zero in a text string?

2009-06-04 Thread Dennis House of Fusion
The zero is not missing going into the query its missing going back to the cfinput text box. If I dump the CFC results the leading zero is there. Something is happening with the bind output results. heres a seriously STUPID way of having to het this done... This fn will ensure a leading

RE: Generating appopriate transaction IDs

2009-06-04 Thread Justin Scott
Railo: 1244157288529 cfusion: 1244157287685 I was remembering back in the CF4/5 days where it returned the ms count since the application server was started. Or maybe my memory is starting to go (ack!). Good to know for the future. -Justin

Need a fresh perspective

2009-06-04 Thread Ben Densmore
I've been working on an event scheduling application for the past 2 weeks. I'm pretty close to wrapping it up but have now run into an issue on my last part of the display. I'm thinking my data model might be the issue and would like to get some ideas from people on how I might be able to fix it.