> > I've added a property called "ID" to > > qxWidget, and then when it is changed I set the HTML attribute for > > the element to the value of the ID.
In fact, the automated test software we are using (TestComplete from AutomatedQA) needs to have the "NAME" value set for the tag for it to work. "ID" doesn't work in generated HTML, though it does work in a static page. > This works for items like buttons, menu items (though our test > application is having some trouble seeing the IDs - probably finger > trouble) but for more complex structures like trees you have to work > a bit harder. Sebastian, for container objects like these where there are a number of elements that make up the actual display on screen but the container object doesn't actually have an all-enclosing tag, do you have any suggestions on how we could transfer the name property to the main tag in a generic way? I've seen qxTreeFolder.getContainerObject which is declared but never called, it seems. But something like that which returns the outermost element created for the qx object would be ideal. Otherwise it seems that any attributes set for the folder are lost. I've looked into getElement() and how it is used - for example, called from qxWidget.setHtmlAttribute like this: if (this._isCreated) { this.getElement().setAttribute(propName, propValue); but don't see a way through because of the way that _applyHtmlAttributes is called when the _element property changes. Hugh ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Qooxdoo-devel mailing list Qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel