Re: ajaxcfc dump results
I personally couldn't live without this dump function: http://www.netgrow.com.au/files/javascript_dump.cfm It looks *exactly* like a cfdump, but for JavaScript instead! :o) -Chris On 11/3/07, James Holmes [EMAIL PROTECTED] wrote: I'll second this. This is so useful it is part of the mxAjax distribution. On Nov 4, 2007 9:45 AM, Jim Davis [EMAIL PROTECTED] wrote: -Original Message- From: Ioannis Papanikolaou [mailto:[EMAIL PROTECTED] Sent: Saturday, November 03, 2007 9:04 PM To: CF-Talk Subject: ajaxcfc dump results Hello to everyone I am sure this will be an easy answer to the experienced ajaxcfc users. The AjaxCFC debugger is displaying only object Object wich most likely is the array. Assuming you're talking about the client side you can see this information with my debugging/dump library here: http://www.depressedpress.com/Content/Development/JavaScript/Extensions/DP_D ebug/Index.cfm Works in IE, FF and Opera and doesn't require an install. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292622 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: ajaxcfc dump results
Nice one. Thanks ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Chris Jordan [mailto:[EMAIL PROTECTED] Sent: Sunday, November 04, 2007 10:29 AM To: CF-Talk Subject: Re: ajaxcfc dump results I personally couldn't live without this dump function: http://www.netgrow.com.au/files/javascript_dump.cfm It looks *exactly* like a cfdump, but for JavaScript instead! :o) -Chris On 11/3/07, James Holmes [EMAIL PROTECTED] wrote: I'll second this. This is so useful it is part of the mxAjax distribution. On Nov 4, 2007 9:45 AM, Jim Davis [EMAIL PROTECTED] wrote: -Original Message- From: Ioannis Papanikolaou [mailto:[EMAIL PROTECTED] Sent: Saturday, November 03, 2007 9:04 PM To: CF-Talk Subject: ajaxcfc dump results Hello to everyone I am sure this will be an easy answer to the experienced ajaxcfc users. The AjaxCFC debugger is displaying only object Object wich most likely is the array. Assuming you're talking about the client side you can see this information with my debugging/dump library here: http://www.depressedpress.com/Content/Development/JavaScript/Extensions/DP_D ebug/Index.cfm Works in IE, FF and Opera and doesn't require an install. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292623 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: ajaxcfc dump results
-Original Message- From: Chris Jordan [mailto:[EMAIL PROTECTED] Sent: Sunday, November 04, 2007 10:29 AM To: CF-Talk Subject: Re: ajaxcfc dump results I personally couldn't live without this dump function: http://www.netgrow.com.au/files/javascript_dump.cfm It looks *exactly* like a cfdump, but for JavaScript instead! :o) Cool - I'd never seen this one before. I took a deeper look (yeah, mostly to see how I could improve mine). It identifies several more object types (Dom Element, RegEx, etc) than mine and abstracts some objects very nicely (functions, dom objects, etc). At the same time it doesn't seem to have an option to NOT abstract them (for example it only shows four properties for DOM Elements when they actually have several hundred). It can't handle circular/recursive references. It crashes with an out of memory error. For example: Person1.Spouse = Person2; Person2.Spouse = Person1; Family = [Person1, Person2]; This will crash when you try to dump Family (it generates an endless loop). This was actually one of the most difficult challenges to overcome for me. Also there's no ability to control depth of recursion (for example deep, complex objects like document create an out of memory crash). With mine you can control the recursive depth (although if you don't my component crashes in exactly the same way). Now, that said, I also noticed that my extension can't handle regular expressions. It doesn't crash, but it also doesn't display them (it just displays blank). So it looks like between the both of them all the bases are covered! ;^) Jim Davis ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292624 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ajaxcfc dump results
There are two versions of this function. a jQuery one and a non-jQuery one. The non-jQuery one came first. There are some improvements in the jQuery one (which, if I'm honest, is the one I use). I knew about the out of memory crashes, but for dumping a query result set like the original author was talking about, this is a very good tool (imo). It would be nice if it didn't try to expand every single section but instead allow for lazy loading of those pieces that the user wants to click on to expand. I figure that would take care of some instances of the out of memory crashes (which I rarely run into, unless I'm trying to dump top or document or window,etc.). Chris On 11/4/07, Jim Davis [EMAIL PROTECTED] wrote: -Original Message- From: Chris Jordan [mailto:[EMAIL PROTECTED] Sent: Sunday, November 04, 2007 10:29 AM To: CF-Talk Subject: Re: ajaxcfc dump results I personally couldn't live without this dump function: http://www.netgrow.com.au/files/javascript_dump.cfm It looks *exactly* like a cfdump, but for JavaScript instead! :o) Cool - I'd never seen this one before. I took a deeper look (yeah, mostly to see how I could improve mine). It identifies several more object types (Dom Element, RegEx, etc) than mine and abstracts some objects very nicely (functions, dom objects, etc). At the same time it doesn't seem to have an option to NOT abstract them (for example it only shows four properties for DOM Elements when they actually have several hundred). It can't handle circular/recursive references. It crashes with an out of memory error. For example: Person1.Spouse = Person2; Person2.Spouse = Person1; Family = [Person1, Person2]; This will crash when you try to dump Family (it generates an endless loop). This was actually one of the most difficult challenges to overcome for me. Also there's no ability to control depth of recursion (for example deep, complex objects like document create an out of memory crash). With mine you can control the recursive depth (although if you don't my component crashes in exactly the same way). Now, that said, I also noticed that my extension can't handle regular expressions. It doesn't crash, but it also doesn't display them (it just displays blank). So it looks like between the both of them all the bases are covered! ;^) Jim Davis ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292625 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Question about writeToBrowser image action...
What would be the possible use(es) of the writeToBrowser image action? Rick ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292626 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cftree Refresh
Hello, I'm trying to do a refresh to a CFTREE, but an error appears in the console: - Error: _6a.parent has no properties Archivo de origen: http://192.168.1.5/CFIDE/scripts/ajax/package/cftree.js Línea: 219 - This is my form: cfform name=form_navegacion cftree name=NavTree format=html cftreeitem bind=cfc:dirtree.getDirEntries ({cftreeitempath},{cftreeitemvalue}) /cftree input type=button value=Refrescar onclick=refresh(); / /cfform And this is my JS function: function refresh() { ColdFusion.Tree.refresh('NavTree'); } Somebody could make this work? I think I'm doing something wrong Thanks in advance! Bruno Paz GSC, Barcelona ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292627 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cftree Refresh
Did you ever find the solution to this issue? I'm having the same problem with cftree refresh . . . The CFC returns the data correctly. When the page loads, the tree loads nodes well. 2007/8/2, Brian Kotek [EMAIL PROTECTED]: ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292628 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CF Image question...
I've been reading in the docs about the new image functions in CF 8, but I'm still not sure about whether or not I can resize an image as it's being loaded onto the server. I guess we still have to use cffile to get it on the server, then use the image tag/functions to manipulate the file *after* it's on the server? Rick ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292629 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Question about writeToBrowser image action...
Secure images elsewhere on the file system. You don't want them browsable, but you do want them displayed. Terrence Ryan I.T. Director Wharton Computing and Information Technology E-mail: [EMAIL PROTECTED] -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Sunday, November 04, 2007 4:06 PM To: CF-Talk Subject: Question about writeToBrowser image action... What would be the possible use(es) of the writeToBrowser image action? Rick ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292630 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF Image question...
Um, how would CF change an image that isn't on the server? It's server side technology. ;) (If I'm reading you wrong, let me know.) On Nov 4, 2007 3:45 PM, Rick Faircloth [EMAIL PROTECTED] wrote: I've been reading in the docs about the new image functions in CF 8, but I'm still not sure about whether or not I can resize an image as it's being loaded onto the server. I guess we still have to use cffile to get it on the server, then use the image tag/functions to manipulate the file *after* it's on the server? Rick ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292632 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Question about writeToBrowser image action...
Getting an image stored as a BLOB in your database and displaying it to the user. That's just one example. In the docs, they mention sending a resized image back to the browser, although I'd do a resize operaiton once, not on the fly. On Nov 4, 2007 3:05 PM, Rick Faircloth [EMAIL PROTECTED] wrote: What would be the possible use(es) of the writeToBrowser image action? Rick ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292631 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CF Image question...
I didn't know if there was some function that pulled the image into the server, then resized it, stored the resized file and deleted the original. I guess all this is possible with the various functions. I just didn't know if an intermediary step had been introduced to the typical cffile upload process. Rick -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Sunday, November 04, 2007 5:00 PM To: CF-Talk Subject: Re: CF Image question... Um, how would CF change an image that isn't on the server? It's server side technology. ;) (If I'm reading you wrong, let me know.) On Nov 4, 2007 3:45 PM, Rick Faircloth [EMAIL PROTECTED] wrote: I've been reading in the docs about the new image functions in CF 8, but I'm still not sure about whether or not I can resize an image as it's being loaded onto the server. I guess we still have to use cffile to get it on the server, then use the image tag/functions to manipulate the file *after* it's on the server? Rick ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292633 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Question about writeToBrowser image action...
Thanks for the tips, Ryan Ray... just trying to get in on the goodies of CF8. Sure is nice to have all this file manipulation at my disposal! Rick -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Sunday, November 04, 2007 4:57 PM To: CF-Talk Subject: Re: Question about writeToBrowser image action... Getting an image stored as a BLOB in your database and displaying it to the user. That's just one example. In the docs, they mention sending a resized image back to the browser, although I'd do a resize operaiton once, not on the fly. On Nov 4, 2007 3:05 PM, Rick Faircloth [EMAIL PROTECTED] wrote: What would be the possible use(es) of the writeToBrowser image action? Rick ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292634 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: ajaxcfc dump results
-Original Message- From: Chris Jordan [mailto:[EMAIL PROTECTED] Sent: Sunday, November 04, 2007 3:24 PM To: CF-Talk Subject: Re: ajaxcfc dump results It would be nice if it didn't try to expand every single section but instead allow for lazy loading of those pieces that the user wants to click on to expand. I figure that would take care of some instances of the out of memory crashes (which I rarely run into, unless I'm trying to dump top or document or window,etc.). I doubt this would be possible in JavaScript (or, at the very least, in a dumper written in JavaScript). The main problem is that there's no way to pause JavaScript. So when you call a dump JavaScript runs that dump then continues merrily on its way. So every dump is strictly point in time. By the time the user requests a lazy load of more data the structure that contained it may very well be gone or changed. In JavaScript the container itself might be completely dissimilar from when it was originally displayed. For example: myObject = {Count: 0}; DP_Debug.dump(myObject); myObject = Hello; Say, for the sake of argument, that the initial display didn't display the content of the Count property but rather linked to it. By the time the user clicks on it myObject is actually a string and myObject.Count won't exist. I'd LOVE to see some code that could do this correctly (damn that would be neat) but can't envision any way to do it in Native JavaScript (although I assume that there's some why to access the parser more directly in a program since both IE and FF have more traditional JavaScript debuggers available). Jim Davis ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292635 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Question about writeToBrowser image action...
Also handy if you want to do in memory image manipulation.. like something very context specific, like, writing a users name / message on a image, or something like that. Mark On 11/5/07, Rick Faircloth [EMAIL PROTECTED] wrote: Thanks for the tips, Ryan Ray... just trying to get in on the goodies of CF8. Sure is nice to have all this file manipulation at my disposal! Rick -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Sunday, November 04, 2007 4:57 PM To: CF-Talk Subject: Re: Question about writeToBrowser image action... Getting an image stored as a BLOB in your database and displaying it to the user. That's just one example. In the docs, they mention sending a resized image back to the browser, although I'd do a resize operaiton once, not on the fly. On Nov 4, 2007 3:05 PM, Rick Faircloth [EMAIL PROTECTED] wrote: What would be the possible use(es) of the writeToBrowser image action? Rick ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292636 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF7 Verity Issues. Any help/comments would be appreciated
Hi Rich, I'm having the same problem, and it is also causing Jrun to go to 100%. If you find a solution, I'd be most grateful if you would let me know. Many thanks, Jenny -Original Message- From: Rich Sloan [mailto:[EMAIL PROTECTED] Sent: 26 October 2007 21:35 To: CF-Talk Subject: CF7 Verity Issues. Any help/comments would be appreciated I have a few Verity Collections on a Windows 2003 server running CFMX 7.0.2 with hotfix 3 installed,that index documents on my site. I set up a scheduled task to index the documents nightly. This had been working great, but now the index fails with the error. The collection is not available: com.verity.coll.VCollectionNotAvailableException: Collection down after opening. (10) When a user searches the site they get an error: Error executing the CFSearch Tag Collection (Status Code): mycollection(-1705). I can not find any doc on Verity error codes on Adobe's site that explains this error other than The Collection is down. No resolutions, nothing. The only solution I have found that works is stopping the Search Services, deleting the collection folder under cfmxroot/verity/collections restarting the service and re-creating the collection, then doing a manual index. I am pulling out what hair I have left trying to figure out what this issue is and how to correct it. Anyone else have any similar issues/advice. Thanks, Rich Sloan E-Business Development Specialist The TriZetto Group, Inc., Naperville ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292637 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 Verity Issues. Any help/comments would be appreciated
Hi Rich/Jenny, Can you post the full stackstrace here? that will be more helpful to investigate it. Thanks Regards, Jayesh Viradiya Adobe CF Team -Original Message- From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED] Sent: Sunday, November 04, 2007 5:13 PM To: CF-Talk Subject: RE: CF7 Verity Issues. Any help/comments would be appreciated Hi Rich, I'm having the same problem, and it is also causing Jrun to go to 100%. If you find a solution, I'd be most grateful if you would let me know. Many thanks, Jenny -Original Message- From: Rich Sloan [mailto:[EMAIL PROTECTED] Sent: 26 October 2007 21:35 To: CF-Talk Subject: CF7 Verity Issues. Any help/comments would be appreciated I have a few Verity Collections on a Windows 2003 server running CFMX 7.0.2 with hotfix 3 installed,that index documents on my site. I set up a scheduled task to index the documents nightly. This had been working great, but now the index fails with the error. The collection is not available: com.verity.coll.VCollectionNotAvailableException: Collection down after opening. (10) When a user searches the site they get an error: Error executing the CFSearch Tag Collection (Status Code): mycollection(-1705). I can not find any doc on Verity error codes on Adobe's site that explains this error other than The Collection is down. No resolutions, nothing. The only solution I have found that works is stopping the Search Services, deleting the collection folder under cfmxroot/verity/collections restarting the service and re-creating the collection, then doing a manual index. I am pulling out what hair I have left trying to figure out what this issue is and how to correct it. Anyone else have any similar issues/advice. Thanks, Rich Sloan E-Business Development Specialist The TriZetto Group, Inc., Naperville ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292638 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Facade Vs Service objects
Is there a difference between a facade and a service object? On the ColdSpring list, what one person called a userService, another call sessionFacade. My favourite analogy of this sort of thing is a remote control for a CD/Video/DVD player. They all have play, stop, pause ... But each machine handles that request differently. So would a remote control be a Facade or a Service? -- AJ Mercer Web Log: http://webonix.net ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292639 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4