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
    Sencha User
    Join Date
    Sep 2011
    Posts
    125
    Answers
    1
    Vote Rating
    0
    oddz is on a distinguished road

      0  

    Default Unanswered: TreeStore w/ XML reader Example

    Unanswered: TreeStore w/ XML reader Example


    Is there an example of loading hierarchical data into a tree store using an XML reader? The reason why I ask is because the method Ext.data.reader.Xml::getRoot() is failing when the call to Ext.DomQuery.isXml() is called. The error states that the method Ext.DomQuery.isXml() does not exist. Upon learning that I overrided the method and removed the conditional making the conditional a mere else but now receive an error stating the method querySelectorAll does not exist on passed object (root object which is an object literal - makes sense). So it seems to me looking at the comments that someone anticipated the possibility of root node for a tree store not being a dom node but has not fully implemented it yet in regards to Ext.DomQuery.selectNode() is that the case? I'll look at it a little further though.

  2. #2
    Sencha User
    Join Date
    Sep 2011
    Posts
    125
    Answers
    1
    Vote Rating
    0
    oddz is on a distinguished road

      0  

    Default


    Looks to me like the root node edge case has yet to be implemented though there are clearly comments regarding it. Looking at the code the comment seems incorrect in that the edge case is not being handled, rtaher than it has been handled.

    Ext.data.reader.Xml::getRoot()
    Code:
                // This fix ensures we have XML data
                // Related to TreeStore calling getRoot with the root node, which isn't XML
                // Probably should be resolved in TreeStore at some point
                 return Ext.DomQuery.selectNode(root, data); // ?fix I don't think so...

  3. #3
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Answers
    93
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    If you provide a test case with some sample data we can definitely look into it.
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

  4. #4
    Sencha User
    Join Date
    Sep 2011
    Posts
    125
    Answers
    1
    Vote Rating
    0
    oddz is on a distinguished road

      0  

    Default


    So no example exists?

    I can create a test case but it is pretty clear looking at the code that querySelectorAll is called using the root level node object which in many cases is merely an object literal.

  5. #5
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Answers
    93
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    I don't think I've ever seen an example of Sencha Touch app using XML.
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

  6. #6
    Sencha User
    Join Date
    Sep 2011
    Posts
    125
    Answers
    1
    Vote Rating
    0
    oddz is on a distinguished road

      0  

    Default


    This can be closed considering a related post in the bugs forum has been made including a test case and some debugging details of my own.

Thread Participants: 1