Re: CF Suddenly Can't Connect to VMWare Fusion Instance of SQL Server 2005

2008-12-19 Thread Anne Porosoff
I played some more with VMWare this evening and it looks like I can't access the guest from the host at all. At this point I'm out of ideas and it seems like it might be easier just to reinstall VMWare and XP. Although I'm hoping I have an epiphany before it comes to that (grin) > Dave, > > Y

Re: CF Suddenly Can't Connect to VMWare Fusion Instance of SQL Server 2005

2008-12-19 Thread Anne Porosoff
No luck on changing the VMWare network settings. Back to square 1 =( > That's an excellent question. I had noticed that the VMWare network > settings were set to NAT but I hadn't changed them and had immediately > ruled that out as a potential cause. I'll try switching it to bridged > and se

Re: Locking Shared Variables

2008-12-19 Thread Matt Robertson
You surround code that needs to be locked with cflock and /cflock statements. Also you are using a session lock with an application var. Don't take it wrong but the manual is probably a good place to go to get a handle on this. Using Persistent Data and Locking: http://livedocs.adobe.com/coldfus

Re: finding dynamic form fields after submission

2008-12-19 Thread Matt Robertson
*sigh* where is the UnSend button? That tutorial only covers updating existing rows. Never mind :-) form.fieldnames and a little conditional logic should fix you right up. Don't forget to also exclude the form field(s) your submit button generates. -- -...@robertson-- Janitor, The Robertson

Re: CF Sum

2008-12-19 Thread James Fuller
Is there a way to do this sum within the cfoutput tag using the group attribute? I can get the total sum for the whole query, but now I need sub-totals by group. Thanks! James >! use array notation and simply do: > >arraySum(myquery['quantity']) > >Azadi Saryev >Sabai-dee.com >http://www.sab

Re: finding dynamic form fields after submission

2008-12-19 Thread Matt Robertson
That CFC is sweet! Ages ago I wrote up a complete tutorial on how to do the multi-record thing, start to finish. http://tutorial214.easycfm.com/ I used evaluate(), which is a sin, but otherwise its a pretty straightforward, basic way to get the job done. -- -...@robertson-- Janitor, The Rober

Re: IT IS TOTALLY possible to skip js with cfif

2008-12-19 Thread denstar
On Fri, Dec 19, 2008 at 12:08 PM, s. isaac dealey wrote: > It also depends upon your web server. The settings are primarily in the > webserver config, so Apache and IIS handle it differently. There was > something extra that needs to be done with an XML file in ColdFusion now > that it's on J2

Re: finding dynamic form fields after submission

2008-12-19 Thread Ravi Gehlot
Scott, What is the widget called? Ravi. Scott Stewart wrote: > Hey all, > > I have a form with one of those wonderful dynamic "ad form row" widgets. > Because of this I never will know exactly what fields will be sent for > processing... > > the original four fields in the row are called

Re: IT IS TOTALLY possible to skip js with cfif

2008-12-19 Thread Ravi Gehlot
Ian, You did shed a light. I appreciate it. Thanks, Ravi Gehlot Ian Skinner wrote: > Ravi Gehlot wrote: > >> Ian, >> >> Excellent explanation. You could not have been more clear. However, >> can you provide me with instructions in how to accomplish this? So CF >> will process the

Re: Locking Shared Variables

2008-12-19 Thread Mike Chabot
The ColdFusion manuals are really good and they are also free. I recommend looking there for a good description of locking. -Mike Chabot On Fri, Dec 19, 2008 at 4:24 PM, Steve LaBadie wrote: > I am using the Alagad Captcha Component and am not familiar with CFLOCK. > Is this correct for locking

Locking Shared Variables

2008-12-19 Thread Steve LaBadie
I am using the Alagad Captcha Component and am not familiar with CFLOCK. Is this correct for locking shared variables on the application.cfm page? Do I need to add conditional expression also? Steve LaBadie, Web Manager East Stroudsburg University 200 Prospect St. East S

Re: finding dynamic form fields after submission

2008-12-19 Thread Charlie Griefer
dude. sweet! On Fri, Dec 19, 2008 at 12:51 PM, Brian Kotek wrote: > I wrote a CFC a while back that takes form field names that use array or > structure syntax and converts them into actual arrays and structures on the > CF side (to any arbitrary level of nesting). It's handy not only for > dyn

Re: finding dynamic form fields after submission

2008-12-19 Thread Brian Kotek
I wrote a CFC a while back that takes form field names that use array or structure syntax and converts them into actual arrays and structures on the CF side (to any arbitrary level of nesting). It's handy not only for dynamic fields (no more trying to parse user_1, user_2, etc.) but also for buildi

Re: Recheck: File Upload Progress Bar

2008-12-19 Thread Martijn van der Woud
>I found a simulated solution using java script that will get me by for now. >If a file is uploaded (files are not required) the JS opens a popup window >that shows an animated gif (file loading). When the next page opens it >closes the window. That will do for now. Sometimes the users just need to

Re: finding dynamic form fields after submission

2008-12-19 Thread Aaron Rouse
I always pass a hidden form element that is a counter filled in by JS for how many fields have been added. So if I have a field named foo_1 and I add foo_2, foo3, foo_4 and take away even foo_2 my hidden counter will pass in 4. then on the processing side I do a loop over my counter, something li

Re: finding dynamic form fields after submission

2008-12-19 Thread Ian Skinner
As well as the form.fieldNames sugested by Barney and Charlie. Since the form and url scopes are structures, as are all variable scopes in CF, you can use any of the structure functions or tags to parse the data. Such as: #structKeyList(form)# OR #structKeyList(url)# OR #form[field]#

Re: finding dynamic form fields after submission

2008-12-19 Thread Judah McAuley
The way I do this is to have each form field have an underscore in it. So play_1, play_2, etc Then I'd loop over the FORM collection and do a listfirst with _ as a delimiter to figure out if I've got a play, a po, a role, etc or some random field (like submit) that I don't care about. Then append

RE: finding dynamic form fields after submission

2008-12-19 Thread Che Vilnonis
Try this... #theField# = #form[theField]# -Original Message- From: Scott Stewart [mailto:saste...@email.unc.edu] Sent: Friday, December 19, 2008 2:57 PM To: cf-talk Subject: finding dynamic form fields after submission Hey all, I have a form with one of those wonderful dynamic "

Re: finding dynamic form fields after submission

2008-12-19 Thread Charlie Griefer
you can loop over the form.fieldnames value to get the list of fields. or as your form is dynamically generating the fields, update a hidden value with the # of current fields. on the action page, loop from 1 to the value of that hidden field and generate the names dynamically (e.g. form['po' & lo

Re: finding dynamic form fields after submission

2008-12-19 Thread Barney Boisvert
form.fieldnames lists all the submitted form fields. cheers, barneyb On Fri, Dec 19, 2008 at 11:57 AM, Scott Stewart wrote: > Hey all, > > I have a form with one of those wonderful dynamic "ad form row" widgets. > Because of this I never will know exactly what fields will be sent for > processin

finding dynamic form fields after submission

2008-12-19 Thread Scott Stewart
Hey all, I have a form with one of those wonderful dynamic "ad form row" widgets. Because of this I never will know exactly what fields will be sent for processing... the original four fields in the row are called "play", "po", "role", and "year", the javascript generates "play1", "po1", "role

CF8 - Performance Issue - Abstract Cache Locks

2008-12-19 Thread Venkat Maddi
Hi, I am seeing Astract Cache locks while load testing application, ColdFusion 8. Any suggestions? JRE - 1.6.0_10 at coldfusion.util.AbstractCache.fetch(AbstractCache.java:46) - locked <0x3d58f818> (a coldfusion.util.AbstractCache$Lock) at coldfusion.util.SoftCache.get(SoftCache.j

Re: IT IS TOTALLY possible to skip js with cfif

2008-12-19 Thread s. isaac dealey
> Ravi Gehlot wrote: > > Ian, > > > > Excellent explanation. You could not have been more clear. > However, > can you provide me with instructions in how to accomplish > this? So CF > will process the request and spit HTML with a html > extension? > > > Thanks, Ravi. > > Sorry, not me personal

JS Question

2008-12-19 Thread Robert Harrison
I'm opening a popup on one page and want to close it on another page. I'm opening it with this: function progressWindow() { upbar = window.open("fileupload.htm", "upbar","status=1,scrollbars=no,resizable=no,width=320,height=130,top=280,le ft=380"); } Trying to c

Re: CF Suddenly Can't Connect to VMWare Fusion Instance of SQL Server 2005

2008-12-19 Thread Anne Porosoff
Dave, You reminded me of a couple of things I forgot to mention. I did turn off the Windows Firewall and Windows Defender to make sure they weren't the culprit and that did not solve the issue. I also tried to access the localhost on the guest from the Mac but was unable to get to the localho

Re: IT IS TOTALLY possible to skip js with cfif

2008-12-19 Thread Ian Skinner
Ravi Gehlot wrote: > Ian, > > Excellent explanation. You could not have been more clear. However, > can you provide me with instructions in how to accomplish this? So CF > will process the request and spit HTML with a html extension? > > Thanks, Ravi. Sorry, not me personally. I have never

Re: CF Suddenly Can't Connect to VMWare Fusion Instance of SQL Server 2005

2008-12-19 Thread Dave Watts
> So I have encountered a rather interesting and frustrating problem with my > CF/VMWare/SQL > Server setup on my mac this week. Everything had been working beautifully > until sometime > around December 14/15. Below is the error I receive: > > [Macromedia][SQLServer JDBC Driver]Error establish

Re: IT IS TOTALLY possible to skip js with cfif

2008-12-19 Thread Ravi Gehlot
Ian, Excellent explanation. You could not have been more clear. However, can you provide me with instructions in how to accomplish this? So CF will process the request and spit HTML with a html extension? Thanks, Ravi. Ian Skinner wrote: > Ravi Gehlot wrote: > >> Hello, >> >> I did

Re: CF Suddenly Can't Connect to VMWare Fusion Instance of SQL Server 2005

2008-12-19 Thread Anne Porosoff
That's an excellent question. I had noticed that the VMWare network settings were set to NAT but I hadn't changed them and had immediately ruled that out as a potential cause. I'll try switching it to bridged and see what happens. Thanks, --Anne > Have the VMWare network settings for that VM

Re: CF Suddenly Can't Connect to VMWare Fusion Instance of SQL Server 2005

2008-12-19 Thread Anne Porosoff
That's an excellent question. I had noticed that the VMWare network settings were set to NAT but I hadn't changed them and had immediately ruled that out as a potential cause. I'll try switching it to bridged and see what happens. Thanks, --Anne > Have the VMWare network settings for that VM

RE: CF-based freelancer time/billing system?

2008-12-19 Thread Jason Durham
Thanks for the link. I'll look into that. :) -Original Message- From: Mark Phillips [mailto:m...@vertabase.com] Sent: Friday, December 19, 2008 9:59 AM To: cf-talk Subject: Re: CF-based freelancer time/billing system? The Vertabase Timer is a free time-tracking widget in AIR (built in F

Re: IT IS TOTALLY possible to skip js with cfif

2008-12-19 Thread Ian Skinner
Claude Schneegans wrote: > As you said earlier, it is always possible to have the client request > for a .cfm file as a javascript file, > then you have the same advantage and downside, but only when necessary. That is true, and the way I would normally do it. But I will point out something I r

Re: CF-based freelancer time/billing system?

2008-12-19 Thread Mark Phillips
The Vertabase Timer is a free time-tracking widget in AIR (built in Flex). It can export data via a JSON post, XML or CSV. http://timer.vertabase.com. Sounds like it could do the time tracking component nicely then export the data whenever you need to your internal system. If you're interest

Re: Add/modify data in XML file using Coldfusion

2008-12-19 Thread Dominic Watson
Yeh, its not native functionality in ColdFusion - you'd need to download the components from http://betterxml.riaforge.org. Dominic ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Fr

Re: IT IS TOTALLY possible to skip js with cfif

2008-12-19 Thread Claude Schneegans
>>The benefit is that you could have linked JavaScript files dynamically built with CFML. The downside is that it interferes with normal browser caching of linked script and|or style files, Exact. This is why it is not advisable to pass systematically ALL js files to CF. As you said earlier, it

RE: Recheck: File Upload Progress Bar

2008-12-19 Thread Al Musella, DPM
You can try using an IFRAME for the upload file form field.. use javascript on the submit button to hide (or make really small) the iframe and replace it with a animated gif of "file uploading".. then when the next page loads, fire a javascript event to change the gif to "done!.. At 09:29 A

RE: Recheck: File Upload Progress Bar

2008-12-19 Thread Robert Harrison
I found a simulated solution using java script that will get me by for now. If a file is uploaded (files are not required) the JS opens a popup window that shows an animated gif (file loading). When the next page opens it closes the window. That will do for now. Sometimes the users just need to see

Re: Recheck: File Upload Progress Bar

2008-12-19 Thread Ryan Stille
Robert wrote: > Anyone know of a solution for either an upload progress bar (not using > flex), or at least to output a message while the file is uploading? You can show an "in progress" meter using only GIFs and JavaScript. Take a look at this article: http://www.stillnetstudios.com/2007/02/04/a

Re: Recheck: File Upload Progress Bar

2008-12-19 Thread Dan Vega
http://cfmu.riaforge.org/ Uses Flex/ColdFusion but provides a real solution. Thank You Dan Vega danv...@gmail.com http://www.danvega.org On Fri, Dec 19, 2008 at 10:02 AM, Ian Skinner wrote: > > Hopefully Adobe will address this problem soon. I'm not the only one > raising > > this issue. I co

Create igoogle or google/IG like interface with Coldfusion 8?

2008-12-19 Thread Jeff McNaughton
Anyone done this kind of thing? or seen an example of it done with Coldfusion 8? Thanks, Jeff ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.ne

Re: Recheck: File Upload Progress Bar

2008-12-19 Thread Ian Skinner
> Hopefully Adobe will address this problem soon. I'm not the only one raising > this issue. I could not find a solution in my search, but I sure found a lot > of complaints posted about this. Well, before Adobe can address this problem, the entire HTTP standard for client-server communications

Re: IT IS TOTALLY possible to skip js with cfif

2008-12-19 Thread Ian Skinner
Ravi Gehlot wrote: > Hello, > > I didn't follow this thread closely. But I am curious as to what you > guys were discussing. How would I customize my webserver settings so > that .js files are parsed by CF and why would I want to do that? I know > that JS files are only text files and as far

RE: CF Suddenly Can't Connect to VMWare Fusion Instance of SQL Server 2005

2008-12-19 Thread Craig Dudley
Have the VMWare network settings for that VM changed from bridged to NAT or vice versa? -Original Message- From: Anne Porosoff [mailto:an...@redfamiliar.com] Sent: Friday, December 19, 2008 2:44 PM To: cf-talk Subject: CF Suddenly Can't Connect to VMWare Fusion Instance of SQL Server 200

Re: Add/modify data in XML file using Coldfusion

2008-12-19 Thread N K
Hi Again, And thanks for the reply. It throws an error saying > "The selected method update was not found. Either there are no methods with the specified method name and argument types, or the method update is overloaded with arguments types that ColdFusion can't decipher reliably. If this is a

CF Suddenly Can't Connect to VMWare Fusion Instance of SQL Server 2005

2008-12-19 Thread Anne Porosoff
So I have encountered a rather interesting and frustrating problem with my CF/VMWare/SQL Server setup on my mac this week. Everything had been working beautifully until sometime around December 14/15. Below is the error I receive: [Macromedia][SQLServer JDBC Driver]Error establishing socket to

Re: IT IS TOTALLY possible to skip js with cfif

2008-12-19 Thread Ravi Gehlot
Hello, I didn't follow this thread closely. But I am curious as to what you guys were discussing. How would I customize my webserver settings so that .js files are parsed by CF and why would I want to do that? I know that JS files are only text files and as far as I know there aren't any s

RE: Recheck: File Upload Progress Bar

2008-12-19 Thread Robert Harrison
>>>I asked this some time ago and got no solutions, >Because there is no solution. >>>but maybe now. I also researched this again and still found no solutions. > because there is still no solution. Well, that's what I thought but I had to check again. Things change. Hopefully Adobe will

Re: Recheck: File Upload Progress Bar

2008-12-19 Thread Claude Schneegans
>>I asked this some time ago and got no solutions, Because there is no solution. >>but maybe now. I also researched this again and still found no solutions. because there is still no solution. Well, there are solutions, but using Flash tools. Searc for "multiple upload" AND Flash >

Re: Element SESSIONTIMEOUT is undefined in APPLICATION.

2008-12-19 Thread Ravi Gehlot
Richard, You can define your variables outside the onApplicationStart method. However, they will not be on the application scope. Usually, what I do, I set my DSN with the method onApplicationStart and then I set this.name = 'ModelGolfLLC'; this.applicationTimeOut = createTim

RE: CF-based freelancer time/billing system?

2008-12-19 Thread Jason Durham
Thanks for sharing. You make a very valid point (flexibility). I haven't jumped into the code for Project Tracker, but it seems to have a good base for me to build upon. I think I might extend the capabilities of that tool (if the licensing/author allows). Joe Danziger's blog says that he plans

Recheck: File Upload Progress Bar

2008-12-19 Thread Robert Harrison
I asked this some time ago and got no solutions, but maybe now. I also researched this again and still found no solutions. I'd like to be able to put either a file upload progress bar on a multi-part form, but I'd be happy if I could even just put an animated gif to show that something is happenin

Re: Extranet App

2008-12-19 Thread John M Bliss
I've used the following and liked it: http://www.intranetconnections.com It can be used as an extranet and/or intranet and is easy to customize if you know CFML and SQL Server. On Fri, Dec 19, 2008 at 7:39 AM, cfcom wrote: > Looking to purchase a cf extranet application, > I've looked at adobe

Extranet App

2008-12-19 Thread cfcom
Looking to purchase a cf extranet application, I've looked at adobe exchange and other cf tagstores but most are so outdated. Does anyone have a recommendation? Thanks ~| Adobe® ColdFusion® 8 software 8 is the most important and

Re: Add/modify data in XML file using Coldfusion

2008-12-19 Thread Dominic Watson
Yeh, 'update' would be the one. There should be a write() method that will write the xml to the path you supply too, so: Referencing elements is done using XPath. If you're not familiar, w3schools has a good tutorial - and/or you can post the xml and I'll give you some pointers. http://www.w3

Re: Add/modify data in XML file using Coldfusion

2008-12-19 Thread N K
Thanks You. Coudn't fine xml.updateElement.I guess it would be just Update i.e.xml.update. Is CFFILE required to write to the file.If yes how would we reference the specific element. >I have a little project on riaforge that would be perfect for this >kind of thing: > >http://betterxml.riafor

re: CF / Javascript question

2008-12-19 Thread Jenny Gavin-Wear
Yes, that is one option and would be really easy to do, just would be really sweet to do it with the scrolling div (or textarea) though. -Original Message- From: CF Developer [mailto:coldfus...@mindkeeper.net] Sent: 17 December 2008 15:22 To: cf-talk Subject: SPAM-HIGH re: CF / Javascrip

Re: Add/modify data in XML file using Coldfusion

2008-12-19 Thread Dominic Watson
I have a little project on riaforge that would be perfect for this kind of thing: http://betterxml.riaforge.org Basically, you'd do something along the lines of: It's been a while so I expect the syntax is a slight variation on that. HTH, Dominic 2008/12/19 N K : > Hi All, > > I am trying

Re: CF-based freelancer time/billing system?

2008-12-19 Thread Martijn van der Woud
>I'm looking for an inexpensive tool to keep track of time logs for side >work. Specifically, I'd like to be able to setup automated billing and >allow the customer to view progress on their project. Google landed me >on ProWorkFlow.com which seems to fit the bill, however it might be a >little

Re: CF-based freelancer time/billing system?

2008-12-19 Thread Martijn van der Woud
>I'm looking for an inexpensive tool to keep track of time logs for side >work. Specifically, I'd like to be able to setup automated billing and >allow the customer to view progress on their project. Google landed me >on ProWorkFlow.com which seems to fit the bill, however it might be a >little