Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    setAriaState is undefined

    Hello,
    I found bug in v8.3p_2012-11-25 (2012-11-25)
    and still in v8.3p_2012-12-19 (2012-12-19)
    in IE 9.0, FF 16 I see error in

    isc_forms.js line 1358 (2012-11-25)
    isc_forms.js line 1362 (2012-12-19)

    at

    this.setAriaState("expanded",true);

    "setAriaState is undefined" for ComboBoxItem

    When I try to open and select any line in combobox at GUI

    In your example at http://smartclient.com/docs/8.3/a/sy...l#listComboBox
    its ok, but not when I try it in my project

    Code:
    <html>
    <head>
      	<meta charset="utf-8" />
    	<meta content="text/html">
    	
    
    </head>
    <body>
      <SCRIPT>var isomorphicDir="isomorphic/";</SCRIPT>
    	    <SCRIPT SRC=isomorphic/system/modules/ISC_Core.js?isc_version=8.3.js></SCRIPT>
    	    <SCRIPT SRC=isomorphic/system/modules/ISC_Foundation.js?isc_version=8.3.js></SCRIPT>
    	    <SCRIPT SRC=isomorphic/system/modules/ISC_Containers.js?isc_version=8.3.js></SCRIPT>
    	    <SCRIPT SRC=isomorphic/system/modules/ISC_Grids.js?isc_version=8.3.js></SCRIPT>
    	    <SCRIPT SRC=isomorphic/system/modules/ISC_DataBinding.js?isc_version=8.3.js></SCRIPT>
    	    <SCRIPT SRC=isomorphic/system/modules/ISC_Forms.js?isc_version=8.3.js></SCRIPT>
    	    <SCRIPT SRC=isomorphic/skins/Enterprise/load_skin.js></SCRIPT>
    
      <script>
      
       isc.DynamicForm.create({
      		width : 500,
      		numCols : 4,
      		autoDraw : true,
      		fields : [ {
      			name : "bugStatus",
      			title : "Bug Status",
      			editorType : "comboBox",
      			valueMap : {
      				"new" : "New",
      				"active" : "Active",
      				"revisit" : "Revisit",
      				"fixed" : "Fixed",
      				"delivered" : "Delivered",
      				"resolved" : "Resolved",
      				"reopened" : "Reopened"
      			}
      		} ]
      	});
       
       </script>
      
    </body>
    </html>
    Attached Files
    Last edited by djax; 19 Dec 2012, 08:28.

    #2
    Load order is wrong, DataBinding comes after forms.

    Comment


      #3
      Thanks for reply, but how is possible, that this order work without errors in Smartclient 8.0?

      Comment


        #4
        Luck. It's always been incorrect to load in this order, it would always cause problems, you just didn't happen to hit them in your app (or you didn't realize the problems were due to load order).

        Comment

        Working...
        X