Can't Install ColdFusion 8 on Windows XP Home , Dell comp.
I have tried to install Coldfusion 8 and coldfusion 7 mx on my dell dimension 4700. Both times I got this message at the end of the installer. I was only trying to install the built in server. "however, the adobe coldfusion 8 service does not appear to be running, the web server connectors did not install sucessfully, and the web server and/or website could not be reached on port 80. Possible reasons include the Adobe ColdFusion 8 service failed to start, the 2930 or 51800 ports are blocked, or the web server and / or website is not running or is not configured to listen on port 80 in which case this is not an error. 1. consult the installation guide about how to manually configure the web server connector 2 ensure that any firewall software blocking ports 2930 or 51800 is disabled 3 ensure that the adobe cold fusion 8 service is started 4 manually configure your web server connectors 5 ensure that your web server and websites are started 6 continue your installation by logging in to the configuration wizard at http://localhost:8500/CFIDE/administrator/index.cfm"; I tried to manually start the coldfusion 8 application server and when I did that i got this message "Windows could not start the ColdFusion 8 Application Server on Local Computer, For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to teh service-specific error code 2." I've searched through adobe's coldfusion support site and can't find any reason why this is happening does anybody know what is causing this error? ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287770 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Authorize.net cfc/tag for recurring billing?
I've started using Billing Orchard for recurring billing. It has an API and also a new feature called Checkout Pages where you can setup recurring billing (with a post back call on success). Both are easy to code. I used PayQuake.com for the merchant account/Authorize.net reseller. They have a couple of low fee, low minimum plans for starters (rate is high, though). You can use any Authorize.net reseller. The recurring billing (ARB) from Authorize.net is $10/mo. http://www.billingorchard.com/default.cfm?pid=a2de1a17 is $19.99 for 250 transactions/mo. They also offer an interface to let users manage their subscription. Pretty cool stuff. ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287769 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-to-develop recurring billing?
I've started using Billing Orchard for recurring billing. It has an API and also a new feature called Checkout Pages where you can setup recurring billing (with a post back call on success). Both are easy to code. I used PayQuake.com for the merchant account/Authorize.net reseller. They have a couple of low fee, low minimum plans for starters (rate is high, though). You can use any Authorize.net reseller. The recurring billing (ARB) from Authorize.net is $10/mo. http://www.billingorchard.com/default.cfm?pid=a2de1a17 is $19.99 for 250 transactions/mo. They also offer an interface to let users manage their subscription. Pretty cool stuff. ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287768 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: UI recommendations needed
Andy, Can you share the code you used for the iframe? Thanks > Just an update. It seems like it is working. :) I need to tweak it > some more to get the result I want but at least the file is being > uploaded... within a CFWINDOW. > > So IFRAME is the answer. > > Thanks DAN! > > > Thanks Dan, > > > > I haven't really used IFRAME much except to display external sites, > so > > I haven't played with the JS interaction between them. I should give > > > it a try and see if I can get it to solve the upload problem. Will > > tell you how it goes. > > > > Andy > > > > >Andy, > > > > > >>Interesting... I wonder. I used IFRAME to display a PDF file > within > > a > > >>CFLAYOUT (pushing data one way). However I am not sure of the > level > > of > > >>interactivity possible with IFRAME (data going both ways). It > might > > work if > > >>you just want to pass the form information one way to the IFRAME. > > > > > >What I've done in the past is set the "target" attribute of the > > /> tag > > >to point to the . Then whatever script your posting to in > > > the > > > you can just use a JS callback function to notify the > main > > page > > >when the upload is complete. That's a technique that I've used > since > > 1998. > > > > > >-Dan ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287767 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: can't scale by width only?
try imageScaleToFit with a huge value on the axis you don't care about: myImg = imageRead("..."); // max of 200 width imageScaleToFit(myImg, 200, 100); // max of 300 height imageScaleToFit(myImg, 10, 300); cheers, barneyb On 9/4/07, Will Tomlinson <[EMAIL PROTECTED]> wrote: > Can you not scale an image by just one axis with ? > > That is, I want to scale an image by width only. > > Thanks, > Will > > ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287766 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: <cfimage> can't scale by width only?
Yeah I noticed that my reply was also so good it went back in time and helped you. We're on a roll here :-) On 9/5/07, Will Tomlinson <[EMAIL PROTECTED]> wrote: > >How about using 100% on the axis you don't want to resize? > > > I found it in the docs. :) > > "When you resize an image, if you specify a value for the width, you can let > ColdFusion calculate the aspect ratio by specifying "" as the height." -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287765 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: <cfimage> can't scale by width only?
>How about using 100% on the axis you don't want to resize? I found it in the docs. :) "When you resize an image, if you specify a value for the width, you can let ColdFusion calculate the aspect ratio by specifying "" as the height." Thanks james, Will ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287764 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: can't scale by width only?
How about using 100% on the axis you don't want to resize? On 9/5/07, Will Tomlinson <[EMAIL PROTECTED]> wrote: > Can you not scale an image by just one axis with ? > > That is, I want to scale an image by width only. > > Thanks, > Will -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287763 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: <cfimage> can't scale by width only?
Found it in the docs For the resize attribute, you also can specify the height as a percentage (an integer followed by the percent (%) symbol). When you resize an image, if you specify a value for the width, you can let ColdFusion calculate the aspect ratio by specifying "" as the height. Thanks, Will ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287762 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
can't scale by width only?
Can you not scale an image by just one axis with ? That is, I want to scale an image by width only. Thanks, Will ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287761 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Setting Sending 301 Moved permanently HTTP Header
Do you also have a cflocation tag in that page? On 9/5/07, Ian Skinner <[EMAIL PROTECTED]> wrote: > I'm experimenting with setting a 301 'Moved Permanently" header for a > large reorganization of our site. > > My first experiment was with using .htaccess with the following line in it: > > redirect 301 /301_old.html http://dprweb:/301_new.html > > This immediately caused my entire website to crash and return a 500 error. > > My second experiment was with using some ColdFusion code: > > http://dprweb:/301_new.html";> > > This seemed to work on the surface, as when I put the 301_old.cfm URL in > a browser I ended up on the 301_new.html page. But looking at the > actual HTTP requests and responses I seem to be getting a 301 Found > status instead of a 301 Moved Permanently. Is this expected? My > understanding of what I have read indicates otherwise. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287760 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: structKeyExists() - Ok, this is freakin me out....
On 9/4/07, Will Tomlinson <[EMAIL PROTECTED]> wrote: > Do I gotta post what it was??? Yup. If it was a simple user error, it's entirely possible someone else will trip over it - having it in the archives will help other people. > Cut me some slack :) Nope. You post here, you can't expect slack :) -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287759 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: structKeyExists() - Ok, this is freakin me out....
I figured it out folks. Thanks!! Will ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287751 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 cfTextarea Richtext Question
Sounds like maybe the cfm file is encrypted? You can download the original from fckeditor.net, or right from the repository, if you wish (don't have it's link handy). I'd seriously look into something besides the built-in file-upload stuff tho- it's always sorta made me nervous. Ha! Not that being nervous does me any good. Still holes, holes, everywhere I look- holes. I'm cutting my HD's write wires, that's all there is to it. On 9/4/07, Bruce Sorge <[EMAIL PROTECTED]> wrote: > > I had asked about this before but I did not get a response. When using the > CF-8 cftextarea richtext="true" tag, the file browser does not work. When > I > click on Browser Server, I get the message This connector is disabled. > Please check the > 'editor/filemanger/browser/default/connectors/cfm/config.cfm file. So I > open > it and I see some weird text (I forget what the proper term is). I know > what > I have to add to the file, but my question is where do I do this? > > > > Thanks, > > > > Bruce > > > > > > > > ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287758 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: structKeyExists() - Ok, this is freakin me out....
Do I gotta post what it was??? Cut me some slack :) ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287756 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: structKeyExists() - Ok, this is freakin me out....
Mike D! Please delete this thread! :) ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287757 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: structKeyExists() - Ok, this is freakin me out....
On 9/4/07, Will Tomlinson <[EMAIL PROTECTED]> wrote: > > I figured it out folks. Thanks!! Man, I'm good. The answer rocked so much, it obviously went back in time. You're welcome! hehe ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287755 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: structKeyExists() - Ok, this is freakin me out....
On 9/4/07, Will Tomlinson <[EMAIL PROTECTED]> wrote: > I figured it out folks. Thanks!! Share... -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287754 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: structKeyExists() - Ok, this is freakin me out....
I like to name my submit buttons (saveContact, vs. submit) to avoid that type of error, and to allow multiple submit buttons that do different stuff. Probably have a field named submit in there, or something, perhaps? On 9/4/07, Will Tomlinson <[EMAIL PROTECTED]> wrote: > > CF8 - just buildin a simple cfform inside a div on a page. Nuthin special. > > So I do my usual routine of processing the form on the same page. > > > > > process form > > > > ok, so why would the form processing execute when the page loads? Cause > that's what it's doin, and it's freakin me out a little. > > I know I can switch to a regular form, but wanted to know how CF8 > structKeyExists() knows that form item is on the page, and executes my code. > > Thanks, > Will > > ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287753 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: SQL select where in headache
ok... I'm new to CF and I can't exactly remember how CFLOOP works but here goes. SELECT * FROM EVENTS WHERE PERMISSIONS IN ( #session.status# ,#session.status# ) ORDER BY EVENT_DATE, EVENT_START ASC Assuming I remembered how CFLOOP worked, it should work. If now, I'm pretty sure there's another way, but I can't test anything until I get into the office. Also if PERMISSIONS is NOT an INT field, you'll need the single quote like below. SELECT * FROM EVENTS WHERE PERMISSIONS IN ( '#session.status#' ,'#session.status#' ) ORDER BY EVENT_DATE, EVENT_START ASC - Dae ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287752 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: structKeyExists() - Ok, this is freakin me out....
I'm not seeing that myself. I think you have something else going on. On 9/4/07, Will Tomlinson <[EMAIL PROTECTED]> wrote: > CF8 - just buildin a simple cfform inside a div on a page. Nuthin special. > > So I do my usual routine of processing the form on the same page. > > > > > process form > > > > ok, so why would the form processing execute when the page loads? Cause > that's what it's doin, and it's freakin me out a little. > > I know I can switch to a regular form, but wanted to know how CF8 > structKeyExists() knows that form item is on the page, and executes my code. > > Thanks, > Will > > ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287750 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
structKeyExists() - Ok, this is freakin me out....
CF8 - just buildin a simple cfform inside a div on a page. Nuthin special. So I do my usual routine of processing the form on the same page. process form ok, so why would the form processing execute when the page loads? Cause that's what it's doin, and it's freakin me out a little. I know I can switch to a regular form, but wanted to know how CF8 structKeyExists() knows that form item is on the page, and executes my code. Thanks, Will ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287749 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Can CF run if it's configuration files are not owned by root on UNIX?
That's correct. If you go to System Information in CF Admin it will tell you the "User Name" it is running as. Or just do a top command and look at the user running the cfusion or cfmx process. I'm pretty certain you can change the user cf is run under by updating the coldfusion executable in coldfusionmx7/bin/coldfusion It has RUNTIME_USER=""nobody"" and if you look you will see that the script just does an su command to that user when starting. I've never actually done it myself tho... ~Brad -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 5:49 PM To: CF-Talk Subject: Re: Can CF run if it's configuration files are not owned by root on UNIX? I believe that it runs under "nobody" by default, but you can change that during the install process. ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287748 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFGrid Ajax Results
However you define "complicated", it's far more complicated than just using what is built in to cfgrid. Furthermore, the custom renderer examples are just changing the format of the displayed grid, and don't even touch on the issue of building up your own data (based on a ColdFusion structure) in JavaScript or XML and feeding that to the grid, which is an entirely separate issue. On 9/4/07, Andrew Scott <[EMAIL PROTECTED]> wrote: > > Actually it is not complicated. > > Ray has an example of rendering on his blog that will do the job nicely. > > ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287747 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFGrid Ajax Results
Actually it is not complicated. Ray has an example of rendering on his blog that will do the job nicely. On 9/5/07, Brian Kotek <[EMAIL PROTECTED]> wrote: > > True, I should have specified that using what CF has built in will require > you to pass it a query. If you want to dig into the underlying YUI grid > then > all bets are off. Of course, as Cutter points out, this will be much more > complicated. > > On 9/4/07, Cutter (CFRelated) <[EMAIL PROTECTED]> wrote: > > > > Hold up, you should be able to. The query passed in to the cfgrid is > > only setting the data.Store property of the ExtJS grid behind it, you > > are using the cfgridcolumn tags to define your ColumnModel (another > > ExtJS construct). You should be able to define a custom renederer, > > pulling information from the 'record' passed to define that cell's > > display. Probaby need to combine some info from the following two > entries: > > > > > > > http://www.coldfusionjedi.com/index.cfm/2007/8/20/Custom-grid-renderers-with-CFGRID > > > > > http://blog.cutterscrossing.com/index.cfm/2007/8/22/My-First-ExtJS-DataGrid-Pt-7-Custom-Cell-Renderers > > > > Steve "Cutter" Blades > > Adobe Certified Professional > > Advanced Macromedia ColdFusion MX 7 Developer > > _ > > http://blog.cutterscrossing.com > > > > Brian Kotek wrote: > > > If you read the documentation, you'll see the answer is no. You have > to > > pass > > > a query into the grid, unless you manually build up the grid elements > > using > > > cfgridrow. > > > > > > You could combine the city and state into one column in the SQL. You > > might > > > also be able to generate the URL in your SQL depending on where the > > > querystring variables are coming from. You could also add columns to > the > > > grid that are not displayed that hold customer id and order id, and > then > > get > > > those values and pass them using a JavaScript function instead of > trying > > to > > > do it with HREFKEY. Basically, given the power and flexibility of > > binding > > > the grid to a JavaScript function, I don't see much use for the > > old-style > > > HREFKEY. > > > > > > On 9/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] < > > [EMAIL PROTECTED]> > > > wrote: > > >> Hello, > > >> > > >> I am wondering if someone could clear something up for me. I am > > working > > >> on a datagrid using CFGRID in HTML format. I would like to be able > to > > >> manipulate the data a little bit before throwing it into the > grid. Two > > >> examples are that I want CITY AND STATE to be in one column, and I > want > > to > > >> be able to have one of the columns link to a URL that has two dynamic > > >> variables in it, rather than just one like you could do with using > > HREFKEY. > > >> (The linked URL would be something like: > > >> http://www.mydomain.com/results.cfm?customer_id=#x#&order_id=#y#). > > >> > > >> So the question I have is what is the best way to handle these two > > >> things? I started out working with just a CFQUERY on the same > template > > page > > >> as the CFGRID, but now I've realized that I would probably want to do > a > > CFC > > >> instead. The question is, what format do I send back the data > > with? So far > > >> the only thing I could come up with that works, but is slow, is to do > > the > > >> initial query, then CFLOOP through the data. While looping, format > the > > data > > >> and put it into a new query using QuerySetCell/QueryAddRow. It seems > > clunky > > >> and again, it is slow. Is their any other way, like could I just > > return a > > >> structure or something like that? > > >> > > >> Any help is appreciated. > > >> > > >> > > > > > > > > > > > > ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287746 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Can CF run if it's configuration files are not owned by root on UNIX?
I believe that it runs under "nobody" by default, but you can change that during the install process. On 9/4/07, Ian Skinner <[EMAIL PROTECTED]> wrote: > Nope, as long as the user that CF runs has has read access to them > (and write access to stuff that the CF admin manages), you're golden. > > cheers, > barneyb > > > Does anybody know of a description of the various files that CF reads and to > which ones it writes? I am sure I am going to asked to 'document' my > recommendation on which files on which to change the owner. > > Also, what user does CF run under in a default configuration on Unix? I know > from my windows past, it uses 'localsystem' on that OS. > > TIA > Ian > > > > > ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287745 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 select where in headache
As I said, I pretty much suck at SQL (and everything else if you believe Bobby) But you might try something like WHERE PERMISSIONS LIKE '%#session.status#%' -Original Message- From: Hugh Fidgen [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 6:06 PM To: CF-Talk Subject: Re: SQL select where in headache Hiya, Sorry i think i've caused some confusion here. #session.status# is always a single character, EG "P" "PERMISSIONS" is sometimes a single character, or sometimes a comma delimited list. It's populated via a input in a form, so it depends if the user selects one, or multiple options in the list. The typical values for PERMISSIONS column would be P or P,R or P,R,G Its a slightly cock-eyed way of doing it maybe, but it's how I thought i'd be able to establish if a user with #session.status# of "P" should be allowed to see the event in question. It might be that WHERE x IN y is not the best way of doing this but thats kinda where i need the help hehe. Thanks for all the input so far! ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287744 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Can CF run if it's configuration files are not owned by root on UNIX?
Nope, as long as the user that CF runs has has read access to them (and write access to stuff that the CF admin manages), you're golden. cheers, barneyb Does anybody know of a description of the various files that CF reads and to which ones it writes? I am sure I am going to asked to 'document' my recommendation on which files on which to change the owner. Also, what user does CF run under in a default configuration on Unix? I know from my windows past, it uses 'localsystem' on that OS. TIA Ian ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287743 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Can CF run if it's configuration files are not owned by root on UNIX?
In general, you DON'T want the user that CF runs as to have write access to itself. If it does, then a malicious script could delete the runtime. Certain portions have to be accessible (like log files, the Mail spool, etc.), but most of it should be read only. cheers, barneyb On 9/4/07, Brad Wood <[EMAIL PROTECTED]> wrote: > Tell you what... let's say CF runs as a user called "cfmx" (enter > whatever user you use here). You want a user cfadmin to be able to edit > the files as well. > > Do this: > Add your cfadmin user into a cfadmin group (done automatically on OS's > like Redhat I believe). Then do chown -R cfmx:cfadmin > /opt/coldfusionmx7/ (or whatever your root CF directory is). Now all > the files belong to the cfmx user and the cfadmin group. > > Now, chmod -R g+w /opt/coldfusionmx7/ etc... so the group has read, > write, and execute permissions. > > This way the user that CF runs as has full control of the files, and so > does any user in the cfadmin group. > > ~Brad -- Barney Boisvert [EMAIL PROTECTED] http://www.barneyb.com/ Got Gmail? I have 100 invites. ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287742 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Can CF run if it's configuration files are not owned by root on UNIX?
Tell you what... let's say CF runs as a user called "cfmx" (enter whatever user you use here). You want a user cfadmin to be able to edit the files as well. Do this: Add your cfadmin user into a cfadmin group (done automatically on OS's like Redhat I believe). Then do chown -R cfmx:cfadmin /opt/coldfusionmx7/ (or whatever your root CF directory is). Now all the files belong to the cfmx user and the cfadmin group. Now, chmod -R g+w /opt/coldfusionmx7/ etc... so the group has read, write, and execute permissions. This way the user that CF runs as has full control of the files, and so does any user in the cfadmin group. ~Brad -Original Message- From: Brad Wood [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 5:16 PM To: CF-Talk Subject: RE: Can CF run if it's configuration files are not owned by root on UNIX? What user does CF run as? I think it needs to be the same. ~Brad -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 5:12 PM To: CF-Talk Subject: Can CF run if it's configuration files are not owned by root on UNIX? If one changed to owner of the various configuration files of CF so that someone other then root can edit them, will CF crash and burn? We are trying to separate the role of Unix administrator and CF administrator on our web server. TIA Ian ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287741 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF8 Ajax tags and Prototype's evalScripts bug.
Hopefully you can shed some light on this rather difficult problem I've come across. I have CF8 installed and was looking to leverage the built-in AJAX functionality but I am having issues with CF/HTML content being loaded into a asynchronously through Prototype's Ajax.Updater call. The content being loaded into this ideally would contain the needed CF Ajax calls but CF8 doesn't seem to load the necessary Javascript files correctly as I always get "ColdFusion.Ajax is not defined". The root of the problem is Prototype's inability to successfully evaluate external .js references. Prototype's Ajax.Updater call has an attribute called 'evalScripts' which when set to 'true' can successfully evaluate inline JavaScript statements but has trouble evaluating
Re: Can CF run if it's configuration files are not owned by root on UNIX?
Nope, as long as the user that CF runs has has read access to them (and write access to stuff that the CF admin manages), you're golden. cheers, barneyb On 9/4/07, Ian Skinner <[EMAIL PROTECTED]> wrote: > If one changed to owner of the various configuration files of CF so that > someone other then root can edit them, will CF crash and burn? We are > trying to separate the role of Unix administrator and CF administrator > on our web server. > > TIA > Ian > > ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287739 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Can CF run if it's configuration files are not owned by root on UNIX?
What user does CF run as? I think it needs to be the same. ~Brad -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 5:12 PM To: CF-Talk Subject: Can CF run if it's configuration files are not owned by root on UNIX? If one changed to owner of the various configuration files of CF so that someone other then root can edit them, will CF crash and burn? We are trying to separate the role of Unix administrator and CF administrator on our web server. TIA Ian ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287737 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 select where in headache
Hiya, Sorry i think i've caused some confusion here. #session.status# is always a single character, EG "P" "PERMISSIONS" is sometimes a single character, or sometimes a comma delimited list. It's populated via a input in a form, so it depends if the user selects one, or multiple options in the list. The typical values for PERMISSIONS column would be P or P,R or P,R,G Its a slightly cock-eyed way of doing it maybe, but it's how I thought i'd be able to establish if a user with #session.status# of "P" should be allowed to see the event in question. It might be that WHERE x IN y is not the best way of doing this but thats kinda where i need the help hehe. Thanks for all the input so far! ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287738 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: SQL select where in headache
Hiya, Sorry i think i've caused some confusion here. #session.status# is always a single character, EG "P" "PERMISSIONS" is sometimes a single character, or sometimes a comma delimited list. It's populated via a input in a form, so it depends if the user selects one, or multiple options in the list. The typical values for PERMISSIONS column would be P or P,R or P,R,G Its a slightly cock-eyed way of doing it maybe, but it's how I thought i'd be able to establish if a user with #session.status# of "P" should be allowed to see the event in question. It might be that WHERE x IN y is not the best way of doing this but thats kinda where i need the help hehe. Thanks for all the input so far! ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287736 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cflocation to cflayout
Use JavaScript. ColdFusion.navigate(...) Check the docs on the exact syntax. On 9/4/07, Steve Sequenzia <[EMAIL PROTECTED]> wrote: > Anyone know if it is possible to use to redirect a page inside > of a to a ? I don't want it to break the page out. > > Thanks in advance for any help. > > ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287735 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Can CF run if it's configuration files are not owned by root on UNIX?
If one changed to owner of the various configuration files of CF so that someone other then root can edit them, will CF crash and burn? We are trying to separate the role of Unix administrator and CF administrator on our web server. TIA Ian ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287734 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cflocation to cflayout
It isn't possible. cflocation will redirect the entire page. On 9/4/07, Steve Sequenzia <[EMAIL PROTECTED]> wrote: > > Anyone know if it is possible to use to redirect a page > inside of a to a ? I don't want it to break the > page out. > > Thanks in advance for any help. > > ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287733 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Verity Spider error - vgwhttp: http init failed
Trying to use Verity vspider to index dynamic content pages on my site (gr)... copied the "style" files from Adobe livedocs, followed directions, and get the following: E:\CFusionMX7\verity\k2\_nti40\bin>e:\CFusionMX7\verity\k2\_nti40\bin\vspider -s tyle e:\CFusionMX7\verity\Data\stylesets\ColdFusionVspider\ -collection e:\CFusi onMX7\verity\collections\smenew -start http://new.smenet.org/ -cgiok -abspath -r eparse -indmimeinclude text/* -indmimeexclude text/css vspider - Verity, Inc. Version K5.5.0 (_nti40, Sep 24 2004) 2007/09/04 14:53:50 Info: [vspider] (ind006000) Message database loaded from [E: \CFusionMX7\verity\k2\common\ind.msg]. 2007/09/04 14:53:50 ERROR: [vspider] (ind002006) VDK: Error E0-1514 (Drvr): Vg w:vgwhttp: Http Init failed. 2007/09/04 14:53:50 Warn: [vspider] (ind002006) VDK: WarnE3-0600 (Vgw): Driv er (vgwhttp) missing or undefined for collection e:\CFusionMX7\verity\collection s\smenew. 2007/09/04 14:53:50 ERROR: [vspider] (ind002006) VDK: Error E3-0602 (Vgw): Doc ument Access Gateway initialization failed for collection e:\CFusionMX7\verity\c ollections\smenew. 2007/09/04 14:53:50 FATAL: [vspider] (ind002100) Couldn't open VDK collection [e :\CFusionMX7\verity\collections\smenew] [-29]. IndExcept from indvdk.cxx:760 Progress: [vspider] (ind010020) Vspider summary: Submitted 0 documents for inse rt, 0 documents for deletion, 0 documents for update; Progress: [vspider] (ind010021) Vspider summary: Indexed 0 documents, Deleted 0 documents, 0 bad documents; Progress: [vspider] (ind010022) Vspider summary: Skipped 0 keys, including 0 du plicate documents rejected; Progress: [vspider] (ind010023) Vspider summary: Failed to fetch 0 keys. vspider done Any ideas? Thx! -j ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287732 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFGrid Ajax Results
True, I should have specified that using what CF has built in will require you to pass it a query. If you want to dig into the underlying YUI grid then all bets are off. Of course, as Cutter points out, this will be much more complicated. On 9/4/07, Cutter (CFRelated) <[EMAIL PROTECTED]> wrote: > > Hold up, you should be able to. The query passed in to the cfgrid is > only setting the data.Store property of the ExtJS grid behind it, you > are using the cfgridcolumn tags to define your ColumnModel (another > ExtJS construct). You should be able to define a custom renederer, > pulling information from the 'record' passed to define that cell's > display. Probaby need to combine some info from the following two entries: > > > http://www.coldfusionjedi.com/index.cfm/2007/8/20/Custom-grid-renderers-with-CFGRID > > http://blog.cutterscrossing.com/index.cfm/2007/8/22/My-First-ExtJS-DataGrid-Pt-7-Custom-Cell-Renderers > > Steve "Cutter" Blades > Adobe Certified Professional > Advanced Macromedia ColdFusion MX 7 Developer > _ > http://blog.cutterscrossing.com > > Brian Kotek wrote: > > If you read the documentation, you'll see the answer is no. You have to > pass > > a query into the grid, unless you manually build up the grid elements > using > > cfgridrow. > > > > You could combine the city and state into one column in the SQL. You > might > > also be able to generate the URL in your SQL depending on where the > > querystring variables are coming from. You could also add columns to the > > grid that are not displayed that hold customer id and order id, and then > get > > those values and pass them using a JavaScript function instead of trying > to > > do it with HREFKEY. Basically, given the power and flexibility of > binding > > the grid to a JavaScript function, I don't see much use for the > old-style > > HREFKEY. > > > > On 9/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] < > [EMAIL PROTECTED]> > > wrote: > >> Hello, > >> > >> I am wondering if someone could clear something up for me. I am > working > >> on a datagrid using CFGRID in HTML format. I would like to be able to > >> manipulate the data a little bit before throwing it into the grid. Two > >> examples are that I want CITY AND STATE to be in one column, and I want > to > >> be able to have one of the columns link to a URL that has two dynamic > >> variables in it, rather than just one like you could do with using > HREFKEY. > >> (The linked URL would be something like: > >> http://www.mydomain.com/results.cfm?customer_id=#x#&order_id=#y#). > >> > >> So the question I have is what is the best way to handle these two > >> things? I started out working with just a CFQUERY on the same template > page > >> as the CFGRID, but now I've realized that I would probably want to do a > CFC > >> instead. The question is, what format do I send back the data > with? So far > >> the only thing I could come up with that works, but is slow, is to do > the > >> initial query, then CFLOOP through the data. While looping, format the > data > >> and put it into a new query using QuerySetCell/QueryAddRow. It seems > clunky > >> and again, it is slow. Is their any other way, like could I just > return a > >> structure or something like that? > >> > >> Any help is appreciated. > >> > >> > > > > > > ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287731 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFGrid Ajax Results
(of course, that's all untested, may require a little work, and Brian's suggestion of combining the values directly at the SQL will work better [in this instance], and require less code) Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Cutter (CFRelated) wrote: > Hold up, you should be able to. The query passed in to the cfgrid is > only setting the data.Store property of the ExtJS grid behind it, you > are using the cfgridcolumn tags to define your ColumnModel (another > ExtJS construct). You should be able to define a custom renederer, > pulling information from the 'record' passed to define that cell's > display. Probaby need to combine some info from the following two entries: > > http://www.coldfusionjedi.com/index.cfm/2007/8/20/Custom-grid-renderers-with-CFGRID > http://blog.cutterscrossing.com/index.cfm/2007/8/22/My-First-ExtJS-DataGrid-Pt-7-Custom-Cell-Renderers > > Steve "Cutter" Blades > Adobe Certified Professional > Advanced Macromedia ColdFusion MX 7 Developer > _ > http://blog.cutterscrossing.com > > Brian Kotek wrote: >> If you read the documentation, you'll see the answer is no. You have to pass >> a query into the grid, unless you manually build up the grid elements using >> cfgridrow. >> >> You could combine the city and state into one column in the SQL. You might >> also be able to generate the URL in your SQL depending on where the >> querystring variables are coming from. You could also add columns to the >> grid that are not displayed that hold customer id and order id, and then get >> those values and pass them using a JavaScript function instead of trying to >> do it with HREFKEY. Basically, given the power and flexibility of binding >> the grid to a JavaScript function, I don't see much use for the old-style >> HREFKEY. >> >> On 9/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] <[EMAIL PROTECTED]> >> wrote: >>> Hello, >>> >>> I am wondering if someone could clear something up for me. I am working >>> on a datagrid using CFGRID in HTML format. I would like to be able to >>> manipulate the data a little bit before throwing it into the grid. Two >>> examples are that I want CITY AND STATE to be in one column, and I want to >>> be able to have one of the columns link to a URL that has two dynamic >>> variables in it, rather than just one like you could do with using HREFKEY. >>> (The linked URL would be something like: >>> http://www.mydomain.com/results.cfm?customer_id=#x#&order_id=#y#). >>> >>> So the question I have is what is the best way to handle these two >>> things? I started out working with just a CFQUERY on the same template page >>> as the CFGRID, but now I've realized that I would probably want to do a CFC >>> instead. The question is, what format do I send back the data with? So far >>> the only thing I could come up with that works, but is slow, is to do the >>> initial query, then CFLOOP through the data. While looping, format the data >>> and put it into a new query using QuerySetCell/QueryAddRow. It seems clunky >>> and again, it is slow. Is their any other way, like could I just return a >>> structure or something like that? >>> >>> Any help is appreciated. >>> >>> >> > > ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287730 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Hosting CF 8
No problem. I'm glad I could help. Vince Collins wrote: > Thanks very much for the detailed response Eric! > > Vince > http://www.vincentcollins.com > > > Eric Cobb wrote: > >> I've used Crystal Tech for years, and I've never had a problem with >> their service. I've got about 15 client's sites running on Crystal >> Tech, and they're all happy as well. I really like their Control Center >> as it's easy for me to manage everything, I can even create accounts for >> my clients and give them access to what I want them to have. And all of >> my clients absolutely love the statistics reporting package >> (SmarterStats) that comes with the hosting. >> >> I had one client that had 21 domains pointing to the same site with no >> problem, but we never needed Domain level FTP accounts so I can't >> comment on that. We also didn't need email for each domain, but I know >> we had the ability to do it if we wanted. They have a nice webmail >> interface that lets you configure individual or domain wide Spam >> settings, Greylisting, and Trusted Sender's lists. I manage all of my >> SQL Server databases via Enterprise manager and Query Analyzer for SQL >> 2000, and DBA Studio for 2005. >> >> If I have one complaint with Crystal Tech, it's that just starting with >> CF 8 you have to go with their $26.95 plan to get SQL Server. I have >> several clients on the $16.95 plan with CF 7 and SQL Server that are >> going to have to start paying an extra $10 per month so they can move to >> CF 8. It's really no big deal, just a bummer that they're taking away >> this previous functionality. >> >> Hope this helps! >> >> Eric >> >> >> > > > ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287729 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Setting Sending 301 Moved permanently HTTP Header
I'm experimenting with setting a 301 'Moved Permanently" header for a large reorganization of our site. My first experiment was with using .htaccess with the following line in it: redirect 301 /301_old.html http://dprweb:/301_new.html This immediately caused my entire website to crash and return a 500 error. My second experiment was with using some ColdFusion code: http://dprweb:/301_new.html";> This seemed to work on the surface, as when I put the 301_old.cfm URL in a browser I ended up on the 301_new.html page. But looking at the actual HTTP requests and responses I seem to be getting a 301 Found status instead of a 301 Moved Permanently. Is this expected? My understanding of what I have read indicates otherwise. HTTP/1.x 302 Found Date: Tue, 04 Sep 2007 20:34:30 GMT Server: Apache/1.3.12 (Unix) ApacheJServ/1.1.2 Location: http://dprweb:/301_new.html Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html; charset=iso-8859-1 Anyone out there experienced in configuring and using 301 redirects help me with the ins and outs. TIA Ian Skinner ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287728 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFGrid Ajax Results
Hold up, you should be able to. The query passed in to the cfgrid is only setting the data.Store property of the ExtJS grid behind it, you are using the cfgridcolumn tags to define your ColumnModel (another ExtJS construct). You should be able to define a custom renederer, pulling information from the 'record' passed to define that cell's display. Probaby need to combine some info from the following two entries: http://www.coldfusionjedi.com/index.cfm/2007/8/20/Custom-grid-renderers-with-CFGRID http://blog.cutterscrossing.com/index.cfm/2007/8/22/My-First-ExtJS-DataGrid-Pt-7-Custom-Cell-Renderers Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Brian Kotek wrote: > If you read the documentation, you'll see the answer is no. You have to pass > a query into the grid, unless you manually build up the grid elements using > cfgridrow. > > You could combine the city and state into one column in the SQL. You might > also be able to generate the URL in your SQL depending on where the > querystring variables are coming from. You could also add columns to the > grid that are not displayed that hold customer id and order id, and then get > those values and pass them using a JavaScript function instead of trying to > do it with HREFKEY. Basically, given the power and flexibility of binding > the grid to a JavaScript function, I don't see much use for the old-style > HREFKEY. > > On 9/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: >> Hello, >> >> I am wondering if someone could clear something up for me. I am working >> on a datagrid using CFGRID in HTML format. I would like to be able to >> manipulate the data a little bit before throwing it into the grid. Two >> examples are that I want CITY AND STATE to be in one column, and I want to >> be able to have one of the columns link to a URL that has two dynamic >> variables in it, rather than just one like you could do with using HREFKEY. >> (The linked URL would be something like: >> http://www.mydomain.com/results.cfm?customer_id=#x#&order_id=#y#). >> >> So the question I have is what is the best way to handle these two >> things? I started out working with just a CFQUERY on the same template page >> as the CFGRID, but now I've realized that I would probably want to do a CFC >> instead. The question is, what format do I send back the data with? So far >> the only thing I could come up with that works, but is slow, is to do the >> initial query, then CFLOOP through the data. While looping, format the data >> and put it into a new query using QuerySetCell/QueryAddRow. It seems clunky >> and again, it is slow. Is their any other way, like could I just return a >> structure or something like that? >> >> Any help is appreciated. >> >> > > ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287727 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 select where in headache
Permissions is not a list...the IN statement allows you to pass a list of parameters, so for instance if you had a statement "where id in(1,2,3,4)" it would get the records for all records in that table with id's of 1,2,3,or 4. If the values are varchar's...then each element needs single quotes around it ie..('x','y','z') but numeric types do not. Eric > Original Message > Subject: RE: SQL select where in headache > From: "Dave Francis" <[EMAIL PROTECTED]> > Date: Tue, September 04, 2007 2:22 pm > To: CF-Talk > > I don't know the answer (my SQL is very, very basic), but the way I read it > is he is saying the PERMISSIONS column in the db is also sometimes a list. > > Best advice I have is to normalize the db first. > > >> Unsubscribe: >> http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=20022.5277.4 ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287726 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 select where in headache
ha! I didn't think about it from that angle. I agree with Dave, if in fact you are storing comma-delim'd lists in the db column as well. On 9/4/07, Dave Francis <[EMAIL PROTECTED]> wrote: > > I don't know the answer (my SQL is very, very basic), but the way I read > it > is he is saying the PERMISSIONS column in the db is also sometimes a list. > > Best advice I have is to normalize the db first. > > > -Original Message- > From: Doug R [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 04, 2007 1:46 PM > To: CF-Talk > Subject: Re: SQL select where in headache > > > I think it is because of the single quotes around your comma delimited > numbers. > > When I try to run a similar query, I get a data conversion error. If the > column in the db is an INT, you do not need the single ticks around the > var. That is only for varchar. Also, if it is varchar, each item would > need to be surrounded by ticks (i.e. "... IN ('x','y','z') ) > > On 9/4/07, Hugh Fidgen <[EMAIL PROTECTED]> wrote: > > > > Hiya, > > > > I've got a problem selecting data from a table and I was wondering if > > anyone could help. > > > > Code so far: > > > > > > SELECT * FROM EVENTS > > WHERE PERMISSIONS IN ('#session.status#') > > ORDER BY EVENT_DATE, EVENT_START ASC > > > > > > This works fine where field permissions = 1 but when permissions = > 1,2,x,x > > and so on the query fails. Basically - how can I loop through the comma > > delimeted values in the permissions variable and compare them each > against > > #session.status# until a match is found. > > > > Thanks so much, > > Hugh > > > > > > > > ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287725 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: SQL select where in headache
I don't know the answer (my SQL is very, very basic), but the way I read it is he is saying the PERMISSIONS column in the db is also sometimes a list. Best advice I have is to normalize the db first. -Original Message- From: Doug R [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 1:46 PM To: CF-Talk Subject: Re: SQL select where in headache I think it is because of the single quotes around your comma delimited numbers. When I try to run a similar query, I get a data conversion error. If the column in the db is an INT, you do not need the single ticks around the var. That is only for varchar. Also, if it is varchar, each item would need to be surrounded by ticks (i.e. "... IN ('x','y','z') ) On 9/4/07, Hugh Fidgen <[EMAIL PROTECTED]> wrote: > > Hiya, > > I've got a problem selecting data from a table and I was wondering if > anyone could help. > > Code so far: > > > SELECT * FROM EVENTS > WHERE PERMISSIONS IN ('#session.status#') > ORDER BY EVENT_DATE, EVENT_START ASC > > > This works fine where field permissions = 1 but when permissions = 1,2,x,x > and so on the query fails. Basically - how can I loop through the comma > delimeted values in the permissions variable and compare them each against > #session.status# until a match is found. > > Thanks so much, > Hugh > > ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287724 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Hosting CF 8
Thanks very much for the detailed response Eric! Vince http://www.vincentcollins.com Eric Cobb wrote: > I've used Crystal Tech for years, and I've never had a problem with > their service. I've got about 15 client's sites running on Crystal > Tech, and they're all happy as well. I really like their Control Center > as it's easy for me to manage everything, I can even create accounts for > my clients and give them access to what I want them to have. And all of > my clients absolutely love the statistics reporting package > (SmarterStats) that comes with the hosting. > > I had one client that had 21 domains pointing to the same site with no > problem, but we never needed Domain level FTP accounts so I can't > comment on that. We also didn't need email for each domain, but I know > we had the ability to do it if we wanted. They have a nice webmail > interface that lets you configure individual or domain wide Spam > settings, Greylisting, and Trusted Sender's lists. I manage all of my > SQL Server databases via Enterprise manager and Query Analyzer for SQL > 2000, and DBA Studio for 2005. > > If I have one complaint with Crystal Tech, it's that just starting with > CF 8 you have to go with their $26.95 plan to get SQL Server. I have > several clients on the $16.95 plan with CF 7 and SQL Server that are > going to have to start paying an extra $10 per month so they can move to > CF 8. It's really no big deal, just a bummer that they're taking away > this previous functionality. > > Hope this helps! > > Eric > > ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287723 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF8 cfTextarea Richtext Question
I had asked about this before but I did not get a response. When using the CF-8 cftextarea richtext="true" tag, the file browser does not work. When I click on Browser Server, I get the message This connector is disabled. Please check the 'editor/filemanger/browser/default/connectors/cfm/config.cfm file. So I open it and I see some weird text (I forget what the proper term is). I know what I have to add to the file, but my question is where do I do this? Thanks, Bruce ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287722 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Hosting CF 8
I've used Crystal Tech for years, and I've never had a problem with their service. I've got about 15 client's sites running on Crystal Tech, and they're all happy as well. I really like their Control Center as it's easy for me to manage everything, I can even create accounts for my clients and give them access to what I want them to have. And all of my clients absolutely love the statistics reporting package (SmarterStats) that comes with the hosting. I had one client that had 21 domains pointing to the same site with no problem, but we never needed Domain level FTP accounts so I can't comment on that. We also didn't need email for each domain, but I know we had the ability to do it if we wanted. They have a nice webmail interface that lets you configure individual or domain wide Spam settings, Greylisting, and Trusted Sender's lists. I manage all of my SQL Server databases via Enterprise manager and Query Analyzer for SQL 2000, and DBA Studio for 2005. If I have one complaint with Crystal Tech, it's that just starting with CF 8 you have to go with their $26.95 plan to get SQL Server. I have several clients on the $16.95 plan with CF 7 and SQL Server that are going to have to start paying an extra $10 per month so they can move to CF 8. It's really no big deal, just a bummer that they're taking away this previous functionality. Hope this helps! Eric Vince Collins wrote: > I just blogged about this but I figured I'd post my request at house of > fusion since so many of you also use ISPs. > > In order to find a good fit for hosting, I think you need to list up > front some of your requirements. Here are the basics of mine. > > Requirements: > CF8 > Control Panel > Multiple Parked Domains / Multiple Domain level FTP accounts > Email for each domain parked (if possible) > Storage space > Web-based email along with POP and IMAP connections > MS SQL Server > Connection to SQL Server via Enterprise Manager > Unlimited datasources > Decent amount of web-based storage space. 5+ GBs > Daily Backups for web and SQL Server > Great uptime > Great Support (rarely needed hopefully) > > So far I'm considering CrystalTech.com and FusionLink.com but I'm open > to other options. I'd probably go with what they list as a > "semi-dedicated" or "Preferred" hosting solution for the bandwidth, disk > space and further flexibility. > > Looking forward to hearing your opinions on these or other hosts. > > Vince Collins > http://www.vincentcollins.com > > > > > > ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287721 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Hosting CF 8
I have a VPS with AHPHosting.net. These guys rock and I would go with them again any day. On 9/4/07, Vince Collins <[EMAIL PROTECTED]> wrote: > > That's great to hear about AHPhosting.net 's service. I'll check them > out. Anyone else use AHPhosting.net, FusionLink.com or CrystalTech.com? > > At first glance, AHPhosting.net doesn't offer the "resellers" pack for > CF8 yet. I'll ping them to see what their plans are... > > Vince > http://www.vincentcollins.com > > > > > > David Morgan wrote: > > Been worknig with AHPhosting.net for a while now and have never had a > complaint. The servicec has been personal and impeccable. > > > > > > > > > ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287720 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: SQL select where in headache
Also, don't forget- cfqueryparam is your friend mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 04, 2007 11:39 AM > To: CF-Talk > Subject: RE: SQL select where in headache > > if session.status is a numeric list and PERMISSIONS is a numeric value, > remove the single quotes: > > WHERE PERMISSIONS IN (#session.status#) > > > > > From: Hugh Fidgen [mailto:[EMAIL PROTECTED] > Sent: Tue 9/4/2007 3:24 PM > To: CF-Talk > Subject: SQL select where in headache > > > > Hiya, > > I've got a problem selecting data from a table and I was wondering if > anyone could help. > > Code so far: > > > SELECT * FROM EVENTS > WHERE PERMISSIONS IN ('#session.status#') > ORDER BY EVENT_DATE, EVENT_START ASC > > > This works fine where field permissions = 1 but when permissions = 1,2,x,x > and so on the query fails. Basically - how can I loop through the comma > delimeted values in the permissions variable and compare them each against > #session.status# until a match is found. > > Thanks so much, > Hugh > > > > ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287719 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 select where in headache
I think it is because of the single quotes around your comma delimited numbers. When I try to run a similar query, I get a data conversion error. If the column in the db is an INT, you do not need the single ticks around the var. That is only for varchar. Also, if it is varchar, each item would need to be surrounded by ticks (i.e. "... IN ('x','y','z') ) On 9/4/07, Hugh Fidgen <[EMAIL PROTECTED]> wrote: > > Hiya, > > I've got a problem selecting data from a table and I was wondering if > anyone could help. > > Code so far: > > > SELECT * FROM EVENTS > WHERE PERMISSIONS IN ('#session.status#') > ORDER BY EVENT_DATE, EVENT_START ASC > > > This works fine where field permissions = 1 but when permissions = 1,2,x,x > and so on the query fails. Basically - how can I loop through the comma > delimeted values in the permissions variable and compare them each against > #session.status# until a match is found. > > Thanks so much, > Hugh > > ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287718 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 select where in headache
SELECT * FROM EVENTS WHERE PERMISSIONS IN ORDER BY EVENT_DATE, EVENT_START ASC Try that... On 9/4/07, Hugh Fidgen <[EMAIL PROTECTED]> wrote: > > Hiya, > > I've got a problem selecting data from a table and I was wondering if > anyone could help. > > Code so far: > > > SELECT * FROM EVENTS > WHERE PERMISSIONS IN ('#session.status#') > ORDER BY EVENT_DATE, EVENT_START ASC > > > This works fine where field permissions = 1 but when permissions = 1,2,x,x > and so on the query fails. Basically - how can I loop through the comma > delimeted values in the permissions variable and compare them each against > #session.status# until a match is found. > > Thanks so much, > Hugh > > ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287717 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 select where in headache
if session.status is a numeric list and PERMISSIONS is a numeric value, remove the single quotes: WHERE PERMISSIONS IN (#session.status#) From: Hugh Fidgen [mailto:[EMAIL PROTECTED] Sent: Tue 9/4/2007 3:24 PM To: CF-Talk Subject: SQL select where in headache Hiya, I've got a problem selecting data from a table and I was wondering if anyone could help. Code so far: SELECT * FROM EVENTS WHERE PERMISSIONS IN ('#session.status#') ORDER BY EVENT_DATE, EVENT_START ASC This works fine where field permissions = 1 but when permissions = 1,2,x,x and so on the query fails. Basically - how can I loop through the comma delimeted values in the permissions variable and compare them each against #session.status# until a match is found. Thanks so much, Hugh ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287716 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
SQL select where in headache
Hiya, I've got a problem selecting data from a table and I was wondering if anyone could help. Code so far: SELECT * FROM EVENTS WHERE PERMISSIONS IN ('#session.status#') ORDER BY EVENT_DATE, EVENT_START ASC This works fine where field permissions = 1 but when permissions = 1,2,x,x and so on the query fails. Basically - how can I loop through the comma delimeted values in the permissions variable and compare them each against #session.status# until a match is found. Thanks so much, Hugh ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287715 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Hosting CF 8
Will do, thanks! David Morgan wrote: > I know AHP offers resellers as that is what I am on and they are offering CF8 > etc. I think houseoffusion host with AHP as well. Be sure to give em a call > before passing them up cause the reseller isnt obviously shown. > > David > > > ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287714 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Hosting CF 8
I know AHP offers resellers as that is what I am on and they are offering CF8 etc. I think houseoffusion host with AHP as well. Be sure to give em a call before passing them up cause the reseller isnt obviously shown. David From: Vince Collins <[EMAIL PROTECTED]> Sent: Tuesday, September 04, 2007 2:06 PM To: CF-Talk Subject: Re: Hosting CF 8 That's great to hear about AHPhosting.net 's service. I'll check them out. Anyone else use AHPhosting.net, FusionLink.com or CrystalTech.com? At first glance, AHPhosting.net doesn't offer the "resellers" pack for CF8 yet. I'll ping them to see what their plans are... Vince http://www.vincentcollins.com David Morgan wrote: > Been worknig with AHPhosting.net for a while now and have never had a > complaint. The servicec has been personal and impeccable. > > > ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287713 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFGrid Ajax Results
If you read the documentation, you'll see the answer is no. You have to pass a query into the grid, unless you manually build up the grid elements using cfgridrow. You could combine the city and state into one column in the SQL. You might also be able to generate the URL in your SQL depending on where the querystring variables are coming from. You could also add columns to the grid that are not displayed that hold customer id and order id, and then get those values and pass them using a JavaScript function instead of trying to do it with HREFKEY. Basically, given the power and flexibility of binding the grid to a JavaScript function, I don't see much use for the old-style HREFKEY. On 9/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hello, > > I am wondering if someone could clear something up for me. I am working > on a datagrid using CFGRID in HTML format. I would like to be able to > manipulate the data a little bit before throwing it into the grid. Two > examples are that I want CITY AND STATE to be in one column, and I want to > be able to have one of the columns link to a URL that has two dynamic > variables in it, rather than just one like you could do with using HREFKEY. > (The linked URL would be something like: > http://www.mydomain.com/results.cfm?customer_id=#x#&order_id=#y#). > > So the question I have is what is the best way to handle these two > things? I started out working with just a CFQUERY on the same template page > as the CFGRID, but now I've realized that I would probably want to do a CFC > instead. The question is, what format do I send back the data with? So far > the only thing I could come up with that works, but is slow, is to do the > initial query, then CFLOOP through the data. While looping, format the data > and put it into a new query using QuerySetCell/QueryAddRow. It seems clunky > and again, it is slow. Is their any other way, like could I just return a > structure or something like that? > > Any help is appreciated. > > ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287712 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Hosting CF 8
That's great to hear about AHPhosting.net 's service. I'll check them out. Anyone else use AHPhosting.net, FusionLink.com or CrystalTech.com? At first glance, AHPhosting.net doesn't offer the "resellers" pack for CF8 yet. I'll ping them to see what their plans are... Vince http://www.vincentcollins.com David Morgan wrote: > Been worknig with AHPhosting.net for a while now and have never had a > complaint. The servicec has been personal and impeccable. > > > ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287711 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CFGrid Ajax Results
Hello, I am wondering if someone could clear something up for me. I am working on a datagrid using CFGRID in HTML format. I would like to be able to manipulate the data a little bit before throwing it into the grid. Two examples are that I want CITY AND STATE to be in one column, and I want to be able to have one of the columns link to a URL that has two dynamic variables in it, rather than just one like you could do with using HREFKEY. (The linked URL would be something like: http://www.mydomain.com/results.cfm?customer_id=#x#&order_id=#y#). So the question I have is what is the best way to handle these two things? I started out working with just a CFQUERY on the same template page as the CFGRID, but now I've realized that I would probably want to do a CFC instead. The question is, what format do I send back the data with? So far the only thing I could come up with that works, but is slow, is to do the initial query, then CFLOOP through the data. While looping, format the data and put it into a new query using QuerySetCell/QueryAddRow. It seems clunky and again, it is slow. Is their any other way, like could I just return a structure or something like that? Any help is appreciated. ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287710 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF8 & AJAX
Passing the session ID in the JavaScript is a bad idea. Someone could modify that and look at projects for other users. You already have the session ID on the server, why would you want to pass it again from the select box? On 8/31/07, Asim Manzur <[EMAIL PROTECTED]> wrote: > > I have cfselect statement: > > bind="cfc:MyCfcPath.MyCFCFunction(#session.userid#)" > value="project_id" display="project_name" bindonload="true" /> > > I have a cfinput type="text" > > which will take the value from cfselect and call another function in > cfc and display the value. > > I tried putting the onchange on cfselect, but how to bind that value > to the text cfinput field. > > Appreciate any help in this. > > ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287709 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: UI recommendations needed
Just an update. It seems like it is working. :) I need to tweak it some more to get the result I want but at least the file is being uploaded... within a CFWINDOW. So IFRAME is the answer. Thanks DAN! > Thanks Dan, > > I haven't really used IFRAME much except to display external sites, so > I haven't played with the JS interaction between them. I should give > it a try and see if I can get it to solve the upload problem. Will > tell you how it goes. > > Andy > > >Andy, > > > >>Interesting... I wonder. I used IFRAME to display a PDF file within > a > >>CFLAYOUT (pushing data one way). However I am not sure of the level > of > >>interactivity possible with IFRAME (data going both ways). It might > work if > >>you just want to pass the form information one way to the IFRAME. > > > >What I've done in the past is set the "target" attribute of the /> tag > >to point to the . Then whatever script your posting to in > the > > you can just use a JS callback function to notify the main > page > >when the upload is complete. That's a technique that I've used since > 1998. > > > >-Dan ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287708 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Hosting CF 8
I've always had really good luck with Gearhost.com. They don't have CF8 right now, but they're talking about upgrading soon it sounds like. andy -Original Message- From: Vince Collins [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 11:58 AM To: CF-Talk Subject: Hosting CF 8 I just blogged about this but I figured I'd post my request at house of fusion since so many of you also use ISPs. In order to find a good fit for hosting, I think you need to list up front some of your requirements. Here are the basics of mine. Requirements: CF8 Control Panel Multiple Parked Domains / Multiple Domain level FTP accounts Email for each domain parked (if possible) Storage space Web-based email along with POP and IMAP connections MS SQL Server Connection to SQL Server via Enterprise Manager Unlimited datasources Decent amount of web-based storage space. 5+ GBs Daily Backups for web and SQL Server Great uptime Great Support (rarely needed hopefully) So far I'm considering CrystalTech.com and FusionLink.com but I'm open to other options. I'd probably go with what they list as a "semi-dedicated" or "Preferred" hosting solution for the bandwidth, disk space and further flexibility. Looking forward to hearing your opinions on these or other hosts. Vince Collins http://www.vincentcollins.com ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287707 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Hosting CF 8
Been worknig with AHPhosting.net for a while now and have never had a complaint. The servicec has been personal and impeccable. From: "Bill Betournay" <[EMAIL PROTECTED]> Sent: Tuesday, September 04, 2007 1:10 PM To: CF-Talk Subject: RE: Hosting CF 8 I'm all for CrystalTech but I've always heard good things about HostMySite.com as well. Bill -Original Message- From: Vince Collins [mailto:[EMAIL PROTECTED] Sent: September 4, 2007 12:58 PM To: CF-Talk Subject: Hosting CF 8 I just blogged about this but I figured I'd post my request at house of fusion since so many of you also use ISPs. In order to find a good fit for hosting, I think you need to list up front some of your requirements. Here are the basics of mine. Requirements: CF8 Control Panel Multiple Parked Domains / Multiple Domain level FTP accounts Email for each domain parked (if possible) Storage space Web-based email along with POP and IMAP connections MS SQL Server Connection to SQL Server via Enterprise Manager Unlimited datasources Decent amount of web-based storage space. 5+ GBs Daily Backups for web and SQL Server Great uptime Great Support (rarely needed hopefully) So far I'm considering CrystalTech.com and FusionLink.com but I'm open to other options. I'd probably go with what they list as a "semi-dedicated" or "Preferred" hosting solution for the bandwidth, disk space and further flexibility. Looking forward to hearing your opinions on these or other hosts. Vince Collins http://www.vincentcollins.com ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287706 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Hosting CF 8
I'm all for CrystalTech but I've always heard good things about HostMySite.com as well. Bill -Original Message- From: Vince Collins [mailto:[EMAIL PROTECTED] Sent: September 4, 2007 12:58 PM To: CF-Talk Subject: Hosting CF 8 I just blogged about this but I figured I'd post my request at house of fusion since so many of you also use ISPs. In order to find a good fit for hosting, I think you need to list up front some of your requirements. Here are the basics of mine. Requirements: CF8 Control Panel Multiple Parked Domains / Multiple Domain level FTP accounts Email for each domain parked (if possible) Storage space Web-based email along with POP and IMAP connections MS SQL Server Connection to SQL Server via Enterprise Manager Unlimited datasources Decent amount of web-based storage space. 5+ GBs Daily Backups for web and SQL Server Great uptime Great Support (rarely needed hopefully) So far I'm considering CrystalTech.com and FusionLink.com but I'm open to other options. I'd probably go with what they list as a "semi-dedicated" or "Preferred" hosting solution for the bandwidth, disk space and further flexibility. Looking forward to hearing your opinions on these or other hosts. Vince Collins http://www.vincentcollins.com ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287705 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Hosting CF 8
I just blogged about this but I figured I'd post my request at house of fusion since so many of you also use ISPs. In order to find a good fit for hosting, I think you need to list up front some of your requirements. Here are the basics of mine. Requirements: CF8 Control Panel Multiple Parked Domains / Multiple Domain level FTP accounts Email for each domain parked (if possible) Storage space Web-based email along with POP and IMAP connections MS SQL Server Connection to SQL Server via Enterprise Manager Unlimited datasources Decent amount of web-based storage space. 5+ GBs Daily Backups for web and SQL Server Great uptime Great Support (rarely needed hopefully) So far I'm considering CrystalTech.com and FusionLink.com but I'm open to other options. I'd probably go with what they list as a "semi-dedicated" or "Preferred" hosting solution for the bandwidth, disk space and further flexibility. Looking forward to hearing your opinions on these or other hosts. Vince Collins http://www.vincentcollins.com ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287704 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Model Glue and reactor
Yes, you tell it where the Reactor config file is in the Model-Glue ColdSpring XML file: /deli/config/reactor/Reactor.xml projectName dsnName mysql /path/to/save/reactorcfcs development On 9/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > We are down to this error: > > Not using an ORM adapter. You will not be able to do automatic database > functions. > > Cause: Reactor failed to load: coldspring.beanCreationException : Bean > creation exception during init() of reactor.config.config : An error > occurred when performing a file operation read on file > > C:\ColdFusion8\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\translator\config\reactor\Reactor.xml.:The > cause of this exception was: java.io.FileNotFoundException: > > C:\ColdFusion8\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\translator\config\reactor\Reactor.xml > (The system cannot find the path specified). > > I am using IIS, not the jrun webserver. Why is this pointing ot the > wwwroot in te cf directory instead of the one a c:\inetpub\wwwroot? Is > there a config setting to tell MG/ColdSpring/Reactor where to look? > > The directoryt structure is as such: > > in c:\inetpub\wwwroot\ > \modelglue > \reactor > \coldspring > \threeravensconsulting_com > \translator > \config > \reactor > reactor.xml > > so the functions should be looking in > > c:\inetpub\wwwroot\threeravensconsulting_com\translator\config\reactor\reactor.xml > not > > C:\ColdFusion8\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\translator\config\reactor\Reactor.xml. > > Any help in straightening this out would be greatly appreciated > > > > Eric > > > ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287703 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Model Glue and reactor
We are down to this error: Not using an ORM adapter. You will not be able to do automatic database functions. Cause: Reactor failed to load: coldspring.beanCreationException : Bean creation exception during init() of reactor.config.config : An error occurred when performing a file operation read on file C:\ColdFusion8\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\translator\config\reactor\Reactor.xml.:The cause of this exception was: java.io.FileNotFoundException: C:\ColdFusion8\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\translator\config\reactor\Reactor.xml (The system cannot find the path specified). I am using IIS, not the jrun webserver. Why is this pointing ot the wwwroot in te cf directory instead of the one a c:\inetpub\wwwroot? Is there a config setting to tell MG/ColdSpring/Reactor where to look? The directoryt structure is as such: in c:\inetpub\wwwroot\ \modelglue \reactor \coldspring \threeravensconsulting_com \translator \config \reactor reactor.xml so the functions should be looking in c:\inetpub\wwwroot\threeravensconsulting_com\translator\config\reactor\reactor.xml not C:\ColdFusion8\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\translator\config\reactor\Reactor.xml. Any help in straightening this out would be greatly appreciated Eric ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287702 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Java Script Value to CF Value
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:267372 ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Robert Harrison [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 10:00 AM To: CF-Talk Subject: RE: Java Script Value to CF Value ALTERNATE METHOD: I can read the file using CFFILE. If it is an image file is there some way I can get the width and height? Robert B. Harrison Director of Interactive services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be &. ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287701 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFIMAGE Text Length
I used CFIMAGE to dyanmically create title bars and I don't think there is an automated way using the ImageDrawText function. Tere is no parameter for position besides the x,y coordinates. You would probably have to do some math in figuring out how big each character is and how to get it centered or right justified. What I did is Left align the text and made sure there is enough room for the number of characters I need. >Working with CFIMAGE. > > > >I can't find a way of getting the length of text that you want to render on >an image. > > > >Without this ability how would you centre or right align a bit of text. >Surely this function must exist, am I missing something. > > > >Regards > >Dale Fraser > > > >http://dalefraser.blogspot.com ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287700 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFECLIPSE 'Error opening the editor' JavaFileEditorInput error
Which version did you use. I too had that same issue and eventually decided it was the all-in-one I was downloading. So which is the best version to use? Robert B. Harrison Director of Interactive services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be &. -Original Message- From: Virgil Ius [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 11:20 AM To: CF-Talk Subject: Re: CFECLIPSE 'Error opening the editor' JavaFileEditorInput error seemed i dl the old version on cfeclipse.org. had to find a new version through eclipse itself. problem solved. thanks ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287699 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Java Script Value to CF Value
I'm trying to control image sizes on a image file upload. Image CFC seems to be usable. I'm wishing I could just use CFIMAGE in CF8, but my host is not there yet. Robert B. Harrison Director of Interactive services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be &. -Original Message- From: David Low [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 9:55 AM To: CF-Talk Subject: Re: Java Script Value to CF Value But that is for passing CF values into Javascript, isn't it? Robert is trying to get a client-side JS value (which is defined once an image has loaded) into the server-side CF code. Can't be done in that way. Robert, what is it you're trying to do in general, aside from the snippet of code you gave? Dan Vega wrote: > Robert, > Look at the docs for toScript(), this function will help you out. > > Dan > > On 9/4/07, Robert Harrison <[EMAIL PROTECTED]> wrote: >> I have a value I'm retrieving from Java Script. I need to set it to a CF >> value. What is the correct syntax. Below does not work, but it makes the >> point on what I'm trying to do. How do I do this correctly? >> >> >> >> > language='javascript'>document.write(document.images[0].height)> >> >> >> >> Thanks, >> >> >> >> >> >> Robert B. Harrison >> Director of Interactive services >> Austin & Williams >> 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 >> T : 631.231.6600 Ext. 119 >> >> F : 631.434.7022 >> www.austin-williams.com >> >> Great advertising can't be either/or... It must be &. >> >> >> >> > > ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287698 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFECLIPSE 'Error opening the editor' JavaFileEditorInput error
seemed i dl the old version on cfeclipse.org. had to find a new version through eclipse itself. problem solved. thanks ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287697 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFECLIPSE 'Error opening the editor' JavaFileEditorInput error
seemed i dl the old version on cfeclipse.org. had to find a new version through eclipse itself. problem solved. thanks ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287696 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF Hosting in China
Has anyone had experience with ColdFusion hosting providers in China? Any recommendations? Rey... ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287695 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Java Script Value to CF Value
Yep, that's possible - if you're using CF8 there are tags/functions to do this, if not you could use Rick Root's excellent ImageCFC or Alagad Image Component. For info, Railo has a very handy attribute which lets you get image dimensions directly from a tag. Robert Harrison wrote: > ALTERNATE METHOD: > > I can read the file using CFFILE. > > If it is an image file is there some way I can get the width and height? > > > > > Robert B. Harrison > Director of Interactive services > Austin & Williams > 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 > T : 631.231.6600 Ext. 119 > F : 631.434.7022 > www.austin-williams.com > > Great advertising can't be either/or... It must be &. > > > > ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287694 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Unable to Generate Proxy WSDL File
I am trying to add a web Services component to Macromedia Dreamweaver 8 and when adding the location of the WSDL file I receive the following error. "Unable to Generate Proxy. Emitter Failure. Invalid Endpoint address in port ServicePort in service ServiceLocator: https://blah.blah.blah:443/services/"; There was some other threads indicating that my path statement needs to be changed to incorporate the WSDL.exe and CSC.exe files and that a reboot was required. I have updated my path statements rebooted my machine and have validated that the path statement works. Is there anything else that needs to be done to get dreamweaver to recognize the WSDL file? The WSDL file works fine in my .NET environment without issue. I am running a MS XP machine with all the latest service packs and have MS Visual Studio 8 SDK v2.0 Thank you Shane ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287692 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Java Script Value to CF Value
Man, just do an ajax call with your client side variable as a url parameter (or post if you want to get fancy) and have CF process that and save it as a var... I think you are trying to over-complicate it ;) Chris Peterson Gainey IT Adobe Certified Advanced Coldfusion Developer -Original Message- From: Robert Harrison [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 9:51 AM To: CF-Talk Subject: RE: Java Script Value to CF Value I see the error of my ways. I'm missing client sided variables with server sided variables... oh well, back to the drawing board. Robert B. Harrison Director of Interactive services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be &. -Original Message- From: Ryan Stille [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 9:45 AM To: CF-Talk Subject: Re: Java Script Value to CF Value You'll need two pages or steps to get this value - one for the form itself, then when you submit that form you can have the value. document.forms[0].wide.value = document.images[0].height; document.forms[0].submit(); Robert Harrison wrote: > I have a value I'm retrieving from Java Script. I need to set it to a > CF value. What is the correct syntax. Below does not work, but it > makes the point on what I'm trying to do. How do I do this correctly? > > > > language='javascript'>document.write(document.images[0].height) t>> > > > > Thanks, > > > > > > Robert B. Harrison > Director of Interactive services > Austin & Williams > 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. > 119 > > F : 631.434.7022 > www.austin-williams.com > > Great advertising can't be either/or... It must be &. > > > > ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287693 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 & AJAX
I have a cfc which have two function, function one returns a query (more than one rows) which I am using to populate the cfselect. Then I have some form fields, once the cfselect dropdown have a selected value, I need to call the other function and pass the value of the cfselected ( which will return only one row ) and need to display that in different text boxes. I am using the codes below. The error I am getting is error:bind: Bind failed, element not found: proj_id here are the codes. CFC -- SELECT a.*, b.type, c.status FROM project_master a, project_types b, project_status_types c WHERE a.pst_id = c.pst_id ANDa.type_id = b.type_id ANDa.user_id = #arguments.userid# ORDER BY project_name SELECT a.*, b.type, c.status FROM project_master a, project_types b, project_status_types c WHERE a.pst_id = c.pst_id ANDa.type_id = b.type_id ANDa.project_id = #arguments.proj_id# ORDER BY project_name here is the form. and this is the text field where I need to display the value on the cfc function call Thanks, >You've lost me. Are you syaing you want the cfinput to bind to the >select? Did you try bind="{proj_id}" in the text input? > > >> ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287691 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Java Script Value to CF Value
ALTERNATE METHOD: I can read the file using CFFILE. If it is an image file is there some way I can get the width and height? Robert B. Harrison Director of Interactive services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be &. ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287690 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Java Script Value to CF Value
But that is for passing CF values into Javascript, isn't it? Robert is trying to get a client-side JS value (which is defined once an image has loaded) into the server-side CF code. Can't be done in that way. Robert, what is it you're trying to do in general, aside from the snippet of code you gave? Dan Vega wrote: > Robert, > Look at the docs for toScript(), this function will help you out. > > Dan > > On 9/4/07, Robert Harrison <[EMAIL PROTECTED]> wrote: >> I have a value I'm retrieving from Java Script. I need to set it to a CF >> value. What is the correct syntax. Below does not work, but it makes the >> point on what I'm trying to do. How do I do this correctly? >> >> >> >> > language='javascript'>document.write(document.images[0].height)> >> >> >> >> Thanks, >> >> >> >> >> >> Robert B. Harrison >> Director of Interactive services >> Austin & Williams >> 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 >> T : 631.231.6600 Ext. 119 >> >> F : 631.434.7022 >> www.austin-williams.com >> >> Great advertising can't be either/or... It must be &. >> >> >> >> > > ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287689 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Java Script Value to CF Value
But that is for passing CF values into Javascript, isn't it? Robert is trying to get a client-side JS value (which is defined once an image has loaded) into the server-side CF code. Can't be done in that way. Robert, what is it you're trying to do in general, aside from the snippet of code you gave? Dan Vega wrote: > Robert, > Look at the docs for toScript(), this function will help you out. > > Dan > > On 9/4/07, Robert Harrison <[EMAIL PROTECTED]> wrote: >> I have a value I'm retrieving from Java Script. I need to set it to a CF >> value. What is the correct syntax. Below does not work, but it makes the >> point on what I'm trying to do. How do I do this correctly? >> >> >> >> > language='javascript'>document.write(document.images[0].height)> >> >> >> >> Thanks, >> >> >> >> >> >> Robert B. Harrison >> Director of Interactive services >> Austin & Williams >> 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 >> T : 631.231.6600 Ext. 119 >> >> F : 631.434.7022 >> www.austin-williams.com >> >> Great advertising can't be either/or... It must be &. >> >> >> >> > > ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287688 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Java Script Value to CF Value
Robert, I couldn't really get a feel for what you're doing but take a look at two options: 1) Doing an XHR called (Ajax) to a CF template to set it and do any work necessary. 2) Look into WDDX to help you exchange JS native data elements between CF. http://www.webmonkey.com/webmonkey/99/15/index3a_page4.html?tw=authoring Rey... David Low wrote: > That script won't work, as the CF code will already be executed before > the client-side Javascript does anything. CF might be able to write to > Javascript but can't read it. > > Robert Harrison wrote: >> I have a value I'm retrieving from Java Script. I need to set it to a CF >> value. What is the correct syntax. Below does not work, but it makes the >> point on what I'm trying to do. How do I do this correctly? >> >> >> >> > language='javascript'>document.write(document.images[0].height)> >> >> >> >> Thanks, >> >> >> >> >> >> Robert B. Harrison >> Director of Interactive services >> Austin & Williams >> 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 >> T : 631.231.6600 Ext. 119 >> >> F : 631.434.7022 >> www.austin-williams.com >> >> Great advertising can't be either/or... It must be &. >> >> >> >> > > ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287687 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Java Script Value to CF Value
I see the error of my ways. I'm missing client sided variables with server sided variables... oh well, back to the drawing board. Robert B. Harrison Director of Interactive services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be &. -Original Message- From: Ryan Stille [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 9:45 AM To: CF-Talk Subject: Re: Java Script Value to CF Value You'll need two pages or steps to get this value - one for the form itself, then when you submit that form you can have the value. document.forms[0].wide.value = document.images[0].height; document.forms[0].submit(); Robert Harrison wrote: > I have a value I'm retrieving from Java Script. I need to set it to a CF > value. What is the correct syntax. Below does not work, but it makes the > point on what I'm trying to do. How do I do this correctly? > > > > language='javascript'>document.write(document.images[0].height)> > > > > Thanks, > > > > > > Robert B. Harrison > Director of Interactive services > Austin & Williams > 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 > T : 631.231.6600 Ext. 119 > > F : 631.434.7022 > www.austin-williams.com > > Great advertising can't be either/or... It must be &. > > > > ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287686 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Java Script Value to CF Value
Robert, Look at the docs for toScript(), this function will help you out. Dan On 9/4/07, Robert Harrison <[EMAIL PROTECTED]> wrote: > > I have a value I'm retrieving from Java Script. I need to set it to a CF > value. What is the correct syntax. Below does not work, but it makes the > point on what I'm trying to do. How do I do this correctly? > > > > language='javascript'>document.write(document.images[0].height)> > > > > Thanks, > > > > > > Robert B. Harrison > Director of Interactive services > Austin & Williams > 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 > T : 631.231.6600 Ext. 119 > > F : 631.434.7022 > www.austin-williams.com > > Great advertising can't be either/or... It must be &. > > > > ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287685 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Java Script Value to CF Value
You'll need two pages or steps to get this value - one for the form itself, then when you submit that form you can have the value. document.forms[0].wide.value = document.images[0].height; document.forms[0].submit(); Robert Harrison wrote: > I have a value I'm retrieving from Java Script. I need to set it to a CF > value. What is the correct syntax. Below does not work, but it makes the > point on what I'm trying to do. How do I do this correctly? > > > > language='javascript'>document.write(document.images[0].height)> > > > > Thanks, > > > > > > Robert B. Harrison > Director of Interactive services > Austin & Williams > 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 > T : 631.231.6600 Ext. 119 > > F : 631.434.7022 > www.austin-williams.com > > Great advertising can't be either/or... It must be &. > > > > ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287683 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Java Script Value to CF Value
That script won't work, as the CF code will already be executed before the client-side Javascript does anything. CF might be able to write to Javascript but can't read it. Robert Harrison wrote: > I have a value I'm retrieving from Java Script. I need to set it to a CF > value. What is the correct syntax. Below does not work, but it makes the > point on what I'm trying to do. How do I do this correctly? > > > > language='javascript'>document.write(document.images[0].height)> > > > > Thanks, > > > > > > Robert B. Harrison > Director of Interactive services > Austin & Williams > 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 > T : 631.231.6600 Ext. 119 > > F : 631.434.7022 > www.austin-williams.com > > Great advertising can't be either/or... It must be &. > > > > ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287684 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Java Script Value to CF Value
I have a value I'm retrieving from Java Script. I need to set it to a CF value. What is the correct syntax. Below does not work, but it makes the point on what I'm trying to do. How do I do this correctly? document.write(document.images[0].height)> Thanks, Robert B. Harrison Director of Interactive services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be &. ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287682 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfwindow refreshes main page
You are right the flash form can't be used within the same html form. On 9/4/07, Larry Schaberg <[EMAIL PROTECTED]> wrote: > > Ok, I found the issue. I guess you are not able to use flash forms when > using . When remove my flash form that is in it, and change it to > HMTL or just a regular form with no format="", it functions properly without > any issues. > > ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287681 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 refreshes main page
Ok, I found the issue. I guess you are not able to use flash forms when using . When remove my flash form that is in it, and change it to HMTL or just a regular form with no format="", it functions properly without any issues. ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287680 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfwindow refreshes main page
I have fixed my error, I was not passing in the variable correctly. Now I am not getting any errors, but my primary page still refreshes instead of the when I click on any other row in the ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287679 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Text Field Auto-Fill
We would need to see the associated JavaScript to help out with that one peter. Bill -Original Message- From: Peter Tanswell [mailto:[EMAIL PROTECTED] Sent: September 4, 2007 7:34 AM To: CF-Talk Subject: Text Field Auto-Fill Hi there I have a site which I put together in a few hours. I have one piece of code which works on another site but for some reason isnt working on this site and I cant see why? Basically I'm expecting that is someone clicks on the field they will clear the field so they can enter their email address - but for some reason the field is not being cleared. Many thanks in advance ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287678 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Text Field Auto-Fill
Peter, Just out of interest, do you have any javascript at the head of the page, or included in some way? Looks like there are functions being called but the code doesn't show where they are running from... Peter Tanswell wrote: > Hi there > > I have a site which I put together in a few hours. > > I have one piece of code which works on another site but for some reason isnt > working on this site and I cant see why? > > method="post" > > > > value="Enter e-mail address" onfocus="ClearSubEmail(true)" > onblur="ClearSubEmail(false)" /> > alt="Subscribe to receive the presentation" title="Subscribe to receive the > presentation" /> > > > > > > Basically I'm expecting that is someone clicks on the field they will clear > the field so they can enter their email address - but for some reason the > field is not being cleared. > > Many thanks in advance > > ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287677 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Text Field Auto-Fill
Hi there I have a site which I put together in a few hours. I have one piece of code which works on another site but for some reason isnt working on this site and I cant see why? Basically I'm expecting that is someone clicks on the field they will clear the field so they can enter their email address - but for some reason the field is not being cleared. Many thanks in advance ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287676 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Check / Validate Emailadress
On Tuesday 04 Sep 2007, [EMAIL PROTECTED] wrote: > If you are using CF7+ you can use > isValid("email", sMyEmailAddress) Be aware this only performs a syntax check. It in no way makes sure that the address is 'live'. -- Tom Chiverton Helping to greatly syndicate best-of-breed design-patterns on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287675 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Check / Validate Emailadress
If you are using CF7+ you can use isValid("email", sMyEmailAddress) On 04/09/07, nicolai bass dh <[EMAIL PROTECTED]> wrote: > Hello, > > i want to know how i could validate an emailadress after posting. > > Is there an existing function in CF? > > Thank your for your help & with best regards > > Nic > > ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287674 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Check / Validate Emailadress
Hello, i want to know how i could validate an emailadress after posting. Is there an existing function in CF? Thank your for your help & with best regards Nic ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287673 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4