yii 的组件Cdialog怎么将值传递到控制器中去

WBOY
Release: 2016-06-13 11:29:22
Original
986 people have browsed it

yii 的组件Cdialog如何将值传递到控制器中去?
yii 的组件Cdialog如何将值传递到控制器中去?

<br /><br /><form name="myform" method ="post"><br /> <?php  //传值对话框<br />$this->beginWidget('zii.widgets.jui.CJuiDialog', array(<br />	'id'=>'mymodalg2',<br />	'options'=>array(<br />				'title'=>'请输入取消订单的原因',<br />				'width'=>600,<br />				'height'=>400,<br />				'autoOpen'=>false,<br />				'resizable'=>false,<br />				'modal'=>true,<br />				'overlay'=>array(<br />					'backgroundColor'=>'#000',<br />					'opacity'=>'0.5'<br />					),<br />				'buttons'=>array(<br />					//'OK'=>'js:function(){alert("OK");}',<br />					'确认操作'=>'js:function(){ alert("提交成功");}',<br />					'取消操作'=>'js:function(){$(this).dialog("close");}',<br />					),<br />				),<br />			));<br />//echo 'Modal dialog content here ';<br />//echo '<br />';<br />//echo CHtml::label('请填写取消订单的原因', ''); <br />echo CHtml::textArea('myparm', '' ,array('rows'=>13, 'cols'=>67));<br />$this->endWidget('zii.widgets.jui.CJuiDialog');<br />?><br /></form> <br /><br />
Copy after login

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template