Re: URGENT : How to Detect screen resolution in COLDFUSION?
Good point. A simple unobtrusive way to do this is to provide a "Desktop Version" link in the footer of the mobile version which resets the session vars to desktop. Putting a popup or interstitial screen is pretty annoying in my pov and having a link in the footer is pretty common these days (for those sites that offer it.) On 12/23/12 10:49 PM, Steve Durette wrote: > One thing you may want to consider is giving the user an option. Sometime the > user doesn't want your mobile version even though they are mobile. I find > sites all the time where I'm given a mobile website that doesn't work as well > as the desktop version. Sometimes even when they give me the option of using > the desktop version the first link I click throws me back into the mobile > version. As a mobile user give me the option and follow my wishes as to how I > want to use the site. If you want me to buy something from your site, the > easiest way to push me to the competition is to force me into what you think > is best. > > Just my 2 cents as a mobile user. > > Sent from my iPhone > > On Dec 23, 2012, at 11:34 PM, The Dude wrote: > >> Claude and Kevin, you are gentlemen and scholars. It worked with virtually >> negligible delay in the redirect. >> >> Its a workable solution for getting the screen vars and loading appropriate >> size jpg images on that basis for mobile. Thank you for your input. >> > It seems there's no way to avoid the 2nd step either redirect or >>> form post. >>> >>> The problem is not with using POST or GET, the problem is using Ajax. >>> Ajax is good for many things, but not for this one. >>> Just as you first attempt did, the Ajax call will be performed from >>> client side, AFTER the templated is executed and the page read by the >>> browser. >>> You cannot do it without executing two steps, but wit redirection, the >>> first step to get the values from the client is invisible for the user. >>> >>> >>> Try my code, there are two steps, but you only see one. >>> You can make a POST version of the same idea if >>> 1. you do not like the idea of having parameters visible in the url, >>> 2. you have other parameters to pass to the template. >>> >>> Try this code, same idea using a form for redirection: >>> >>> >>> >>> >>> >>> >>> >>> >>> document.redirectForm.screenWidth.value = screen.width; >>> document.redirectForm.screenHeight.value = screen.height; >>> document.redirectForm.action = window.location.href; >>> document.redirectForm.submit(); >>> >>> >>> >>> >>> >>> >>> >>> >>> >> > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353664 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT : How to Detect screen resolution in COLDFUSION?
One thing you may want to consider is giving the user an option. Sometime the user doesn't want your mobile version even though they are mobile. I find sites all the time where I'm given a mobile website that doesn't work as well as the desktop version. Sometimes even when they give me the option of using the desktop version the first link I click throws me back into the mobile version. As a mobile user give me the option and follow my wishes as to how I want to use the site. If you want me to buy something from your site, the easiest way to push me to the competition is to force me into what you think is best. Just my 2 cents as a mobile user. Sent from my iPhone On Dec 23, 2012, at 11:34 PM, The Dude wrote: > > Claude and Kevin, you are gentlemen and scholars. It worked with virtually > negligible delay in the redirect. > > Its a workable solution for getting the screen vars and loading appropriate > size jpg images on that basis for mobile. Thank you for your input. > It seems there's no way to avoid the 2nd step either redirect or >> form post. >> >> The problem is not with using POST or GET, the problem is using Ajax. >> Ajax is good for many things, but not for this one. >> Just as you first attempt did, the Ajax call will be performed from >> client side, AFTER the templated is executed and the page read by the >> browser. >> You cannot do it without executing two steps, but wit redirection, the >> first step to get the values from the client is invisible for the user. >> >> >> Try my code, there are two steps, but you only see one. >> You can make a POST version of the same idea if >> 1. you do not like the idea of having parameters visible in the url, >> 2. you have other parameters to pass to the template. >> >> Try this code, same idea using a form for redirection: >> > >> > >> > >> > >> > >> > >> > >> > >> document.redirectForm.screenWidth.value = screen.width; > >> document.redirectForm.screenHeight.value = screen.height; > >> document.redirectForm.action = window.location.href; > >> document.redirectForm.submit(); > >> > >> > >> > >> > >> >> >> >> >> > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353663 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT : How to Detect screen resolution in COLDFUSION?
Claude and Kevin, you are gentlemen and scholars. It worked with virtually negligible delay in the redirect. Its a workable solution for getting the screen vars and loading appropriate size jpg images on that basis for mobile. Thank you for your input. > >>It seems there's no way to avoid the 2nd step either redirect or > form post. > > The problem is not with using POST or GET, the problem is using Ajax. > Ajax is good for many things, but not for this one. > Just as you first attempt did, the Ajax call will be performed from > client side, AFTER the templated is executed and the page read by the > browser. > You cannot do it without executing two steps, but wit redirection, the > first step to get the values from the client is invisible for the user. > > > Try my code, there are two steps, but you only see one. > You can make a POST version of the same idea if > 1. you do not like the idea of having parameters visible in the url, > 2. you have other parameters to pass to the template. > > Try this code, same idea using a form for redirection: > > > > > > > > > document.redirectForm.screenWidth.value = screen.width; > document.redirectForm.screenHeight.value = screen.height; > document.redirectForm.action = window.location.href; > document.redirectForm.submit(); > > > > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353662 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT : How to Detect screen resolution in COLDFUSION?
>>It seems there's no way to avoid the 2nd step either redirect or form post. The problem is not with using POST or GET, the problem is using Ajax. Ajax is good for many things, but not for this one. Just as you first attempt did, the Ajax call will be performed from client side, AFTER the templated is executed and the page read by the browser. You cannot do it without executing two steps, but wit redirection, the first step to get the values from the client is invisible for the user. Try my code, there are two steps, but you only see one. You can make a POST version of the same idea if 1. you do not like the idea of having parameters visible in the url, 2. you have other parameters to pass to the template. Try this code, same idea using a form for redirection: document.redirectForm.screenWidth.value = screen.width; document.redirectForm.screenHeight.value = screen.height; document.redirectForm.action = window.location.href; document.redirectForm.submit(); ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353661 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Importing multiple name and email addresses in a form text field
That's fairly straight forward to extract and handle the data. Only tricky bit is if the person entering the data doesn't put a comma at the end of a line. I may just stick with excel spreadsheet imports. >Its just a list of values so you can cfloop over them. > >Regards >Russ Michaels >www.michaels.me.uk >www.cfmldeveloper.com - Free CFML hosting for developers >www.cfsearch.com - CF search engine >On Dec 24, 2012 1:56 AM, "The Dude" wrote: > >> ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353660 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT : How to Detect screen resolution in COLDFUSION?
Add code in your Application.cfc onSessionStart() method, that makes sure the default session variables exist right when the session starts. You can also test for the session in onRequestStart() ,and call the onSessionStart() method if they don't exist. On Sun, Dec 23, 2012 at 8:51 PM, The Dude wrote: > > I put a refresh tag below the script within conditions. It works, but > still not ideal. It seems there's no way to avoid the 2nd step either > redirect or form post. > > > > var theData= "screenWidth=" + screen.width+ > "&screenHeight="+screen.height; > > $.ajax({ > type: "POST", > url: "/ajax.cfc?method=myMethod", > data: theData, > datatype: "json", > success: function(){} > }); > > > > > Test page is: > > http://exelstudio.com/test5.cfm > > > > >>When I first loaded the page I received an error, after I refreshed > > the > > error went away. > > > > This method won't work either, because the Ajax function will be > > executed after the output of the page is already on client side. > > This is why you get an error at the first call. So you have to call > > the template two times so it can use the session variable. > > Furthermore, I'm not sure the Ajax function will use the same session > > as the calling program. > > > > > > A better way would be to use redirection. Example: > > > > > > > > > > > window.location.href += "?sw=" + screen.width + "&sh=" + screen. > > height > > > > > > > > > > > > > > > > > > > > > > > You could also work out a POST method version using a FORM to transmit > > the values and the submit() function to redirect. > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353659 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: AJAX Issue
You are most welcome. On Sun, Dec 23, 2012 at 5:14 PM, Bruce Sorge wrote: > > Thanks for the Video Ray. It was very helpful for debugging another part > of this site. Finally finished it though bug free and functions the way I > want. > > Bruce > On Dec 20, 2012, at 9:55 PM, Raymond Camden > wrote: > > > > > Here is a video demonstrating chrome dev tools: > > > > > http://www.raymondcamden.com/index.cfm/2011/6/15/Example-of-using-Chrome-Dev-tools-to-solve-Ajax-issues > > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353658 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Importing multiple name and email addresses in a form text field
Its just a list of values so you can cfloop over them. Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Dec 24, 2012 1:56 AM, "The Dude" wrote: > > Does anyone know of a good way to import multiple firstname, lastname, > email from a form text field. Its for an email application for end users to > enter multiple subscribers. i.e. form field content: > > John, Doe, j...@doe.com > Mary, Doe, m...@doe.com > Roofus, Doofus, roo...@doofus.com > > I'm using an excel spreadsheet import process at the moment, but the > client would also like affiliates to add in their opt in invite contacts > directly in a form field. > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353657 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Importing multiple name and email addresses in a form text field
Does anyone know of a good way to import multiple firstname, lastname, email from a form text field. Its for an email application for end users to enter multiple subscribers. i.e. form field content: John, Doe, j...@doe.com Mary, Doe, m...@doe.com Roofus, Doofus, roo...@doofus.com I'm using an excel spreadsheet import process at the moment, but the client would also like affiliates to add in their opt in invite contacts directly in a form field. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353656 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT : How to Detect screen resolution in COLDFUSION?
I put a refresh tag below the script within conditions. It works, but still not ideal. It seems there's no way to avoid the 2nd step either redirect or form post. var theData= "screenWidth=" + screen.width+ "&screenHeight="+screen.height; $.ajax({ type: "POST", url: "/ajax.cfc?method=myMethod", data: theData, datatype: "json", success: function(){} }); Test page is: http://exelstudio.com/test5.cfm > >>When I first loaded the page I received an error, after I refreshed > the > error went away. > > This method won't work either, because the Ajax function will be > executed after the output of the page is already on client side. > This is why you get an error at the first call. So you have to call > the template two times so it can use the session variable. > Furthermore, I'm not sure the Ajax function will use the same session > as the calling program. > > > A better way would be to use redirection. Example: > > > > window.location.href += "?sw=" + screen.width + "&sh=" + screen. > height > > > > > > > > > You could also work out a POST method version using a FORM to transmit > the values and the submit() function to redirect. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353655 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re:_Re:_URGENT_:_How_to_Detect_screen_resolution_in_COLDFUSION?
Thanks for your email. I am currently out of the office until Wednesday 2nd January 2013. Our offices are closed for the Christmas and New Year Holidays. For immediate assistance please contact on the email and numbers below and one of the team will be in touch as soon as possible. For out of hours support please dial +44 (0)1908 919 089 and leave a detailed message, or send an email to the relevant address as listed below. Content Enquiries - cont...@melodimedia.co.uk Sales - sa...@melodimedia.co.uk Technical - techni...@melodimedia.co.uk Support - supp...@melodimedia.co.uk Many thanks. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353654 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT : How to Detect screen resolution in COLDFUSION?
>>When I first loaded the page I received an error, after I refreshed the error went away. This method won't work either, because the Ajax function will be executed after the output of the page is already on client side. This is why you get an error at the first call. So you have to call the template two times so it can use the session variable. Furthermore, I'm not sure the Ajax function will use the same session as the calling program. A better way would be to use redirection. Example: window.location.href += "?sw=" + screen.width + "&sh=" + screen.height You could also work out a POST method version using a FORM to transmit the values and the submit() function to redirect. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353653 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: AJAX Issue
Thanks for the Video Ray. It was very helpful for debugging another part of this site. Finally finished it though bug free and functions the way I want. Bruce On Dec 20, 2012, at 9:55 PM, Raymond Camden wrote: > > Here is a video demonstrating chrome dev tools: > > http://www.raymondcamden.com/index.cfm/2011/6/15/Example-of-using-Chrome-Dev-tools-to-solve-Ajax-issues > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353652 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ACF8 server service fails to restart
No worries. Thanks for the advice. On Sun, Dec 23, 2012 at 4:02 PM, Russ Michaels wrote: > > typo, I was on my phone.. should have just said "related" > > > On Sun, Dec 23, 2012 at 9:58 PM, John M Bliss > wrote: > > > > > Oh. Right. You wrote, ".xf related." Didn't know what that meant. I'll > try > > it... > > > > > > On Sun, Dec 23, 2012 at 3:55 PM, Russ Michaels > > wrote: > > > > > > > > if you look under windows services you will see several others next to > > > coldfusion application server with the word "coldfusion" in front of > > them. > > > > > > > > > > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353651 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ACF8 server service fails to restart
typo, I was on my phone.. should have just said "related" On Sun, Dec 23, 2012 at 9:58 PM, John M Bliss wrote: > > Oh. Right. You wrote, ".xf related." Didn't know what that meant. I'll try > it... > > > On Sun, Dec 23, 2012 at 3:55 PM, Russ Michaels > wrote: > > > > > if you look under windows services you will see several others next to > > coldfusion application server with the word "coldfusion" in front of > them. > > > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353650 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ACF8 server service fails to restart
Oh. Right. You wrote, ".xf related." Didn't know what that meant. I'll try it... On Sun, Dec 23, 2012 at 3:55 PM, Russ Michaels wrote: > > if you look under windows services you will see several others next to > coldfusion application server with the word "coldfusion" in front of them. > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353649 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ACF8 server service fails to restart
if you look under windows services you will see several others next to coldfusion application server with the word "coldfusion" in front of them. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353648 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ACF8 server service fails to restart
".xf related services?" What are those? On Dec 23, 2012 8:55 AM, "Russ Michaels" wrote: > > Try also restarting iis and other.xf related services first. > > Regards > Russ Michaels > www.michaels.me.uk > www.cfmldeveloper.com - Free CFML hosting for developers > www.cfsearch.com - CF search engine > On Dec 23, 2012 12:34 PM, "John M Bliss" wrote: > > > > > Yes, I'm sure the service is not actually running. > > > > > > On Sun, Dec 23, 2012 at 4:38 AM, Russ Michaels > > wrote: > > > > > > > > Are u sure cf is not actually running, it seems it may be the service > > > atatus which the only thing at fault here as the logs show it started.. > > > > > > Regards > > > Russ Michaels > > > www.michaels.me.uk > > > www.cfmldeveloper.com - Free CFML hosting for developers > > > www.cfsearch.com - CF search engine > > > On Dec 22, 2012 11:32 PM, "John M Bliss" wrote: > > > > > > > > > > > Those are the logs during the long, failed start. The next items in > the > > > > logs are the rows for the successful start that happens after I wait > > for > > > it > > > > to stop trying to start. > > > > On Dec 22, 2012 6:17 PM, "Russ Michaels" > wrote: > > > > > > > > > > > > > > I'm not seeing any issues there, those logs are showing everything > > > > starting > > > > > up fine within 1 minute. > > > > > when your starting the service, close the status dialog so it > doesn't > > > > > timeout and to see if it finally starts if you wait. > > > > > The logs we need to see are during the long period where you were > > > waiting > > > > > for it to start. > > > > > If it is stopping that is the problem then kill the process from > task > > > > > manager instead. > > > > > > > > > > Regards > > > > > Russ Michaels > > > > > www.michaels.me.uk > > > > > www.cfmldeveloper.com - Free CFML hosting for developers > > > > > www.cfsearch.com - CF search engine > > > > > On Dec 22, 2012 10:10 PM, "John M Bliss" > > wrote: > > > > > > > > > > > > > > > > > Here're log lines from failed start. See it? > > > > > > > > > > > > coldfusion-event.log > > > > > > > > > > > > 12/22 12:30:21 info No JDBC data sources have been configured for > > > this > > > > > > server (see jrun-resources.xml) > > > > > > 12/22 12:30:21 info JRun Proxy Server listening on *:51800 > > > > > > 12/22 12:30:21 info Deploying enterprise application > > > > "Adobe_ColdFusion_8" > > > > > > from: file:/C:/ColdFusion8/ > > > > > > 12/22 12:30:21 error There is no web application configured to > > > service > > > > > your > > > > > > request > > > > > > 12/22 12:30:21 user NoWebappServlet: init > > > > > > 12/22 12:30:21 info Deploying web application "Adobe ColdFusion > 8" > > > > from: > > > > > > file:/C:/ColdFusion8/ > > > > > > 12/22 12:30:22 error There is no web application configured to > > > service > > > > > your > > > > > > request > > > > > > 12/22 12:30:25 user FusionReactor Framework Host Manager - > > > Initializing > > > > > > 12/22 12:30:25 user INFO FusionReactor FW: Initializing > framework. > > > > > > 12/22 12:30:25 user INFO FusionReactor FW: Loading Framework > > > > > Configuration > > > > > > from > > > > > > > > > > > > C:\FusionReactor\instance\coldfusion.cfmx8.179311-WEB2\osgi\fr-osgi.conf > > > > > > 12/22 12:30:25 user INFO Logging at level INFO > > > > > > 12/22 12:30:25 user INFO FusionReactor FW: > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > 12/22 12:30:25 user INFO FusionReactor FW: FusionReactor - > > Copyright > > > > (C) > > > > > > Intergral GmbH. All Rights Reserved > > > > > > 12/22 12:30:25 user INFO FusionReactor FW: Revision: > > > > fusionreactor-core > > > > > > 4.5.0 > > > > > > 12/22 12:30:25 user INFO FusionReactor FW: > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > 12/22 12:30:26 user INFO FusionReactor FW: Installing AutoStart > > > > bundles. > > > > > > 12/22 12:30:26 user INFO FusionReactor FW: Installing Plugin > > bundles. > > > > > > 12/22 12:30:26 user INFO FusionReactor FW: Bootstrap: Ascending > to > > > > > runlevel > > > > > > 2 > > > > > > 12/22 12:30:27 user INFO FusionReactor FW: Bootstrap: Runlevel 2 > > > > > achieved. > > > > > > 12/22 12:30:27 user INFO FusionReactor Licensing configuration is > > up > > > to > > > > > > date. > > > > > > 12/22 12:30:27 user INFO FusionReactor FW: FusionReactor platform > > > type > > > > > is: > > > > > > 2, Standard > > > > > > 12/22 12:30:27 user INFO FusionReactor FW: Bootstrap: Ascending > to > > > > > runlevel > > > > > > 10 > > > > > > 12/22 12:30:28 user INFO FR Core: Core component activating. > > > > > > 12/22 12:30:28 user INFO FR Core: FusionReactor Rev. 4.5.0, > Build: > > > > > > FusionReactor.1903.25021 > > > > > > 12/22 12:30:28 user INFO FR Core: Initializing help > > > > > > 12/22 12:30:28 user INFO FR Core: Initializing configuration >
Re: ArgoUML and CFC's
I use StarUML now, have a code generator that creates CFCs. If your still looking for a tool that creates CFC from your UML, I found that it works great. Armando >Hi all: > >I downloaded ArgoUML to create Class Diagram...I'd like to generate ArgoUML >Class Diagram to CFC. >Any help ? > >Regards, > >__ >M.Sc. Hassan Arteaga Rodríguez >Microsoft Certified System Engineer >IT Specialist >DIGI Grupo de Desarrollo. COPEXTEL, S.A. > >Este email y sus adjuntos está dirigido solamente a los destinatarios >consignados en el mismo y debe ser considerado confidencial. Si Ud. no es el >destinatario consignado o la persona responsable de entregar/enviar el >presente, no podrá copiarlo o entregarlo/enviarlo a ninguna otra persona ni >utilizar el mismo en forma no autorizada. Dichas acciones están prohibidas y >pueden ser consideradas ilegales. Si Ud. recibiese este email por error, por >favor comuníquelo de inmediato al emisor del mismo. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353646 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ArgoUML and CFC's
>> I downloaded ArgoUML to create Class Diagram...I'd like to generate ArgoUML >> Class Diagram to CFC. > >There are no UML -> CFC tools on the market right now. You *might* be >able to save your UML as XMI and use an XMI -> CFC converter. There >was a prototype version of one of those floating around somewhere (but >it didn't work with any of the XMI formats I tried so YMMV). Google is >your friend so start there - I don't have more precise details. >-- >Sean A Corfield -- http://www.corfield.org/ >Team Fusebox -- http://www.fusebox.org/ >Breeze Me! -- http://www.corfield.org/breezeme >Got Gmail? -- I have 50, yes 50, invites to give away! > >"If you're not annoying somebody, you're not really alive." >-- Margaret Atwood ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353645 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ACF8 server service fails to restart
Try also restarting iis and other.xf related services first. Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Dec 23, 2012 12:34 PM, "John M Bliss" wrote: > > Yes, I'm sure the service is not actually running. > > > On Sun, Dec 23, 2012 at 4:38 AM, Russ Michaels > wrote: > > > > > Are u sure cf is not actually running, it seems it may be the service > > atatus which the only thing at fault here as the logs show it started.. > > > > Regards > > Russ Michaels > > www.michaels.me.uk > > www.cfmldeveloper.com - Free CFML hosting for developers > > www.cfsearch.com - CF search engine > > On Dec 22, 2012 11:32 PM, "John M Bliss" wrote: > > > > > > > > Those are the logs during the long, failed start. The next items in the > > > logs are the rows for the successful start that happens after I wait > for > > it > > > to stop trying to start. > > > On Dec 22, 2012 6:17 PM, "Russ Michaels" wrote: > > > > > > > > > > > I'm not seeing any issues there, those logs are showing everything > > > starting > > > > up fine within 1 minute. > > > > when your starting the service, close the status dialog so it doesn't > > > > timeout and to see if it finally starts if you wait. > > > > The logs we need to see are during the long period where you were > > waiting > > > > for it to start. > > > > If it is stopping that is the problem then kill the process from task > > > > manager instead. > > > > > > > > Regards > > > > Russ Michaels > > > > www.michaels.me.uk > > > > www.cfmldeveloper.com - Free CFML hosting for developers > > > > www.cfsearch.com - CF search engine > > > > On Dec 22, 2012 10:10 PM, "John M Bliss" > wrote: > > > > > > > > > > > > > > Here're log lines from failed start. See it? > > > > > > > > > > coldfusion-event.log > > > > > > > > > > 12/22 12:30:21 info No JDBC data sources have been configured for > > this > > > > > server (see jrun-resources.xml) > > > > > 12/22 12:30:21 info JRun Proxy Server listening on *:51800 > > > > > 12/22 12:30:21 info Deploying enterprise application > > > "Adobe_ColdFusion_8" > > > > > from: file:/C:/ColdFusion8/ > > > > > 12/22 12:30:21 error There is no web application configured to > > service > > > > your > > > > > request > > > > > 12/22 12:30:21 user NoWebappServlet: init > > > > > 12/22 12:30:21 info Deploying web application "Adobe ColdFusion 8" > > > from: > > > > > file:/C:/ColdFusion8/ > > > > > 12/22 12:30:22 error There is no web application configured to > > service > > > > your > > > > > request > > > > > 12/22 12:30:25 user FusionReactor Framework Host Manager - > > Initializing > > > > > 12/22 12:30:25 user INFO FusionReactor FW: Initializing framework. > > > > > 12/22 12:30:25 user INFO FusionReactor FW: Loading Framework > > > > Configuration > > > > > from > > > > > > > > > C:\FusionReactor\instance\coldfusion.cfmx8.179311-WEB2\osgi\fr-osgi.conf > > > > > 12/22 12:30:25 user INFO Logging at level INFO > > > > > 12/22 12:30:25 user INFO FusionReactor FW: > > > > > > > > > > > > > > > > > > > > -- > > > > > 12/22 12:30:25 user INFO FusionReactor FW: FusionReactor - > Copyright > > > (C) > > > > > Intergral GmbH. All Rights Reserved > > > > > 12/22 12:30:25 user INFO FusionReactor FW: Revision: > > > fusionreactor-core > > > > > 4.5.0 > > > > > 12/22 12:30:25 user INFO FusionReactor FW: > > > > > > > > > > > > > > > > > > > > -- > > > > > 12/22 12:30:26 user INFO FusionReactor FW: Installing AutoStart > > > bundles. > > > > > 12/22 12:30:26 user INFO FusionReactor FW: Installing Plugin > bundles. > > > > > 12/22 12:30:26 user INFO FusionReactor FW: Bootstrap: Ascending to > > > > runlevel > > > > > 2 > > > > > 12/22 12:30:27 user INFO FusionReactor FW: Bootstrap: Runlevel 2 > > > > achieved. > > > > > 12/22 12:30:27 user INFO FusionReactor Licensing configuration is > up > > to > > > > > date. > > > > > 12/22 12:30:27 user INFO FusionReactor FW: FusionReactor platform > > type > > > > is: > > > > > 2, Standard > > > > > 12/22 12:30:27 user INFO FusionReactor FW: Bootstrap: Ascending to > > > > runlevel > > > > > 10 > > > > > 12/22 12:30:28 user INFO FR Core: Core component activating. > > > > > 12/22 12:30:28 user INFO FR Core: FusionReactor Rev. 4.5.0, Build: > > > > > FusionReactor.1903.25021 > > > > > 12/22 12:30:28 user INFO FR Core: Initializing help > > > > > 12/22 12:30:28 user INFO FR Core: Initializing configuration > > > > > 12/22 12:30:28 user INFO FR Core: Loading configuration from > > > > > > > > > > > > > > > C:\FusionReactor\instance\coldfusion.cfmx8.179311-WEB2\conf\reactor.conf... > > > > > 12/22 12:30:28 user INFO FR Core: Configuration loaded. > > > > > 12/22 12:30:28 user INFO FR Core: Checking to see whether the > > > > configuration > > > > > must be upgraded... > > > > > 12/22 1
Re: CF 9 Scheduled Task Not Sending Emails
Only if the file or folder is password protected by the os or htaccess, a scheduled task is the as you calling the url from your browser. If the oage requires any session variables etc then these obviously won't exist. Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Dec 23, 2012 1:13 PM, "Torrent Girl" wrote: > > > Is there an application.cfm for cfc that is preventing the file from > > running? > > > > Like some websites I setup a login/password code in the application. > > cfm page. No page will run unless that code is happy that someone is > > logged in. > > > > > > Do I need a username and password on the task? I see a place for it but > I didn't add it. > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353643 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF 9 Scheduled Task Not Sending Emails
> Is there an application.cfm for cfc that is preventing the file from > running? > > Like some websites I setup a login/password code in the application. > cfm page. No page will run unless that code is happy that someone is > logged in. > > > Do I need a username and password on the task? I see a place for it but I > didn't add it. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353642 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ACF8 server service fails to restart
Yes, I'm sure the service is not actually running. On Sun, Dec 23, 2012 at 4:38 AM, Russ Michaels wrote: > > Are u sure cf is not actually running, it seems it may be the service > atatus which the only thing at fault here as the logs show it started.. > > Regards > Russ Michaels > www.michaels.me.uk > www.cfmldeveloper.com - Free CFML hosting for developers > www.cfsearch.com - CF search engine > On Dec 22, 2012 11:32 PM, "John M Bliss" wrote: > > > > > Those are the logs during the long, failed start. The next items in the > > logs are the rows for the successful start that happens after I wait for > it > > to stop trying to start. > > On Dec 22, 2012 6:17 PM, "Russ Michaels" wrote: > > > > > > > > I'm not seeing any issues there, those logs are showing everything > > starting > > > up fine within 1 minute. > > > when your starting the service, close the status dialog so it doesn't > > > timeout and to see if it finally starts if you wait. > > > The logs we need to see are during the long period where you were > waiting > > > for it to start. > > > If it is stopping that is the problem then kill the process from task > > > manager instead. > > > > > > Regards > > > Russ Michaels > > > www.michaels.me.uk > > > www.cfmldeveloper.com - Free CFML hosting for developers > > > www.cfsearch.com - CF search engine > > > On Dec 22, 2012 10:10 PM, "John M Bliss" wrote: > > > > > > > > > > > Here're log lines from failed start. See it? > > > > > > > > coldfusion-event.log > > > > > > > > 12/22 12:30:21 info No JDBC data sources have been configured for > this > > > > server (see jrun-resources.xml) > > > > 12/22 12:30:21 info JRun Proxy Server listening on *:51800 > > > > 12/22 12:30:21 info Deploying enterprise application > > "Adobe_ColdFusion_8" > > > > from: file:/C:/ColdFusion8/ > > > > 12/22 12:30:21 error There is no web application configured to > service > > > your > > > > request > > > > 12/22 12:30:21 user NoWebappServlet: init > > > > 12/22 12:30:21 info Deploying web application "Adobe ColdFusion 8" > > from: > > > > file:/C:/ColdFusion8/ > > > > 12/22 12:30:22 error There is no web application configured to > service > > > your > > > > request > > > > 12/22 12:30:25 user FusionReactor Framework Host Manager - > Initializing > > > > 12/22 12:30:25 user INFO FusionReactor FW: Initializing framework. > > > > 12/22 12:30:25 user INFO FusionReactor FW: Loading Framework > > > Configuration > > > > from > > > > > > C:\FusionReactor\instance\coldfusion.cfmx8.179311-WEB2\osgi\fr-osgi.conf > > > > 12/22 12:30:25 user INFO Logging at level INFO > > > > 12/22 12:30:25 user INFO FusionReactor FW: > > > > > > > > > > > > > > -- > > > > 12/22 12:30:25 user INFO FusionReactor FW: FusionReactor - Copyright > > (C) > > > > Intergral GmbH. All Rights Reserved > > > > 12/22 12:30:25 user INFO FusionReactor FW: Revision: > > fusionreactor-core > > > > 4.5.0 > > > > 12/22 12:30:25 user INFO FusionReactor FW: > > > > > > > > > > > > > > -- > > > > 12/22 12:30:26 user INFO FusionReactor FW: Installing AutoStart > > bundles. > > > > 12/22 12:30:26 user INFO FusionReactor FW: Installing Plugin bundles. > > > > 12/22 12:30:26 user INFO FusionReactor FW: Bootstrap: Ascending to > > > runlevel > > > > 2 > > > > 12/22 12:30:27 user INFO FusionReactor FW: Bootstrap: Runlevel 2 > > > achieved. > > > > 12/22 12:30:27 user INFO FusionReactor Licensing configuration is up > to > > > > date. > > > > 12/22 12:30:27 user INFO FusionReactor FW: FusionReactor platform > type > > > is: > > > > 2, Standard > > > > 12/22 12:30:27 user INFO FusionReactor FW: Bootstrap: Ascending to > > > runlevel > > > > 10 > > > > 12/22 12:30:28 user INFO FR Core: Core component activating. > > > > 12/22 12:30:28 user INFO FR Core: FusionReactor Rev. 4.5.0, Build: > > > > FusionReactor.1903.25021 > > > > 12/22 12:30:28 user INFO FR Core: Initializing help > > > > 12/22 12:30:28 user INFO FR Core: Initializing configuration > > > > 12/22 12:30:28 user INFO FR Core: Loading configuration from > > > > > > > > > > C:\FusionReactor\instance\coldfusion.cfmx8.179311-WEB2\conf\reactor.conf... > > > > 12/22 12:30:28 user INFO FR Core: Configuration loaded. > > > > 12/22 12:30:28 user INFO FR Core: Checking to see whether the > > > configuration > > > > must be upgraded... > > > > 12/22 12:30:28 user INFO FR Core: Configuration Upgrader: > Configuration > > > > version 4 is current; no action. > > > > 12/22 12:30:28 user INFO FR Core: Initializing history queues. > > > > 12/22 12:30:28 user INFO FR Core: Initializing subsystems. > > > > 12/22 12:30:28 user INFO FR Core: Initializing Plugin Notification > > > Manager > > > > 12/22 12:30:28 user INFO FR Core: Initializing archiver. > > > > 12/22 12:30:28 user INFO FR Core: Using existing folder at > > > > C:\FusionReactor\instance\coldfusion.cfmx8
Re: URGENT : How to Detect screen resolution in COLDFUSION?
Glad you worked it out. One thing you should do is make sure a session variable exists before using the session variables. When I first loaded the page I received an error, after I refreshed the error went away. You should cfparam the variables to a default first, otherwise they wont be set until after you call the ajax request. The success: function(){} is used to call back the data from the ajax request, you could use those to dynamically set a div to the variable returned. Error Occurred While Processing Request Element SCREENSIZE.WIDTH is undefined in SESSION. On Sun, Dec 23, 2012 at 6:35 AM, The Dude wrote: > > Thanks guys for the jquery pointer, much appreciated. Got it working so > the data is now in cfml via ajax. Page source got numbers vs string. Doh !! > > http://exelstudio.com/test5.cfm > > jquery ajax call: > > >var theData= "screenWidth=" + screen.width+ > "&screenHeight="+screen.height; > > $.ajax({ > type: "POST", > url: "ajax.cfc?method=myMethod", > data: theData, > datatype: "json", > success: function(){} > }); > > > ajax.cfc file: > > > returnformat="json"> > > > > > > > > > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353640 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ACF8 server service fails to restart
Russ, the answer to that is it actually is but it is not. I have seen this behavior a lot on my development machines, and I can only think what it might be. To me what I think is happening is that one of the related services that ColdFusion uses, has ended up in a non responsive state, and ColdFusion Service is not aware of this and thinks it has ended. But of course the ColdFusion Service is aware that the service that didn't shut down is still running, and fails to run. But of course, and yes there had to be one more thing. Is that the service does actually shut down eventually, for met at least they do and varies in length of time that this occurs. The only work around for this is to reboot the machine, if the time frame is not something you want to wait for. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Sun, Dec 23, 2012 at 9:38 PM, Russ Michaels wrote: > > Are u sure cf is not actually running, it seems it may be the service > atatus which the only thing at fault here as the logs show it started.. > > Regards > Russ Michaels > www.michaels.me.uk > www.cfmldeveloper.com - Free CFML hosting for developers > www.cfsearch.com - CF search engine > On Dec 22, 2012 11:32 PM, "John M Bliss" wrote: > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353639 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT : How to Detect screen resolution in COLDFUSION?
Thanks guys for the jquery pointer, much appreciated. Got it working so the data is now in cfml via ajax. Page source got numbers vs string. Doh !! http://exelstudio.com/test5.cfm jquery ajax call: var theData= "screenWidth=" + screen.width+ "&screenHeight="+screen.height; $.ajax({ type: "POST", url: "ajax.cfc?method=myMethod", data: theData, datatype: "json", success: function(){} }); ajax.cfc file: ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353638 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ACF8 server service fails to restart
Are u sure cf is not actually running, it seems it may be the service atatus which the only thing at fault here as the logs show it started.. Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Dec 22, 2012 11:32 PM, "John M Bliss" wrote: > > Those are the logs during the long, failed start. The next items in the > logs are the rows for the successful start that happens after I wait for it > to stop trying to start. > On Dec 22, 2012 6:17 PM, "Russ Michaels" wrote: > > > > > I'm not seeing any issues there, those logs are showing everything > starting > > up fine within 1 minute. > > when your starting the service, close the status dialog so it doesn't > > timeout and to see if it finally starts if you wait. > > The logs we need to see are during the long period where you were waiting > > for it to start. > > If it is stopping that is the problem then kill the process from task > > manager instead. > > > > Regards > > Russ Michaels > > www.michaels.me.uk > > www.cfmldeveloper.com - Free CFML hosting for developers > > www.cfsearch.com - CF search engine > > On Dec 22, 2012 10:10 PM, "John M Bliss" wrote: > > > > > > > > Here're log lines from failed start. See it? > > > > > > coldfusion-event.log > > > > > > 12/22 12:30:21 info No JDBC data sources have been configured for this > > > server (see jrun-resources.xml) > > > 12/22 12:30:21 info JRun Proxy Server listening on *:51800 > > > 12/22 12:30:21 info Deploying enterprise application > "Adobe_ColdFusion_8" > > > from: file:/C:/ColdFusion8/ > > > 12/22 12:30:21 error There is no web application configured to service > > your > > > request > > > 12/22 12:30:21 user NoWebappServlet: init > > > 12/22 12:30:21 info Deploying web application "Adobe ColdFusion 8" > from: > > > file:/C:/ColdFusion8/ > > > 12/22 12:30:22 error There is no web application configured to service > > your > > > request > > > 12/22 12:30:25 user FusionReactor Framework Host Manager - Initializing > > > 12/22 12:30:25 user INFO FusionReactor FW: Initializing framework. > > > 12/22 12:30:25 user INFO FusionReactor FW: Loading Framework > > Configuration > > > from > > > > C:\FusionReactor\instance\coldfusion.cfmx8.179311-WEB2\osgi\fr-osgi.conf > > > 12/22 12:30:25 user INFO Logging at level INFO > > > 12/22 12:30:25 user INFO FusionReactor FW: > > > > > > > > > -- > > > 12/22 12:30:25 user INFO FusionReactor FW: FusionReactor - Copyright > (C) > > > Intergral GmbH. All Rights Reserved > > > 12/22 12:30:25 user INFO FusionReactor FW: Revision: > fusionreactor-core > > > 4.5.0 > > > 12/22 12:30:25 user INFO FusionReactor FW: > > > > > > > > > -- > > > 12/22 12:30:26 user INFO FusionReactor FW: Installing AutoStart > bundles. > > > 12/22 12:30:26 user INFO FusionReactor FW: Installing Plugin bundles. > > > 12/22 12:30:26 user INFO FusionReactor FW: Bootstrap: Ascending to > > runlevel > > > 2 > > > 12/22 12:30:27 user INFO FusionReactor FW: Bootstrap: Runlevel 2 > > achieved. > > > 12/22 12:30:27 user INFO FusionReactor Licensing configuration is up to > > > date. > > > 12/22 12:30:27 user INFO FusionReactor FW: FusionReactor platform type > > is: > > > 2, Standard > > > 12/22 12:30:27 user INFO FusionReactor FW: Bootstrap: Ascending to > > runlevel > > > 10 > > > 12/22 12:30:28 user INFO FR Core: Core component activating. > > > 12/22 12:30:28 user INFO FR Core: FusionReactor Rev. 4.5.0, Build: > > > FusionReactor.1903.25021 > > > 12/22 12:30:28 user INFO FR Core: Initializing help > > > 12/22 12:30:28 user INFO FR Core: Initializing configuration > > > 12/22 12:30:28 user INFO FR Core: Loading configuration from > > > > > > C:\FusionReactor\instance\coldfusion.cfmx8.179311-WEB2\conf\reactor.conf... > > > 12/22 12:30:28 user INFO FR Core: Configuration loaded. > > > 12/22 12:30:28 user INFO FR Core: Checking to see whether the > > configuration > > > must be upgraded... > > > 12/22 12:30:28 user INFO FR Core: Configuration Upgrader: Configuration > > > version 4 is current; no action. > > > 12/22 12:30:28 user INFO FR Core: Initializing history queues. > > > 12/22 12:30:28 user INFO FR Core: Initializing subsystems. > > > 12/22 12:30:28 user INFO FR Core: Initializing Plugin Notification > > Manager > > > 12/22 12:30:28 user INFO FR Core: Initializing archiver. > > > 12/22 12:30:28 user INFO FR Core: Using existing folder at > > > C:\FusionReactor\instance\coldfusion.cfmx8.179311-WEB2\archive > > > 12/22 12:30:28 user INFO FR Core: Initializing FA Connector Processor. > > > 12/22 12:30:28 user INFO FR Core: Using existing folder at > > > C:\FusionReactor\instance\coldfusion.cfmx8.179311-WEB2\processor > > > 12/22 12:30:28 user INFO FR Core: Initializing FAC Scheduler. > > > 12/22 12:30:28 user INFO FR Core: Using existing folder at
Re: Sqlexpress 2008 and cf 10
The fact that you are getting invalid login means cf is connecting to sql despite u saying u triple xhecked the login, It is still wrong obviously. Delete the user and start again. Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Dec 23, 2012 3:23 AM, "Eric Roberts" wrote: > > I am ha king an issue with creating s data source in cf10 administrator > connecting to an MS SQL 2008 sqlexpress version db. Both the db and cf are > on the same box (Dev box). It says login failed for user "cfuser". SQL is > in mixed authentication, I have, triple, and quadruple checked to make sure > the username and password are correct. I have set the tcpip port on the db > to 1433 and enabled it and the127.0.0.1 connection. I have pretty much > followed all of the advice for a similar issue with SQL 2005 and Cfmx. Any > ideas? Thanks in advance. > > Eric > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353636 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT : How to Detect screen resolution in COLDFUSION?
Thanks for the example Kevin, trying it out right now. >Its just the basics, but I am falling asleep. > >myData= "width=" + screen.width+ "&height="+screen.height; >$.ajax({ >type: "POST", >url: "ajax.cfc?method=myMethod", >data: myData, >success: function(){} >}); > > > > >> ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353635 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT : How to Detect screen resolution in COLDFUSION?
Yes, it runs and displays client side but useless for any responsive conditional logic until that info is sent to cf. Will figure out how to get the values in jquery and ajax post to cf. I've been using Zurb Foundation as its really a quite pleasant grid for responsive layouts. You can apply mobile classes on the same page in a fairly intuitive manner. What I'm trying to accomplish is loading smaller jpgs for mobile devices - i.e. a diff cf template displaying a slide show with diff set of jpgs depending on the viewport. Media queries in css won't work in this case. >Ok I see what you're doing now, the reason it works on the browser is that >your placing (Or technically speaking injection JS into the >Dom) JavaScript into the requested page. That means when it displays it >will run that JS, but for ColdFusion to actually know about this, you have >to get JavaScript to return the variables via Ajax. > >-- >Regards, >Andrew Scott >WebSite: http://www.andyscott.id.au/ >Google+: http://plus.google.com/113032480415921517411 > > > > > >> ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353634 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT : How to Detect screen resolution in COLDFUSION?
Its just the basics, but I am falling asleep. myData= "width=" + screen.width+ "&height="+screen.height; $.ajax({ type: "POST", url: "ajax.cfc?method=myMethod", data: myData, success: function(){} }); On Sun, Dec 23, 2012 at 3:43 AM, The Dude wrote: > > Agreed, I saw the results on the page but completely forgot to check the > actual page source. Any idea on the best way to ajax post to cf in jquery? > > >No, it is NOT showing the js result value instead of the text string, nor > >is this a fluke. CF is outputting the exact same string you set them to, > >the DOM in the browser is parsing the JavaScript so you see the variables. > > > >As I mentioned, if you view the source of the HTML you will see those > >strings exactly the way you set them. > > > > > > > >-- > >/Kevin Pepperman > > > >"*Never memorize what you can look up in books*." > >--Albert_Einstein > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353633 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT : How to Detect screen resolution in COLDFUSION?
Ok I see what you're doing now, the reason it works on the browser is that your placing (Or technically speaking injection JS into the Dom) JavaScript into the requested page. That means when it displays it will run that JS, but for ColdFusion to actually know about this, you have to get JavaScript to return the variables via Ajax. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Sun, Dec 23, 2012 at 7:31 PM, The Dude wrote: > > I agree technically it should not work as one side is client, the other > server, but on my test page it does present the js result value instead of > the text string. Cfdump shows text strings, but within cfoutput tags seems > to work showing the js results. A fluke :) > > I tried the form post option, but its less than ideal doing another page > call. If any of you have an example how to ajax post those vars from client > to server, it will be much appreciated. > > >What is this "virtual concurrency between server and client call" stuff? > I > >think I missed that in the instruction manual. > > > >Paul is correct, that output requires a DOM to run, CF is just seeing a > >text string. > > > >View source will also show you the output JavaScript. > > > >It is possible to pass those screen variables back to CF's session using > >client side script, just not the way that is being presented. > > > > > > > > > >> > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353632 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT : How to Detect screen resolution in COLDFUSION?
Agreed, I saw the results on the page but completely forgot to check the actual page source. Any idea on the best way to ajax post to cf in jquery? >No, it is NOT showing the js result value instead of the text string, nor >is this a fluke. CF is outputting the exact same string you set them to, >the DOM in the browser is parsing the JavaScript so you see the variables. > >As I mentioned, if you view the source of the HTML you will see those >strings exactly the way you set them. > > > >-- >/Kevin Pepperman > >"*Never memorize what you can look up in books*." >--Albert_Einstein ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353631 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT : How to Detect screen resolution in COLDFUSION?
No, it is NOT showing the js result value instead of the text string, nor is this a fluke. CF is outputting the exact same string you set them to, the DOM in the browser is parsing the JavaScript so you see the variables. As I mentioned, if you view the source of the HTML you will see those strings exactly the way you set them. -- /Kevin Pepperman "*Never memorize what you can look up in books*." --Albert_Einstein ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353630 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT : How to Detect screen resolution in COLDFUSION?
Dang, you're right, I didn't look at the source, just the page. Browser has it, cf doesn't. So ajax post is prob best solution, form post test works but not ideal. >Just view the source, it is the JavaScript strings being parsed by the >browser, CF has no Idea what the variables are. > > > > >> ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353629 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT : How to Detect screen resolution in COLDFUSION?
I agree technically it should not work as one side is client, the other server, but on my test page it does present the js result value instead of the text string. Cfdump shows text strings, but within cfoutput tags seems to work showing the js results. A fluke :) I tried the form post option, but its less than ideal doing another page call. If any of you have an example how to ajax post those vars from client to server, it will be much appreciated. >What is this "virtual concurrency between server and client call" stuff? I >think I missed that in the instruction manual. > >Paul is correct, that output requires a DOM to run, CF is just seeing a >text string. > >View source will also show you the output JavaScript. > >It is possible to pass those screen variables back to CF's session using >client side script, just not the way that is being presented. > > > > >> ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353628 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT : How to Detect screen resolution in COLDFUSION?
Just view the source, it is the JavaScript strings being parsed by the browser, CF has no Idea what the variables are. On Sun, Dec 23, 2012 at 3:24 AM, The Dude wrote: > > Checkout this test page link: > > http://exelstudio.com/screensizetest.cfm > > Here's the code: > > > "document.write(screen.height);"> > "document.write(screen.availWidth);"> > "document.write(screen.availHeight);"> > "document.write(screen.colorDepth);"> > "document.write(screen.pixelDepth);"> > > > > > > > > > Screen dimensions: #Session.Screenwidth# width X > #Session.Screenheight# height > > Available browser width: #availWidth# > Available browser height: #availHeight# > Color depth: #colordepth# > Pixel depth: #pixelDepth# > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353627 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT : How to Detect screen resolution in COLDFUSION?
Checkout this test page link: http://exelstudio.com/screensizetest.cfm Here's the code: Screen dimensions: #Session.Screenwidth# width X #Session.Screenheight# height Available browser width: #availWidth# Available browser height: #availHeight# Color depth: #colordepth# Pixel depth: #pixelDepth# ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353626 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT : How to Detect screen resolution in COLDFUSION?
We don't need too... As Paul and the others have stated, that code sets a variable with the text between the quotes. Now if this is working for you, then maybe you can explain where you are overriding these variables using Ajax. Because as it stands, the only thing you will see when you dump the session scope, is the text and not what you claim. So unless you have some JavaScript that is interacting with the server, then what you describe does not happen the way you're trying to explain. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Sun, Dec 23, 2012 at 7:06 PM, The Dude wrote: > > Have you actually tried it? > > >Impossible that it works as you describe. > > > >If anyone runs this code they will simple see a session variable with a > >string of js text. > > > > >"document.write(>screen.width);" /> > > > > > >You would have to do it with ajax as suggested, or use js to set a form > >variable. > > > > > > > >> > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353625 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT : How to Detect screen resolution in COLDFUSION?
What is this "virtual concurrency between server and client call" stuff? I think I missed that in the instruction manual. Paul is correct, that output requires a DOM to run, CF is just seeing a text string. View source will also show you the output JavaScript. It is possible to pass those screen variables back to CF's session using client side script, just not the way that is being presented. On Sun, Dec 23, 2012 at 3:00 AM, Paul Kukiel wrote: > > Impossible that it works as you describe. > > If anyone runs this code they will simple see a session variable with a > string of js text. > > "document.write(>screen.width);" /> > > > You would have to do it with ajax as suggested, or use js to set a form > variable. > > On Sun, Dec 23, 2012 at 6:22 PM, The Dude wrote: > > > > > I am running this in a cfml page and it returns the screen resolution > > consistently. > > > > I was surprised to see js scripts in cfset would capture the desired > > values in a cfml page. > > > > Try it on your end, technically it shouldn't work but I believe the > > virtual concurrency between server and client call produce the desired > > result. > > > > >Javascript is client side and will only run in the browser, you cannot > run > > >it from the server inside cfml. > > > > > >so > > > > > >will simply assign the text > > "document.write(screen.width);" > > >to session.screenwidth not the value your are expecting. > > > > > >you need to run this script client side. > > >document.write(screen.width); > > > > > >and then send the values back to the server, you could do this with ajax > > or > > >cookies. > > > > > > > > > > > > > > >> > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353624 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT : How to Detect screen resolution in COLDFUSION?
Yes. On Sun, Dec 23, 2012 at 7:06 PM, The Dude wrote: > > Have you actually tried it? > > >Impossible that it works as you describe. > > > >If anyone runs this code they will simple see a session variable with a > >string of js text. > > > > >"document.write(>screen.width);" /> > > > > > >You would have to do it with ajax as suggested, or use js to set a form > >variable. > > > > > > > >> > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353623 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT : How to Detect screen resolution in COLDFUSION?
Have you actually tried it? >Impossible that it works as you describe. > >If anyone runs this code they will simple see a session variable with a >string of js text. > >"document.write(>screen.width);" /> > > >You would have to do it with ajax as suggested, or use js to set a form >variable. > > > >> ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353622 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: URGENT : How to Detect screen resolution in COLDFUSION?
Impossible that it works as you describe. If anyone runs this code they will simple see a session variable with a string of js text. You would have to do it with ajax as suggested, or use js to set a form variable. On Sun, Dec 23, 2012 at 6:22 PM, The Dude wrote: > > I am running this in a cfml page and it returns the screen resolution > consistently. > > I was surprised to see js scripts in cfset would capture the desired > values in a cfml page. > > Try it on your end, technically it shouldn't work but I believe the > virtual concurrency between server and client call produce the desired > result. > > >Javascript is client side and will only run in the browser, you cannot run > >it from the server inside cfml. > > > >so > > > >will simply assign the text > "document.write(screen.width);" > >to session.screenwidth not the value your are expecting. > > > >you need to run this script client side. > >document.write(screen.width); > > > >and then send the values back to the server, you could do this with ajax > or > >cookies. > > > > > > > > > >> > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353621 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm