Hi Matthew,

I built a working example for the BorderContainer last night after I
sent this message:

------------------------------------------------------------------------
<?
$this->headStyle('#container-sidebar { width:400px; height:400px; }');
$this->headStyle('#pane-t { background-color: #ccc; }');
$this->headStyle('#pane-b { background-color: #ccc; }');
$this->headStyle('#pane-l { background-color: #ddd; }');
$this->headStyle('#pane-r { background-color: #ddd; }');

$this->borderContainer()->captureStart(
    'container-sidebar', array('design' => 'sidebar')
);
echo $this->contentPane('pane-t', 'oben', array('region' => 'top'));
echo $this->contentPane('pane-b', 'unten', array('region' => 'bottom'));
echo $this->contentPane('pane-l', 'links', array('region' => 'left'));
echo $this->contentPane('pane-r', 'rechts', array('region' => 'right'));
echo $this->contentPane('pane-c', 'mitte', array('region' => 'center'));
echo $this->borderContainer()->captureEnd('container-sidebar');
?>
------------------------------------------------------------------------

I am still trying to get an example for StackContainer. I had a look at
the Dojo documentation at the declarative example:

http://docs.dojocampus.org/dijit/layout/StackContainer#declarative-example

Does Zend_Dojo support the output of the UI elements for switching
through panes? I could not find anything yet. Or do I need to build the
output for these elements by hand without any Zend_Dojo view helper?

Thanks and best regards,

Ralf

Reply via email to