-
Notifications
You must be signed in to change notification settings - Fork 3
/
drools-data-object-popup--mapping.html
930 lines (841 loc) · 49.5 KB
/
drools-data-object-popup--mapping.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jBPM Suite</title>
<link href="css/kie-main.css" rel="stylesheet" media="screen, print">
<!-- debugging tool -->
<link rel="stylesheet" href="https://cdn.rawgit.com/srambach/classbxr/5456df40/css/classbxr.css">
<!-- jQuery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<!-- Bootstrap JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/js/bootstrap.min.js"></script>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-treeview/1.2.0/bootstrap-treeview.min.js"></script> -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/bootstrap-treeview.min.js"></script>
<!-- For the graphs -->
<script src="https//:cdnjs.cloudflare.com/ajax/libs/c3/0.4.11/c3.min.js"></script>
<script src="https//:cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/patternfly/3.23.1/js/patternfly.min.js"></script>
</head>
<body>
<div class="kie-page">
<a class="kie-skiplink" href="#kie-main-content">Skip to main content</a>
<!-- Masthead -->
<nav class="kie-page__masthead navbar navbar-default navbar-pf " role="navigation">
<div class="navbar-header ">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="/" class="navbar-brand">
<img class="kie-brand-icon" src="images/kie-ide.png" alt="JBoss BPM Suite" />
</a>
</div>
<div class="collapse navbar-collapse navbar-collapse-1">
<ul class="nav navbar-nav navbar-iconic">
<li>
<a class="nav-item-iconic" href="bpm-home-rh.html" title="Home"><i class="pficon pficon-home"></i></a>
</li>
</ul>
<ul class="nav navbar-nav kie-yamm">
<li class="dropdown kie-yamm--fw">
<a class="dropdown-toggle nav-item-iconic" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="true" tabindex="0">
Menu
<span class="caret"></span>
</a>
<ul class="dropdown-menu kie-yamm__dropdown-menu" aria-labelledby="dropdownMenu2">
<!-- mega menu sections -->
<li class="kie-yamm__section col-xs-12 col-md-3">
<h3 class="kie-yamm__title">Design</h3>
<ul class="kie-yamm__subsection">
<li><a href="#">Projects</a></li>
<li><a href="#">Dashboards</a></li>
</ul>
</li>
<li class="kie-yamm__section col-xs-12 col-md-3">
<h3 class="kie-yamm__title">Configure</h3>
<ul class="kie-yamm__subsection">
<li><a href="#">Deployments</a></li>
<li><a href="#">Execution Servers</a></li>
</ul>
</li>
<li class="kie-yamm__section col-xs-12 col-md-3 ">
<h3 class="kie-yamm__title">Manage</h3>
<ul class="kie-yamm__subsection">
<li><a href="#">Process Definitions</a></li>
<li><a href="#">Process Instances</a></li>
<li><a href="#">Jobs</a></li>
</ul>
</li>
<li class="kie-yamm__section col-xs-12 col-md-3">
<h3 class="kie-yamm__title">Track</h3>
<ul class="kie-yamm__subsection">
<li><a href="#">Task Lists</a></li>
<li><a href="#">Task Reports</a></li>
<li><a href="#">Process Reports</a></li>
<li><a href="#">Business Dashboards</a></li>
</ul>
</li>
</ul>
</li>
</ul>
<ul class="nav navbar-nav navbar-right navbar-iconic">
<li class="dropdown">
<a href="#" class="dropdown-toggle nav-item-iconic" id="dropdownMenu3" data-toggle="dropdown" aria-haspopup="true">
<span title="Applications" class="fa fa-th"></span>
</a>
<ul class="dropdown-menu" aria-labelledby="dropdownMenu3">
<li><a href="">Application 1</a></li>
<li><a href="">Application 2</a></li>
<li><a href="">Application 3</a></li>
</ul>
</li>
<li>
<a class="nav-item-iconic" href="#help" data-toggle="modal" title="Help"><i class="fa fa-question"></i></a>
</li>
<li>
<a class="nav-item-iconic" href="settings.html" title="Settings"><i class="pficon pficon-equalizer"></i></a>
</li>
<li class="dropdown">
<a class="dropdown-toggle nav-item-iconic" id="dropdownMenu4" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="true" tabindex="0">
<span title="Username" class="pficon pficon-user"></span>
Brian Johnson
<span class="caret"></span>
</a>
<ul class="dropdown-menu" aria-labelledby="dropdownMenu4">
<li><a href="#about" data-toggle="modal">About</a></li>
<li><a href="#">Log Out</a></li>
</ul>
</li>
</ul>
</div>
</nav>
<main role="main" id="kie-main-content" tabindex="-1" class="kie-page__content ">
<div class="container-fluid ">
<!-- Breadcrumb row -->
<div class="row">
<div class="col-xs-12">
<ol class="breadcrumb">
<li>
<a href="#">Spaces</a>
</li>
<li>
<a href="#">Space Name</a>
</li>
<li>
<a href="#">Mortgage Application</a>
</li>
<li class="active"> <strong>Scenario Test1</strong>
</li>
</ol>
</div>
</div>
<!-- Content - Asset List -->
<div class="row kie-row--tabcontent">
<div class="col-xs-4 ">
{ Test Scenario }
<div>
<a href="#confirmation" data-toggle="modal" data-target="#kie-dataTypesList-Mapping-modal" title="Confirmation">Open the Data Object Mapping List Modal</a>
</div>
</div>
<div class="col-xs-8">
<!-- *********** CONTENTS of sidebar for DROOLS-2707 ********** -->
<!-- Content of the sidebar controls -->
<div class="container-fluid">
<div class="row">
<!-- Content - filters -->
<div class="col-xs-9 tab-content kie-tab-content--filters">
<!-- FIRST DOCK TAB - TEST REPORT -->
<div class="tab-pane kie__dock" id="kieDockPanel1">
<h3 class="kie-dock__heading">
Test Report
</h3>
<hr class="kie-dock__divider" />
<h5 class="kie-dock__heading--section">Overview</h5>
<dl class="dl-horizontal kie-dl-horizontal clearfix">
<dt>
Test Results:
</dt>
<dd>
<span class="pficon pficon-error-circle-o"></span> TEST FAILED
</dd>
<dt>
Completed at:
</dt>
<dd>
17:11:40.391
</dd>
<dt>
Scenarios run:
</dt>
<dd>
2
</dd>
<dt>
Duration:
</dt>
<dd>
552 seconds
</dd>
</dl>
<a href="">View Details</a>
<hr class="kie-dock__divider" />
<h5 class="kie-dock__heading--section">Scenario Status</h5>
<!-- *************** donut graph here *******************-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/c3/0.4.18/c3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js"></script>
<div id="kie-test-results1" class="example-donut-chart-bottom-legend"></div>
<div id="kie-test-results2" class="example-donut-chart-bottom-legend"></div>
<div id="kie-test-results3" class="example-donut-chart-bottom-legend"></div>
<script>
var c3ChartDefaults = $().c3ChartDefaults();
var donutData = {
type: 'donut',
columns: [
['Passed', 1],
['Failed', 1],
['Known', 0],
['Undefined', 0]
],
onclick: function (d, i) { console.log("onclick", d, i); },
onmouseover: function (d, i) { console.log("onmouseover", d, i); },
onmouseout: function (d, i) { console.log("onmouseout", d, i); }
};
// Donut Chart Bottom Legend
var donutChartBottomConfig = c3ChartDefaults.getDefaultRelationshipDonutConfig();
donutChartBottomConfig.bindto = '#kie-test-results3';
donutChartBottomConfig.tooltip = { show: true };
donutChartBottomConfig.data = donutData;
donutChartBottomConfig.legend = {
show: true,
position: 'bottom'
};
donutChartBottomConfig.size = {
width: 200,
height: 191
};
donutChartBottomConfig.tooltip = {
contents: $().pfDonutTooltipContents
};
var donutChartBottomLegend = c3.generate(donutChartBottomConfig);
$().pfSetDonutChartTitle("#kie-test-results3", "50%", "Failed");
</script>
<!-- *************** END donut graph here *******************-->
<br />
</div>
<!-- SECOND DOCK TAB - TEST TOOLS -->
<div class="tab-pane kie-dock active" id="kieDockPanel2">
<h3 class="kie-dock__heading">
Test Tools
</h3>
<hr class="kie-dock__divider" />
<ul class="nav nav-tabs nav-tabs-pf" id="kieTestTools" role="tablist">
<li class="nav-item active">
<a class="nav-link" id="kieTestEditorTab" data-toggle="tab" href="#kieTestEditorTabContent"
role="tab" aria-controls="#kieTestToolsContent" aria-selected="true">Test Editor</a>
</li>
<li class="nav-item">
<a class="nav-link" id="kieTestEditorTab" data-toggle="tab" href="#kieScenarioCheatsheetTabContent"
role="tab" aria-controls="#kieTestToolsContent" aria-selected="true">Scenario Cheatsheet</a>
</li>
</ul>
<div class="tab-content" id="kieTestToolsContent">
<!-- content for the test editor tab -->
<div id="kieTestEditorTabContent" class="tab-pane fade in active" aria-labelledby="#kieTestEditorTabContent">
<br />
<p>To create a test template, define "Given" and "Expect" columns by entering an expression or
use the expression editor below.</p>
<label for="kie-search">Select Data Object</label>
<div class="kie-test-tools-content__box">
<!-- outlined data object box -->
<!-- search box -->
<form role="form" class="search-pf has-button">
<div class="form-group has-clear">
<div class="search-pf-input-group">
<!-- <label for="search1" class="sr-only">Search</label> -->
<input id="search1" type="search" class="form-control" placeholder="Search">
<button type="button" class="clear" aria-hidden="true"><span class="pficon pficon-close"></span></button>
</div>
</div>
<div class="form-group">
<button class="btn btn-default" type="button"><span class="fa fa-search"></span></button>
</div>
</form>
<script>
(function ($) {
$(document).ready(function () {
// Hide the clear button if the search input is empty
$(".search-pf .has-clear .clear").each(function () {
if (!$(this).prev('.form-control').val()) {
$(this).hide();
}
});
// Show the clear button upon entering text in the search input
$(".search-pf .has-clear .form-control").keyup(function () {
var t = $(this);
t.next('button').toggle(Boolean(t.val()));
});
// Upon clicking the clear button, empty the entered text and hide the clear button
$(".search-pf .has-clear .clear").click(function () {
$(this).prev('.form-control').val('').focus();
$(this).hide();
});
});
})(jQuery);
</script>
<!-- end search box -->
<!-- from GABRIELE -->
<div id="pf-list-simple-expansion" class="list-group tree-list-view-pf-view kie-tree-list-view-pf-view--compact"
data-field="listContainer">
<div class="list-group-item" data-field="listGroupItem" id="listGroupItem-do1">
<div class="list-group-item-header list-view-pf-expand-active" data-field="listGroupItemHeader">
<div class="list-view-pf-expand">
<span class="fa fa-angle-right fa-angle-down" data-field="faAngleRight"></span>
</div>
<div class="list-view-pf-main-info" data-field="fullClassName">do1</div>
</div>
<div class="list-group-item-container container-fluid" data-field="listGroupItemContainer">
<ul class="ul--plain" data-field="factProperties">
<li data-field="fieldElement" data-i18n-prefix="FieldItemViewImpl." id="fieldElement-do1-myint1"
fieldname="myint1" classname="int" fullpath="do1"><a>myint1</a> [int]</li>
<li data-field="fieldElement" data-i18n-prefix="FieldItemViewImpl." id="fieldElement-do1-myint2"
fieldname="myint2" classname="int" fullpath="do1"><a>myint2</a> [int]</li>
</ul>
</div>
</div>
<div class="list-group-item selected" data-field="listGroupItem" id="listGroupItem-do2">
<div class="list-group-item-header list-view-pf-expand-active" data-field="listGroupItemHeader">
<div class="list-view-pf-expand">
<span class="fa fa-angle-right fa-angle-down" data-field="faAngleRight"></span>
</div>
<div class="list-view-pf-main-info" data-field="fullClassName">do2</div>
</div>
<div class="list-group-item-container container-fluid" data-field="listGroupItemContainer">
<ul class="ul--plain" data-field="factProperties">
<li data-field="fieldElement" data-i18n-prefix="FieldItemViewImpl." id="fieldElement-do2-mydbl2"
fieldname="mydbl2" classname="double" fullpath="do2"><a>mydbl2</a> [double]</li>
</ul>
<div class="list-group list-view-pf tree-list-view-pf-view kie-tree-list-view-pf-view--compact"
data-field="listGroupExpansion" data-i18n-prefix="ListGroupItemViewImpl.">
<div class="list-group-item" data-field="listGroupItem" id="listGroupItem-mydo1">
<div class="list-group-item-header list-view-pf-expand-active" data-field="listGroupItemHeader">
<div class="list-view-pf-expand">
<span class="fa fa-angle-right fa-angle-down" data-field="faAngleRight"></span>
</div>
<div class="list-view-pf-main-info" data-field="fullClassName" factname="mydo1"
facttype="do1" parentpath="do2"><b>mydo1</b> do1</div>
</div>
<div class="list-group-item-container container-fluid" data-field="listGroupItemContainer">
<ul class="ul--plain" data-field="factProperties">
<li data-field="fieldElement" data-i18n-prefix="FieldItemViewImpl." id="fieldElement-mydo1-myint1"
fieldname="myint1" classname="int" fullpath="do2.mydo1"><a>myint1</a> [int]</li>
<li data-field="fieldElement" data-i18n-prefix="FieldItemViewImpl." id="fieldElement-mydo1-myint2"
fieldname="myint2" classname="int" fullpath="do2.mydo1"><a>myint2</a> [int]</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- end from GABRIELE -->
<!-- OUTER list expansion -->
<div id="pf-list-simple-expansion" class="list-group list-view-pf tree-list-view-pf-view kie-tree-list-view-pf-view--compact">
<div class="list-group-item">
<div class="list-group-item-header">
<div class="list-view-pf-expand">
<span class="fa fa-angle-right"></span>
</div>
<div class="list-view-pf-main-info">
applicant
</div>
</div>
<div class="list-group-item-container container-fluid hidden">
<ul class="ul--plain">
<li><a>Age</a> [applicantAge]</li>
<li class="selected"><a>Credit</a> [applicantCredit]</li>
<li><a>Income</a> [applicant income]</li>
<li>
<!-- INNER list expansion -->
<div id="pf-list-simple-expansion-2" class="list-group list-view-pf tree-list-view-pf-view kie-tree-list-view-pf-view--compact">
<div class="list-group-item">
<div class="list-group-item-header">
<div class="list-view-pf-expand">
<span class="fa fa-angle-right"></span>
</div>
<div class="list-view-pf-main-info">
More stuff
</div>
</div>
<div class="list-group-item-container container-fluid ">
<ul class="ul--plain">
<li><a>This</a> [This stuff]</li>
<li><a>That</a> [That stuff]</li>
<li><a>Other</a> [Other stuff]</li>
</ul>
</div>
</div>
</div>
</li>
</ul>
</div>
</div>
<div class="list-group-item">
<div class="list-group-item-header">
<div class="list-view-pf-expand">
<span class="fa fa-angle-right"></span>
</div>
<div class="list-view-pf-main-info">
applicationForm
</div>
</div>
<div class="list-group-item-container container-fluid hidden">
application form data here
</div>
</div>
<div class="list-group-item">
<div class="list-group-item-header">
<div class="list-view-pf-expand">
<span class="fa fa-angle-right"></span>
</div>
<div class="list-view-pf-main-info">
creditScore
</div>
</div>
<div class="list-group-item-container container-fluid hidden">
Credit Score data here
</div>
</div>
<div class="list-group-item">
<div class="list-group-item-header">
<div class="list-view-pf-expand">
<span class="fa fa-angle-right"></span>
</div>
<div class="list-view-pf-main-info">
incomeSource
</div>
</div>
<div class="list-group-item-container container-fluid hidden">
income source data here
</div>
</div>
</div>
<script>
$(document).ready(function () {
// Row Checkbox Selection
$("#pf-list-simple-expansion input[type='checkbox']").change(function (e) {
if ($(this).is(":checked")) {
$(this).closest('.list-group-item').addClass("active");
} else {
$(this).closest('.list-group-item').removeClass("active");
}
});
// toggle dropdown menu
$("#pf-list-simple-expansion .list-view-pf-actions").on('show.bs.dropdown', function () {
var $this = $(this);
var $dropdown = $this.find('.dropdown');
var space = $(window).height() - $dropdown[0].getBoundingClientRect().top - $this.find('.dropdown-menu').outerHeight(true);
$dropdown.toggleClass('dropup', space < 10);
});
// click the list-view heading then expand a row
$("#pf-list-simple-expansion .list-group-item-header").click(function (event) {
if (!$(event.target).is("button, a, input, .fa-ellipsis-v")) {
$(this).find(".fa-angle-right").toggleClass("fa-angle-down")
.end().parent().toggleClass("list-view-pf-expand-active")
.find(".list-group-item-container").toggleClass("hidden");
} else {
}
})
// click the close button, hide the expand row and remove the active status
$("#pf-list-simple-expansion .list-group-item-container .close").on("click", function () {
$(this).parent().addClass("hidden")
.parent().removeClass("list-view-pf-expand-active")
.find(".fa-angle-right").removeClass("fa-angle-down");
})
});
</script>
<!-- end list expansion -->
</div><!-- end outlined data object box -->
<label for="kie-name">Name Field</label>
<input id="kie-name" type="text" class="form-control" placeholder="Name">
<br />
<label for="kieDropdownConditions">Set Conditions</label>
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" type="button" id="kieDropdownConditions"
data-toggle="dropdown">
Condition
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu" aria-labelledby="kieDropdownConditions">
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">Required</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">Preferred</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">Other options here</a></li>
</ul>
</div>
<hr />
<button class="btn btn-default" type="button">Add</button>
<a href="#0" role="button">Clear</a>
</div>
<br />
<!-- content for cheatsheet tab -->
<div id="kieScenarioCheatsheetTabContent" class="tab-pane fade" aria-labelledby="Scenario Cheatsheet">
<div id="kieScenarioCheatsheetTabContent" class="tab-pane fade active in" aria-labelledby="Scenario Cheatsheet"
style="padding: 1em">
<p data-i18n-key="Use_contextual_menu_to_add/remove_columns_and_rows.">Use contextual menu to
add/remove columns and rows.</p>
<p data-i18n-key="Left_click_on_column_header_&_then_edit_the_mapping_with_a_field_using_the_Test_Editor_tab.">Left
click on column header & then edit the mapping with a field using the Test Editor tab.</p>
<p data-i18n-key="Double_click_on_the_field_to_set_the_mapping.">Double click on the field to
set the mapping.</p>
<p data-i18n-key="Each_cell_can_contain_an_expression_which_use_following_syntax_">Each cell
can contain an expression which use following syntax:</p>
<ul>
<li>
<i data-i18n-key="=_value_(or_no_symbol)">= value (or no symbol)</i>: specifies equals to
a value. This is the default and only operator supported under GIVEN section
</li>
<li>
<i data-i18n-key="!_or_!=_or_<>_value">! or != or <> value</i>: specifies not
equals to a value. It can be used with other operators.
</li>
<li><i data-i18n-key="<_or_>_or_<=_or_>=_value">< or > or <= or >= value</i>:
specifies a comparison</li>
<li>
<i data-i18n-key="[_value1,_value2,_value3_]">[ value1, value2, value3 ]</i>: provides a
list of values. This operator works like the logical OR operator
</li>
<li>
<i data-i18n-key="expression1_;_expression2_;_expression3">expression1 ; expression2 ;
expression3</i>: specifies a list of expressions. This operator works like the logical
AND operator
</li>
</ul>
<p data-i18n-key="Example_of_expressions_">Example of expressions:</p>
<ul>
<li><i data-i18n-key="<_3">< 3</i></li>
<li><i data-i18n-key="<_3_;_!_[0,-1]">< 3 ; ! [0,-1]</i></li>
<li><i data-i18n-key="[MyString,_My_second_string]">[MyString, My second string]</i></li>
<li><i data-i18n-key="=_3;_>_2">= 3; > 2</i></li>
</ul>
<p>Empty cell is equal to <i data-i18n-key="null">null</i> and use the equals symbol (=)
without any value to specify an empty string.</p>
</div>
</div>
</div>
</div>
<!-- THIRD DOCK TAB -->
<div class="tab-pane" id="kieDockPanel3">
<h3 class="kie-dock__heading">
Placeholder
</h3>
<hr class="kie-dock__divider" />
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="home-tab" data-toggle="tab" href="#home" role="tab"
aria-controls="home" aria-selected="true">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" id="profile-tab" data-toggle="tab" href="#profile" role="tab" aria-controls="profile"
aria-selected="false">Profile</a>
</li>
<li class="nav-item">
<a class="nav-link" id="contact-tab" data-toggle="tab" href="#contact" role="tab" aria-controls="contact"
aria-selected="false">Contact</a>
</li>
</ul>
<div class="tab-content" id="myTabContent">
<div class="tab-pane show active" id="home" role="tabpanel" aria-labelledby="home-tab">...home..</div>
<div class="tab-pane" id="profile" role="tabpanel" aria-labelledby="profile-tab">..profile..</div>
<div class="tab-pane" id="contact" role="tabpanel" aria-labelledby="contact-tab">..contact..</div>
</div>
<br />
</div>
</div>
<!-- Tabs for the filter control -->
<!-- should be implemented with existing slide-in panel control -->
<div class="col-xs-3" style="">
<nav class="navbar navbar-static nav-stacked" id="kiePreferences">
<ul class="nav kie-dock-selector" role="tablist">
<li class="kie-dock-selector__tab ">
<a href="#kieDockPanel1" data-toggle="tab">
<span class="fa fa-file-text"></span>
</a>
</li>
<li class="kie-dock-selector__tab active">
<a href="#kieDockPanel2" data-toggle="tab">
<span class="pficon pficon-info"></span>
</a>
</li>
<li class="kie-dock-selector__tab">
<a href="#kieDockPanel3" data-toggle="tab">
<span class="fa fa-play-circle"></span>
</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
<!-- end sidebar controls -->
<!-- *********** END of CONTENTS of sidebar for DROOLS-2707 ************** -->
</div>
</div>
</div>
</main>
</div><!-- kie-page -->
<!-- modals -->
<!------ DMN Object Data List Popup Modal DROOLS-3474------>
<!-- This is the first style of dialog, with a panel for editing as in the Invision, although not in the middle of the list -->
<!-- this dialog also relies on the styles in kie-drools.less -->
<div class="modal fade kie-dataTypesList-modal modal-wide" tabindex="-1" role="dialog" id="kie-dataTypesList-Mapping-modal">
<div class="modal-dialog" style="width: 90vw;" role="document"><!-- SET THE WIDTH TO BE WIDER THAN THE DEFAULT SO THAT THE MAPPING FITS -->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close" data-field="closeCollectionEditorButton">
<span class="pficon pficon-close"></span>
</button>
<h4 class="modal-title" data-field="editorTitle">Author#currentlyPrinted</h4>
</div>
<div class="modal-body">
<div class="container-fluid">
<div class="row">
<!-- Data objects -->
<div class="col-xs-12 tab-content">
<!-- first right side panel -->
<!-- added FRIDAY -->
<div class="tab-pane active" id="kie-ObjectListItem1" aria-labelledby="#kie-ObjectListTab1">
<ul class="list-group kie-object-list" data-field="elementsContainer">
<li class="list-group-item">
<!-- this is the heading -->
<span class="fa fa-angle-down kie-object-list__expander" data-field="faAngleRight"></span>
<span class="kie-object-list__field-value" data-field="propertyTitle" data-i18n-key="visitedcities">currentlyPrinted</span>
</li>
<li data-field="itemContainer" data-i18n-prefix="KeyValueElementViewImpl.">
<!-- this is the entire list below the heading -->
<ul class="list-group">
<li class="list-group-item kie-object-list__separator" data-field="itemSeparator">
<!-- this is the "dummy" parent for the object -->
<span class="fa fa-angle-right kie-object-list__expander" data-field="faAngleRight"></span> Item
<div class="pull-right">
<button class="btn btn-link" aria-label="Edit item" data-field="editItemButton">
<span class="fa fa-pencil" aria-hidden="true"></span>
</button>
<button class="btn btn-link" aria-label="Delete item" data-field="deleteItemButton">
<span class="fa fa-trash" aria-hidden="true"></span>
</button>
</div>
</li>
<li class="list-group-item" data-field="keyValueContainer">
<ul data-field="keyContainer" class="list-group kie-object-list kie-object-list--mapping">
<!-- style="display: inline-block; vertical-align: top;" -->
<li class="list-group-item" data-field="keyLabel">
<span data-i18n-key="KEY">KEY</span>
</li>
<li class="list-group-item" data-field="propertyFields#value" data-i18n-prefix="PropertyViewImpl." style="">
<!-- <span class="icon glyphicon"></span> -->
<span class="kie-object-list__field-value" data-field="propertyValue#value" data-i18n-key="value">t6uhr</span>
<input type="text" placeholder="#value" data-field="propertyValue#value" disabled="" style="">
<span class="kie-object-list__field-label" data-field="propertyName#value" data-i18n-key="value">#value</span>
</li>
</ul>
<ul data-field="valueContainer" class="list-group kie-object-list kie-object-list--mapping">
<li class="list-group-item node-treeview-object-edit node-hidden" data-field="valueLabel" style="">
<span data-i18n-key="VALUE">VALUE</span>
</li>
<li class="list-group-item node-hidden" data-field="propertyFields#isAvailable" data-i18n-prefix="PropertyViewImpl." style="">
<!-- <span class="icon glyphicon"></span> -->
<span class="kie-object-list__field-value" data-field="propertyValue#isAvailable" data-i18n-key="isAvailable">fgn</span>
<input type="text" placeholder="#isAvailable" data-field="propertyValue#isAvailable" disabled="" style="">
<span class="kie-object-list__field-label" data-field="propertyName#isAvailable" data-i18n-key="isAvailable">#isAvailable</span>
</li>
<li class="list-group-item node-hidden" data-field="propertyFields#name" data-i18n-prefix="PropertyViewImpl." style="">
<!-- <span class="icon glyphicon"></span> -->
<span class="kie-object-list__field-value" data-field="propertyValue#name" data-i18n-key="name">fgn</span>
<input type="text" placeholder="#name" data-field="propertyValue#name" disabled="" style="">
<span class="kie-object-list__field-label" data-field="propertyName#name" data-i18n-key="name">#name</span>
</li>
<li class="list-group-item node-hidden" data-field="propertyFields#numberOfCopies" data-i18n-prefix="PropertyViewImpl." style="">
<!-- <span class="icon glyphicon"></span> -->
<span class="kie-object-list__field-value" data-field="propertyValue#numberOfCopies" data-i18n-key="numberOfCopies">fgn</span>
<input type="text" placeholder="#numberOfCopies" data-field="propertyValue#numberOfCopies" disabled="" style="">
<span class="kie-object-list__field-label" data-field="propertyName#numberOfCopies" data-i18n-key="numberOfCopies">#numberOfCopies</span>
</li>
<li class="list-group-item node-hidden" data-field="propertyFields#testField" data-i18n-prefix="PropertyViewImpl." style="">
<!-- <span class="icon glyphicon"></span> -->
<span class="kie-object-list__field-value" data-field="propertyValue#testField" data-i18n-key="testField">fgn</span>
<input type="text" placeholder="#testField" data-field="propertyValue#testField" disabled="" style="">
<span class="kie-object-list__field-label" data-field="propertyName#testField" data-i18n-key="testField">#testField</span>
</li>
</ul>
</li>
<li class="list-group-item" data-field="saveChange" style="">
<button class="btn btn-link" data-field="saveChangeButton">
<span class="fa fa-check"></span> Save changes
</button>
<button class="btn btn-link" data-field="cancelChangeButton">
<span class="fa fa-close"></span> Cancel
</button>
</li>
</ul>
</li>
<li class="list-group-item kie-object-list__separator" data-field="objectSeparator">
<!-- <span class="icon glyphicon"></span> -->
<button class="btn btn-link" data-field="addItemButton">
<span class="fa fa-plus"></span> Add new item
</button>
</li>
</ul>
</div>
<!-- END ADDED FRIDAY -->
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal" data-field="cancelButton" data-i18n-key="Cancel">Cancel</button>
<button type="button" class="btn btn-primary" data-dismiss="modal" data-field="saveButton" data-i18n-key="Save">Save</button>
</div>
</div>
</div>
</div>
<!------ end of DMN Object Data List Popup Modal DROOLS-3474 ------>
<div class="modal fade" id="help">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
<span class="pficon pficon-close"></span>
</button>
<h4 class="modal-title">Help</h4>
</div>
<div class="modal-body">
<div><img src="img/help.png" alt="" style="width: 568px;" /></div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- About Modal -->
<div class="modal fade" id="about" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content about-modal-pf">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
<span class="pficon pficon-close"></span>
</button>
</div>
<div class="modal-body">
<h1 id="aboutModalTitle">
<img class="kie-brand-icon" src="images/jbpm_logo_noshadow_100px.png" alt="JBoss BPM Suite" />
</h1>
<div class="product-versions-pf">
<ul class="list-unstyled" id="aboutModalVersions">
<li><strong>Version</strong> 0.0</li>
</ul>
</div>
<div class="trademark-pf">
jBPM is open source software, released under the <br>
<strong>Apache Software License 2.0</strong>.
</div>
</div>
</div>
</div>
</div>
<!-- END About Modal -->
<div class="modal fade" id="preferences">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
<span class="pficon pficon-close"></span>
</button>
<h4 class="modal-title">Preferences</h4>
</div>
<div class="modal-body">
<div class="form-group">
<label class="control-label">Language</label>
<select class="form-control">
<option value="default">English</option>
<option value="de">German</option>
<option value="es">Spanish</option>
<option value="fr">French</option>
<option value="ja">Japanese</option>
<option value="pt_BR">Portuguese</option>
<option value="zh_CN">Chinese (Simplified)</option>
</select>
</div>
<div class="form-group">
<label class="control-label">View Mode</label>
<div class="radio">
<label><input type="radio" name="optradio">Basic</label>
</div>
<div class="radio">
<label><input type="radio" name="optradio">Compact</label>
</div>
<div class="radio">
<label><input type="radio" name="optradio">Advanced</label>
</div>
</div>
<div class="form-group">
<label class="control-label">Layouts</label>
<p><a href="#">Reset Perspective Layouts</a></p>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
<button type="button" class="btn btn-primary" data-dismiss="modal">OK</button>
</div>
</div>
</div>
</div>
<!-- LIST EXPANSION CODE -->
<script>
$(document).ready(function () {
// Row Checkbox Selection
$("#pf-list-simple-expansion input[type='checkbox']").change(function (e) {
if ($(this).is(":checked")) {
$(this).closest('.list-group-item').addClass("active");
} else {
$(this).closest('.list-group-item').removeClass("active");
}
});
// toggle dropdown menu
$("#pf-list-simple-expansion .list-view-pf-actions").on('show.bs.dropdown', function () {
var $this = $(this);
var $dropdown = $this.find('.dropdown');
var space = $(window).height() - $dropdown[0].getBoundingClientRect().top - $this.find('.dropdown-menu').outerHeight(true);
$dropdown.toggleClass('dropup', space < 10);
});
// click the list-view heading then expand a row
$("#pf-list-simple-expansion .list-group-item-header").click(function (event) {
if (!$(event.target).is("button, a, input, .fa-ellipsis-v")) {
$(this).find(".fa-angle-right").toggleClass("fa-angle-down")
.end().parent().toggleClass("list-view-pf-expand-active")
.find(".list-group-item-container").toggleClass("hidden");
} else {
}
})
// click the close button, hide the expand row and remove the active status
$("#pf-list-simple-expansion .list-group-item-container .close").on("click", function () {
$(this).parent().addClass("hidden")
.parent().removeClass("list-view-pf-expand-active")
.find(".fa-angle-right").removeClass("fa-angle-down");
})
});
</script>
<script>
$(document).ready(function() {
$('.list-pf').pfList();
});
</script>
<!-- END LIST EXPANSION CODE -->
</body>
</html>