Changes between Initial Version and Version 13 of Ticket #12614


Ignore:
Timestamp:
Apr 8, 2011, 3:10:13 AM (9 years ago)
Author:
bill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12614

    • Property Status changed from new to assigned
    • Property Component changed from General to Parser
    • 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 to 1.6.1
    • Property Keywords dojo.html.set added; dojox.html.set removed
  • 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)
     1I want dynamically loading a dom tree from a string (actually a server response). I've trouble with a !ValidationTextBox into a !ContentPane.
     2
     3See this fragment (the same code work fine in dojo 1.5 or using dijit.form.!TextBox instead of dijit.form.!ValidationTextBox)
    34
    45*******************************************************************
    56
    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)
    258
    269********************************************************************
    2710
    2811from firebug I see this
    29 
     12{{{
    3013Error: Bundle not found: validate in dijit.form , locale=undefined
    3114Error parsing in _ContentSetter#Setter_dijit_layout_ContentPane_0_1
    3215Error: Bundle not found: validate in dijit.form , locale=undefined
    3316Error undefined running custom onLoad code: This deferred has already been resolved
     17}}}