Re: Binding to a CFGrid from tabs
Michael, Are you using cfajaimport in your tab cfm pages? If you have ajax code in your tab source pages you have to use the cfajaximport on those pages too. since you are binding stuff in those souce pages to your form you probably need to do an cfajaximport tags=cfform,cflayout/ Give that a try... -- Gary Gilbert http://www.garyrgilbert.com/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304008 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Binding to a CFGrid from tabs
Gary, Thanks for the reply. I wasn't before because I had already used them in the main index page. I tried running the grid/tabs page by itself after adding cfajaximport tags for cfform and cfgrid. The page ran in Firefox (2.0.0.14) without a problem but failed in IE7. If I get rid of the source attribute in the cflayoutarea and place the tab code in the cflayoutarea/cflayoutarea tags the code works in both Firefox and IE. Michael, Are you using cfajaimport in your tab cfm pages? If you have ajax code in your tab source pages you have to use the cfajaximport on those pages too. since you are binding stuff in those souce pages to your form you probably need to do an cfajaximport tags=cfform,cflayout/ Give that a try... -- Gary Gilbert http://www.garyrgilbert.com/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304021 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Binding to a CFGrid from tabs
I have a generic html cfgrid which is bound to a CFC that returns a large amount of data. The test page is at http://67.199.57.74/jobsearchlog/, select the Jobs tab in the side menu and select saved jobs. The number of returned fields are large enough that I want to break the content into tabbed subject areas for ease of editing the values. This is a simple example of what I am trying to do which works in Firefox and Safari but not in IE. cfform cfgrid cfgrid cflayout type=tab cflayoutarea name=ad title=Ad source=AdTab.cfm/ cflayoutarea name=job title=Job source=JobTab.cfm / cflayoutarea name=company title=Company source=CompanyTab.cfm / /cflayout /cfform In Firefox if I place cfform tags around the form elements in the tab source pages the cfinput fields will bind to the grid without a problem. If I run the same code in IE the binding fails on the first bound cfinput element. If I run the page with the cfdebug=true URL parameter there are no errors other than the fact it can't bind to the first field. In both browsers I can run the code by placing the tab code directly in the tab instead of the source. Is there something I am missing here to get it to work the right way? Michael ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303949 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4