The CFC returns the data correctly. When the page loads, the tree loads nodes well.
2007/8/2, Brian Kotek <[EMAIL PROTECTED]>: > > Does the CFC method return the data in the correct format for use with the > tree control? > > On 8/2/07, Bruno Paz <[EMAIL PROTECTED]> wrote: > > > > 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 > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:285296 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

