Trying to setup a simple TabContainer with Dojo, (ZF VERSION = '1.6.1')
I followed the tutorial from Matthew (the webinar exactly).

My script view is like:
<? $this->dojo()->enable() ?>
<? $this->tabContainer()->captureStart('pastebin', array('class' => 'paste-tab')) ?>
<?= $this->contentPane('active', 'SOME TEXT', array(
   'title' => 'Active Pastes',
   'class' => 'tab',
   'href' => $this->url(
       array(
           'controller' => 'paste',
           'action' => 'active',
           'format' => 'ajax',
       ),
       'default',
       true
   ),
   'parseOnLoad' => true)) ?>
<?= $this->contentPane('active2', 'TEXT HERE', array(
   'title' => 'Active Pastes2',
   'class' => 'tab',
   'href' => $this->url(
       array(
           'controller' => 'paste',
           'action' => 'active',
           'format' => 'ajax',
       ),
       'default',
       true
   ),
   'parseOnLoad' => true)) ?>
<?= $this->tabContainer()->captureEnd('pastebin') ?>

but the Generated HTML is not the expected one:

<div class="span-18 last" style="padding-top:25px;padding-left:10px;" align="center">
<div id="pastebin"><div id="active">SOME TEXT</div>
<div id="active2">TEXT HERE</div>
</div>

Any idea what should be wrong?

Thank you
Armand


Reply via email to