Derzeit gibt es keinen Support für das Dialog dijit von Dojo in Zend_Dojo . Matthew Weier O’Phinney (Project Lead Zend Framework) hat auf der Maillingliste einen Workaround gepostet, sofern $content schon vorher gefüllt wurde:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
<? $this->dojo()->requireModule('dijit.Dialog');
$this->onLoadCaptureStart(); ?>
function() {
    var dialog = new dijit.Dialog({
        title:   "Cool dialog",
        style:   "width: 300px;",
        content: <? echo $content ?>
    });
    dialog.show();
}
<? $this->onLoadCaptureEnd(); ?>