Using The Built-in Verity Indexing With A File Server
In ColdFusion 7, I was able to index a file server directory using the following code. CFINDEX action=refresh collection=orders key=//999.99.9.999/FireRescue/ADMIN/Orders type=path urlpath=http://fireweb/DeptOrders/; extensions=.doc recurse=yes language=English I tried to do the same thing in CF8 and can't get it to work at all. Does anybody have any suggestions on how to get it to index? I also tried reversing the slashes without success. Thanks. Phil Hayes ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319005 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
How to bind an cfinput field that is inside a CFDIV to the CFFORM for which it is part of
This is an opposite question than the usual... how to bind a cfform within a cfdiv. I have a CFDIV that is inside a CFFORM (cfdiv bind=url:cats.cfm/ cfdiv) It contains a list of checkboxes for categories. When I submit the form which surrounds the CFDIV, it does not include the checkbox values. How do I bind those checkbox values to the form being submitted. I'm try to duplicate how WordPress allows you to dynamically add a category to a category list. Thanks SAMPLE== cfform cfdiv bind=url:cats.cfm/cfdiv /cfform Thanks Phil ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298944 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: FCK Editor 2.5 consistently crashes browser when inside CFLAYOUT area
Woops... responded to the wrong email. Lets try again It seems the CFTEXTAREA version of the FCK editor is OK... but the newer version kills it. Still I want to use the newer version. Anybody have any ideas of what i can do to fix it? On Feb 12, 2008, at 1:01 PM, Philip Hayes wrote: Can anybody tell me what is causing the page to crash Safari , Firefox (and I think explorer)? I'm trying to put the editor inside of a tabs layout. SAMPLE CODE !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd html head meta http-equiv=Content-Type content=text/html; charset=UTF-8 titleUntitled Document/title /head body cflayout type=tab cflayoutarea title=Tab 1 cfmodule template=/common/fckeditor/fckeditor.cfm basePath=/common/fckeditor/ instanceName=myEditor value='pThis is some strongsample text/strong. You are using a href=http://www.fckeditor.net/;FCKeditor/a./p' width=100% height=200 /cflayoutarea cflayoutarea title=Tab 2 selected=true p This is the second tab. /p /cflayoutarea /cflayout /body /html ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298792 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 can I AutoSuggest multiple CFINPUT fields
It seems the CFTEXTAREA version of the FCK editor is OK... but the newer version kills it. Still I want to use the newer version. Anybody have any ideas of what i can do to fix it? On Dec 30, 2007, at 9:15 PM, Philip L. Hayes wrote: Hi everybody... Can anybody point me to information where I can learn how to fill several form fields with query information returned from an autosuggest query? Basically, I want to enter an employees ID. When a match is selected or found, I want to populate the name, address and phone number fields with information from an autosuggest query. Can this be done in the new CF8? Phil ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298791 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
FCK Editor 2.5 consistently crashes browser when inside CFLAYOUT area
Can anybody tell me what is causing the page to crash Safari , Firefox (and I think explorer)? I'm trying to put the editor inside of a tabs layout. SAMPLE CODE !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd html head meta http-equiv=Content-Type content=text/html; charset=UTF-8 titleUntitled Document/title /head body cflayout type=tab cflayoutarea title=Tab 1 cfmodule template=/common/fckeditor/fckeditor.cfm basePath=/common/fckeditor/ instanceName=myEditor value='pThis is some strongsample text/strong. You are using a href=http://www.fckeditor.net/;FCKeditor/a./p' width=100% height=200 /cflayoutarea cflayoutarea title=Tab 2 selected=true p This is the second tab. /p /cflayoutarea /cflayout /body /html ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298789 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
FCKEditor Surrounding CFQUERY with p tags
Does anybody know how to prevent FCKEDITOR from surrounding CFQUERY code from a loaded cfm page with p tags. This apparently is exposing the code to the WYSIWYG edito and not treating it as source code. I need to be able to use FCKEditor with CFM pages that have CF code. Any suggestions? Thanks Phil ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298639 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: FCKEditor Surrounding CFQUERY with p tags
Disregard the initial question. The solution to protect CF tags and prevent them from being modified is to use: FCKConfig.ProtectedSource.Add( /cf[\s\S]*?/gi ) ; // ColdFusion cf tags - OPEN. FCKConfig.ProtectedSource.Add( /\/cf[\s\S]*?/gi ) ; // ColdFusion cf tags - CLOSE. Now the problem is to write a regex for everything between cfquery and /cfquery I had what i though would work, but I don't think the fckeditor config file can use the full /cfquery without causing an error on the parent CFM page. This is what I tried: FCKConfig.ProtectedSource.Add( /cfquery.*/cfquery/ ) ; // Everything between CFQUERY Tags Suggestions? On Feb 9, 2008, at 8:19 PM, Philip Hayes wrote: Does anybody know how to prevent FCKEDITOR from surrounding CFQUERY code from a loaded cfm page with p tags. This apparently is exposing the code to the WYSIWYG edito and not treating it as source code. I need to be able to use FCKEditor with CFM pages that have CF code. Any suggestions? Thanks Phil ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298645 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion LMS Systems
Thanks John! On Jan 6, 2008, at 11:50 PM, John Mason wrote: Echo11 has a SCORM LMS in ColdFusion. There url is echoeleven.com John Mason [EMAIL PROTECTED] 770.337.8363 www.FusionLink.com - ColdFusion and Flex hosting Now offering ColdFusion 8 Enterprise hosting FREE Subversion hosting -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Sunday, January 06, 2008 3:40 PM To: CF-Talk Subject: RE: ColdFusion LMS Systems Is anybody familiar with any SCORM Learning Management Systems (LMS) that are built in ColdFusion? I'm not familiar with any. I'd recommend that you take a look at Moodle before building your own, though. It's not in CF, but it's free and open-source: http://www.moodle.org/ Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297122 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Regular Expression To Pull Values From A Commented Area
I need some help with an area of ColdFusion which I would call my Achilles Heal of ColdFusion Programming. I cannot get my mind around Regular Expressions, but know its the solution to many of my problems. For example I have the following CF Comment on a cfm page: !--- Widget Name: My Widget Widget URL: http://siriusinnovations.com Description: This is the description Version: 2.0 Author: Philip Hayes Author URL: http://siriusinnovations.com --- I want to perform a read on the CFM file using CFFILE. I then want to use a find/replace with regular expressions to find the values for: Widget Name Widget URL Description Version Author Author URL Is there anybody out there who can help me do this? I know is probably pretty easy but i just don't get regular expressions. Thanks. Phil ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297123 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Regular Expression To Pull Values From A Commented Area
That's pretty cool. i have never seen that tag before. I'll try it. Thanks On Jan 23, 2008, at 11:58 AM, Claude Schneegans wrote: Is there anybody out there who can help me do this? Sure, there is CF_REextract. It will return all your fields in a list or a query, and even read the file for you. See: http://www.contentbox.com/claude/customtags/REextract/testREextract.cfm ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297193 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
ColdFusion LMS Systems
Is anybody familiar with any SCORM Learning Management Systems (LMS) that are built in ColdFusion? Thanks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295981 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Cybersource Gateway Solution Found For ColdFusion
If anybody is interested I did find information on how to use ColdFusion to access the CyberSource Credit Card Gateway. I'll be happy to send you my sample code if you need it. Works like a charm. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295562 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFGRID in CF8 cannot get links with dynamic variable to work
Michael- I'm interested in this if you find a solution. I tried something like that before finally giving up and taking the easy way out. Phil On Dec 29, 2007, at 2:22 PM, Michael Grove wrote: I am trying to us a CFgrid, Format HTML using a CFC and Bind. The grid renders fine, but I want to include a few columns that either display a small image or a static X. Each of these columns should point to a specific url and pass the parameter. First off I cannot figure out for the life of me how to pull in a simple variable to pass in the href portion fo teh tag. cfform name=test cfgrid name=data bindonload=true appendkey=yes selectmode=single striperows=yes format=html bind=cfc:cfc.AdminProducts.getProducts({cfgridpage},{cfgridpagesize}, {cfgridsortcolumn},{cfgridsortdirection}) pagesize=30 autowidth=no width=800 cfgridcolumn name=productid display=no / cfgridcolumn name=title header=Title width=315 href=../ Product_Details.cfm hrefkey=productid / cfgridcolumn name=typename header=Type width=90 / cfgridcolumn name=Price_Our header=Price width=60 / cfgridcolumn name=start1 header=Start Date width=90 / cfgridcolumn name=x header=Copy values=x valuesdisplay=x href=../Product_Details.cfm?productid=#productid# hrefkey=productid width=60 / /cfgrid /cfform Everytime I run this I get Variable PRODUCTID is undefined. I have tried placeing everything I can think of in front of the productid viarable but it alwasy tells me that it is undefined. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295564 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Is Anybody Familiar With A CyberSource ColdFusion Solution?
Hi everybody- Is anybody familiar with a ColdFusion solution that integrates with the CyberSource Payment gateway? Do you have any code examples? I see lots of stuff for authorize.net (which is owned by CyberSource), but not on CyberSource itself. The CyberSource API help pages address all the different programing languages EXCEPT ColdFusion. Thanks. Phil Hayes ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295360 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Filtering with a session variable in CFGRID and Paging
Ok guys Here is a beginners question. I'm just beginning to dive into CFGRIDS and bindings and can't figure out what is most certainly an easy issue. I have a data grid populated with data from a CFC. Works great. How do I add an additional argument to filter down the query results? In this case, I want to filter down by the session.user.userid variable that is set. =START EXAMPLE CODE= cfform cfgrid name=reports format=html pagesize=10 striperows=yes selectmode=browse delete=yes bind=cfc:applications.OSHA300.OSHA300.getReports({cfgridpage}, {cfgridpagesize}, {cfgridsortcolumn}, {cfgridsortdirection}) cfgridcolumn name=is display=false / cfgridcolumn name=reportID header=ReportID width=250 href=details.cfm hrefkey=Reportid/ cfgridcolumn name=DOI header=Date of Injury / Illness width=150/ cfgridcolumn name=fname header=Last Name width=100/ cfgridcolumn name=lname header=First Name width=100/ /cfgrid /cfform =END EXAMPLE=== Also, is there a better way to provide a hyperlink to a details page. Like say, clicking anywhere on a row? Thanks. Phil ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294926 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Ajax controls rendering badly
Hi Dustin- I've noticed the same kids of things and have posted several help requests in multiple areas without luck. I've tracked my problems down to two culprits so far. FCKEditor Javascripts (not the CF8 pre- installed one) and Google Ad Javascripts. By any chance are you using anything like those? If so, comment them out and see if the page renders normally. Like I said, I know what causes the problems but I have not found a solution. Phil On Dec 17, 2007, at 2:34 PM, Dustin M. Snell wrote: Hi List, I have been playing with CFLAYOUT (tabs) and I am not really too excited about the way the page is drawn. I know it sounds picky but open first loading the page ou see all the content drawn on the page first then it puts them into the tabs. Is there any way around this? I would like it to work so that the tabs are drawn first. I wouldn't even mind of the other content didn't even attempt to load until the tab is selected - although that's not as important as the content being hidden until selected. The same behavior seems to apply to CFWINDOW. I am kind of new to the Ajax controls so sorry if this has been asked before. -Dustin ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294944 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Filtering with a session variable in CFGRID and Paging
Brad- Thanks for the feedback and answers some other questions I had about client side filteringh. In this case, I just want to pass another argument, adding it onto: bind=cfc:applications.OSHA300.OSHA300.getReports({cfgridpage}, {cfgridpagesize}, {cfgridsortcolumn}, {cfgridsortdirection}) Everything I tired causes errors. Am I missing something? Phil On Dec 17, 2007, at 12:39 PM, Brad Wood wrote: Oops, I actually meant to post (http://www.asfusion.com/blog/entry/filtering-a-cfgrid-as-you-type) as an example of the second method. The link below was an example of the first method. ~Brad -Original Message- From: Brad Wood [mailto:[EMAIL PROTECTED] Sent: Monday, December 17, 2007 11:35 AM To: CF-Talk Subject: RE: Filtering with a session variable in CFGRID and Paging In the same vein as Ajax implementations, you can filter on the client or the server. For the former, your cfc would receive an optional input which would limit the results returned. The records would be fetched from the server every time new filtering was applied. The latter would involve some ActionScript and looping. Basically you would loop over the results and populate the grid with the matching data without hitting the server again. Check out (http://www.asfusion.com/blog/entry/filtering-a-cfgrid-as-you-type--revi sited-) The first option results in more network traffic, but easier to implement, and will probably perform better if you are dealing with a lot of records. ~Brad ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294956 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Filtering with a session variable in CFGRID and Paging
Ok Brad- Think I have it. Here is what I did... cfoutput script getFilter = function(){ var s = 'submittedby'; return s; } getFilterValue = function(){ var t = '#session.user.userid#'; return t; } /script /cfoutput cfform cfgrid name=reports1 format=html pagesize=10 striperows=yes selectmode=browse delete=yes bind=cfc:applications.OSHA300.OSHA300.getReports({cfgridpage}, {cfgridpagesize}, {cfgridsortcolumn}, {cfgridsortdirection}, getFilter(), getFilterValue()) cfgridcolumn name=is display=false / cfgridcolumn name=reportID header=ReportID width=250 href=../froi/index.cfm hrefkey=Reportid/ cfgridcolumn name=DOI header=Date of Injury / Illness width=150/ cfgridcolumn name=fname header=Last Name width=100/ cfgridcolumn name=lname header=First Name width=100/ /cfgrid /cfform ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294968 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFSELECT Validation Still Broken in CFMX8?
According to the new CFDOCS for CFMX8, the REQUIRED attribute should work: Note: This attribute has no effect if you omit the size attribute or set it to 1, because the browser always submits the displayed item. You can work around this issue: format forms by having an initial option tag with value= (notice the space character between the quotation marks). ⢠yes: a list element must be selected when the form is submitted. ⢠no However, I cannot get the message to appear using the following code... cfselect name=state required=yes message=EMPLOYEE INFO: A state is required! multiple=no query=getStates value=Stateabbr display=listing queryPosition=below SELECTED=#GetReport.state# option value= Choose one/option /cfselect Anybody have any suggestions? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294969 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Slow Speed of Ajax Driven CF Tags
Michael- Good thought, but if you move the js call to the head, the ad no longer works... as in: http://sandbox.siriusinnovations.com/cfmenu_browsertest/index2.cfm Still tying different things myself. On Dec 3, 2007, at 11:54 PM, Michael Dinowitz wrote: Ah, I think I've got it. Place the Google ad code (the js call) inside the body of the doc right where the ad will be shown. If its in the head it may be interfering with the external calls for js libraries. Speculation, but that's the only way that the two different apps would really interact. On Dec 3, 2007 8:43 PM, Philip Hayes [EMAIL PROTECTED] wrote: Like I said... I have a Spry Menu working great and would be ok to keep using it. But, I was hoping to take advantage of the new CF8 tags to make my life easier, but it seems many of the AJAX tags don't play well with the Google ads and other code that might find itself on a typical web page. I don't get how the Google AdSense code could be causing the CFMENU's to render so slowly. If I remove the Google Ad, the CF8 CFMENU works just fine. Phil On Dec 2, 2007, at 8:43 PM, Claude Schneegans wrote: Yes, I saw the un-rendered menu before the real menu-bar loads. Me too. I don't know about using CFMENU, but I have my own menu designed far before CFMENU existed and I have the whole DIV embeding the menu with style invisible. The style is set to visible only when the whole menu is set up. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| 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:294154 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
FYI... Google Adsense Destroys CFMENU CFLAYOUT (tabs)
After much testing and trying various solutions, I've come to the conclusion that the slow CFMENU and CFLAYOUT (tabs) is NOT correctable by any coding tricks. I even tried SEO (putting the Google JS just before the closing body tag) and found it did nothing to improve rendering speeds. Not sure why CF is so sensitive to the well-known slow loading Google Adsense javascript but its clear the two can't be used together. Going back to Deamweaver's Spry for any sites using Google Ads. Phil Hayes Sirius Innovations, LLC ~| 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:294206 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Slow Speed of Ajax Driven CF Tags
Like I said... I have a Spry Menu working great and would be ok to keep using it. But, I was hoping to take advantage of the new CF8 tags to make my life easier, but it seems many of the AJAX tags don't play well with the Google ads and other code that might find itself on a typical web page. I don't get how the Google AdSense code could be causing the CFMENU's to render so slowly. If I remove the Google Ad, the CF8 CFMENU works just fine. Phil On Dec 2, 2007, at 8:43 PM, Claude Schneegans wrote: Yes, I saw the un-rendered menu before the real menu-bar loads. Me too. I don't know about using CFMENU, but I have my own menu designed far before CFMENU existed and I have the whole DIV embeding the menu with style invisible. The style is set to visible only when the whole menu is set up. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| 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:294124 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Slow Speed of Ajax Driven CF Tags
Has anybody noticed and/or come up with a solution for the slow rendering speed of certain CF Ajax tags such as CFMENU and CFLAYOUT (tabs in particular)? I have a site utilizing using the Spry Menus and Spry Tabs that come with Dreamweaver. Works like a charm and is quick to load. I liked the idea of utilizing the new CF8 tags, but when I switched over, I noticed HUGH performance issues. For instance, when using CFMENU, the page displays for a split second showing the li layout before loading the Ajax menu. It looks horrible. The same thing happens with the CFLAYOUT when trying to create a tabs display. Again, the li layout displays before the Ajax tabs get rendered. It creates a flashing effect as the page loads. None of this happens when using Dreamweaver Spry Menu or Tabs. It is basically preventing me from using these in any of my sites. Suggestions? Phil Hayes ~| 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:294052 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Slow Speed of Ajax Driven CF Tags
Thanks. I'll post a demo site tonight. Stay tuned. I read somewhere on the internet about compressing the Javascript libraries. What do you think of that? On Dec 2, 2007, at 1:02 PM, Michael Dinowitz wrote: Any time. These are the files I used last when working with cflayout=border. Most of them are probably needed for any of the more advanced ColdFusion/Ajax operations: C:\ColdFusion8\wwwroot\CFIDE\thinscripts8\ajax\ext\ext-core.js C:\ColdFusion8\wwwroot\CFIDE\thinscripts8\ajax\ext\adapter\yui\ext- yui-adapter.js C:\ColdFusion8\wwwroot\CFIDE\thinscripts8\ajax\ext\package \splitbar.js C:\ColdFusion8\wwwroot\CFIDE\thinscripts8\ajax\ext\package\util.js C:\ColdFusion8\wwwroot\CFIDE\thinscripts8\ajax\ext\package\layout \layout.js C:\ColdFusion8\wwwroot\CFIDE\thinscripts8\ajax\messages\cfmessage.js C:\ColdFusion8\wwwroot\CFIDE\thinscripts8\ajax\package\cfajax.js C:\ColdFusion8\wwwroot\CFIDE\thinscripts8\ajax\yui\yahoo-dom-event \yahoo- dom-event.js Of those, I think only layout.js and splitbar.js are required by cflayout. It will take some examination of the css/js files and debug output (firebug and web-developer toolbar work wonders here) to know what needs to be included and not. It's a pain but worth it in the end. On Dec 2, 2007 12:11 PM, Rey Bango [EMAIL PROTECTED] wrote: Great tip Michael. I'll need to add that to my CF Cookbook folder. Rey.. Michael Dinowitz wrote: When some of the ColdFusion Ajax tags are used, a LOT of libraries are loaded. If you copy the ajax directory from C:\ColdFusion8\wwwroot\CFIDE\scripts to a new location you can then use cfajaximport to include the new scripts. You'll have to pare down some based on what your doing but you can move the scripts from 352k to 20k. I've done it with cflayout type=border cfajaximport scriptsrc=/cfide/thinscripts/ csssrc=/cfide/scripts/ajax On Dec 2, 2007 9:43 AM, Philip Hayes [EMAIL PROTECTED] wrote: Has anybody noticed and/or come up with a solution for the slow rendering speed of certain CF Ajax tags such as CFMENU and CFLAYOUT (tabs in particular)? I have a site utilizing using the Spry Menus and Spry Tabs that come with Dreamweaver. Works like a charm and is quick to load. I liked the idea of utilizing the new CF8 tags, but when I switched over, I noticed HUGH performance issues. For instance, when using CFMENU, the page displays for a split second showing the li layout before loading the Ajax menu. It looks horrible. The same thing happens with the CFLAYOUT when trying to create a tabs display. Again, the li layout displays before the Ajax tabs get rendered. It creates a flashing effect as the page loads. None of this happens when using Dreamweaver Spry Menu or Tabs. It is basically preventing me from using these in any of my sites. Suggestions? Phil Hayes ~| 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:294057 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Slow Speed of Ajax Driven CF Tags
Well... I may have found part of the problem. Google Ads.Here is a URL to stripped down page with nothing but CFMENU and a google ad.It shows the delay in Firefox and Safari so far. The site that I was working on has Google ads on it so I may have found at least part of the problem. http://sandbox.siriusinnovations.com/cfmenu_browsertest/index.cfm I'll post the link to the more robust page that clearly shows the delay as soon as I can get it off my local dev server. Phil On Dec 2, 2007, at 5:38 PM, Michael Dinowitz wrote: I'd say the issue is transfer over rendering as just about ALL of the ajax libraries are transfered, even the ones that are not needed. With so many files being transfered, if the important ones show up 'later' than the less-important ones On Dec 2, 2007 5:10 PM, Rey Bango [EMAIL PROTECTED] wrote: Hi Phil, Compressing your libraries won't help in the actual rendering of things such as CFLAYOUT or CFMENU. It's main purpose is to assist in speeding up transfer of the libraries across the wire. So, you need to determine if you're having a performance issue due to Internet latency, file size or component rendering. Rey... -- Michael Dinowitz (http://www.linkedin.com/in/mdinowitz) President: House of Fusion(http://www.houseoffusion.com) Publisher: Fusion Authority(http://www.fusionauthority.com) Adobe Community Expert / Advanced Certified ColdFusion Professional ~| 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:294062 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Slow Speed of Ajax Driven CF Tags
Strange... Don't know why it went down... Should be back up now. Do you see the flash of the un-rendered menu items? I also stripped out the css. On Dec 2, 2007, at 7:17 PM, Michael Dinowitz wrote: I was doing a firebug analysis when the page gave me a 404 but what I saw before hand was 230k of files, 10k of which was Google. The ColdFusion Ajax js files took almost all of the rest. The time-to-retrieve showed the Google files to be less than 100ms while at least one of the js files were 178ms. When the page is back up I'll try and get better numbers for you. Bottom line from how I see it is that Google's ad is not the culprit here. On Dec 2, 2007 6:13 PM, Philip Hayes [EMAIL PROTECTED] wrote: Well... I may have found part of the problem. Google Ads.Here is a URL to stripped down page with nothing but CFMENU and a google ad.It shows the delay in Firefox and Safari so far. The site that I was working on has Google ads on it so I may have found at least part of the problem. http://sandbox.siriusinnovations.com/cfmenu_browsertest/index.cfm I'll post the link to the more robust page that clearly shows the delay as soon as I can get it off my local dev server. Phil On Dec 2, 2007, at 5:38 PM, Michael Dinowitz wrote: I'd say the issue is transfer over rendering as just about ALL of the ajax libraries are transfered, even the ones that are not needed. With so many files being transfered, if the important ones show up 'later' than the less-important ones On Dec 2, 2007 5:10 PM, Rey Bango [EMAIL PROTECTED] wrote: Hi Phil, Compressing your libraries won't help in the actual rendering of things such as CFLAYOUT or CFMENU. It's main purpose is to assist in speeding up transfer of the libraries across the wire. So, you need to determine if you're having a performance issue due to Internet latency, file size or component rendering. Rey... -- Michael Dinowitz (http://www.linkedin.com/in/mdinowitz) President: House of Fusion(http://www.houseoffusion.com) Publisher: Fusion Authority(http://www.fusionauthority.com) Adobe Community Expert / Advanced Certified ColdFusion Professional ~| 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:294065 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Slow Speed of Ajax Driven CF Tags
Here is the original template... !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd html head meta http-equiv=Content-Type content=text/html; charset=UTF-8 titleUntitled Document/title /head body script type=text/javascript!-- google_ad_client = pub-7163552985356791; google_ad_width = 728; google_ad_height = 90; google_ad_format = 728x90_as; google_ad_type = text_image; google_ad_channel = ; google_color_border = 003366; google_color_bg = FF; google_color_link = FF; google_color_text = 00; google_color_url = 008000; google_ui_features = rc:6; //-- /script script type=text/javascript src=http://pagead2.googlesyndication.com/pagead/show_ads.js; /script brbr cfmenu bgcolor=##00 font=Arial fontcolor=##FF fontsize=16 name=menu selectedfontcolor=##006699 selecteditemcolor=##CC type=horizontal cfmenuitem name=Home href=/index.cfm display=Home/ cfmenuitem name=MyVillage href=/MyVillage/index.cfm display=My Village/ !--- The ColdFusion menu item has a pop-up menu. --- cfmenuitem name=Articles href=/article/index.cfm display=Articles cfmenuitem name=buy href=http://www.adobe.com/products/coldfusion/buy/; display=Buy/ cfmenuitem name=devcenter href=http://www.adobe.com/devnet/coldfusion/; display=Developer Center/ cfmenuitem name=documentation href=http://www.adobe.com/support/documentation/en/coldfusion/ display=Documentation/ cfmenuitem name=support href=http://www.adobe.com/support/coldfusion/ display=Support/ /cfmenuitem cfmenuitem name=flex href=http://www.adobe.com/flex; display=Flex/ /cfmenu /body /html ~| 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:294064 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
DataGrid with Dynamic Link
Hi Guys- I'm trying to use the DataGrid for my log viewer, but i need to link the summary field to a details page. When I use the code below, it appends all sorts of garbage onto the URL. What am I doing wrong? cfform cfgrid name=log format=html pagesize=20 striperows=yes delete=yes bind=cfc:common.cfcs.log.getlog({cfgridpage}, {cfgridpagesize}, {cfgridsortcolumn}, {cfgridsortdirection}) cfgridcolumn name=datecreated header=Date width=100 / cfgridcolumn name=type header=Type width=100/ cfgridcolumn name=category header=Category width=100/ cfgridcolumn name=summary header=Summary width=200href=details.cfm hrefkey=id/ cfgridcolumn name=details header=Details width=400/ /cfgrid /cfform Thanks Phil ~| 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:291153 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CFLDAP - ADD Broken in ColdFusion 8?
Is anybody aware or heard of any bugs with CFLDAP in version 8? It started with a client installation, where I test just about everything before upgrading to CF8. I guess I forgot to check CFLDAP. I have the following code which executes just fine on CF7. !--- CUSTOM ADD GROUP CODE --- cfset request.ListName = test3 cfoutputcfsavecontent variable=IncAttributes objectClass=top |objectClass=group |cn=#Request.ListName# |name=#Request.ListName# |sAMAccountName=#Request.ListName# |groupType=-2147483646 /cfsavecontent /cfoutput cfldap action=add DN=CN=#Request.Listname#,OU=Groups,DC=Netname,DC=MyCompanys,DC=com attributes=#IncAttributes# delimiter=| server=10.1.1.67 port=389 username=netname\myname password= separator=~ But when I move the exact file to CF8, I get the following error: === An error has occured while trying to execute add :[LDAP: error code 19 - 2081: AtrErr: DSID-03151122, #1: 0: 2081: DSID-03151122, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 3 (cn) ]. One or more of the required attributes may be missing or incorrect or you do not have permissions to execute this operation on the server. == Any ideas on what to do? Thanks. Phil Hayes ~| 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:291072 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFLDAP - ADD Broken in ColdFusion 8?
DISREGARD- They made a slight change that requires the CN attribute title to be capitalized in CF8. I had it as a small cn in the attributes section (which worked in CFX7). Thanks. Philip L. Hayes On Oct 14, 2007, at 11:38 PM, Philip Hayes wrote: Is anybody aware or heard of any bugs with CFLDAP in version 8? It started with a client installation, where I test just about everything before upgrading to CF8. I guess I forgot to check CFLDAP. I have the following code which executes just fine on CF7. !--- CUSTOM ADD GROUP CODE --- cfset request.ListName = test3 cfoutputcfsavecontent variable=IncAttributes objectClass=top |objectClass=group |cn=#Request.ListName# |name=#Request.ListName# |sAMAccountName=#Request.ListName# |groupType=-2147483646 /cfsavecontent /cfoutput cfldap action=add DN=CN=#Request.Listname#,OU=Groups,DC=Netname,DC=MyCompanys,DC=com attributes=#IncAttributes# delimiter=| server=10.1.1.67 port=389 username=netname\myname password= separator=~ But when I move the exact file to CF8, I get the following error: === An error has occured while trying to execute add :[LDAP: error code 19 - 2081: AtrErr: DSID-03151122, #1: 0: 2081: DSID-03151122, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 3 (cn) ]. One or more of the required attributes may be missing or incorrect or you do not have permissions to execute this operation on the server. == Any ideas on what to do? Thanks. Phil Hayes ~| 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:291074 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4