I have a dynamic cftree that loads off a cfc. The cfc just fires off database queries to get the layout structure. I want the tree to retain state using session variables if the user hits the back or navigates to an intermediary processing page.
I've been pounding my head against the wall after going over the yui docs several times and running into a few roadblocks. My js function has the correct node id, but one of two errors constantly occur. Either the getTreeObject says that no tree exists, or else the getnodebyproperty() is null after finding the tree. After that I would use the expand() to default the nodes open where the user left off. I did notice I couldn't get an expandall() to work either. I haven't really used cftree much, but I've spent exceedingly more time than I've been alotted trying to find solutions or bugs online that may be preventing this from working. Anyone have an example or some insight that might help? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312693 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4