Hello,

It was my mistake, it works fine, thanks.

It would be interesting to have custom properties directly onto the
container.
If we have a divided object on edition and a navigation like the following
example :
http://pastie.org/private/dayz29srnc9acbmuq72ag
http://pastie.org/private/dayz29srnc9acbmuq72ag 

Two pages will be active at the same time : edit_album and edit_album_infos,
so for the two of them we'll need our Album object. It's possible with :
$pages = $this->navigation()->findAllBy('active', true);
foreach($pages as $page) {
    $page->album = $album;
}

But it would be nice to do something more like : 
$this->navigation()->set('album', $album);

Directly into each concerned view. Maybe i will extend the container to do
that.


Thanks.

BR,
Benjamin.

-- 
View this message in context: 
http://n4.nabble.com/1-9-6-Passing-vars-to-breadcrumbs-partial-tp1473451p1475607.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to