Re: Application.cfc question
I ran into the same problem. I assign datasource in the application.cfm and then lose the connection string in the cfc. I believe the problem is that a cfc is intended to run in a different machine as thought it were a web service. As a result Cold Fusion does not carry the application state across the boundary even if it is on the same machine. It may be in a different process or a different thread. I do not know the cf internals well enough to know exactly why. That being said, I defined a datasource variable in the cfc and all went well. The other way to do it is to pass the application.datasource variable across as a function variable. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315810 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Where are dreamweaver's snippets held?
Yep, you were right as usual Dave. The snippets were there in my C:\Documents and Settings\Michael\Application Data\Adobe folder. All i had to do was copy the relevant snippet folders to the same folder in the new application data folder and there they were in the new DW CD4. Excellent! I wasnt looking forward to having to find and type in all my snippets again. Thanks for your help! Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On Sun, Nov 23, 2008 at 2:57 PM, Dave Watts <[EMAIL PROTECTED]> wrote: >> I'm wanting to copy my snippets across from the previous version, and >> i was just going to copy the folder across from the previous version. >> But as far as i can see, the snippets in \Adobe Dreamweaver >> CS3\configuration\Snippets are just the ones that install out of the >> box. Where will I find all the snippets that I've configured? (It's >> a default installation as far as locations are concerned). > > I don't have a machine with Dreamweaver in front of me, so this is > just a guess, but I suspect they're in your Windows profile, in the > hidden Application Data subdirectory. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > > Fig Leaf Software provides the highest caliber vendor-authorized > instruction at our training centers in Washington DC, Atlanta, > Chicago, Baltimore, Northern Virginia, or on-site at your location. > Visit http://training.figleaf.com/ for more information! -- ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315809 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Where are dreamweaver's snippets held?
> I'm wanting to copy my snippets across from the previous version, and > i was just going to copy the folder across from the previous version. > But as far as i can see, the snippets in \Adobe Dreamweaver > CS3\configuration\Snippets are just the ones that install out of the > box. Where will I find all the snippets that I've configured? (It's > a default installation as far as locations are concerned). I don't have a machine with Dreamweaver in front of me, so this is just a guess, but I suspect they're in your Windows profile, in the hidden Application Data subdirectory. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315808 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Where are dreamweaver's snippets held?
my custom CS4 snippets are in: c:\Documents and Settings\User\Application Data\Adobe\Dreamweaver CS4\en_us\configuration\snippets\ I would guess that CS3 put them somewhere similar you could do a search for .csn files HTH Rob On Sat, Nov 22, 2008 at 10:32 PM, Mike Kear <[EMAIL PROTECTED]> wrote: > I've finally downloaded the new Dreamweaver CS4 and I like it! > > I'm wanting to copy my snippets across from the previous version, and > i was just going to copy the folder across from the previous version. > But as far as i can see, the snippets in \Adobe Dreamweaver > CS3\configuration\Snippets are just the ones that install out of the > box. Where will I find all the snippets that I've configured? (It's > a default installation as far as locations are concerned). > > -- > Cheers > Mike Kear > Windsor, NSW, Australia > Adobe Certified Advanced ColdFusion Developer > AFP Webworks > http://afpwebworks.com > ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315807 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Where are dreamweaver's snippets held?
I've finally downloaded the new Dreamweaver CS4 and I like it! I'm wanting to copy my snippets across from the previous version, and i was just going to copy the folder across from the previous version. But as far as i can see, the snippets in \Adobe Dreamweaver CS3\configuration\Snippets are just the ones that install out of the box. Where will I find all the snippets that I've configured? (It's a default installation as far as locations are concerned). -- Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315806 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfwindow bug when more than one modal window on a page
Funny, I thought I replied yesterday...but the reply isn't here. Anyway, I determined that the problem stems from using cfwindow in a custom tag. You can use cfwindow multiple times in the same page successfully. When you do use it multiple times on a page, CF is smart and only inserts the associated ext libraries and javascripts once. This way CF won't be confused by the same script (and functions) being included multiple times on the page. I developed a custom tag that provides "lookup window" functionality in data entry apps. Each time you include the custom tag on a given page, CF inserts the same set of ext javascripts (and related stuff) into your page. This is the problem; the scripts no longer work correctly and CF "becomes confused". So the moral of the story is--you cannot use cfwindow in the context of a custom tag more than once on a given page. In my case, to work around this, I built my own substitute for cfwindow. It's probably 1/10th the size of all the ext-oriented gobbledygook that cf stuffs into your page, thought it doesn't provide all the functionality...but it's smaller, smarter and waay faster. Live and learn... > Are you writing the cfwindow in JS or CF? It looks like you are doing > it in CF. Try using coldfusion.window.create and set your own values > in JS. also you might want to pass something that keeps the browser > from caching the window contents. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315805 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: sql param error
One thing to bear in mind with errors thrown in the middle of a query is that the specified line number is not necessarily the problem one - it just means there's an error somewhere in the query. In this case, somewhere in the query there's an integer parameter that you're trying to insert into an ntext column. My guess is that it's this one: JeopardyExplain = as all the other Explain columns are using cfsqltype="cf_sql_longvarchar". Hope this fixes it. -- Seb Duggan Web & ColdFusion Developer e: [EMAIL PROTECTED] t: 07786 333184 w: http://sebduggan.com > Error Executing Database Query. > > [Macromedia][SQLServer JDBC Driver][SQLServer]Operand type clash: > int is > incompatible with ntext > > The error occurred in > *C:\htdocs\irb\functions\_functions_protocol_events.cfc: line 491* > *Called from* C:\htdocs\irb\proc\validate_irb_event_form3.cfm: line > 258 > *Called from* C:\htdocs\irb\proc\validate_irb_event_form3.cfm: line 1 > *Called from* C:\htdocs\irb\functions\_functions_protocol_events.cfc: > line 491 > *Called from* C:\htdocs\irb\proc\validate_irb_event_form3.cfm: line > 258 > *Called from* C:\htdocs\irb\proc\validate_irb_event_form3.cfm: line 1 > > 489 : Corrective_Explain = value="#Arguments.pCorrectiveExplain#" > cfsqltype="cf_sql_longvarchar" null="#nCorrectiveExplain#"> > 490 : > *491 : where Info_Id = value="#Arguments.pInfoId#" cfsqltype="cf_sql_integer">* > 492 : > 493 : ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315804 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Very basic/simple forum
Update: Probably one option would be to have users (all with unique identifier) to enter his/her simple unique ID for the first time, then use a state management mechanism, thereafter they no longer need credential for using the forum. So, it's just one time little hassle if you call it that way. What do you think? > I'm sure this topic has come up many times, running a quick search did > not yield a satisfactory result, hence, post it here for > thoughts/ideas. > > Requirements: > a) simple, meaning, no registration requirements (honor-based, you say > who you are you should be who are or to be banned); just thread alone, > no email notification etc. > b) nice to be free or inexpensive > c) cf-based > > Thanks. > > Don > Chunshen Li ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315803 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Application.cfc question
On Sat, Nov 22, 2008 at 8:38 AM, Dave Phillips wrote: > I have the following code. When I try to execute my URL with the > reloadConfig=yes parameter, The app fails on the first line of the > onSessionStart() function with 'application.datasource does not exist.' > Since onSessionStart is called AFTER onApplicationStart(), clearly, the > ideas? > > > > > > > AND url.reloadConfig)> > > > AND url.reloadSession)> > > Move both cfif blocks to the onRequestStart() method so they run a little bit later. Jochem ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315802 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Application.cfc question
Hi - I'm trying to use application.cfc on a new app I'm building and I'm having a strange occurrence. I'm sure it's just because I'm not as familiar with it as application.cfm, but I am trying to 'avoid' just switching back to application.cfm. Here's the issue: I have the following code. When I try to execute my URL with the reloadConfig=yes parameter, The app fails on the first line of the onSessionStart() function with 'application.datasource does not exist.' Since onSessionStart is called AFTER onApplicationStart(), clearly, the http://tag.zarts.com";> ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315801 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Easy Credit Card Processing Service?
>>if any of your customers takes it into their head to dispute the transaction, Paypal will reverse it Probably, but isn't the same with any credit card? And in our case, we sell registrations for congresses, if any one cancels his paiement, we cancel his registration, no problem. It actually happened a couple of times, except that people are not rude, they ask us to cancel their registration first, then we send them a refund. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315800 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4