-- aad pouw <[EMAIL PROTECTED]> wrote
(on Sunday, 30 November 2008, 04:56 AM -0800):
> Before I go on with this issue, I first want to mention this.
> ZFW 1.7 needs a patch to get the Zend_Dojo_View_Helper_Tooltip working
> anyhow and 
> that's to be found at http://framework.zend.com/issues/browse/ZF-4635. 

Since we were not able to get it into 1.7, at this point, it's scheduled
for 1.8 (no new features in mini releases).

> Then my issue.
> I just don't get it work with a contentpane. It's not the helper itself
> because I can see in firebug/php that is is loading properly. 
> It's like that I just missing or do something wrong in the code? 
> 
> <?php $this->dojo()->enable()?>
> <!--begin def-main--><div id="def-main">
> <?php $this->TabContainer()->captureStart('main-content', array('class' =>
> 'main-content'))?>
> <?= $this->Tooltip('tooltip1',array('connectId' => 'tab1','label' =>
> 'Home'))?>

Contrary to what you say, you're putting it in the TabContainer body,
not one of the content panes... try putting this call *after* the
TabContainer has been fully setup, and see if that makes a difference.

> <?= $this->contentPane('tab1','', array('title' => 'tab1', 'href' =>
> $this->url(array('controller' => 'content', 'action' => 'tab1'), 'default',
> true), 'parseOnLoad' => true, 'selected' => true))?>
> <?= $this->contentPane('tab2','', array('title' => 'tab2', 'href' =>
> $this->url(array('controller' => 'content', 'action' => 'tab2'), 'default',
> true)))?>
> <?= $this->contentPane('tab3','', array('title' => 'tab3', 'href' =>
> $this->url(array('controller' => 'content', 'action' => 'tab3'), 'default',
> true)))?>
> <?= $this->contentPane('tab4','', array('title' => 'tab4', 'href' =>
> $this->url(array('controller' => 'content', 'action' => 'tab4'), 'default',
> true)))?>
> <?= $this->contentPane('tab5','', array('title' => 'tab5', 'href' =>
> $this->url(array('controller' => 'content', 'action' => 'tab5'), 'default',
> true)))?>
> <?= $this->TabContainer()->captureEnd('main-content')?>
> </div><!--end def-main-->

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend Framework           | http://framework.zend.com/

Reply via email to