diff --git a/ccm-core/src/main/java/org/libreccm/ui/admin/categories/CategoriesController.java b/ccm-core/src/main/java/org/libreccm/ui/admin/categories/CategoriesController.java index f79eda73a..af84030bb 100644 --- a/ccm-core/src/main/java/org/libreccm/ui/admin/categories/CategoriesController.java +++ b/ccm-core/src/main/java/org/libreccm/ui/admin/categories/CategoriesController.java @@ -38,6 +38,7 @@ import javax.enterprise.context.RequestScoped; import javax.inject.Inject; import javax.mvc.Controller; import javax.mvc.Models; +import javax.mvc.MvcContext; import javax.transaction.Transactional; import javax.ws.rs.FormParam; import javax.ws.rs.GET; @@ -71,7 +72,7 @@ public class CategoriesController { @Inject private Models models; - + @GET @Path("/{categoryIdentifier}") @AuthorizationRequired diff --git a/ccm-core/src/main/resources/META-INF/resources/components/bootstrap/modalForm.xhtml b/ccm-core/src/main/resources/META-INF/resources/components/bootstrap/modalForm.xhtml new file mode 100644 index 000000000..f4d918067 --- /dev/null +++ b/ccm-core/src/main/resources/META-INF/resources/components/bootstrap/modalForm.xhtml @@ -0,0 +1,79 @@ +]> + + + + + + + + + + + + + + +
+ +
+ +
+ diff --git a/ccm-core/src/main/resources/META-INF/resources/components/libreccm/messages.xhtml b/ccm-core/src/main/resources/META-INF/resources/components/libreccm/messages.xhtml new file mode 100644 index 000000000..fcf8899f0 --- /dev/null +++ b/ccm-core/src/main/resources/META-INF/resources/components/libreccm/messages.xhtml @@ -0,0 +1,21 @@ +]> + + + + + +
+ + + +
+
+ diff --git a/ccm-core/src/main/resources/WEB-INF/views/org/libreccm/ui/admin/categories/categorysystem-details.xhtml b/ccm-core/src/main/resources/WEB-INF/views/org/libreccm/ui/admin/categories/categorysystem-details.xhtml index c6b4e5da1..d1662ecf6 100644 --- a/ccm-core/src/main/resources/WEB-INF/views/org/libreccm/ui/admin/categories/categorysystem-details.xhtml +++ b/ccm-core/src/main/resources/WEB-INF/views/org/libreccm/ui/admin/categories/categorysystem-details.xhtml @@ -4,7 +4,8 @@ xmlns:c="http://xmlns.jcp.org/jsp/jstl/core" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:libreccm="http://xmlns.jcp.org/jsf/composite/components/libreccm" - xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:f="http://xmlns.jcp.org/jsf/core"> @@ -25,6 +26,8 @@

#{AdminMessages.getMessage('categorysystems.details.title', [CategorySystemDetailsModel.domainKey])}

+ +
@@ -154,82 +157,60 @@ #{AdminMessages['categorysystems.details.owners.heading']}
-
- -
- + + +

#{AdminMessages['categorysstems.details.owner.add.dialog.title']}

+
+ +
+ + + + #{AdminMessages['categorysystems.details.owner.add.dialog.application.help']} + +
+
+ + + + #{AdminMessages['categorysystems.details.owner.add.dialog.context.help']} + +
+
+ + + + +