I have a form on one of my panes in Dojo. It is not the first pane. How can I
show the second pane after hitting submit if I have an error on the form and
I want the user to correct it?
my phtml looks like this.
<?php
$this->dojo()->enable();
// Container with tabs
$this->tabContainer()->captureStart('tab1', array(), array('style' =>
'width:800px;height:500px;'));
// First tab "Upload Adjustments"
$this->contentPane()->captureStart('pane1', array(), array('title' =>
'Upload Adjustments'));
echo $this->form1;
echo $this->contentPane()->captureEnd('pane1');
// First tab "Upload Revenue"
$this->contentPane()->captureStart('pane2', array(), array('title' =>
'Upload Revenue File'));
echo $this->revnueUploadForm;
echo $this->contentPane()->captureEnd('pane2');
echo $this->tabContainer()->captureEnd('tab1');
?>
--
View this message in context:
http://www.nabble.com/Dojo-and-tabs-and-panes-tp22334351p22334351.html
Sent from the Zend Framework mailing list archive at Nabble.com.