Blog  |   Sitemap  |   Search  |   Language:  eng рус
JavaScript GUI FrameworkBug TrackerBug details

Bug Data

ID: #0136
Status: Fixed
Severity: Major
Reporter: Raise Solutions
Submitted: 26-08-09 13:11

Product Data

Product: Ample SDK
Component: XUL 1.0
Version: 0.8.x
OS: > Any
Browser: > Any


Can not create xul:cell and add it to xul:tree

If we try to create a xul:treecell and set attribute "label" . the program crashes with following error:

Error: this.$getContainer("gateway") is null File: Line:
6561 Column: 0

code snippet:
<script type="text/javascript">
function fun()
var sXulNS = "";
var ti = ample.getElementById('add-item'),
tc = ample.createElementNS(sXulNS, "xul:treerow"),
oItem = ample.createElementNS(sXulNS, "xul:treecell");

oItem.setAttribute("label", "New item");

Messages written for this bug

Reporter: Raise Solutions
Submitted: 28-08-09 13:00
Message: Problem lies with CreateElementNS itself.

Add a message