Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Ext User
    Join Date
    May 2008
    Posts
    12
    Vote Rating
    0
    joshb is on a distinguished road

      0  

    Default [FIXED] GXT B4: Trees + TreeStore

    [FIXED] GXT B4: Trees + TreeStore


    I think I have found a bug, and have spent an hour or so going through source. Actually two bugs - but please correct me if I'm wrong.

    Bug #1: TreeBuilder does not bind the BaseTreeModel to the TreeItem. Perhaps it is not supposed to, but I don't see why this would be a problem, and given that you can pass a TreeModel into it, it would be the expected behaviour (at least by me!)

    Bug #2: TreeStore + Binder (but no TreeLoader) - Does not add children of children of Model.
    I've created a BaseTreeLoader, and bound it using a TreeBinder to a tree. I then do an RPC call to fetch the TreeModel, at which point I add the Root to the store.

    Eventually it calls

    Code:
     private void insert(TreeModel parent, List<TreeModel> children, int index, boolean supressEvent)
    on line 504 of Beta4 TreeStore.java

    This method cycles through the children and inserts the children of the Model into the tree, but it does not recursively go through its children. I'm pretty sure this is an oversight, and wouldn't be picked up in any of the Explorer examples. As a result, the Tree is only one level deep when I believe it should build it all out, as TreeBuilder does (and as I said, I tried to use TreeBuilder but found that it loses the relationship with the Model.

    Can someone please confirm? Darryl?

    Thanks

  2. #2
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    1. TreeBuilder now calls item.setData(model) on newly created tree items.
    2. The 4 add and 4 insert methods in TreeStore have a new addChildren param. When set to true, the children of the models are added recursively.

    Changes are in SVN.

  3. #3
    Ext User
    Join Date
    May 2008
    Posts
    12
    Vote Rating
    0
    joshb is on a distinguished road

      0  

    Default Thanks Darrell

    Thanks Darrell


    Thanks Darrell!

Thread Participants: 1