dojo TabContainer via zend render no Things
我整天都在搞这个装饰程序,我读了很多通过zend框架实现dojo选项卡容器的源代码,但我什么也没试过。 这段代码有错码吗dojo TabContainer via zend render no Things,dojo,zend-form,tabcontainer,Dojo,Zend Form,Tabcontainer,我整天都在搞这个装饰程序,我读了很多通过zend框架实现dojo选项卡容器的源代码,但我什么也没试过。 这段代码有错码吗 $form = new Zend_Dojo_Form(); $form->setName('name') ->setLegend('legend') ; $form->setDecorators(array( 'formElements', array('tabContainer', array
$form = new Zend_Dojo_Form();
$form->setName('name')
->setLegend('legend')
;
$form->setDecorators(array(
'formElements',
array('tabContainer', array(
'id' => 'tabContainer',
'style' => 'width: 600px; height: 500px;',
'dijitParams' => array(
'tabPosition' => 'top'
),
)),
'DijitForm',
));
$a = new Zend_Dojo_Form_Element_TimeTextBox('time');
$a->setLabel('label');
$sf = new Zend_Dojo_Form_SubForm();
$sf->setDecorators(array(
'FormElements',
array('HtmlTag', array('tag' => 'dl')),
'ContentPane',
));
$sf->addElement($a);
$form->addSubForm($sf, 'subform');
谢谢你
Zend中的Dojo视图帮助程序使用captureStart和captureEnd