What data type are you using for your lft and rght columns? I'm not sure if it will help you, but have a browse over my article which has all the code to get the Tree behavior working and see if you're doing anything differently.
http://blogs.bigfish.tv/adam/2008/02/12/drag-and-drop-using-ext-js-with-the-cakephp-tree-behavior/ Cheers, Adam Mark wrote: > Hi All, > > I’m having a problem with the Tree behaviour that I was hoping > somebody could help me with. > I’m setting my object id and parent_id, but the 'lft' and 'rght' > columns are not being updated by the tree behaviour. They are being > left as their defaults (NULL). > > The CakePHP 1.2 manual indicates that these fields will be handled by > the Tree behaviour, but they don’t seem to be for me. > I’m using MySQL 5.0.67-community with CakePHP 1.2 Stable. > > Any help would be appreciated! I’ve spent days messing with this and > just finished a 5 hour session tinkering with it too. I hope this post > makes sense… I’m shattered ;) > > Thanks, > Mark > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
