-- ignite7 <[EMAIL PROTECTED]> wrote
(on Saturday, 20 September 2008, 10:59 PM -0700):
> is it possible for us to get the source code of the preview you've 
> provided here, http://framework.zend.com/demo_dojo/preview ?
> 
> it will be very helpful to us to better understanding the integration

For the most part, it's in the example in the 'Advanced' section of the
Zend_Dojo documentation. The only difference is integration with the
controller, which is detailed elsewhere in the manual.

I will try and make a tarball to better demonstrate it, however. In the
meantime, you can also checkout the pastebin demo I created:

    http://weierophinney.net/matthew/uploads/pastebin-1.0.0.tar.gz

which shows a large variety of features.


> Matthew Weier O'Phinney-3 wrote:
> > 
> > -- Laurent Mestrallet <[EMAIL PROTECTED]> wrote
> > (on Saturday, 20 September 2008, 08:21 PM +0200):
> >> what you stated (The dojo integration is intended to work *with*
> >> Zend_Layout or some other Composite/Two Step View solution) is the
> >> reason why in your pastebin example, there is a 2 level layout system
> >> (layout.phtml that include _layout.phtml)?
> > 
> > The reason that was done was because I wanted to use BorderContainer for
> > the master layout. For that to work, I needed to create the
> > BorderContainer and its content *prior* to echoing the dojo() view
> > helper. Thus, I call:
> > 
> >     $content = $this->render('_layout.phtml');
> > 
> > at the top of layout.phtml, which allows this to work.

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

Reply via email to