Test: dojox.form.SelectStack

DropDown-based Select


Radio-based Select

First
Second
Options for "First":
Options for "Second":
More Options for "Second":

*Two* controllers


Options for "First":
Options for "Second":
More Options for "Second":


Get Values
DEPRECATED: dijit.form.TextBox::attr() is deprecated. Use get() or set() instead, called from function(w){ _5[w.id]=w.disabled; w.attr("disabled",true); } -- will be removed in version: 2.0
DEPRECATED: dijit.form.TextBox::attr() is deprecated. Use get() or set() instead, called from function(w){ var _6=_5[w.id]; if(_6==undefined){ _6=false; } w.attr("disabled",_6); } -- will be removed in version: 2.0
DEPRECATED: dijit.form.CheckBox::attr() is deprecated. Use get() or set() instead, called from function(){ this.checkBox.attr("value",this.option.selected); } -- will be removed in version: 2.0
2 tests to run in 1 groups
------------------------------------------------------------
GROUP "tests" has 2 tests to run
DEPRECATED: dijit.form.Form::attr() is deprecated. Use get() or set() instead, called from function test_getValues(t){ t.is({ dropDown: "first", dropDownFirstBox: "First Value", radio: "second", radioSecondBox2: "Radio Another Value", dual: "second", dualSecondBox: "Dual First Value on Second (RO)", dualSecondBox2: "Dual Another Value" }, form.attr("value")); } -- will be removed in version: 2.0
_AssertFailure: doh._AssertFailure: assertEqual() failed: expected [object Object] but got [object Object] : assertEqual() failed: expected [object Object] but got [object Object]
ERROR IN: {test_getValues}
FAILED test: test_getValues 1 ms
DEPRECATED: dijit.form.Form::attr() is deprecated. Use get() or set() instead, called from function test_setValues(t){ form.attr("value", { dropDown: "first", dropDownSecondBox: "Changed First Value", radio: "first", radioFirstBox: "Changed Radio Value", radioSecondBox: "Changed disabled value", dual: "first", dualFirstBox: "Changed Dual (DIS)", dualSecondBox: "Changed read only value", dualSecondBox: "Changed me too" }); t.is({ dropDown: "first", dropDownFirstBox: "First Value", radio: "first", radioFirstBox: "Changed Radio Value", dual: "first" }, form.attr("value")); form.attr("value", { dropDown: "second", radio: "second", dual: "second"}); t.is({ dropDown: "second", dropDownSecondBox: "Changed First Value", dropDownSecondBox2: "Another Value", radio: "second", radioSecondBox2: "Radio Another Value", dual: "second", dualSecondBox: "Changed me too", dualSecondBox2: "Dual Another Value" }, form.attr("value")); } -- will be removed in version: 2.0
_AssertFailure: doh._AssertFailure: assertEqual() failed: expected [object Object] but got [object Object] : assertEqual() failed: expected [object Object] but got [object Object]
ERROR IN: {test_setValues}
FAILED test: test_setValues 2 ms
Total time for GROUP " tests " is 3ms
Total time for GROUP " tests " is 3ms
doh._failureCount: 2
------------------------------------------------------------
| TEST SUMMARY:
------------------------------------------------------------
2 tests in 1 groups
0 errors
2 failures