diff --git a/ccm-core/src/main/java/org/libreccm/ui/admin/categories/CategoryDetailsModel.java b/ccm-core/src/main/java/org/libreccm/ui/admin/categories/CategoryDetailsModel.java index 2823f73fa..e95901793 100644 --- a/ccm-core/src/main/java/org/libreccm/ui/admin/categories/CategoryDetailsModel.java +++ b/ccm-core/src/main/java/org/libreccm/ui/admin/categories/CategoryDetailsModel.java @@ -141,6 +141,13 @@ public class CategoryDetailsModel { return selectedOptions; } + public Set getMultipleSelectedOptions() { + final Set selectedOptions = new HashSet<>(); + selectedOptions.add("delta"); + selectedOptions.add("bravo"); + return selectedOptions; + } + public List getMessages() { return Collections.unmodifiableList(messages); } diff --git a/ccm-core/src/main/resources/META-INF/resources/components/bootstrap/formCheck.xhtml b/ccm-core/src/main/resources/META-INF/resources/components/bootstrap/formCheck.xhtml new file mode 100644 index 000000000..540e02fe9 --- /dev/null +++ b/ccm-core/src/main/resources/META-INF/resources/components/bootstrap/formCheck.xhtml @@ -0,0 +1,43 @@ + + + + + + + + + + + +
+ + +
+
+ \ No newline at end of file diff --git a/ccm-core/src/main/resources/META-INF/resources/components/bootstrap/formGroupChecks.xhtml b/ccm-core/src/main/resources/META-INF/resources/components/bootstrap/formGroupChecks.xhtml new file mode 100644 index 000000000..6828dce8c --- /dev/null +++ b/ccm-core/src/main/resources/META-INF/resources/components/bootstrap/formGroupChecks.xhtml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + +
+
+ #{cc.attrs.label} +
+ +
+ + +
+
+
+
+ + #{cc.attrs.help} + +
+
+ diff --git a/ccm-core/src/main/resources/META-INF/resources/components/bootstrap/formGroupRadio.xhtml b/ccm-core/src/main/resources/META-INF/resources/components/bootstrap/formGroupRadio.xhtml new file mode 100644 index 000000000..726371ec8 --- /dev/null +++ b/ccm-core/src/main/resources/META-INF/resources/components/bootstrap/formGroupRadio.xhtml @@ -0,0 +1,67 @@ + + + + + + + + + + + + + +
+
+ #{cc.attrs.label} +
+ +
+ + +
+
+
+
+ + #{cc.attrs.help} + +
+
+ + diff --git a/ccm-core/src/main/resources/WEB-INF/views/org/libreccm/ui/admin/categories/category-form.xhtml b/ccm-core/src/main/resources/WEB-INF/views/org/libreccm/ui/admin/categories/category-form.xhtml index 2fa9e306a..f9c366b48 100644 --- a/ccm-core/src/main/resources/WEB-INF/views/org/libreccm/ui/admin/categories/category-form.xhtml +++ b/ccm-core/src/main/resources/WEB-INF/views/org/libreccm/ui/admin/categories/category-form.xhtml @@ -107,6 +107,46 @@ selectedOptions="#{CategoryDetailsModel.selectedOptions}" size="3" /> + + + + + + + +

ToDo