On Thu, Apr 16, 2009 at 4:30 AM, Matthew Weier O'Phinney
<matthew@zend.com> wrote:
> -- Kostyantyn Shakhov <kshakhov@gmail.com> wrote
> (on Thursday, 16 April 2009, 03:45 AM +0300):
>> There is no Dojo Dialog dijit support in Zend_Dojo. How can I display
>> it on the page? I use Zend_Dojo in programmatic mode.
>
> Try the following (assuming $content has been set previously):
>
> <?php
> $this->dojo()->requireModule('dijit.Dialog');
> $this->onLoadCaptureStart(); ?>
> function() {
> var dialog = new dijit.Dialog({
> title: "Cool dialog",
> style: "width: 300px;",
> content: <?php echo $content ?>
> });
> dialog.show();
> }
> <?php $this->onLoadCaptureEnd(); ?>
>
>
>
>
> --
> Matthew Weier O'Phinney
> Project Lead | matthew@zend.com
> Zend Framework | http://framework.zend.com/
>
2009年4月16日星期四
Re: [fw-mvc] Dojo Dialog Component
It works. Many thanks.
订阅:
博文评论 (Atom)
没有评论:
发表评论