Results 1 to 2 of 2

Thread: Script error on Ext JS tree

  1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    2
    Vote Rating
    0
      0  

    Default Unanswered: Script error on Ext JS tree

    Hello. I`m using TreePanel.
    It was good before it has a problem.

    I use Tree by XML.
    The tree is great and perfect.
    It solves my whole worries.
    but if it need following XML, the problem has come.

    <?xml version="1.0" encoding="UTF-8"?>
    <rows id='0' folder='1' name='ph' desc='0'>
    <rows id='7510' folder='1' name='Subject' desc=''>
    <rows id='17768' folder='0' desc='(R&lt;L)'/>
    </rows>
    </rows>


    It just use '<' character before the 'L'.
    it has a javascript error like that.
    "firstChild is null" on line 7 in ext-all.js

    but when I put a blank between '<' and 'L',
    it is fine.

    Please let me know why..

    Thanks to reading N have a nice day~

  2. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,790
    Answers
    583
    Vote Rating
    390
      0  

    Default

    Looks like an escaping issue. Could you post the config for your store and tree so that we can reproduce? Please be sure to wrap any code you post in [CODE] tags (# button on the editor toolbar).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •