html - Unable to resolve constructor for: ' dojox.mobile.RoundRectCategory' -
i use worklight 5.06 , dojo 1.8. after eclipse crash shows errors on browser's console:
- unable resolve constructor for: 'dojox.mobile.roundrectcategory'
- left list not found
- this.leftlist indefined
as can see in screenshot:
dojo.connect(window, "onload", function() { dojo.require("dijit.form.numberspinner"); }); function dojoinit() { require(["dojo", "dojo/request/script", "dojo/parser", "dojox/mobile", "dojox/mobile/compat", "dojox/mobile/devicetheme", "dojox/mobile/scrollableview", "dojox/mobile/screensizeaware", "dojox/mobile/fixedsplitter", "dojox/mobile/container", "dojox/mobile/edgetoedgelist", "dojox/mobile/roundrect", n ", " dojox / mobile / button ", " dojox / mobile / gridlayout ", " dojox / mobile / pane ", " dojox / mobile / scrollablepane ", " dijit / form / datalist ", ],);
@import url("http://ajax.googleapis.com/ajax/libs/dojo/1.8/dojo/resources/dojo.css"); @import url("http://ajax.googleapis.com/ajax/libs/dojo/1.8/dijit/themes/claro/claro.css");
<script type='text/javascript' src='//ajax.googleapis.com/ajax/libs/dojo/1.10.4/dojo/dojo.js' data-dojo-config="parseonload:true, async:'legacyasync'"></script> <div id="xx" data-dojo-type="dojox.mobile.scrollableview"> <h2 data-dojo-type="dojox.mobile.roundrectcategory" style="text-align: center;">filtro</h2> <div data-dojo-type="dojox.mobile.roundrect"> <div data-dojo-type="dojox.mobile.pane" style="text-align: center;"> <input id="lll" type="text" onblur="ordinaitemcataloghi('cc')"> <input id="ddd" type="text" placeholder="descrizione catalogo" onblur="ordinaitemcataloghi('dd')> <input id=" linea_prodotto " type="text " placeholder="linea prodotto " onblur="ordinaitemcataloghi( 'll') "> </div> </div> <h2 data-dojo-type=" dojox.mobile.roundrectcategory " style="text-align: center; ">elenco cataloghi </h2> <ul id="ulelencocataloghi "></ul> </div>
everything worked before crash of eclipse. have happened?
clean proyect on eclipse
edit row
<input id="ddd" type="text"placeholder="descrizione catalogo" onblur="ordinaitemcataloghi('dd')**"**>
and
<h2 data-dojo-type="dojox.mobile.roundrectcategory" style="text-align: center;">elenco cataloghi</h2>
require only:
"dojox/mobile/roundrect",
Comments
Post a Comment