HCE Project DC service web UI
0.2
Hierarchical Cluster Engine DC service web UI
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
574.php
Go to the documentation of this file.
1
<?php
// Issue #574: multiselect inside form should send all selected elements
2
echo CHtml::beginForm(
'/'
,
'post'
, [
'id'
=>
'issue-574-checker-form'
]);
3
$this->widget(
4
'bootstrap.widgets.TbSelect2'
,
5
array(
6
'name'
=>
'group_id_list'
,
7
'data'
=> array(
'RU'
=>
'Russian Federation'
,
'CA'
=>
'Canada'
,
'US'
=>
'United States of America'
,
'GB'
=>
'Great Britain'
),
8
'htmlOptions'
=> array(
9
'multiple'
=>
'multiple'
,
10
),
11
)
12
);
13
echo CHtml::endForm();
14
$this->widget(
15
'bootstrap.widgets.TbButton'
,
16
array(
17
'label'
=>
'Click on me with Developer Tools opened!'
,
18
'htmlOptions'
=> array(
19
'onclick'
=>
'js:$.ajax({
20
url: "/",
21
type: "POST",
22
data: $("#issue-574-checker-form").serialize()
23
});'
24
)
25
)
26
);
app
protected
extensions
booster
userdoc
select2
574.php
Generated on Tue Jun 30 2015 20:12:33 for HCE Project DC service web UI by
1.8.1.2