Thats my doubt... because in the CF8 Documentation, in the ajax Javascript Functions appears this sintax:
ColdFusion.Tree.refresh(*name*) 2007/8/3, Brian Kotek <[EMAIL PROTECTED]>: > > What exactly do you think is going to happen when you click the refresh > button? Because all it is doing is calling refresh() on the grid, no data > is > being passed or updated, so I would think you wouldn't see any change at > all. > > On 8/2/07, Greg Fuller <[EMAIL PROTECTED]> wrote: > > > > That 0 in my post should not be there. > > > > On 8/2/07, Greg Fuller <[EMAIL PROTECTED]> wrote: > > > Brian, for me it did 0 that is, the tree got the data correctly but > > > the refresh did not work. > > > > > > I copied dirtree.cfc directly from the Forta's third code box here: > > > > > > > > > http://www.forta.com/blog/index.cfm/2007/6/5/ColdFusion-Ajax-Tutorial-5-File-System-Browsing-With-The-Tree-Control > > > > > > > > > > > > On 8/2/07, Brian Kotek <[EMAIL PROTECTED]> wrote: > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285297 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

