Hi Fredrik,
thank you for reporting, could you please send some details about your
qooxdoo version and your tested browser? (I couldn't reprocuse this issue)
Thanks,
Chris
Am 03.03.2010 15:36, schrieb fjacobsson:
> Hi!
>
> We are using a Tabview with a Tabview in it.
> The "inner" tabview has components like Textfield and more..
>
> Two problems!
> 1.
> After the application Initialization, press TAB and then the error occurs.
> If use the mouse on tab two the error doesn't appears.
> Happens only in Build version.
>
> --------------------ERROR ----------------------------------
> q is null
> qx.Class.define(g,{statics:{ELEMENT:1,...ment:function(q){return
> q.nodeType===
>
>
> 2. When Tabbing from the last component this error appears.
> (In the test application from the TextField!)
>
> --------------------ERROR ----------------------------------
> uncaught exception: [Exception... "Component returned failure code:
> 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLInputElement.setSelectionRange]"
> nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::
>
>
> -------------------TEST APP-------------------------------------
> qx.Class.define("tabViewBug.Application",
> {
> extend : qx.application.Standalone,
>
> members :
> {
>
> main: function()
> {
> this.base(arguments, new qx.ui.layout.Canvas());
> var container = new qx.ui.container.Composite(new
> qx.ui.layout.Canvas());
> this.getRoot().add(container, {edge : 0});
> var tabView = new qx.ui.tabview.TabView();
> tabView.setWidth(600);
> tabView.setContentPadding(2, 2, 2, 2);
>
> var page1 = new qx.ui.tabview.Page("One");
> page1.setLayout(new qx.ui.layout.Canvas());
> var pageScroll = new qx.ui.container.Scroll();
> var container1 = new qx.ui.container.Composite(new
> qx.ui.layout.HBox());
> container1.add(new qx.ui.basic.Label("Tab One"));
> var tabView12 = new qx.ui.tabview.TabView();
> var page11 = new qx.ui.tabview.Page("1");
> page11.setLayout(new qx.ui.layout.HBox());
> var textField = new qx.ui.form.TextField("TextField");
> textField.addListener("keyinput", function(e) {
> alert("keyInput")
> }, this);
> textField.addListener("changeValue", function(e) {
> alert("changeValue");
> }, this);
> page11.add(textField);
> tabView12.add(page11);
> container1.add(tabView12);
>
> pageScroll.add(container1);
> page1.add(pageScroll, {top: 1, left: 1, bottom: 1, right: 1});
> tabView.add(page1);
>
> var page2 = new qx.ui.tabview.Page("Two");
> page2.setLayout(new qx.ui.layout.Canvas());
> var pageScroll2 = new qx.ui.container.Scroll();
> var container2 = new qx.ui.container.Composite(new
> qx.ui.layout.HBox());
> container2.add(new qx.ui.basic.Label("Tab Two"));
> var tabView22 = new qx.ui.tabview.TabView();
> var page21 = new qx.ui.tabview.Page("1");
> page21.setLayout(new qx.ui.layout.HBox());
> var textField2 = new qx.ui.form.TextField("TextField");
> textField2.addListener("keyinput", function(e) {
> alert("keyInput")
> }, this);
> textField2.addListener("changeValue", function(e) {
> alert("changeValue");
> }, this);
> page21.add(textField2);
> tabView22.add(page21);
> container2.add(tabView22);
>
> pageScroll2.add(container2);
> page2.add(pageScroll2, {top: 1, left: 1, bottom: 1, right: 1});
> tabView.add(page2);
>
> container.add(tabView, {top: 20, left: 2});
> }
>
> }
> });
>
>
> Br, Fredrik
>
>
--
Christian Schmidt
Software Entwickler
1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel