2008年11月7日星期五

[fw-mvc] Dojo nested tabContainer not displaying

Hi All,

I am trying to do a page that has nested tabContainers. The main page is a
tabContainer and in one of the tabs I have some content and another
tabContainer. The inner tabContainer is not displaying. I look at the page
source and the content of the tabs is there. The inner tabContainer also
seems to be present in firebug. Below is the relevant code snippets. Any
ideas?

*** code from _home.phtml (the first tab of my outer tabContainer) ***

<?= $this->contentPane()->captureStart('news', array('title' => 'News',
'class' => 'news-tab')) ?>
<h3>News and Views</h3>
<? $this->tabContainer()->captureStart('news_views', array('class' =>
'nv-tab')) ?>
<?= $this->render('index/_late.phtml') ?>
<?= $this->render('index/_most.phtml') ?>
<?= $this->tabContainer()->captureEnd('news_views') ?>
<?= $this->contentPane()->captureEnd('news') ?>

*** code from _late.phtml (just some dummy code for now) ***
<?= $this->contentPane()->captureStart('latest', array('title' => 'Latest',
'class' => 'late-tab')) ?>
<ul
<li>Story 1</li>
<li>Story 2</li>
<li>Story 3</li>
<li>Story 4></li>
</ul>
<?= $this->contentPane()->captureEnd('latest') ?>

*** similar code from _most.phtml ***

<?= $this->contentPane()->captureStart('mostv', array('title' => 'Most
viewed', 'class' => 'mostv-tab')) ?>
<ul
<li>Story 1</li>
<li>Story 2</li>
<li>Story 3</li>
<li>Story 4></li>
</ul>
<?= $this->contentPane()->captureEnd('mostv') ?>


Thanks for your help,

Barry

--
View this message in context: http://www.nabble.com/Dojo-nested-tabContainer-not-displaying-tp20381223p20381223.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: