Changes between Initial Version and Version 13 of Ticket #12614
- Timestamp:
- Apr 8, 2011, 3:10:13 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12614
-
Property
Status
changed from
new
toassigned
-
Property
Component
changed from
General
toParser
-
Property
Summary
changed from
Dinamically loading a ValidationTextBox and ContentPane does not work in dojo 1.6
to[regression] problems with ang/dir attributes getting set to undefined, causing exceptions loading language files
- Property Owner set to bill
-
Property
Milestone
changed from
tbd
to1.6.1
- Property Keywords dojo.html.set added; dojox.html.set removed
-
Property
Status
changed from
-
Ticket #12614 – Description
initial v13 1 I want dinamically loading a dom tree from a string (actually a server response). I've trouble with a ValidationTextBox into a ContentPane. 2 See this fragment (the same code work fine in dojo 1.5 or using dijit.form.TextBox instead of dijit.form.ValidationTextBox) 1 I want dynamically loading a dom tree from a string (actually a server response). I've trouble with a !ValidationTextBox into a !ContentPane. 2 3 See this fragment (the same code work fine in dojo 1.5 or using dijit.form.!TextBox instead of dijit.form.!ValidationTextBox) 3 4 4 5 ******************************************************************* 5 6 6 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 7 <html> 8 <head> 9 <link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/dojo/1.6/dijit/themes/claro/claro.css"> 10 <style type="text/css"> body, html { font-family:helvetica,arial,sans-serif; font-size:90%; } </style> 11 12 <script src="http://ajax.googleapis.com/ajax/libs/dojo/1.6/dojo/dojo.xd.js" parseOnLoad="true"></script> 13 14 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> 15 <title>Test</title> 16 17 <script type="text/javascript"> dojo.require("dijit.form.TextBox"); dojo.require("dijit.form.ValidationTextBox"); dojo.require("dijit.layout.ContentPane"); dojo.addOnLoad(function() { var content = ''; content += '<div dojoType="dijit.layout.ContentPane">'; content += ' <label>Valore :</label>'; content += ' <div dojoType="dijit.form.ValidationTextBox"/>'; content += '</div>'; var srcNodeRef = dojo.byId("target"); dojo.html.set(srcNodeRef, content, {parseContent: true}); }); </script> 18 19 </head> 20 <body class="claro"> 21 <div id="target"> 22 </div> 23 </body> 24 </html> 7 (fragment deleted, see attachment bug_12614.html instead) 25 8 26 9 ******************************************************************** 27 10 28 11 from firebug I see this 29 12 {{{ 30 13 Error: Bundle not found: validate in dijit.form , locale=undefined 31 14 Error parsing in _ContentSetter#Setter_dijit_layout_ContentPane_0_1 32 15 Error: Bundle not found: validate in dijit.form , locale=undefined 33 16 Error undefined running custom onLoad code: This deferred has already been resolved 17 }}}