-
4 Oct 2011 4:11 PM #1
Problem upgrading TreePanel from 1.1.2 to 1.2
Problem upgrading TreePanel from 1.1.2 to 1.2
Hi,
I have a Ext Designer 1.1.2 ExtJS 3 project that I upgraded using the 1.2.1 beta. I ran into a problem with the TreePanel. I have a TreePanel that I promoted to a class in 1.1.2. The problem is that in 1.2.1, I am unable to see any of the nodes in the tree (both in the designer as well as in the browser). Finally, I discovered that the Ext Designer 1.2.1 did not migrate the TreePanel definitions properly.
Here is an example of the 1.1.2 tree node definition in the xds:
I had to manually change "name":"items" to "name":"children" and then it works in 1.2.1.Code:{ "id": "MyTreeNode1", "type": "treenode", "reference": { "name": "items", "type": "array" }, "codeClass": null, "userConfig": { "allowDrag": false, "allowDrop": false, "editable": false, "expandable": true, "expanded": true, "id": "editionsNode", "leaf": true, "singleClickExpand": true, "text": "My News Editions", "designer|userClassName": "MyTreeNode1" } }
Here's the working code in 1.2.1:
Code:{ "id": "MyTreeNode1", "type": "treenode", "reference": { "name": "children", "type": "array" }, "codeClass": null, "userConfig": { "allowDrag": false, "allowDrop": false, "editable": false, "expandable": true, "expanded": true, "id": "editionsNode", "leaf": true, "singleClickExpand": true, "text": "My News Editions", "designer|userClassName": "MyTreeNode1" } }
Success! Looks like we've fixed this one. According to our records the fix was applied for
DSGNR-726
in
Designer 1.2.3.


Reply With Quote