Hello Everybody! 

I've a small problem with Zend, dojox.image.lightbox and
dijit.layout.Tabcontainer. Let me explain:

In my view I construct my tab container like this:

On top of my view file I've:

<?php
$this->dojo()->enable()->requireModule("dijit.dijit"); // optimize: load
dijit layer
$this->dojo()->enable()->requireModule("dijit.TooltipDialog");
$this->dojo()->enable()->requireModule("dijit.form.Button");
$this->dojo()->enable()->requireModule("dijit.form.DateTextBox");
$this->dojo()->enable()->requireModule("dijit.form.TimeTextBox");
$this->dojo()->enable()->requireModule("dojox.image.Lightbox");
$this->dojo()->enable()->requireModule("dojo.parser");
?>

Then:

<?php
echo $this->tabContainer()->captureStart('tab-container',
array('doLayout'=>'false', 'tabPosition'=>'top'),
array('style'=>'width:700px;'));

echo
$this->contentPane()->captureStart("dojox_layout_ContentPane_".$someInfo->id,
array('title'=>$someInfo->name));
?>
<!-- Some HTML code here -->
<?php
echo
$this->contentPane()->captureEnd("dojox_layout_ContentPane_".$someInfo->id);
echo $this->tabContainer()->captureEnd('tab-container');
?>

Allright, with this code, everything is okay! I've my tabs, all is
beautiful. BUT, when I add this line in the HTML part:

id; ?>" id="dojox_image_Lightbox_<?php echo $someInfo->id; ?>"
title="aTitle" href="aPath"> aPath  

The tabcontainer goes wrong! Tabs are no more displayed. I search all over
the web and I found nothing that can help me.
Has someone an idea? What I've made wrong?

Thanks for your help!

Best regards,
Elwe
-- 
View this message in context: 
http://n4.nabble.com/Dojo-Lightbox-and-TabContainer-tp1377367p1377367.html
Sent from the How to use Zend, Smarty and Dojo Together mailing list archive at 
Nabble.com.

Reply via email to