Bug Data
ID: |
#0224 |
Status: |
Rejected |
Severity: |
Normal |
Reporter: |
Balthazar
|
Submitted: |
28-07-10 22:01 |
|
Product Data
Product: |
|
Ample SDK |
Component: |
|
XUL 1.0 |
Version: |
|
0.9.x |
OS: |
|
> Any |
Browser: |
|
> Any |
|
|
Description
this.tree is null in http://192.168.1.36/ample/ample/languages/xul/xul.js on line: 6665 |
|
http://paste.org/pastebin/view/20951
This code works correctly with native Gecko XUL engine, but throws error in xul.js, included in AmpleSDK. As a result, content can't be displayed.
Full source code:
http://paste.org/pastebin/view/20954
Error description:
http://img514.imageshack.us/img514/5616/treeisnull.jpg
User agent:
Mozilla/5.0 (Windows; U; Windows NT 6.0; ru; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
P.S. delete previous post, please |
|
|
Messages written for this bug
Reporter: |
Rob Krueger
|
Submitted: |
30-07-10 18:29 |
Message: |
Try adding xul:treebody element as a child of tree. In XUL this element was deprecated long time ago, in Ample SDK, however it is still required (same with listview in Ample SDK):
<xul:tree flex="1" id="lists_tree" hidecolumnpicker="true" seltype="single">
<xul:treecols>
<xul:treecol flex="1" label="Группы справочников" primary="true" />
</xul:treecols>
<xul:treebody>
<xul:treechildren>
...
</xul:treechildren>
</xul:treebody>
</xul:tree>
|
|
Reporter: |
Balthazar
|
Submitted: |
30-07-10 18:36 |
Message: |
Thanks, it really works. |
|
Add a message
|
BugTracker
|