cflocation url=#CGI.SCRIPT_NAME#
Hi there I have a login page for an application and I am trying to find out what page a person goes to once they have successfully logged in. There is a line in the code: cflocation url=#CGI.SCRIPT_NAME# But I cant see anywhere in the code what page the user should go to. Does anyone have any ideas where I could look - how does #CGI.SCRIPT_NAME# work so as to send a user to a particular page. Thanks in advance. P ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273237 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Site shutdown and avoiding CF 404 errors?
On Tuesday 20 Mar 2007, Jake . wrote: Can you configure a page not found handler ? Not sure what you mean? I'm on Windows 2003, running CF7 and IIS CF has a page not found handler, I expect IIS has one too. -- Tom Chiverton Helping to interactively optimize best-of-breed e-services 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. ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273238 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
SOT: Broadband Wireless
I am working on a project that involves setting up kiosks nationwide. Lookin to have wireless broadband for each of those kiosks. Any of you know if there are carriers that have business packages so that I can get wireless broadband for all of those kiosks? I would hate to pay $59.99 a month for each kiosk, considering there might be 500 to 1000 of em Please help :) - Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit. ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273239 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 url=#CGI.SCRIPT_NAME#
CGI.SCRIPT_NAME is the URL of the currently running script without the domain part. This means the page is redirecting back to itself. On 3/21/07, Pete [EMAIL PROTECTED] wrote: Hi there I have a login page for an application and I am trying to find out what page a person goes to once they have successfully logged in. There is a line in the code: cflocation url=#CGI.SCRIPT_NAME# But I cant see anywhere in the code what page the user should go to. Does anyone have any ideas where I could look - how does #CGI.SCRIPT_NAME# work so as to send a user to a particular page. Thanks in advance. P ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273240 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 url=#CGI.SCRIPT_NAME#
CGI.SCRIPT_NAME is the same page name that the user is on. For more on CGI, do a CFDUMP VAR=#CGI# -Original Message- From: Pete [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 4:13 AM To: CF-Talk Subject: cflocation url=#CGI.SCRIPT_NAME# Hi there I have a login page for an application and I am trying to find out what page a person goes to once they have successfully logged in. There is a line in the code: cflocation url=#CGI.SCRIPT_NAME# But I cant see anywhere in the code what page the user should go to. Does anyone have any ideas where I could look - how does #CGI.SCRIPT_NAME# work so as to send a user to a particular page. Thanks in advance. P ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273241 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CSS Firefox vs. IE Question...
Dana Kowalski wrote: Sandra, look at the actual code on the page. It references ID's multiple times. Yeah the main offender seems to be the id categories. e.g. div id=categories class=widget_style1 As already mentioned, just make it a class, but first things first. http://validator.w3.org/check?verbose=1uri=http%3A%2F%2Fwww.buickpartspage.com%2F Some of those errors are due to the two opening head tags, and it is precisely this that needs sorted out if you ever want consistent cross-browser rendering. Don't use javascript to serve different style sheets. Again, as Sandra mentioned, you can use conditional comments to give IE what it needs. So the following... script language=JavaScript type=text/javascript!-- if ((navigator.appName == Microsoft Internet Explorer) (navigator.userAgent.indexOf (Opera) == -1)) { document.write ('link href=style_ie.css rel=stylesheet type=text/css media=screen /'); }; //--/script should be changed to !--[if IE] link href=style_ie.css rel=stylesheet type=text/css media=screen / ![endif]-- Conditional comments were designed for exactly this sort of thing, so use them! Next, don't use underscores in class and ID names. http://developer.mozilla.org/en/docs/Underscores_in_class_and_ID_Names I'm with Sandra on the recommendation of a strict doctype, whether that be html 4 or xhtml 1. If you're not experienced with CSS layouts, it's better to avoid the possibility of Mozilla's almost standards mode which will likely just create confusion. Lastly, as a slightly picky side note, try and use semantic names for your classes and IDs. http://www.w3.org/QA/Tips/goodclassnames Example; h2 class=h2 could be changed to something like h2 class=cathead and the wrapper for this removed. BTW, despite all the errors, the page actually displays quite well in IE6 on Win2k and IE7 on XP Pro, and looks good visually (although the fonts are a little tiny and hard to read, at least for my blind eyes). HTH Mark ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273242 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Broadband Wireless
It may be more competitive for you to buy the broadband in on a reseller account, it'll give you a much more competitive pricing structure. Most major ISP's will offer this kind of reseller account, may be worth speaking to your current hosting provider about it. Rob -Original Message- From: gjh jhjh [mailto:[EMAIL PROTECTED] Sent: 21 March 2007 09:32 To: CF-Talk Subject: SOT: Broadband Wireless I am working on a project that involves setting up kiosks nationwide. Lookin to have wireless broadband for each of those kiosks. Any of you know if there are carriers that have business packages so that I can get wireless broadband for all of those kiosks? I would hate to pay $59.99 a month for each kiosk, considering there might be 500 to 1000 of em Please help :) - Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit. ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273243 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 Form Validation
Morning Tom, Thanks for the in-depth explanation on this stuff. The bean method sounds quite intriguing and it's not one I had considered before you mentioned it. Whilst this first form is nothing special, just a basic contact form which allows the user to send us a sales enquiry, I'd rather go for a method that I can expand on and use down the line, I'm not one for cheating at this kind of thing :-D Before you got back to me yesterday I played around with a stack of different ideas, and at the moment my form process works something like this. I have 2 events, one to display the form, then another which processes the form and posts the user to a 'thank you' view. Now, in my controller for processing the form I have function called 'sendMail', and in here I have been doing validation on the fields, building a structure of the error messages. After validation, if the structCount() for errors is 0, then I post the fields off in a mail using a mailer component, but if the structCount() is GTE 1 then I place the errors into the ViewState, and I add a result like ARGUMENTS.Event.addResult(ValidationError); In my model-glue XML it is set to pass the user back to the form if the result 'validationerror' is found. Then in the view I simply output the error structure from the viewstate. Now, whilst this works for me, I'm always looking to adopt the 'best practice' type methods, so I'm keen to learn a little more about how exactly I could implement your bean method. I'd love to hear more, Thanks Tom, Rob -Original Message- From: Tom McNeer [mailto:[EMAIL PROTECTED] Sent: 20 March 2007 17:54 To: CF-Talk Subject: Re: Model-Glue Form Validation I'd say the overall answer is the standby: It depends. There's nothing wrong with using the CFC you mentioned, if it still suits your needs. One of the frequently used features of Model-Glue (or Mach-II, for that matter) is the ability to automagically populate a bean from a form submission. This could be a bean you build yourself; or it could be something like a Record object created by a framework like Reactor or Transfer. The bean encapsulates the form submission -- and most likely represents a record headed for your database. You could then call methods in your validation CFC and pass in getters from the bean, like isEmail(bean.getEmail). If the validations pass, you then use the bean to do whatever's next -- like update the database. Record objects created by the ORM frameworks often have their own validation methods, which can be extended. As far as when/where you do your validation -- strictly it should probably be done within the model, in a business object of some kind. Your validation rules may be more than just validating an e-mail address. They might involve comparisons of two values from the form submission, or checking against some other value. So they're really business rules. On the other hand -- there's no big reason to complicate things either. If all you're doing is basic stuff like validating e-mail addresses, whether or not a value is numeric, and things like that, I don't think anyone will shoot you for doing it within the controller. As far as error handling goes, a typical scenario would be to create a message based on the validation failure, stuff it into the event -- event.setValue(errorMessage), then create a Result which would announce the event calling the form page again. -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560 ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273244 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Need More SQL help - DRIVING ME NUTS!
Put every field from the select that is not an aggregate in your group by and you get something understandable. Jochem Jochem, I did this and it still gives me incorrect results. It gives me a count of 1 for each answer, no matter what the answer is. I'm just testing with one evaluation record to keep it simple. I should still get 0 records returned for some of these answers. I don't know why I can't simply run a query that says this: Show me a list of all the questions. With each question, I need all possible answers. With each possible answer, show me a count of the ones that were selected I should be able to get this with a query, but I'm not. I'm missing something. ARG!! Will ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273245 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Need More SQL help - DRIVING ME NUTS!
No been following this thread, but can you do the first two parts? Show me a list of all the questions. With each question, I need all possible answers What about the third part? With each possible answer, show me a count of the ones that were selected Do those then try to combine them. Adrian -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: 21 March 2007 10:45 To: CF-Talk Subject: Re: Need More SQL help - DRIVING ME NUTS! Put every field from the select that is not an aggregate in your group by and you get something understandable. Jochem Jochem, I did this and it still gives me incorrect results. It gives me a count of 1 for each answer, no matter what the answer is. I'm just testing with one evaluation record to keep it simple. I should still get 0 records returned for some of these answers. I don't know why I can't simply run a query that says this: Show me a list of all the questions. With each question, I need all possible answers. With each possible answer, show me a count of the ones that were selected I should be able to get this with a query, but I'm not. I'm missing something. ARG!! Will ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273246 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Parsing Blogger Feeds
What error do you get? A valid feed is, by definition, valid XML, but sometimes white space gets thrown in by the process of downloading, etc. On 3/20/07, Tom Avey [EMAIL PROTECTED] wrote: A few weeks ago my feeds from blogger quit working. I'm looking for coldfusion solutions but looks like xmlparse does not work on blogger feeds. Anyone having the same problem? Any advice? I'm stumped. Here's the code cfhttp url=http://www.fgbc.org/fgbc-world.xml; method=get / cfset objRSS = xmlParse(cfhttp.filecontent) / CFDUMP var=#objRSS# / It works on non-blogger feeds. ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273247 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 url=#CGI.SCRIPT_NAME#
cgi.script_name is the 'current' page so cflocation url=#CGI.SCRIPT_NAME# would send them to the page they are already on (basically refresh the page). Perhaps the page checks if they are logged in and does something if they are or, if they're not, logs them in and then 'refreshes' the page. - Original Message - From: Pete [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, March 21, 2007 8:13 AM Subject: cflocation url=#CGI.SCRIPT_NAME# Hi there I have a login page for an application and I am trying to find out what page a person goes to once they have successfully logged in. There is a line in the code: cflocation url=#CGI.SCRIPT_NAME# But I cant see anywhere in the code what page the user should go to. Does anyone have any ideas where I could look - how does #CGI.SCRIPT_NAME# work so as to send a user to a particular page. Thanks in advance. P ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273248 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Need More SQL help - DRIVING ME NUTS!
No been following this thread, but can you do the first two parts? Yes, I've got this part working with Jochem's fine SQL. What about the third part? With each possible answer, show me a count of the ones that were selected Nope Do those then try to combine them. Adrian This is where the problem is. I haven't figured out how to combine them, group them, whatever needs to be done, I haven't gotten it right yet. I can't quit on this until it works. Here's the data retrieval as it stands now: http://wtomlinson.com/evalQRYs/qryDatabig.gif Here's the data in my many table: http://wtomlinson.com/evalQRYs/tableData.gif This shouldn't be hard!! Thanks adrian, Will ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273249 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CF7 on XP2 with IIS
Update... Thanks to Rob Wilkerson who led me down the right path, it was NOD32. I uninstalled NOD32 and CF installed without any problems. Just for the hell of it, I wiped out CF and reinstalled NOD 32 to see what the problem was and the Internet module was causing the problem. When I disabled it, I could install CF with NOD32 running without any problems. Jacob -Original Message- From: Jacob [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 9:34 AM To: CF-Talk Subject: RE: CF7 on XP2 with IIS Doing the slient install, CF installs fine. When I go to run the connector for IIS, I get the following: Could not connect to any Jrun/ColdFusion servers on host localhost. Possible causes: Server not running -Start Macromedia JRun4 or ColdFusion MX server Server running -JNDI listen port in jndi.properties blocked by TCP/IP filtering or firewall on server -host restriction in security.properties blocking communications with server CF is running. I opened ports 8500 2920 and 51010 and 51011 in the TCP setting. Still no dice. -Original Message- From: Rob Wilkerson [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 8:30 AM To: CF-Talk Subject: Re: CF7 on XP2 with IIS I've done many of these installs with no problems. You didn't mention the issue(s) you were having, so I'm not sure what you might be bumping into. On 3/20/07, Jacob [EMAIL PROTECTED] wrote: Okay.. what is the secret on installing CF7 on XP2 with IIS? I disabled the firewall, allowed the ports needed (2920, 8500), tried the web connected (which fails). any ideas? I have had no problems on Windows 2003, but XP2. yikes! Thanks Jacob ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273250 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: including functions
Well, this is good to know. However, I'm still running into trouble. Now that I've removed the functions to a subdirectory, all the code inside has to be modified to look for dependencies relatively. For example in my CFC, I instantiate another component in a subdirectory thus: component=subdir.component. However, when I remove the function to the same directory, I have to remove the subdir. from the component location. In other words, even though the parent.cfc includes subdir/function.cfm, the function.cfm executes in context of 'subdir/', not '../'. I can't decide whether this is good or bad. Certainly not expected. -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 11:31 AM To: CF-Talk Subject: RE: including functions A, I see what you are doing :) To solve this, just include the CFFunction tag in the INCLUDE file itself. This will still properly define the function within the parent CFC. And, since you have to have CFFunction tag to have VAR and what not, this will work fine. The THIS and VARIABLES scope will act just like you want them to. cfcomponent cfinclude template=_fn_IsValid.cfm / cfinclude template=_fn_HasErrors.cfm / cfinclude template=_fn_OtherMethod.cfm / /cfcomponent ... Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ This email message may contain privileged and/or confidential information. If you are not the intended recipient(s), you are hereby notified that any dissemination, distribution, or copying of this email message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this email message from your computer. CAUTION: The Agency of Human Services cannot ensure the confidentiality or security of email transmissions. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273251 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Site shutdown and avoiding CF 404 errors?
Jake, In IIS, bring up the properties for the site you are talking about. Go to the Home Directory tab and click on the Configuration button. Select the .cfm file extention and click the edit button. In the dialog box that open up, make sure that there is a check in the Check that file exists checkbox. Repeat this for any other CF extention (.cfml, .cfc). Close all the open dialog boxes. By doing this, IIS will verify that the file exists on the site before passing the request off to CF. Since the file does not exist, IIS uses it's built in 404 handler and you will no longer receive CF errors. Hope this helps, Dean On 3/20/07, Jake. [EMAIL PROTECTED] wrote: I'm on Windows 2003, running CF7 and IIS -- __ Dean Lawrence, CIO/Partner Internet Data Technology 888.GET.IDT1 ext. 701 * fax: 888.438.4381 http://www.idatatech.com/ Corporate Internet Development and Marketing Specialists ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273252 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: including functions
Oblio, As you have found out, CFC creation paths are relative to the CALLING template, not the compiled-post-include-rendering-and-all-that-jazz object. Therefore, the CFC path is relative the included template, not the CFC. One option to over come this is to have a CreateCFC() method in an included template that is in a higher directory: cfinclude template=../../_fn_CreateCFC.cfm / Then, in each of your other include functions, you can assume that THIS.CreateCFC() is a valid method of the current component. Then, instead of calling CreateObject() with your path, call THIS.CreateCFC( component_name ) and you can handle all of the path stuff in the CreateCFC() method which will be higher than the current directory. Make sense? Here is a blog entry on the proof of concept (but not using CFCs exactly): http://www.bennadel.com/index.cfm?dax=blog:348.view .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Leitch, Oblio [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 8:36 AM To: CF-Talk Subject: RE: including functions Well, this is good to know. However, I'm still running into trouble. Now that I've removed the functions to a subdirectory, all the code inside has to be modified to look for dependencies relatively. For example in my CFC, I instantiate another component in a subdirectory thus: component=subdir.component. However, when I remove the function to the same directory, I have to remove the subdir. from the component location. In other words, even though the parent.cfc includes subdir/function.cfm, the function.cfm executes in context of 'subdir/', not '../'. I can't decide whether this is good or bad. Certainly not expected. ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273253 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Parsing Blogger Feeds
What error do you get? A valid feed is, by definition, valid XML, but sometimes white space gets thrown in by the process of downloading, etc. On 3/20/07, Tom Avey [EMAIL PROTECTED] wrote: I was using magpierss, a php script but it began to not fetch new feeds from blogger and only read from the cache (which is now weeks old). It worked fine on other non-blogger feeds. I assume it has something to do with bloggers updates and how they have affected their atom.xml feed. When I turn off the cache using Maggpie I get the following error: Warning: MagpieRSS: Failed to fetch http://fgbc-world.blogspot.com/atom.xml (Request timed out after 10 seconds) in /home/content/t/o/m/tomavey/html/magpierss/rss_fetch.inc on line 239 It looks like Magpierss is no longer supported so I am looking for a CF solution. Here is the error message I get with CF (http://fgbc.org/feedtest2.cfm): An error occured while Parsing an XML document. Content is not allowed in prolog. The error occurred in /var/chroot/home/content/t/o/m/tomavey/html/feedtest2.cfm: line 7 5 : cfhttp url=http://fgbc-world.blogger.com/atom.xml; method=get / 6 : 7 : cfset objRSS = xmlParse(cfhttp.filecontent) / 8 : 9 : CFDUMP var=#objRSS# / I can http the atom.xml page in my browser (Firefox) and even subscribe to it. If I copy the xml code from that xml page and create a new one on my server it parses fine (http://fgbc.org/feedtest.cfm). ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273254 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CSS Firefox vs. IE Question...
Mark/Sandra... who knew there was so much to proper CSS? Good thing I have a CSS book on order. Thanks for your help and clarification. Che -Original Message- From: Mark Henderson [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 5:41 AM To: CF-Talk Subject: Re: CSS Firefox vs. IE Question... Dana Kowalski wrote: Sandra, look at the actual code on the page. It references ID's multiple times. Yeah the main offender seems to be the id categories. e.g. div id=categories class=widget_style1 As already mentioned, just make it a class, but first things first. http://validator.w3.org/check?verbose=1uri=http%3A%2F%2Fwww.buickpartspage. com%2F Some of those errors are due to the two opening head tags, and it is precisely this that needs sorted out if you ever want consistent cross-browser rendering. Don't use javascript to serve different style sheets. Again, as Sandra mentioned, you can use conditional comments to give IE what it needs. So the following... script language=JavaScript type=text/javascript!-- if ((navigator.appName == Microsoft Internet Explorer) (navigator.userAgent.indexOf (Opera) == -1)) { document.write ('link href=style_ie.css rel=stylesheet type=text/css media=screen /'); }; //--/script .should be changed to !--[if IE] link href=style_ie.css rel=stylesheet type=text/css media=screen / ![endif]-- Conditional comments were designed for exactly this sort of thing, so use them! Next, don't use underscores in class and ID names. http://developer.mozilla.org/en/docs/Underscores_in_class_and_ID_Names I'm with Sandra on the recommendation of a strict doctype, whether that be html 4 or xhtml 1. If you're not experienced with CSS layouts, it's better to avoid the possibility of Mozilla's almost standards mode which will likely just create confusion. Lastly, as a slightly picky side note, try and use semantic names for your classes and IDs. http://www.w3.org/QA/Tips/goodclassnames Example; h2 class=h2 could be changed to something like h2 class=cathead and the wrapper for this removed. BTW, despite all the errors, the page actually displays quite well in IE6 on Win2k and IE7 on XP Pro, and looks good visually (although the fonts are a little tiny and hard to read, at least for my blind eyes). HTH Mark ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273255 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: No ColdFusion Here
I do think there would be a benefit to Adobe to offering a version of Coldfusion tailored to the budget shared hosting market... something with limitations on advanced functionality, but not as broken as the old Express version was.. you know.. something WITH advanced security options, but without things like event gateways, cfreport, etc There are other reasons why nobody offers coldfusion in their budget packages too - it's not just the price of Coldfusion itself. Most large hosting companies put huge amounts of sites on their servers... You can throw a thousand php sites on a single server... you can't do that with coldfusion. Shared coldfusion hosting is a lot tougher to manage for all variety of reasons, and it takes a LOT more memory and CPU to run a servlet engine like Coldfusion/Jrun than it does to just have a couple of DLLs serving up php and ASP pages. Rick ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273256 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Parsing Blogger Feeds
If you're using PHP5, you can use SimpleXML to parse your feed. There's a decent explanation at http://blog.stuartherbert.com/php/2007/01/07/using-simplexml-to-parse-rss-feeds/. If you're still looking to move to CF, the look at Ray Camden's RSS.cfc. I don't have a URI, but check riaforge.com or his blog at ray.camdenfamily.com. For your error, though, I just blogged one reason for that (and a solution) at http://musetracks.instantspot.com/blog/index.cfm/2007/3/18/Consuming-an-RSS-Feed-with-ColdFusion. Specifically, look at Issue II. Hope this helps. On 3/21/07, Tom Avey [EMAIL PROTECTED] wrote: What error do you get? A valid feed is, by definition, valid XML, but sometimes white space gets thrown in by the process of downloading, etc. On 3/20/07, Tom Avey [EMAIL PROTECTED] wrote: I was using magpierss, a php script but it began to not fetch new feeds from blogger and only read from the cache (which is now weeks old). It worked fine on other non-blogger feeds. I assume it has something to do with bloggers updates and how they have affected their atom.xml feed. When I turn off the cache using Maggpie I get the following error: Warning: MagpieRSS: Failed to fetch http://fgbc-world.blogspot.com/atom.xml (Request timed out after 10 seconds) in /home/content/t/o/m/tomavey/html/magpierss/rss_fetch.inc on line 239 It looks like Magpierss is no longer supported so I am looking for a CF solution. Here is the error message I get with CF (http://fgbc.org/feedtest2.cfm): An error occured while Parsing an XML document. Content is not allowed in prolog. The error occurred in /var/chroot/home/content/t/o/m/tomavey/html/feedtest2.cfm: line 7 5 : cfhttp url=http://fgbc-world.blogger.com/atom.xml; method=get / 6 : 7 : cfset objRSS = xmlParse(cfhttp.filecontent) / 8 : 9 : CFDUMP var=#objRSS# / I can http the atom.xml page in my browser (Firefox) and even subscribe to it. If I copy the xml code from that xml page and create a new one on my server it parses fine (http://fgbc.org/feedtest.cfm). ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273257 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Microsoft Mappoint Working on CFMX 7 Standalone
Hey Paul, I will get my working example packed up and on the web for your to download. Eric ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273258 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Need More SQL help - DRIVING ME NUTS!
Three things I noted... 1. There are a lot of duplicated columns in the result list...I removed those to make it easier to read and debug 2. It looks to me like tblevalanswerresults needs to be joined to both tblquestions and tblanswers...see below 3. When you join on tblEvaluations like you did previously, and then filter with a WHERE clause, you may get instances where you won't return some of the questions in a set because none were answered for that instructor. I moved the filtering on instructor up into the join. If this doesn't work, just do a dump of each table and post that somewhere. It will be easier to debug with the whole picture. SELECT Q.questionID,Q.questionsetID,Q.question,ARS.answersetname,A.answerID,A.answername,A.answervalue, COUNT(EAR.answerID) AS numAnswers FROM tblquestions Q INNER JOIN tblanswersets ARS USING (answerSetID) INNER JOIN tblanswers A USING (answerSetID) LEFT JOIN (tblevalanswerresults EAR INNER JOIN tblEvaluations E ON E.evalID = EAR.evalID AND E.InstructorID = '#SESSION.CollegeID#') ON A.answerID = EAR.answerID AND Q.QuestionID = EAR.QuestionID GROUP BY Q.questionID,Q.questionsetID,Q.question,ARS.answersetname,A.answerID,A.answername,A.answervalue ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273259 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Form Field Names in Upper Case?
Back in the CF 5 days, when you submitted a form, ColdFusion would convert the form field names to all upper case. In CF MX, this was supposed to be fixed such that the original case would be maintained. I am running CF MX7 and am running into this issue again. If I run the following example, the text field name starts as 'testFieldName', but dumping the form.fieldnames results in 'TESTFIELDNAME'. Why? html head/head body cfif isDefined('form') cfdump var=#form# / /cfif form action=formTest.cfm method=POST input type=text name=testFieldName value= / input type=submit /form /body /html I am returning these field names to the user interface when then uses them for dom manipulation and Javascript is throwing a fit because the two field names don't match. Any ideas? Thanks -- Jeff ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273260 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Eclipse/CF Eclipse environment questions
I might be wrong, but as a purely Java based application I'm fairly sure that Eclipse/CFEclipse don't do any registry edits. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Heald, Timothy J wrote: With most windows applications, especially those that use the MSI, you can prohibit the user from doing installs. You can further limit it by disallowing access to the registry. Oh well, thanks for the input man. I'll see what I can do but I'm thinking they won't be allowing it. -Original Message- From: Jacob Munson [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 4:35 PM To: CF-Talk Subject: Re: Eclipse/CF Eclipse environment questions You're right, as long as a person can install into their My Documents folder, they can do whatever they want, but this is the same with anything, not just Eclipse. If that is going to stop them from allowing Eclipse, then they can't allow ANYTHING, because you can always get around strict policies like this. As far as the 3rd question, I'm pretty sure there aren't any other requirements besides Java. On 3/20/07, Heald, Timothy J [EMAIL PROTECTED] wrote: We are attempting to get approval to use Eclipse, CF Eclipse and Aptana here. Currently we are not permitted and are all either using Homesite or (blech) Dreamweaver). I was sent a list of questions, and have been able to answer most of them, but I'm unable to find anything out about some of them. If you know anything about these issues, I would really appreciate the help. Of course it's all due by tomorrow morning, in order to make it in front of our approval board. 1. Can you disable the user's ability to download and install plug-ins outside of the baseline that we install and approve? Obviously with what we do here IT security is a main concern. The individual users have no rights to install anything at all. I know we can block most auto updates at the router by blocking ports, but what about manual updates? 2. Is there a way to prevent users from updating Eclipse and the SDK? I was unable to think of a way to stop someone from even installing it, I mean so long as you have the correct JDK (1.4) on your machine you could always just unzip it to your My Documents and run it from there right? 3. Is there any other necessary Sun or other third party things that need to be installed in order to use Eclipse? I don't think there are, but I'd hate to miss something and have to go through this process all over again. Again any help would really be appreciated. Thanks, Tim Heald ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273261 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Form Field Names in Upper Case?
This is interesting Jeff, I'm also running MX7, and although I've not tested any of my forms, I do have a function that returns a structure and it changes all the element names to upper case, but I have other functions that return structs in their original case, it IS odd. Rob -Original Message- From: Jeff Chastain [mailto:[EMAIL PROTECTED] Sent: 21 March 2007 14:26 To: CF-Talk Subject: Form Field Names in Upper Case? Back in the CF 5 days, when you submitted a form, ColdFusion would convert the form field names to all upper case. In CF MX, this was supposed to be fixed such that the original case would be maintained. I am running CF MX7 and am running into this issue again. If I run the following example, the text field name starts as 'testFieldName', but dumping the form.fieldnames results in 'TESTFIELDNAME'. Why? html head/head body cfif isDefined('form') cfdump var=#form# / /cfif form action=formTest.cfm method=POST input type=text name=testFieldName value= / input type=submit /form /body /html I am returning these field names to the user interface when then uses them for dom manipulation and Javascript is throwing a fit because the two field names don't match. Any ideas? Thanks -- Jeff ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273262 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
WSDL Confusion
I'm new to this whole consuming web services thing, so please bear with me. I'm using cfinvoke to call a web service. I'm passing a username, password, and company ID with each invocation, using cfinvokearguments. It's a property management web service, so there's a getPropertyDesc method that, when I call it, I set the return variable to PropertyDesc and do a cfdump of #PropertyDesc# and I get a dump I've never really seen. It's red, and it's an object dump. I'm not sure I'm getting back what I should be getting back. So I don't know if it's a problem with my code, or what. I'm actually expecting data to be returned, but I'm not seeing it in my dump. Is there any more information I can provide? Does my problem sound familiar? I'm really learning about all this, so it's entirely possible I'm going about this all wrong, so any help is appreciated. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273263 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFLDAP uploading Image (binary)
Thanks Oblio, I have tried toBinary() which I'm assuming does the same thing but maybe I'm wrong. I have had limited success with toBase64() which is what LDAP is supposedly encoding it as. It allows me to update the field but when browsing the attributes, it stores it as a text attribute and not a binary like all the other photos are stored for other profiles. When displaying it it just shows a broken image. I've come across some non-ColdFusion articles that talk about a ;binary switch needing to be passed to LDAP but so far I have not been able find a way to do this with CFLDAP. I see lots of online examples of how to display an image using CFLDAP which is nice. It's just hard to believe that no one else has had to *update* an image using CFLDAP. Anyone have any other ideas? -Vince Leitch, Oblio wrote: I can't offer any help with LDAP, but if your LDAP server can receive data in another way, you can use binaryEncode(data, [hex,base64]). Oblio -Original Message- From: Vince Collins (NHJobs.com) [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 3:20 PM To: CF-Talk Subject: CFLDAP uploading Image (binary) I've hit a wall and have a question. I have been able to write a form that allows the updating of all text fields within the LDAP directory using cfldap. What I need now is to provide the ability to upload an image and store that within LDAP. Here is where it breaks. !--- upload file --- cffile action=upload filefield=seljpegPhoto destination=#root#\update\upload nameconflict=makeunique !--- read file as binary --- cffile action=READBINARY file=#root#\update\upload\#file.serverfile# variable=BinaryImageContent !--- Replace with new image --- cfldap action=modify DN=#qry_get_one_emp.distinguishedName# attributes=jpegPhoto=#BinaryImageContent# modifytype=replace server=#LDAPServer# username=#LDAPUsername# password=#LDAPPassword# The resulting error: ByteArray objects cannot be converted to strings. If I change the above to attributes=jpegPhoto=#ToBinary(BinaryImageContent)# it is redundant and causes the same error. Is there some switch I am missing or something else I need to do in order to let CFLDAP know this is binary and to allow the update? I have found NO information on how to upload a binary object into LDAP using CFLDAP. Any help would be greatly appreciated! Vince ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273264 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: WSDL Confusion
Is there any more information I can provide? Does my problem sound familiar? I'm really learning about all this, so it's entirely possible I'm going about this all wrong, so any help is appreciated. Actually that is probably just what you are supposed to get back. Look through the output of your object dump. You will see various methods you can access on it. Use these methods to access the data inside the object. Something like: cfdump var=#PropertyDesc.toString()# You may need to go through a few layers of this, depending on how complex the returned object is. Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273265 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
A quick referance guide to OOP MVC
Hi Chaps, I'm looking for someone to give me a rough rundown of some of the OOP terms that I keep seeing thrown around and yet still baffle me. I've got some elements of my application that I've been handed by other people, and they refer to them as 'Facades' or 'Utilities' or 'Services' what are the definitions of those? And how should they be applied within an application. I've got a good grasp of the other terns like Factory, Bean, DAO, Gateway. I'm also curious as to what a TO class is, I've never written one, is that even a class? Or a bean? Are classes and beans the same thing? :-D I'd also be keen to learn about any other types of elements I'm likely to stumble across, I just made the mistake of reading some documentation on AOP :-o now my brain really is fried ;-) I know that OOP development within CF isn't particularly well documented, in as much that I can't go and buy a book from Amazon on the local WHSmith, but I'd be interested to take any recommendations on more general perhaps java based OOP, MVC and AOP related books that would be worth me reading. Thanks guys, Rob ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273266 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Need More SQL help - DRIVING ME NUTS!
Thanks a ton Jim! I'll give it a shot later today and let you know the results. Thanks! Will ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273267 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Eclipse/CF Eclipse environment questions
No, I know it doesn't, I was just saying how we would normally limit installs. This being a java app I'm trying to find ways to make the security people here happy. -Original Message- From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 10:36 AM To: CF-Talk Subject: Re: Eclipse/CF Eclipse environment questions I might be wrong, but as a purely Java based application I'm fairly sure that Eclipse/CFEclipse don't do any registry edits. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Heald, Timothy J wrote: With most windows applications, especially those that use the MSI, you can prohibit the user from doing installs. You can further limit it by disallowing access to the registry. Oh well, thanks for the input man. I'll see what I can do but I'm thinking they won't be allowing it. -Original Message- From: Jacob Munson [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 4:35 PM To: CF-Talk Subject: Re: Eclipse/CF Eclipse environment questions You're right, as long as a person can install into their My Documents folder, they can do whatever they want, but this is the same with anything, not just Eclipse. If that is going to stop them from allowing Eclipse, then they can't allow ANYTHING, because you can always get around strict policies like this. As far as the 3rd question, I'm pretty sure there aren't any other requirements besides Java. On 3/20/07, Heald, Timothy J [EMAIL PROTECTED] wrote: We are attempting to get approval to use Eclipse, CF Eclipse and Aptana here. Currently we are not permitted and are all either using Homesite or (blech) Dreamweaver). I was sent a list of questions, and have been able to answer most of them, but I'm unable to find anything out about some of them. If you know anything about these issues, I would really appreciate the help. Of course it's all due by tomorrow morning, in order to make it in front of our approval board. 1. Can you disable the user's ability to download and install plug-ins outside of the baseline that we install and approve? Obviously with what we do here IT security is a main concern. The individual users have no rights to install anything at all. I know we can block most auto updates at the router by blocking ports, but what about manual updates? 2. Is there a way to prevent users from updating Eclipse and the SDK? I was unable to think of a way to stop someone from even installing it, I mean so long as you have the correct JDK (1.4) on your machine you could always just unzip it to your My Documents and run it from there right? 3. Is there any other necessary Sun or other third party things that need to be installed in order to use Eclipse? I don't think there are, but I'd hate to miss something and have to go through this process all over again. Again any help would really be appreciated. Thanks, Tim Heald ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273268 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Eclipse/CF Eclipse environment questions
Dave, Can you suggest anything? -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 7:06 PM To: CF-Talk Subject: RE: Eclipse/CF Eclipse environment questions I was unable to think of a way to stop someone from even installing it, I mean so long as you have the correct JDK (1.4) on your machine you could always just unzip it to your My Documents and run it from there right? Yes, by default, but there are plenty of third-party tools that you can use to specify exactly what executables are allowed to run (including where those executables are). 3. Is there any other necessary Sun or other third party things that need to be installed in order to use Eclipse? No. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273269 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Error invoking CFC for gateway myGateway: String index out of range: -1
Error invoking CFC for gateway myGateway: String index out of range: -1 Anyone have any experience with this error? The cfc is essentially empty at this point. It's an initiator gateway and all I have (after removing things trying to debug) is just an onIncomingMessage() function that doesn't do anything. I've restarted the gateway after each code change, but the error stays the same. Ideas? ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273270 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: A quick referance guide to OOP MVC
On Wednesday 21 Mar 2007, Robert Rawlins - Think Blue wrote: refer to them as 'Facades' or 'Utilities' or 'Services' what are the definitions of those? And how should they be applied within an application. A Facade is an interface that abstracts away from you the (complicated) process of using or creating something. A Service does a similar job, but is generally intended to be invoked by a remote client. It should only return TOs. I've got a good grasp of the other terns like Factory, Bean, DAO, Gateway. I'm also curious as to what a TO class is, I've never written one, is that even a class? Or a bean? Are classes and beans the same thing? :-D A Transfer Object is just a class (object) with only properties - no methods. Their used for transferring results about in an agnostic manner. You might want to read: http://thefalken.livejournal.com/56176.html http://thefalken.livejournal.com/57226.html and later articles in the series as they're published. -- Tom Chiverton Helping to authoritatively exploit edge-of-your-seat architectures 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. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273271 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Sql 2005 JDBC 1.1
Has anyone come across this error using the SQL 2005 JDBC 1.1 Driver? The server failed to resume the transaction. If I copy the sql out and into the analyzer it works. Not really sure what is going on. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273272 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFCHART not displayed in IE with CFMX 7.0.2 (but works in Firefox)
I've got a custom tag that works, but unfortunately, it won't work with 7.0.2. http://www.keslabs.com/stuff/eolas/ !k -Original Message- From: Shawn O'Rourke [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 8:51 PM To: CF-Talk Subject: CFCHART not displayed in IE with CFMX 7.0.2 (but works in Firefox) Hello, I'm having a problem getting cfchart working with Coldfusion MX 7.0.2 on an Apache 1.3 Windows server. All charts display PERFECTLY in Firefox, however in Internet Explorer (v6 and above) the charts are not displayed. These charts all worked fine in IE before I made the switch to 7.0.2 so I know that it has something to do with the new version. I researched the internet for possible solutions and found others who have been experiencing this same problem, but none of the suggested solutions have helped me. Here is what I know so far: -My charts (.swf's) are created and stored properly in [cfroot]\charting\cache -When a call to my cfchart is made, an HTTP request is made for two things: --/CFIDE/scripts/CF_RunActiveContent.js (the file is found) --/CFIDE/GraphData.cfm (this file doesn't exist to my knowledge) -I have a coldfusion mapping for /CFIDE which points to C:\Apache\htdocs\CFIDE\ -I have an Apache alias created for /CFIDE which also points to C:\Apache\htdocs\CFIDE (this ensures that CF_RunActiveContent.js can be found) -C:\[cfroot]\wwwroot\WEB-INF\web.xml has two servlet mappings for GraphServlet which points to /CFIDE/GraphData and /CFIDE/GraphData.cfm (still this GraphData.cfm file doesn't seem to exist yet still a mapping for it) -C:\[cfoot]\lib\neo-graphing.xml also has servlet mapping for /CFIDE/GraphData.cfm I've applied the coldfusion mx 7.0.2 cumulative hot fix 1 and this didn't solve my problem. I've also tried created a 0 length GraphData.cfm file in my /CFIDE directory and that didn't work either. I heard that all that had to be done was to make sure to have an alias for /CFIDE but I've done that already. I'm not sure what else I can try. Any help is much appreciated. *Note: During the course of posting this I found several other posts a few months back on this topic, but none had solutions to work for me. I will post again in hopes that someone now has a proper fix for this. Thanks, -Shawn These are sites which I've already researched: 1) http://www.cfguru.org/index.cfm/2006/5/31/CFChart-Issues 2) http://cfchart.blogspot.com/2006/11/coldfusion-mx-702-cumulative-hot-fix-1.html 3) http://www.lynchconsulting.com.au/blog/index.cfm/2006/10/16/CFChart-active-content-problem-in-Internet-Explorer ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273273 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 Form Validation
Hi Rob, I don't there's anything at all wrong with the way you're handling things now. Depending on how simple/complex your application will be, you might want to extract some functionality to encapsulate it. For instance, if you're using your validation CFC, you're creating an instance and passing it the form values. You might want to consider placing the email functionality into a CFC that represents an email service, which is instantiated and a method called. You could then build functions in the email service that could let you handle emails for a variety of purposes, in a more generic way. Also, you might want to instantiate such CFCs into the application scope. ColdSpring, with Model-Glue, can instantiate and inject these CFCs into any of your MG objects that need them. Now, whilst this works for me, I'm always looking to adopt the 'best practice' type methods, so I'm keen to learn a little more about how exactly I could implement your bean method. Well, beans are their own topic. You should do a Google search and learn more about them, since they're a very basic form of object, just a bunch of getters and setters for the values they need to deal with (getName(), setName(), getAddress(), setAddress()). Unfortunately, I don't have any specific references to give you. I believe the Model-Glue documentation will explain how the framework uses event beans. Also, you might want to consider joining the Model-Glue mailing list on Topica. It'll get you MG-related answers much more quickly, and from folks who know a lot more about MG and object-oriented programming than I. -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560 ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273274 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Form Field Names in Upper Case?
Well, in digging through this some more, it appears to be an issue with structures in general. When you get a key list on the structure, all of the keys have been converted to upper case. My question is why would you do this? This causes huge issues with trying to interact with any other language (JavaScript, Flash, etc.) that is case sensitive. Oh well, I am off to find an ugly work around. ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273275 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Form Field Names in Upper Case?
String.toUpperCase() :OD Sorry, not an answer. I thought there was a way to maintain key case. Anyone remember/confirm this? Ade -Original Message- From: Jeff Chastain [mailto:[EMAIL PROTECTED] Sent: 21 March 2007 15:48 To: CF-Talk Subject: Re: Form Field Names in Upper Case? Well, in digging through this some more, it appears to be an issue with structures in general. When you get a key list on the structure, all of the keys have been converted to upper case. My question is why would you do this? This causes huge issues with trying to interact with any other language (JavaScript, Flash, etc.) that is case sensitive. Oh well, I am off to find an ugly work around. ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273276 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: WSDL Confusion
Is there any more information I can provide? Does my problem sound familiar? I'm really learning about all this, so it's entirely possible I'm going about this all wrong, so any help is appreciated. Actually that is probably just what you are supposed to get back. Look through the output of your object dump. You will see various methods you can access on it. Use these methods to access the data inside the object. Something like: cfdump var=#PropertyDesc.toString()# You may need to go through a few layers of this, depending on how complex the returned object is. ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273277 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Form Field Names in Upper Case?
As an ugly workaround you can add form field names to another formfield called myFieldNames and loop through that. Also, whatever happened to good old ucase() ? Mik At 12:04 PM 3/21/2007, Adrian Lynch wrote: String.toUpperCase() :OD Sorry, not an answer. I thought there was a way to maintain key case. Anyone remember/confirm this? Ade -Original Message- From: Jeff Chastain [mailto:[EMAIL PROTECTED] Sent: 21 March 2007 15:48 To: CF-Talk Subject: Re: Form Field Names in Upper Case? Well, in digging through this some more, it appears to be an issue with structures in general. When you get a key list on the structure, all of the keys have been converted to upper case. My question is why would you do this? This causes huge issues with trying to interact with any other language (JavaScript, Flash, etc.) that is case sensitive. Oh well, I am off to find an ugly work around. Michael Muller Admin, MontagueMA.net Website work (413) 863-0030 cell (413) 320-5336 skype: michaelBmuller http://www.MontagueMA.net Eschew Obfuscation ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273278 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: A quick referance guide to OOP MVC
I'm looking for someone to give me a rough rundown of some of the OOP terms that I keep seeing thrown around and yet still baffle me. I've got some elements of my application that I've been handed by other people, and they refer to them as 'Facades' or 'Utilities' or 'Services' what are the definitions of those? And how should they be applied within an application. Facades: A Façade is intended to keep your code from knowing how something is managed. In web based OO, you often need to persist a user object across the life of the session. You would not want session references sprinkled throughout your code, so you create a UserFacade. Your application asks the façade for a user, and the façade manages persistence of the user object in the session scope. Services: Services are often referenced as part of a SoA (Service oriented architecture). The easiest way I can describe them is using an analogy ;) Think of the process of going to the bank. You walk up to a teller, hand him/her your account number and tell them what you want to do. For example, I tell the teller my account number is 101 and I wish to deposit 500 into my checking account. The teller hands me a receipt and tells me the money has been deposited. You have no knowledge of exactly what the teller DID, you just know that the money was deposited. The teller performed a service to you. The teller can perform many other services like withdraw money, transfer money. Other services offered in the bank are home loans, but they are offered by a DIFFERENT person (think object here). So the idea is that each object has a set of services that it offers. Those services might depend on a number of different objects in your business model, but the service hides the inner workings and just exposes the facts that it needs to perform the service. The tellerService might depend on an authentication object to verify that I have an account, an account object to deposit the money, etc. The method call tellerService.depositMoney(accountNumber, amount) is all the rest of the application has to see, and simply depends on the return (like a receipt) to know that the deposit was successful, so you hide many of the dependencies. This makes for a stronger application. Transfer Objects (TOs): Transfer objects are simply objects that contain only data. They expose this data as properties. See http://java.sun.com/blueprints/corej2eepatterns/Patterns/TransferObject.html for a full explanation. I'd be interested to take any recommendations on more general perhaps java based OOP, MVC and AOP related books that would be worth me reading. Many of the things you are reading / hearing are in reference to Design Patterns (gateways = table gateway pattern, DAO = Data Access Object Pattern, etc). It might make things clearer if you look into the GoF (Gang Of Four) and their book Design Patterns: Elements of Reusable Object-Oriented Software. I highly recommend Head First Design Patterns (http://www.amazon.com/Head-First-Design-Patterns/dp/0596007124), it's in Java but relatively easy to follow and an amazing explanation of many different patterns. HTH Rich Kroll ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273279 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: A quick referance guide to OOP MVC
Thanks for that Tom, it makes more sense now. But what's this with TO's being an object only containing properties? I thought that was a bean? So for instants I'd have a bean that containing only getters and setters, nothing more, is that a TO, or is a TO more like an active record that represents a row of table data? Thanks, Rob -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: 21 March 2007 15:43 To: CF-Talk Subject: Re: A quick referance guide to OOP MVC On Wednesday 21 Mar 2007, Robert Rawlins - Think Blue wrote: refer to them as 'Facades' or 'Utilities' or 'Services' what are the definitions of those? And how should they be applied within an application. A Facade is an interface that abstracts away from you the (complicated) process of using or creating something. A Service does a similar job, but is generally intended to be invoked by a remote client. It should only return TOs. I've got a good grasp of the other terns like Factory, Bean, DAO, Gateway. I'm also curious as to what a TO class is, I've never written one, is that even a class? Or a bean? Are classes and beans the same thing? :-D A Transfer Object is just a class (object) with only properties - no methods. Their used for transferring results about in an agnostic manner. You might want to read: http://thefalken.livejournal.com/56176.html http://thefalken.livejournal.com/57226.html and later articles in the series as they're published. -- Tom Chiverton Helping to authoritatively exploit edge-of-your-seat architectures 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. ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273280 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
OT: Is there an Apollo developer's mailing list?
I couldn't spot one apart from the Adobe forums? MD ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273281 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Renaming a query column?
Hi all, I'm working on a webmail interface that supports both POP (suing CFPOP) and IMAP (using Rick Root's imap.cfc). I'd like to use a single set of interface components, but the column names returned by cfpop and imap.cfc don't completely mesh up (i.e. cfpop queryname.attachments and imap.cfc's queryname.attach...of course, imap.cfc doesn't return anything from that column anyway, but I'll tackle that later) Is there a simple way to rename a column name in a query result set, apart from setting aliases in a QoQ or using queryAddColumn()? It seems like there should be a simpler way to rename a column in a query result set. Thanks, Pete ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273282 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Renaming a query column?
If you find nothing, have a look under the hood. You might be able to do it with some Java calls. Adrian -Original Message- From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] Sent: 21 March 2007 16:35 To: CF-Talk Subject: Renaming a query column? Hi all, I'm working on a webmail interface that supports both POP (suing CFPOP) and IMAP (using Rick Root's imap.cfc). I'd like to use a single set of interface components, but the column names returned by cfpop and imap.cfc don't completely mesh up (i.e. cfpop queryname.attachments and imap.cfc's queryname.attach...of course, imap.cfc doesn't return anything from that column anyway, but I'll tackle that later) Is there a simple way to rename a column name in a query result set, apart from setting aliases in a QoQ or using queryAddColumn()? It seems like there should be a simpler way to rename a column in a query result set. Thanks, Pete ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273283 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
livedocs.adobe.com
http://livedocs.adobe.com/coldfusion/7/htmldocs/1477.htm Is this up to date for 7.0.2? I does not read like it is. I am getting into Apollo and would like to connect my Apollo app to Flash/Flex Remoting on my CF server. I hear it is faster then soap. Chad ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273284 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Renaming a query column?
using Rick Root's imap.cfc Since you're using this code, can't you simply change the column name it generates? -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273285 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Renaming a query column?
Yeah, I could certainly make changes to imap.cfc, but my real hope was to NOT do that so that when changes are made to imap.cfc by Rick or whomever else is working on it, I could just grab the updated cfc and run with it. Pete On 3/21/07, Adrian Lynch [EMAIL PROTECTED] wrote: If you find nothing, have a look under the hood. You might be able to do it with some Java calls. Adrian -Original Message- From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] Sent: 21 March 2007 16:35 To: CF-Talk Subject: Renaming a query column? Hi all, I'm working on a webmail interface that supports both POP (suing CFPOP) and IMAP (using Rick Root's imap.cfc). I'd like to use a single set of interface components, but the column names returned by cfpop and imap.cfc don't completely mesh up (i.e. cfpop queryname.attachments and imap.cfc's queryname.attach...of course, imap.cfc doesn't return anything from that column anyway, but I'll tackle that later) Is there a simple way to rename a column name in a query result set, apart from setting aliases in a QoQ or using queryAddColumn()? It seems like there should be a simpler way to rename a column in a query result set. Thanks, Pete ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273286 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Eclipse/CF Eclipse environment questions
1. Can you disable the user's ability to download and install plug-ins outside of the baseline that we install and approve? Yes, you can build your own version of CFEclipse/Aptana etc, and include only what you want (and remove the software update features) It isn't actually that difficult, but then that would be *YOUR* build of Eclipse. Here is an article for you: http://www.eclipse.org/articles/product-guide/guide.html 2. Is there a way to prevent users from updating Eclipse and the SDK? Stop them downloading binaries from the internet? 3. Is there any other necessary Sun or other third party things that need to be installed in order to use Eclipse? No ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273287 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Is there an Apollo developer's mailing list?
I'll have one up today. I couldn't spot one apart from the Adobe forums? MD ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273288 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Need More SQL help - DRIVING ME NUTS!
Ok Jim, this is getting the results I'm after. The counts are correct, everything looks right so far. I just needta test it some more. Would you please email me offlist? WT at WTOMLINSON.com Thanks a ton dude! Will ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273289 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Eclipse/CF Eclipse environment questions
What I actually *SHOULD* have said, is that for a fee I could do this for your company :D heheh... he.. he.. MD On 21 Mar 2007, at 16:46, Mark Drew wrote: 1. Can you disable the user's ability to download and install plug-ins outside of the baseline that we install and approve? Yes, you can build your own version of CFEclipse/Aptana etc, and include only what you want (and remove the software update features) It isn't actually that difficult, but then that would be *YOUR* build of Eclipse. Here is an article for you: http://www.eclipse.org/articles/product-guide/guide.html ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273290 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Is there an Apollo developer's mailing list?
Mark, There is one Apollo Coders mailing list: http://tech.groups.yahoo.com/group/apollocoders/ Hua -Original Message- From: Mark Drew [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 12:26 PM To: CF-Talk Subject: OT: Is there an Apollo developer's mailing list? I couldn't spot one apart from the Adobe forums? MD ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273291 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Is there an Apollo developer's mailing list?
You go Michael! :D MD On 21 Mar 2007, at 16:39, Michael Dinowitz wrote: I'll have one up today. I couldn't spot one apart from the Adobe forums? MD ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273292 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE:_Is_there_an_Apollo_developer's_mailing_list ?
There is a Flex and Apollo yahoo group, but I have found them to be extremely slow and I think it is moderated heavily. I found for best results you need to post via the yahoo web site not your email program. I waited 4 hours for a message to post. http://tech.groups.yahoo.com/group/flexcoders/ http://tech.groups.yahoo.com/group/apollocoders/ -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 12:39 PM To: CF-Talk Subject: Re: Is there an Apollo developer's mailing list? I'll have one up today. I couldn't spot one apart from the Adobe forums? MD ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273293 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
The dreaded question of intellectual property
Have had an issue for an unyet finished project (despite working my arse off on it) where the client wants full ownership of the resultant code. I am very unhappy about this for several reasons: 1. Their remuneration is pathetic (AUD$21 per hour compared to my usual rate of $65+) - I got close to that much slave labour trawling through 8,000 boxes of dusty file boxes. 2. This will be a major business tool - total automation via ColdFusion, SQL Server, EFTPOS, email, Credit Card processing and pure Adobe Acrobat paperless output, most of their business processes, with import/export between notebook databases and the main system, and SMS integration. 3. Our host is useless and despite many attempts to get answers they still do not have secure SSL. I have started looking for a new home for them surreptitiously. 4. They do not own licenses for either ColdFusion or SQL Server - ouch for them? 5. There are a LOT of other businesses that would be interested in what I am creating. So why would I sell so cheaply (or at all). ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273294 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Eclipse/CF Eclipse environment questions
My company wouldn't be interested, and the gov't client wouldn't either. You could do it out of the goodness of your heart, to save the hair of a group of developers :) Thanks for the pointer. -Original Message- From: Mark Drew [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 12:50 PM To: CF-Talk Subject: Re: Eclipse/CF Eclipse environment questions What I actually *SHOULD* have said, is that for a fee I could do this for your company :D heheh... he.. he.. MD On 21 Mar 2007, at 16:46, Mark Drew wrote: 1. Can you disable the user's ability to download and install plug-ins outside of the baseline that we install and approve? Yes, you can build your own version of CFEclipse/Aptana etc, and include only what you want (and remove the software update features) It isn't actually that difficult, but then that would be *YOUR* build of Eclipse. Here is an article for you: http://www.eclipse.org/articles/product-guide/guide.html ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273295 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Eclipse/CF Eclipse environment questions
Gah! What more can I do to spread CFEclipse? I think not :) MD On 21 Mar 2007, at 17:02, Heald, Timothy J wrote: My company wouldn't be interested, and the gov't client wouldn't either. You could do it out of the goodness of your heart, to save the hair of a group of developers :) Thanks for the pointer. -Original Message- From: Mark Drew [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 12:50 PM To: CF-Talk Subject: Re: Eclipse/CF Eclipse environment questions What I actually *SHOULD* have said, is that for a fee I could do this for your company :D heheh... he.. he.. MD On 21 Mar 2007, at 16:46, Mark Drew wrote: 1. Can you disable the user's ability to download and install plug-ins outside of the baseline that we install and approve? Yes, you can build your own version of CFEclipse/Aptana etc, and include only what you want (and remove the software update features) It isn't actually that difficult, but then that would be *YOUR* build of Eclipse. Here is an article for you: http://www.eclipse.org/articles/product-guide/guide.html ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273297 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Renaming a query column?
Pete, Try this: http://www.bennadel.com/blog/357-Ask-Ben-Changing-ColdFusion-Query-Colum n-Names.htm [OR: http://bennadel.com/index.cfm?dax=blog:357.view] .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 12:35 PM To: CF-Talk Subject: Renaming a query column? Hi all, I'm working on a webmail interface that supports both POP (suing CFPOP) and IMAP (using Rick Root's imap.cfc). I'd like to use a single set of interface components, but the column names returned by cfpop and imap.cfc don't completely mesh up (i.e. cfpop queryname.attachments and imap.cfc's queryname.attach...of course, imap.cfc doesn't return anything from that column anyway, but I'll tackle that later) Is there a simple way to rename a column name in a query result set, apart from setting aliases in a QoQ or using queryAddColumn()? It seems like there should be a simpler way to rename a column in a query result set. Thanks, Pete ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273300 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: The dreaded question of intellectual property
Have you signed a contract stating thus? I've worked on other projects for people who want the same consideration and I just tell them that in order to save time, the code I write for them will have pieces of other projects I have worked on, and will have code snippets and utilities taken from online resources, so the project -- as a whole -- isn't competely distinct. As such I let them know that while I won't just copy and paste wholesale to a new application (and certainly not a competitor) I may wind up using pieces of what I wrote for other new projects including my own, and they're usually ok with that. Otherwise I insist that everything, and I mean everything, must be written from scratch and they pay a premium for it. They can't expect me to reuse old code and then divorce myself from the resulting code. Mik At 12:53 PM 3/21/2007, you wrote: Have had an issue for an unyet finished project (despite working my arse off on it) where the client wants full ownership of the resultant code. I am very unhappy about this for several reasons: 1. Their remuneration is pathetic (AUD$21 per hour compared to my usual rate of $65+) - I got close to that much slave labour trawling through 8,000 boxes of dusty file boxes. 2. This will be a major business tool - total automation via ColdFusion, SQL Server, EFTPOS, email, Credit Card processing and pure Adobe Acrobat paperless output, most of their business processes, with import/export between notebook databases and the main system, and SMS integration. 3. Our host is useless and despite many attempts to get answers they still do not have secure SSL. I have started looking for a new home for them surreptitiously. 4. They do not own licenses for either ColdFusion or SQL Server - ouch for them? 5. There are a LOT of other businesses that would be interested in what I am creating. So why would I sell so cheaply (or at all). ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273301 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: WSDL Confusion
Actually that is probably just what you are supposed to get back. Look through the output of your object dump. You will see various methods you can access on it. Use these methods to access the data inside the object. No luck. I try dumping the method that's there, just like you pointed out and I get nothing... well, that's not exactly true, I get something like the following: [EMAIL PROTECTED] That's what I get when I do a dump of cfdump var=#PropertyDesc.toString()# Any ideas going forward? Things I can try, stuff I can do? Do I contact the vendor that's providing the web service? Or is this just bad coding on my end? There's a getSocketConnectionStatus that's supposed to return a boolean value, but whenever I cfdump OR cfoutput the variable I get back (isSocket) I just get the word ONLINE. I'm assuming that's someone's definition of a boolean, but it's not giving me an error, so the webservice IS there, and it's talking to me. My username and password and COID (a unique company ID) are all being passed okay with no error message being returned. What would you do next? ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273299 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: The dreaded question of intellectual property
Usually what I do, is sell a copy of the license, not ownership unless it is something that is ONLY GEARED towards their company and could not be used by other organizations. That was a stipulation that I add to the contract prior to beginning the work. That way I can re-sell the work if needed(wanted) without repercussions. -Original Message- From: Peter Tilbrook [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 12:53 PM To: CF-Talk Subject: The dreaded question of intellectual property Have had an issue for an unyet finished project (despite working my arse off on it) where the client wants full ownership of the resultant code. I am very unhappy about this for several reasons: 1. Their remuneration is pathetic (AUD$21 per hour compared to my usual rate of $65+) - I got close to that much slave labour trawling through 8,000 boxes of dusty file boxes. 2. This will be a major business tool - total automation via ColdFusion, SQL Server, EFTPOS, email, Credit Card processing and pure Adobe Acrobat paperless output, most of their business processes, with import/export between notebook databases and the main system, and SMS integration. 3. Our host is useless and despite many attempts to get answers they still do not have secure SSL. I have started looking for a new home for them surreptitiously. 4. They do not own licenses for either ColdFusion or SQL Server - ouch for them? 5. There are a LOT of other businesses that would be interested in what I am creating. So why would I sell so cheaply (or at all). ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273296 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: The dreaded question of intellectual property
I would ascertain that you quoted your prices based on you owning the code. Your normal rate is $65.00 however you were interested in developing something like this and therefore greatly reduced your prices for them because you would be able to reuse aspects of the code. If they want proprietary code then the rate is $65 or more per hour. Peter Tilbrook wrote: Have had an issue for an unyet finished project (despite working my arse off on it) where the client wants full ownership of the resultant code. I am very unhappy about this for several reasons: 1. Their remuneration is pathetic (AUD$21 per hour compared to my usual rate of $65+) - I got close to that much slave labour trawling through 8,000 boxes of dusty file boxes. 2. This will be a major business tool - total automation via ColdFusion, SQL Server, EFTPOS, email, Credit Card processing and pure Adobe Acrobat paperless output, most of their business processes, with import/export between notebook databases and the main system, and SMS integration. 3. Our host is useless and despite many attempts to get answers they still do not have secure SSL. I have started looking for a new home for them surreptitiously. 4. They do not own licenses for either ColdFusion or SQL Server - ouch for them? 5. There are a LOT of other businesses that would be interested in what I am creating. So why would I sell so cheaply (or at all). ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273298 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: The dreaded question of intellectual property
replace ascertain with Assert Changed directions but not text. [EMAIL PROTECTED] wrote: I would ascertain that you quoted your prices based on you owning the code. Your normal rate is $65.00 however you were interested in developing something like this and therefore greatly reduced your prices for them because you would be able to reuse aspects of the code. If they want proprietary code then the rate is $65 or more per hour. Peter Tilbrook wrote: Have had an issue for an unyet finished project (despite working my arse off on it) where the client wants full ownership of the resultant code. I am very unhappy about this for several reasons: 1. Their remuneration is pathetic (AUD$21 per hour compared to my usual rate of $65+) - I got close to that much slave labour trawling through 8,000 boxes of dusty file boxes. 2. This will be a major business tool - total automation via ColdFusion, SQL Server, EFTPOS, email, Credit Card processing and pure Adobe Acrobat paperless output, most of their business processes, with import/export between notebook databases and the main system, and SMS integration. 3. Our host is useless and despite many attempts to get answers they still do not have secure SSL. I have started looking for a new home for them surreptitiously. 4. They do not own licenses for either ColdFusion or SQL Server - ouch for them? 5. There are a LOT of other businesses that would be interested in what I am creating. So why would I sell so cheaply (or at all). ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273302 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
How do I display a message if update was successful?
Hi, I'd like to display a message if an update was successful. I'm not sure how to approach this being new to CF. I have an UpdateDate column in my table, which is populated by #DateFormat(Now(),mm/dd/)# #TimeFormat(Now())# on submission of my form. my flow: form action page updated form Seems like I should write a cfif that checks to see if UpdateDate was updated in the last second of so, but I'm not sure how to do this. Any other ideas are welcome. Thanks for your help ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273303 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: The dreaded question of intellectual property
I agree with hof.kenfused... Just be careful that your contract clause doesn't state specifically that they own the full rights to all work done by you and that selling what you wrote doesn't break any non-compete language you may or may not have agreed to in the contract. Standard boilerplate contracts generally include such things I suspect as mine does for one of my current clients. Your price for your work seems cheap and is probably obvious to your employer however they may not care about you slaving for that wage if they have it in writing that they own all source code exclusively. Best of luck! [EMAIL PROTECTED] wrote: I would ascertain that you quoted your prices based on you owning the code. Your normal rate is $65.00 however you were interested in developing something like this and therefore greatly reduced your prices for them because you would be able to reuse aspects of the code. If they want proprietary code then the rate is $65 or more per hour. Peter Tilbrook wrote: Have had an issue for an unyet finished project (despite working my arse off on it) where the client wants full ownership of the resultant code. I am very unhappy about this for several reasons: 1. Their remuneration is pathetic (AUD$21 per hour compared to my usual rate of $65+) - I got close to that much slave labour trawling through 8,000 boxes of dusty file boxes. 2. This will be a major business tool - total automation via ColdFusion, SQL Server, EFTPOS, email, Credit Card processing and pure Adobe Acrobat paperless output, most of their business processes, with import/export between notebook databases and the main system, and SMS integration. 3. Our host is useless and despite many attempts to get answers they still do not have secure SSL. I have started looking for a new home for them surreptitiously. 4. They do not own licenses for either ColdFusion or SQL Server - ouch for them? 5. There are a LOT of other businesses that would be interested in what I am creating. So why would I sell so cheaply (or at all). ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273304 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Eclipse/CF Eclipse environment questions
The group of developers could combine their left over lunch monies and make a donation to MD... I bet that would persuade him to help out.. -Randy - Original Message - From: Heald, Timothy J [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, March 21, 2007 1:02 PM Subject: RE: Eclipse/CF Eclipse environment questions My company wouldn't be interested, and the gov't client wouldn't either. You could do it out of the goodness of your heart, to save the hair of a group of developers :) Thanks for the pointer. -Original Message- From: Mark Drew [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 12:50 PM To: CF-Talk Subject: Re: Eclipse/CF Eclipse environment questions What I actually *SHOULD* have said, is that for a fee I could do this for your company :D heheh... he.. he.. MD On 21 Mar 2007, at 16:46, Mark Drew wrote: 1. Can you disable the user's ability to download and install plug-ins outside of the baseline that we install and approve? Yes, you can build your own version of CFEclipse/Aptana etc, and include only what you want (and remove the software update features) It isn't actually that difficult, but then that would be *YOUR* build of Eclipse. Here is an article for you: http://www.eclipse.org/articles/product-guide/guide.html ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273305 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Eclipse/CF Eclipse environment questions
I'm just playing. I will however be learning how to build custom eclipse builds this weekend. Thanks again. -Original Message- From: Mark Drew [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 1:09 PM To: CF-Talk Subject: Re: Eclipse/CF Eclipse environment questions Gah! What more can I do to spread CFEclipse? I think not :) MD On 21 Mar 2007, at 17:02, Heald, Timothy J wrote: My company wouldn't be interested, and the gov't client wouldn't either. You could do it out of the goodness of your heart, to save the hair of a group of developers :) Thanks for the pointer. -Original Message- From: Mark Drew [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 12:50 PM To: CF-Talk Subject: Re: Eclipse/CF Eclipse environment questions What I actually *SHOULD* have said, is that for a fee I could do this for your company :D heheh... he.. he.. MD On 21 Mar 2007, at 16:46, Mark Drew wrote: 1. Can you disable the user's ability to download and install plug-ins outside of the baseline that we install and approve? Yes, you can build your own version of CFEclipse/Aptana etc, and include only what you want (and remove the software update features) It isn't actually that difficult, but then that would be *YOUR* build of Eclipse. Here is an article for you: http://www.eclipse.org/articles/product-guide/guide.html ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273306 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Eclipse/CF Eclipse environment questions
All four of us :) I need to make that donation anyway, I use it pretty much constantly outside the office. -Original Message- From: Randy Johnson [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 1:06 PM To: CF-Talk Subject: Re: Eclipse/CF Eclipse environment questions The group of developers could combine their left over lunch monies and make a donation to MD... I bet that would persuade him to help out.. -Randy - Original Message - From: Heald, Timothy J [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, March 21, 2007 1:02 PM Subject: RE: Eclipse/CF Eclipse environment questions My company wouldn't be interested, and the gov't client wouldn't either. You could do it out of the goodness of your heart, to save the hair of a group of developers :) Thanks for the pointer. -Original Message- From: Mark Drew [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 12:50 PM To: CF-Talk Subject: Re: Eclipse/CF Eclipse environment questions What I actually *SHOULD* have said, is that for a fee I could do this for your company :D heheh... he.. he.. MD On 21 Mar 2007, at 16:46, Mark Drew wrote: 1. Can you disable the user's ability to download and install plug-ins outside of the baseline that we install and approve? Yes, you can build your own version of CFEclipse/Aptana etc, and include only what you want (and remove the software update features) It isn't actually that difficult, but then that would be *YOUR* build of Eclipse. Here is an article for you: http://www.eclipse.org/articles/product-guide/guide.html ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273307 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: How do I display a message if update was successful?
I'd like to display a message if an update was successful. I'm not sure how to approach this being new to CF. I have an UpdateDate column in my table, which is populated by #DateFormat(Now(),mm/dd/)# #TimeFormat(Now())# on submission of my form. my flow: form action page updated form Seems like I should write a cfif that checks to see if UpdateDate was updated in the last second of so, but I'm not sure how to do this. If your SQL update query doesn't return an error, that indicates your update was successful. You don't really need to do anything more to ascertain this. So, assuming that you're redirecting the user to the form, simply set a variable in the action page that can be accessed when the form page executes. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273308 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How do I display a message if update was successful?
Not sure what database you're using. Mssql has @@rowcount which returns the number of rows affected by the last statement. You could return the @@rowcount and use that value in your cfif. Most databases have something similar. cfquery name=UpdateRecord .. UPDATE TheTable SET Blah = 'blah' WHERE id = 3 SELECT @@RowCount AS RowsUpdated /cfquery cfif UpdateRecord.RowsUpdated gt 0 something was updated cfelse nothing was updated /cfif ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273309 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: How do I display a message if update was successful?
Dave Watts wrote: If your SQL update query doesn't return an error, that indicates your update was successful. Well...it indicates that there wasn't an error. It doesn't actually indicate that anything was updated. UPDATE sometable SET somecolumn = 'somevalue' WHERE 1=0 won't throw an error...but it also doesn't do anything. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273310 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CFUNITED news: interview with Hal Helms on CFCs and OO, podcast on reporting with CF, Early bird ends 3/31/07
Here is the ColdFusion and Fusebox news: * CFUNITED early bird price ends 3/31/07 * CFUNITED pre-conference classes announced http://cfunited.com/go/classes * New podcast released - Glenda Vigoreaux - ColdFusion Printing and Reporting * CFUNITED early bird price ends 3/31/07 * Interview with Hal Helms on OO Programming with CFCs Application development involves rapidly evolving technologies. Anyone in the industry who does not actively pursue expanding their knowledge will quickly become obsolete. CFUNITED looks to provide the best value for my education dollar. -Clay Mabbitt (CFUNITED attendee) * CFUNITED early bird price ends 3/31/07 There are only 10 days left to get the early-bird price on CFUNITED. See http://cfunited.com/go/prices for details. * CFUNITED pre-conference classes posted We have two days of intensive hands on classes from experts. Bring your own laptop to follow along with the teachers. Monday 6/25/07 CodeSpeaker Topic CU221 Rob Gonda Flex Intensive for ColdFusion Developers CU222 Kurtis Leatham Creating Your First Cold Fusion Application CU223 Oguz Demirkapi Multi Language Applications in CF in Theory and Practice CU224 Nate Nelson Advanced Database Tuesday 6/26 CU225 Peter Bell Practical Code Generation: By Example CU226 Simon Horwith Architecting and Optimizing CF Applications for Performance and Scalability CU227 John Paul Ashenfelter Best Practice Bootcamp for Developers CU228 Charlie Arehart New in CFMX 6 and 7: What Did You Miss? Limited seating. For more details and to register see http://cfunited.com/go/classes * New podcast released - Glenda Vigoreaux - ColdFusion Printing and Reporting Printing and reporting are two of the most important new features in ColdFusion MX 7. This introductory session will get you started on the new family of tags, and the powerful new Report Builder. http://cfunited.com/blog/index.cfm/2007/3/18/Glenda-Vigoreaux---ColdFusion-Printing-and-Reporting * Interview Hal Helms on OO Programming with CFCs by Clark Valberg. First published in Fusion Authority at http://www.fusionauthority.com/Community/4670-Hal-Helms-on-OO-Programming-with-CFCs.htm Hal Helms is regarded by many as the patriarch of the ColdFusion MVC movement. His upcoming CFUNITED 2007 talk, OO Programming with CFCs, promises to be an exploration of OO techniques and thinking from one of the foremost experts on the subject. Today I sat down with Hal to find out a bit more. Clark Valberg: Hey Hal, thanks for joining me today. Hal Helms: My pleasure, Clark. CV: So I want to chat with you a bit about your upcoming talk at CFUNITED 2007, OO Programming with CFCs. HH: Ahh, yes.. one of my favorite topics on which to pontificate. What would you like to know? CV: Well, by the sound of it, it appears to be a beginner's topic. Is that right? HH: No, I wouldn't say so, Clark. You can use CFCs to wrap some functionality, but that's a long way from doing good OO programming. CV: So would you say there are degrees of OO? HH: Yes. And from my experience, the more you learn, the richer your designs become and the more robust your code. But there's a long stretch between learning the basics of classes and methods and real OO mastery. CV: So, should all ColdFusion applications be written in an OO style? That seems to be the word on the street. HH: I wouldn't say that either. For simpler applications, which we all build a fair number of, procedural programming works just fine. OO can really be a hindrance in those cases. CV: Hindrance? How so? HH: There's a level of complexity for doing OO apps and if all your client needs is simple grab stuff from a database and display/massage it, writing a bunch of classes provides little benefit, but significant cost. CV: Ok, that makes sense. So let's say our company starts developing all new applications in a strict OO style. What happens with our procedural developers? Do they become our new parking attendants? HH: Hopefully not! If your company starts doing OO development, there's still plenty of space for those procedural developers to help out as they acquire OO skills. CV: So how long do you think it should take for proficient procedural developers to get the hang of OO? HH: When I was doing Smalltalk, we used to say it took a good six months, sometimes a year, for a procedural programmer to change the mindset and learn the skills. One of the biggest hindrances is the illusion of knowledge. I must be an OO programmer because I'm writing classes and instantiating objects. CV: What about Design Patterns, Hal? Where do they fit in? HH: Design patterns show us new ways of thinking about old problems. They can be very useful, not when they're slavishly copied, but rather as inspiration. CV: I read a book about some gang of dudes and in it were tons of
Re: How do I display a message if update was successful?
True but I doubt his update statement would ever do that... Ever. I would presume that it will be a case of update or error as Dave noted and without possibly using your own messages in SQL, it will do the trick. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Jim Wright To: CF-Talk Sent: Wed Mar 21 18:35:49 2007 Subject: Re: How do I display a message if update was successful? Dave Watts wrote: If your SQL update query doesn't return an error, that indicates your update was successful. Well...it indicates that there wasn't an error. It doesn't actually indicate that anything was updated. UPDATE sometable SET somecolumn = 'somevalue' WHERE 1=0 won't throw an error...but it also doesn't do anything. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273312 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: How do I display a message if update was successful?
Well...it indicates that there wasn't an error. It doesn't actually indicate that anything was updated. UPDATE sometable SET somecolumn = 'somevalue' WHERE 1=0 won't throw an error...but it also doesn't do anything. If you run a query that filters out all rows, it would still be successful, which is what the original poster asked. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273313 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: The dreaded question of intellectual property
Have had an issue for an unyet finished project (despite working my arse off on it) where the client wants full ownership of the resultant code. I am very unhappy about this for several reasons: 1. Their remuneration is pathetic (AUD$21 per hour compared to my usual rate of $65+) - I got close to that much slave labour trawling through 8,000 boxes of dusty file boxes. 2. This will be a major business tool - total automation via ColdFusion, SQL Server, EFTPOS, email, Credit Card processing and pure Adobe Acrobat paperless output, most of their business processes, with import/export between notebook databases and the main system, and SMS integration. 3. Our host is useless and despite many attempts to get answers they still do not have secure SSL. I have started looking for a new home for them surreptitiously. 4. They do not own licenses for either ColdFusion or SQL Server - ouch for them? 5. There are a LOT of other businesses that would be interested in what I am creating. So why would I sell so cheaply (or at all). Did your contract specify that they would receive full ownership of the resultant code? What exactly did it specify? Everything else is irrelevant. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273314 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: livedocs.adobe.com
Yeah, I remember when I dabbled with it all SOAP was so damn slow! This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Chad Gray To: CF-Talk Sent: Wed Mar 21 16:40:47 2007 Subject: livedocs.adobe.com http://livedocs.adobe.com/coldfusion/7/htmldocs/1477.htm Is this up to date for 7.0.2? I does not read like it is. I am getting into Apollo and would like to connect my Apollo app to Flash/Flex Remoting on my CF server. I hear it is faster then soap. Chad ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273315 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: A quick referance guide to OOP MVC
But what's this with TO's being an object only containing properties? I thought that was a bean? So for instants I'd have a bean that containing only getters and setters, nothing more, is that a TO, or is a TO more like an active record that represents a row of table data? Rob, It's just a really lightweight version of an object that can be passed around. It can also be used in the memento pattern (using a TO to populate a bean). For example: cfcomponent displayname=userTO cfscript THIS.id = 0; THIS.firstname = ''; THIS.lastname = ''; THIS.password = ''; THIS.emailaddress = ''; /cfscript /cfcomponent This TO would then be handed to another object, for example a DAO: cffunction name=Save cfargument name=to type=path.to.TO / cfset var qSave = / cfquery name=qSave datasource=#getDSN()# UPDATE users SET id = #arguments.TO.id# ,name = '#arguments.TO.name#' !--- etc... --- !--- and use CFQUERYPARAM! --- /cfquery /cffunction HTH Rich Kroll ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273316 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RFC: Open Source CF-based webmail client
There has been some discussion here recently about the lack of a good CF-based webmail client. I have been working on the basics of one over the past several weeks using cfmail/cfpop (for POP accounts) and imap.cfc, which I believe Rick Root has been refining from the version found on SourceForge. While I'm generally happy with the direction that my project is going, I'm more of a CF guy than a design front end guy and feel that this client could use some Web 2.0 POP (sorry, pun intended) as well as someone with some much heavier Java Mail experience than I have. Would there be any interest in this? I would be willing to present what I have put together already as the foundation for this project. It's neighter beautiful or mature, but it's a start. I can set up a SVN repository on my home server that would be accessible to anyone working on the project, and then once it is at a reasonably mature state, we can open it up under some open source license. I would say that, for starters, we would need the following players (a single individual can fill more than one role, if they have the skills): * CF developer(s) (of course) * Developer with extensive Java Mail experience (for the IMAP piece) * Front-end developer with cross-browser, cross-platform AJAX experience * Flash/ActionScript developer (for a Flash forms version) * UI/UX designer * PM/big picture person I can easily foresee some level of database development needed, but it wouldn't be anything extensive. If anyone has a sincere interest in participating in this project, please email me at pruckelshaus at gmaildotcom and I'll act as organizer until this thing achieves some level of critical mass. Pete ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273317 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How do I display a message if update was successful?
Dave Watts wrote: Well...it indicates that there wasn't an error. It doesn't actually indicate that anything was updated. UPDATE sometable SET somecolumn = 'somevalue' WHERE 1=0 won't throw an error...but it also doesn't do anything. If you run a query that filters out all rows, it would still be successful, which is what the original poster asked. Right, I just wanted to point out that the lack of an error does not mean that anything was updated. I know you understand this, but I'm just afraid that others who are new to SQL may take your statement at face value. I've run into cases where people were running updates on a table where the record they were attempting to update did not exist. No error, but also no update. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273318 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
ColdFire updated
Many people who tested ColdFire ran into an issue with complex sites (sites using Model-Glue for example). This bug even made it impossible to change pages while ColdFire was being used. Today that bug should be completely fixed. Please download the latest bits from coldfire.riaforge.org and let me know. -- === Raymond Camden Email: [EMAIL PROTECTED] Blog : ray.camdenfamily.com AOL IM : cfjedimaster Video game player? Have kids? Check out KidGamers.org ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273319 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: RFC: Open Source CF-based webmail client
I'd definately be interested in being involved on some level. I built that little CFOpenMail thing just with the idea of using it to test my enhancements/improvements/bugfixes to the original imap.cfc, but I think this should definately be a group effort. Count me in. rick On 3/21/07, Pete Ruckelshaus [EMAIL PROTECTED] wrote: There has been some discussion here recently about the lack of a good CF-based webmail client. I have been working on the basics of one over the past several weeks using cfmail/cfpop (for POP accounts) and imap.cfc, which I believe Rick Root has been refining from the version found on SourceForge. While I'm generally happy with the direction that my project is going, I'm more of a CF guy than a design front end guy and feel that this client could use some Web 2.0 POP (sorry, pun intended) as well as someone with some much heavier Java Mail experience than I have. Would there be any interest in this? I would be willing to present what I have put together already as the foundation for this project. It's neighter beautiful or mature, but it's a start. I can set up a SVN repository on my home server that would be accessible to anyone working on the project, and then once it is at a reasonably mature state, we can open it up under some open source license. I would say that, for starters, we would need the following players (a single individual can fill more than one role, if they have the skills): * CF developer(s) (of course) * Developer with extensive Java Mail experience (for the IMAP piece) * Front-end developer with cross-browser, cross-platform AJAX experience * Flash/ActionScript developer (for a Flash forms version) * UI/UX designer * PM/big picture person I can easily foresee some level of database development needed, but it wouldn't be anything extensive. If anyone has a sincere interest in participating in this project, please email me at pruckelshaus at gmaildotcom and I'll act as organizer until this thing achieves some level of critical mass. Pete ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273320 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Open Source CF-based webmail client
I'd be willing to help out with the Flash stuff if you're in need of help. Unfortunately, I don't have the time to take it on full-time though... !k -Original Message- From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 12:56 PM To: CF-Talk Subject: RFC: Open Source CF-based webmail client There has been some discussion here recently about the lack of a good CF-based webmail client. I have been working on the basics of one over the past several weeks using cfmail/cfpop (for POP accounts) and imap.cfc, which I believe Rick Root has been refining from the version found on SourceForge. While I'm generally happy with the direction that my project is going, I'm more of a CF guy than a design front end guy and feel that this client could use some Web 2.0 POP (sorry, pun intended) as well as someone with some much heavier Java Mail experience than I have. Would there be any interest in this? I would be willing to present what I have put together already as the foundation for this project. It's neighter beautiful or mature, but it's a start. I can set up a SVN repository on my home server that would be accessible to anyone working on the project, and then once it is at a reasonably mature state, we can open it up under some open source license. I would say that, for starters, we would need the following players (a single individual can fill more than one role, if they have the skills): * CF developer(s) (of course) * Developer with extensive Java Mail experience (for the IMAP piece) * Front-end developer with cross-browser, cross-platform AJAX experience * Flash/ActionScript developer (for a Flash forms version) * UI/UX designer * PM/big picture person I can easily foresee some level of database development needed, but it wouldn't be anything extensive. If anyone has a sincere interest in participating in this project, please email me at pruckelshaus at gmaildotcom and I'll act as organizer until this thing achieves some level of critical mass. Pete ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273321 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
return variable error
Hey all, Ive got a component that runs a query. The query returns a bunch of HTML in a MS Access memo field. When I invoke the query I set a return variable called bodyStruct. I can dump this variable and see the contents cfset BodyObj=CreateObject(component,webControl) cfinvoke component=#BodyObj# method=getBody returnvariable=bodyStruct When I try to use it in a cfoutput I get the following error Complex object types cannot be converted to simple values. The expression has requested a variable or an intermediate expression result as a simple value, however, the result cannot be converted to a simple value. Simple values are strings, numbers, boolean values, and date/time values. Queries, arrays, and COM objects are examples of complex values. The most likely cause of the error is that you are trying to use a complex value as a simple one. For example, you might be trying to use a query variable in a CFIF tag. This was possible in ColdFusion 2.0 but creates an error in later versions. Any ideas n how to output this sucker? Thanks sas Scott Stewart ColdFusion Developer HYPERLINK http://maps.yahoo.com/py/maps.py?Pyt=Tmapaddr=7241+Jillspring+Ctcsz=Sprin gfield%2C+VA.+22152country=us \n7241 Jillspring Ct Springfield, VA. 22152 HYPERLINK mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] HYPERLINK http://www.sstwebworks.com; \nhttp://www.sstwebworks.com tel: mobile: HYPERLINK http://www.plaxo.com/click_to_call?src=jj_signatureTo=703-912-3076Email=s [EMAIL PROTECTED] \n703-912-3076 HYPERLINK http://www.plaxo.com/click_to_call?src=jj_signatureTo=703-220-2835Email=s [EMAIL PROTECTED] \n703-220-2835 HYPERLINK https://www.plaxo.com/add_me?u=25770055805src=client_sig_212_1_card_joini nvite=1 \nAlways have my latest info HYPERLINK http://www.plaxo.com/signature?src=client_sig_212_1_card_sig; \nWant a signature like this? -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.16/729 - Release Date: 3/21/2007 7:52 AM ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273322 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: return variable error
You will need to pass back a string of the data no doubt. Post your CFC code. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Scott Stewart To: CF-Talk Sent: Wed Mar 21 20:59:41 2007 Subject: return variable error Hey all, I've got a component that runs a query. The query returns a bunch of HTML in a MS Access memo field. When I invoke the query I set a return variable called bodyStruct. I can dump this variable and see the contents cfset BodyObj=CreateObject(component,webControl) cfinvoke component=#BodyObj# method=getBody returnvariable=bodyStruct When I try to use it in a cfoutput I get the following error Complex object types cannot be converted to simple values. The expression has requested a variable or an intermediate expression result as a simple value, however, the result cannot be converted to a simple value. Simple values are strings, numbers, boolean values, and date/time values. Queries, arrays, and COM objects are examples of complex values. The most likely cause of the error is that you are trying to use a complex value as a simple one. For example, you might be trying to use a query variable in a CFIF tag. This was possible in ColdFusion 2.0 but creates an error in later versions. Any ideas n how to output this sucker? Thanks sas Scott Stewart ColdFusion Developer HYPERLINK http://maps.yahoo.com/py/maps.py?Pyt=Tmapaddr=7241+Jillspring+Ctcsz=Sprin gfield%2C+VA.+22152country=us \n7241 Jillspring Ct Springfield, VA. 22152 HYPERLINK mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] HYPERLINK http://www.sstwebworks.com; \nhttp://www.sstwebworks.com tel: mobile: HYPERLINK http://www.plaxo.com/click_to_call?src=jj_signatureTo=703-912-3076Email=s [EMAIL PROTECTED] \n703-912-3076 HYPERLINK http://www.plaxo.com/click_to_call?src=jj_signatureTo=703-220-2835Email=s [EMAIL PROTECTED] \n703-220-2835 HYPERLINK https://www.plaxo.com/add_me?u=25770055805src=client_sig_212_1_card_joini nvite=1 \nAlways have my latest info HYPERLINK http://www.plaxo.com/signature?src=client_sig_212_1_card_sig; \nWant a signature like this? -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.16/729 - Release Date: 3/21/2007 7:52 AM ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273323 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Fwd: ANN: Transfer 0.6.3 RC1 Released
Apologies to those who may have got this already, but I just realised that this bounced from cf-talk. Cheers, Mark -- Wow! I've been pushing like crazy the next release of Transfer finished before I fly out for webDU, and I actually made it. I leave this afternoon for Sydney at 4:00pm, so I'm cutting it fine. This release has 2 great new features, the afterNewEvent and Transfer Query Language, as well as several critical bug fixes, not to mention a greatly expanded documentation, including a new Overview and FAQ. I need to go and pack so I can catch my flight to webDU, but a full blog post can be seen here: http://www.compoundtheory.com/?action=displayPostID=208 Thanks to all the people that helped out! Let me know how it goes, Regards, Mark -- E: [EMAIL PROTECTED] W: www.compoundtheory.com -- E: [EMAIL PROTECTED] W: www.compoundtheory.com ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273324 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: return variable error
Here's the function.. cffunction access=public name=getBody output=true returntype=any description=gets body text cfif IsDefined(url.id) cfset page_id= #url.id# cfelse cfset page_id= 0 /cfif cfquery datasource=#request.dsn# name=qGetBodyContent SELECT bodyText_content FROM tbl_bodyText WHERE FK_page_id = #page_id# /cfquery cfreturn qGetBodyContent /cffunction -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 5:04 PM To: CF-Talk Subject: Re: return variable error You will need to pass back a string of the data no doubt. Post your CFC code. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Scott Stewart To: CF-Talk Sent: Wed Mar 21 20:59:41 2007 Subject: return variable error Hey all, I've got a component that runs a query. The query returns a bunch of HTML in a MS Access memo field. When I invoke the query I set a return variable called bodyStruct. I can dump this variable and see the contents cfset BodyObj=CreateObject(component,webControl) cfinvoke component=#BodyObj# method=getBody returnvariable=bodyStruct When I try to use it in a cfoutput I get the following error Complex object types cannot be converted to simple values. The expression has requested a variable or an intermediate expression result as a simple value, however, the result cannot be converted to a simple value. Simple values are strings, numbers, boolean values, and date/time values. Queries, arrays, and COM objects are examples of complex values. The most likely cause of the error is that you are trying to use a complex value as a simple one. For example, you might be trying to use a query variable in a CFIF tag. This was possible in ColdFusion 2.0 but creates an error in later versions. Any ideas n how to output this sucker? Thanks sas Scott Stewart ColdFusion Developer HYPERLINK http://maps.yahoo.com/py/maps.py?Pyt=Tmapaddr=7241+Jillspring+Ctcsz=Sprin gfield%2C+VA.+22152country=us \n7241 Jillspring Ct Springfield, VA. 22152 HYPERLINK mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] HYPERLINK http://www.sstwebworks.com; \nhttp://www.sstwebworks.com tel: mobile: HYPERLINK http://www.plaxo.com/click_to_call?src=jj_signatureTo=703-912-3076Email=s [EMAIL PROTECTED] \n703-912-3076 HYPERLINK http://www.plaxo.com/click_to_call?src=jj_signatureTo=703-220-2835Email=s [EMAIL PROTECTED] \n703-220-2835 HYPERLINK https://www.plaxo.com/add_me?u=25770055805src=client_sig_212_1_card_joini nvite=1 \nAlways have my latest info HYPERLINK http://www.plaxo.com/signature?src=client_sig_212_1_card_sig; \nWant a signature like this? -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.16/729 - Release Date: 3/21/2007 7:52 AM ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273325 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: return variable error
Sounds like you are not returning a string from your method getBody - make sure the returntype of that method is set to string. -- Josh - Original Message - From: Scott Stewart [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, March 21, 2007 1:59 PM Subject: return variable error Hey all, I've got a component that runs a query. The query returns a bunch of HTML in a MS Access memo field. When I invoke the query I set a return variable called bodyStruct. I can dump this variable and see the contents cfset BodyObj=CreateObject(component,webControl) cfinvoke component=#BodyObj# method=getBody returnvariable=bodyStruct When I try to use it in a cfoutput I get the following error Complex object types cannot be converted to simple values. The expression has requested a variable or an intermediate expression result as a simple value, however, the result cannot be converted to a simple value. Simple values are strings, numbers, boolean values, and date/time values. Queries, arrays, and COM objects are examples of complex values. The most likely cause of the error is that you are trying to use a complex value as a simple one. For example, you might be trying to use a query variable in a CFIF tag. This was possible in ColdFusion 2.0 but creates an error in later versions. Any ideas n how to output this sucker? Thanks sas Scott Stewart ColdFusion Developer HYPERLINK http://maps.yahoo.com/py/maps.py?Pyt=Tmapaddr=7241+Jillspring+Ctcsz=Sprin gfield%2C+VA.+22152country=us \n7241 Jillspring Ct Springfield, VA. 22152 HYPERLINK mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] HYPERLINK http://www.sstwebworks.com; \nhttp://www.sstwebworks.com tel: mobile: HYPERLINK http://www.plaxo.com/click_to_call?src=jj_signatureTo=703-912-3076Email=s [EMAIL PROTECTED] \n703-912-3076 HYPERLINK http://www.plaxo.com/click_to_call?src=jj_signatureTo=703-220-2835Email=s [EMAIL PROTECTED] \n703-220-2835 HYPERLINK https://www.plaxo.com/add_me?u=25770055805src=client_sig_212_1_card_joini nvite=1 \nAlways have my latest info HYPERLINK http://www.plaxo.com/signature?src=client_sig_212_1_card_sig; \nWant a signature like this? -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.16/729 - Release Date: 3/21/2007 7:52 AM ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273326 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: return variable error
sas, Use cfdump var=#bodyStruct#. This has the in-built capability to output complex variables (arrays, structures, objects, functions, etc.) cfoutput is only for simple strings, numbers, etc. Hope that helps, Chris Scott Stewart wrote: Hey all, Ive got a component that runs a query. The query returns a bunch of HTML in a MS Access memo field. When I invoke the query I set a return variable called bodyStruct. I can dump this variable and see the contents cfset BodyObj=CreateObject(component,webControl) cfinvoke component=#BodyObj# method=getBody returnvariable=bodyStruct When I try to use it in a cfoutput I get the following error Complex object types cannot be converted to simple values. The expression has requested a variable or an intermediate expression result as a simple value, however, the result cannot be converted to a simple value. Simple values are strings, numbers, boolean values, and date/time values. Queries, arrays, and COM objects are examples of complex values. The most likely cause of the error is that you are trying to use a complex value as a simple one. For example, you might be trying to use a query variable in a CFIF tag. This was possible in ColdFusion 2.0 but creates an error in later versions. Any ideas n how to output this sucker? Thanks sas Scott Stewart ColdFusion Developer HYPERLINK http://maps.yahoo.com/py/maps.py?Pyt=Tmapaddr=7241+Jillspring+Ctcsz=Sprin gfield%2C+VA.+22152country=us \n7241 Jillspring Ct Springfield, VA. 22152 HYPERLINK mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] HYPERLINK http://www.sstwebworks.com; \nhttp://www.sstwebworks.com tel: mobile: HYPERLINK http://www.plaxo.com/click_to_call?src=jj_signatureTo=703-912-3076Email=s [EMAIL PROTECTED] \n703-912-3076 HYPERLINK http://www.plaxo.com/click_to_call?src=jj_signatureTo=703-220-2835Email=s [EMAIL PROTECTED] \n703-220-2835 HYPERLINK https://www.plaxo.com/add_me?u=25770055805src=client_sig_212_1_card_joini nvite=1 \nAlways have my latest info HYPERLINK http://www.plaxo.com/signature?src=client_sig_212_1_card_sig; \nWant a signature like this? -- http://www.cjordan.us ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273327 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: return variable error
cffunction access=public name=getBody output=true returntype=any description=gets body text cfif IsDefined(url.id) cfset page_id= #url.id# cfelse cfset page_id= 0 /cfif cfquery datasource=#request.dsn# name=qGetBodyContent SELECT bodyText_content FROM tbl_bodyText WHERE FK_page_id = #page_id# /cfquery cfreturn qGetBodyContent /cffunction That returns a recordset (qGetBodyContent). If all you want is the string, return qGetBodyContent.bodyText_content. And, you might want to set your RETURNTYPE attribute to query or string, whichever you actually return. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273328 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: return variable error
That did it, thanks all -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 6:19 PM To: CF-Talk Subject: RE: return variable error cffunction access=public name=getBody output=true returntype=any description=gets body text cfif IsDefined(url.id) cfset page_id= #url.id# cfelse cfset page_id= 0 /cfif cfquery datasource=#request.dsn# name=qGetBodyContent SELECT bodyText_content FROM tbl_bodyText WHERE FK_page_id = #page_id# /cfquery cfreturn qGetBodyContent /cffunction That returns a recordset (qGetBodyContent). If all you want is the string, return qGetBodyContent.bodyText_content. And, you might want to set your RETURNTYPE attribute to query or string, whichever you actually return. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273329 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: return variable error
cfquery datasource=#request.dsn# name=qGetBodyContent SELECT bodyText_content FROM tbl_bodyText WHERE FK_page_id = #page_id# /cfquery cfreturn qGetBodyContent /cffunction Looks like if you want to return a string of html, you want to do: cfreturn '#qGetBodyContent.bodyText_content#' / You could leave your returntype any or change it to string - changing it to string would be best practice since that is what you are actually trying to do - return a string of html from your method. -- Josh ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273330 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: return variable error
On 3/21/07, Scott Stewart [EMAIL PROTECTED] wrote: I've got a component that runs a query. The query returns a bunch of HTML in a MS Access memo field. When I invoke the query I set a return variable called bodyStruct. I can dump this variable and see the contents cfset BodyObj=CreateObject(component,webControl) cfinvoke component=#BodyObj# method=getBody returnvariable=bodyStruct When I try to use it in a cfoutput I get the following error Complex object types cannot be converted to simple values. Any ideas n how to output this sucker? if you're returning a structure, you'll need to reference the keys within the structure (e.g. cfoutput#bodyStruct.keyNameHere#/cfoutput. you can't just cfoutput#bodyStruct#/cfoutput because (like an array or a query) it's a complex object. -- Charlie Griefer ...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. But first they must catch you, digger, listener, runner, prince with a swift warning. Be cunning and full of tricks and your people shall never be destroyed. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273331 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: return variable error
Scott, Did CFDump not work for you, or are you looking for a way to output the data to screen for display in the app? I guess I'm confused by all this talk of strings when what I thought you wanted to do was dump the results of the query to the screen presumably just to see what got returned. Otherwise, why aren't you looping over your result set to output the data to the screen? I must be missing something... Chris Scott Stewart wrote: Here's the function.. cffunction access=public name=getBody output=true returntype=any description=gets body text cfif IsDefined(url.id) cfset page_id= #url.id# cfelse cfset page_id= 0 /cfif cfquery datasource=#request.dsn# name=qGetBodyContent SELECT bodyText_content FROM tbl_bodyText WHERE FK_page_id = #page_id# /cfquery cfreturn qGetBodyContent /cffunction -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 5:04 PM To: CF-Talk Subject: Re: return variable error You will need to pass back a string of the data no doubt. Post your CFC code. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Scott Stewart To: CF-Talk Sent: Wed Mar 21 20:59:41 2007 Subject: return variable error Hey all, I've got a component that runs a query. The query returns a bunch of HTML in a MS Access memo field. When I invoke the query I set a return variable called bodyStruct. I can dump this variable and see the contents cfset BodyObj=CreateObject(component,webControl) cfinvoke component=#BodyObj# method=getBody returnvariable=bodyStruct When I try to use it in a cfoutput I get the following error Complex object types cannot be converted to simple values. The expression has requested a variable or an intermediate expression result as a simple value, however, the result cannot be converted to a simple value. Simple values are strings, numbers, boolean values, and date/time values. Queries, arrays, and COM objects are examples of complex values. The most likely cause of the error is that you are trying to use a complex value as a simple one. For example, you might be trying to use a query variable in a CFIF tag. This was possible in ColdFusion 2.0 but creates an error in later versions. Any ideas n how to output this sucker? Thanks sas Scott Stewart ColdFusion Developer HYPERLINK http://maps.yahoo.com/py/maps.py?Pyt=Tmapaddr=7241+Jillspring+Ctcsz=Sprin gfield%2C+VA.+22152country=us \n7241 Jillspring Ct Springfield, VA. 22152 HYPERLINK mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] HYPERLINK http://www.sstwebworks.com; \nhttp://www.sstwebworks.com tel: mobile: HYPERLINK http://www.plaxo.com/click_to_call?src=jj_signatureTo=703-912-3076Email=s [EMAIL PROTECTED] \n703-912-3076 HYPERLINK http://www.plaxo.com/click_to_call?src=jj_signatureTo=703-220-2835Email=s [EMAIL PROTECTED] \n703-220-2835 HYPERLINK https://www.plaxo.com/add_me?u=25770055805src=client_sig_212_1_card_joini nvite=1 \nAlways have my latest info HYPERLINK http://www.plaxo.com/signature?src=client_sig_212_1_card_sig; \nWant a signature like this? -- http://www.cjordan.us ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273332 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: return variable error
I needed to display the results. I could use CFDump all along. -Original Message- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 5:56 PM To: CF-Talk Subject: Re: return variable error Scott, Did CFDump not work for you, or are you looking for a way to output the data to screen for display in the app? I guess I'm confused by all this talk of strings when what I thought you wanted to do was dump the results of the query to the screen presumably just to see what got returned. Otherwise, why aren't you looping over your result set to output the data to the screen? I must be missing something... Chris Scott Stewart wrote: Here's the function.. cffunction access=public name=getBody output=true returntype=any description=gets body text cfif IsDefined(url.id) cfset page_id= #url.id# cfelse cfset page_id= 0 /cfif cfquery datasource=#request.dsn# name=qGetBodyContent SELECT bodyText_content FROM tbl_bodyText WHERE FK_page_id = #page_id# /cfquery cfreturn qGetBodyContent /cffunction -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 5:04 PM To: CF-Talk Subject: Re: return variable error You will need to pass back a string of the data no doubt. Post your CFC code. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Scott Stewart To: CF-Talk Sent: Wed Mar 21 20:59:41 2007 Subject: return variable error Hey all, I've got a component that runs a query. The query returns a bunch of HTML in a MS Access memo field. When I invoke the query I set a return variable called bodyStruct. I can dump this variable and see the contents cfset BodyObj=CreateObject(component,webControl) cfinvoke component=#BodyObj# method=getBody returnvariable=bodyStruct When I try to use it in a cfoutput I get the following error Complex object types cannot be converted to simple values. The expression has requested a variable or an intermediate expression result as a simple value, however, the result cannot be converted to a simple value. Simple values are strings, numbers, boolean values, and date/time values. Queries, arrays, and COM objects are examples of complex values. The most likely cause of the error is that you are trying to use a complex value as a simple one. For example, you might be trying to use a query variable in a CFIF tag. This was possible in ColdFusion 2.0 but creates an error in later versions. Any ideas n how to output this sucker? Thanks sas Scott Stewart ColdFusion Developer HYPERLINK http://maps.yahoo.com/py/maps.py?Pyt=Tmapaddr=7241+Jillspring+Ctcsz=Sprin gfield%2C+VA.+22152country=us \n7241 Jillspring Ct Springfield, VA. 22152 HYPERLINK mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] HYPERLINK http://www.sstwebworks.com; \nhttp://www.sstwebworks.com tel: mobile: HYPERLINK http://www.plaxo.com/click_to_call?src=jj_signatureTo=703-912-3076Email=s [EMAIL PROTECTED] \n703-912-3076 HYPERLINK http://www.plaxo.com/click_to_call?src=jj_signatureTo=703-220-2835Email=s [EMAIL PROTECTED] \n703-220-2835 HYPERLINK https://www.plaxo.com/add_me?u=25770055805src=client_sig_212_1_card_joini nvite=1 \nAlways have my latest info HYPERLINK http://www.plaxo.com/signature?src=client_sig_212_1_card_sig; \nWant a signature like this? -- http://www.cjordan.us ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:27 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe:
Numberformat not working
I have this line of code: cfgridcolumn name=TotalMoneySpent header=Total $ Spent On Election numberformat=$__.__ The problem is that I am not getting the properly formatted number. My column just shows someting like 22369.22 rather than @22369.22. In the table, the data is entered as 22369.22 and the field is a type of Money. Thanks, -- Bruce Sorge I'm a mawg: half man, half dog. I'm my own best friend! ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273334 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: return variable error
No worries, mate! I'm glad you seem to have gotten your problem fixed. Chris Scott Stewart wrote: I needed to display the results. I could use CFDump all along. -Original Message- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 5:56 PM To: CF-Talk Subject: Re: return variable error Scott, Did CFDump not work for you, or are you looking for a way to output the data to screen for display in the app? I guess I'm confused by all this talk of strings when what I thought you wanted to do was dump the results of the query to the screen presumably just to see what got returned. Otherwise, why aren't you looping over your result set to output the data to the screen? I must be missing something... Chris Scott Stewart wrote: Here's the function.. cffunction access=public name=getBody output=true returntype=any description=gets body text cfif IsDefined(url.id) cfset page_id= #url.id# cfelse cfset page_id= 0 /cfif cfquery datasource=#request.dsn# name=qGetBodyContent SELECT bodyText_content FROM tbl_bodyText WHERE FK_page_id = #page_id# /cfquery cfreturn qGetBodyContent /cffunction -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 5:04 PM To: CF-Talk Subject: Re: return variable error You will need to pass back a string of the data no doubt. Post your CFC code. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Scott Stewart To: CF-Talk Sent: Wed Mar 21 20:59:41 2007 Subject: return variable error Hey all, I've got a component that runs a query. The query returns a bunch of HTML in a MS Access memo field. When I invoke the query I set a return variable called bodyStruct. I can dump this variable and see the contents cfset BodyObj=CreateObject(component,webControl) cfinvoke component=#BodyObj# method=getBody returnvariable=bodyStruct When I try to use it in a cfoutput I get the following error Complex object types cannot be converted to simple values. The expression has requested a variable or an intermediate expression result as a simple value, however, the result cannot be converted to a simple value. Simple values are strings, numbers, boolean values, and date/time values. Queries, arrays, and COM objects are examples of complex values. The most likely cause of the error is that you are trying to use a complex value as a simple one. For example, you might be trying to use a query variable in a CFIF tag. This was possible in ColdFusion 2.0 but creates an error in later versions. Any ideas n how to output this sucker? Thanks sas Scott Stewart ColdFusion Developer HYPERLINK http://maps.yahoo.com/py/maps.py?Pyt=Tmapaddr=7241+Jillspring+Ctcsz=Sprin gfield%2C+VA.+22152country=us \n7241 Jillspring Ct Springfield, VA. 22152 HYPERLINK mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] HYPERLINK http://www.sstwebworks.com; \nhttp://www.sstwebworks.com tel: mobile: HYPERLINK http://www.plaxo.com/click_to_call?src=jj_signatureTo=703-912-3076Email=s [EMAIL PROTECTED] \n703-912-3076 HYPERLINK http://www.plaxo.com/click_to_call?src=jj_signatureTo=703-220-2835Email=s [EMAIL PROTECTED] \n703-220-2835 HYPERLINK https://www.plaxo.com/add_me?u=25770055805src=client_sig_212_1_card_joini nvite=1 \nAlways have my latest info HYPERLINK http://www.plaxo.com/signature?src=client_sig_212_1_card_sig; \nWant a signature like this? -- http://www.cjordan.us ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273335 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Re: Numberformat not working
Try setting type to currency. ie: cfgridcolumn name=TotalMoneySpent header=Total $ Spent On Election numberformat=$__.__ type=currency I have this line of code: cfgridcolumn name=TotalMoneySpent header=Total $ Spent On Election numberformat=$__.__ The problem is that I am not getting the properly formatted number. My column just shows someting like 22369.22 rather than @22369.22. In the table, the data is entered as 22369.22 and the field is a type of Money. Thanks, -- Bruce Sorge I'm a mawg: half man, half dog. I'm my own best friend! ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273336 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4