Hi,
I've got a blocker and a datefield in my app as follows:
> main : function()
> {
> this.base(arguments);
>
> var layout = new qx.ui.layout.VBox;
> var child_container = new qx.ui.container.Composite();
> child_container.setLayout(layout);
> child_container.add(new qx.ui.basic.Label("sample label"));
> b = new qx.ui.core.Blocker(child_container);
> b.setOpacity(0.8);
> b.setColor("red");
>
> this.getRoot().add(child_container);
> var bt1 = new qx.ui.form.Button("Block");
> child_container.add(bt1);
> var date_field = new qx.ui.form.DateField();
> var button = new qx.ui.form.Button("block all");
>
> button.addListener("execute", function(e) {
> this.debug("Blocking all widgets ...");
> b.block();
> },this);
>
> this.getRoot().add(date_field,{top: 100, left: 400});
> this.getRoot().add(button,{top: 100, left: 300});
> },
When I block using the "block all" button, I get the following error:
> [Exception... "'Error: Widget is not focusable!' when calling method:
> [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c
> (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no]
> anonymous(qx.util.format.DateFormat[1v] $$hash=1v __locale=en_us
> __format=MMM d, yyyy, Object name=old)DateField.js (line 215)
> anonymous()Property.js (line 637)
> anonymous(qx.ui.form.DateField[1k] $$hash=1k
> __containerElement=qx.html.Element[1l],
> qx.ui.form.DateField[undefined] classname=qx.ui.form.DateField,
> "dateFormat", "set", ["var prop=qx.core.Property;",
> "if(arguments.length!==1)prop.error(this,1,"", "dateFormat", 73
> more... 0=var prop=qx.core.Property;], [qx.util.format.DateFormat[1v]
> $$hash=1v __locale=en_us __format=MMM d, yyyy])Property.js (line 658)
> anonymous(qx.ui.form.DateField[1k] $$hash=1k
> __containerElement=qx.html.Element[1l], function(), "dateFormat",
> "set", [qx.util.format.DateFormat[1v] $$hash=1v __locale=en_us
> __format=MMM d, yyyy])Property.js (line 1400)
> anonymous()Property.js (line 526)
> anonymous()DateField.js (line 55)
> anonymous()Class.js (line 1541)
> anonymous()Application.js (line 183)
> anonymous()Init.js (line 82)
> anonymous(Window index.html, qx.event.type.Event[d] $$hash=d
> _type=execute, "ready")Direct.js (line 99)
> wrappedFunction()Interface.js (line 458)
> anonymous(Window index.html, qx.event.type.Event[d] $$hash=d
> _type=execute)Manager.js (line 815)
> anonymous(Window index.html, "ready", Object name=clazz, Object
> name=args)Registration.js (line 294)
> anonymous()Application.js (line 176)
> anonymous()Application.js (line 108)
> anonymous()
Both firefox as well as opera exhibit the error.
The problem wasn't there last week. I'm using the trunk at 20198.
cheers,
skar.
--
--
The life so short, the craft so long to learn.
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel