2 番目のタブをクリックすると、callrecords.html コードがロードされますが、何もロードされず、ペインは空白のままです。私はやや初心者で、なぜこれが起こっているのか理解できないようです。
また、副質問です。dojoType を使用するコード サンプルと data-dojo-type を使用するコード サンプルがあるのはなぜですか。
<body class="tundra">
<div class="formContainer" dojoType="dijit.layout.TabContainer" >
<div dojoType="dijit.layout.ContentPane" title="Advanced Search">
<label for="first_name">First Name:</label>
<input type="text" name="first_name" id="first_name"
size="30" /><br/>
<label for="last_name">Last Name:</label>
<input type="text" name="last_name" id="last_name"
size="30" /><br/>
<label for="middle_initial">Middle Initial:</label>
<input type="text" name="middle_initial" id="middle_initial"
size="1" /><br/>
</div>
<div dojoType="dijit.layout.ContentPane" title="Call Records" data-dojo-props='href:"modules/content_panes/callrecords.html", refresnOnShow:true'></div>
<div dojoType="dijit.layout.ContentPane" title="Phones">
<label for="home_phone">Home Phone:</label>
<input type="text" name="home_phone" id="home_phone"
size="30" /><br/>
<label for="work_phone">Work Phone:</label>
<input type="text" name="work_phone" id="work_phone"
size="30" /><br/>
<label for="cell_phone">Cell Phone:</label>
<input type="text" name="cell_phone" id="cell_phone"
size="30" /><br/>
</div>
</div>
</body>
callrecords.html
<h1>Tab 2</h1>
<p>I am tab 2. I was loaded externally as well.</p>