Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • DM/dm-docs
  • hammonds/dm-docs
  • hparraga/dm-docs
3 results
Show changes
Showing
with 893 additions and 0 deletions
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:param name="experimentTypeObject" value="#{experimentTypeController.selected}"/>
<p:panelGrid columns="2" styleClass="viewEntityDetails">
<h:outputLabel for="name" value="Name" styleClass="entityDataEmphasizedLabel"/>
<h:outputText id="name" value="#{experimentTypeObject.name}" title="Name" styleClass="entityDataEmphasizedText"/>
<h:outputLabel for="description" value="Description" styleClass="entityDataLabel"/>
<h:outputText id="description" value="#{experimentTypeObject.description}" title="Description" styleClass="entityDataText"/>
<h:outputLabel for="rootDataPath" value="Root Data Path" styleClass="entityDataLabel"/>
<h:outputText id="rootDataPath" value="#{experimentTypeObject.rootDataPath}" title="Root Data Path" styleClass="entityDataText"/>
</p:panelGrid>
</ui:composition>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
<title>Experiment Type View</title>
<h:outputScript library="js/common" name="forwardNotLoggedin.js" rendered="#{!loginController.loggedIn}"/>
<h:outputScript library="js/common" name="noBack.js" rendered="#{experimentTypeController.notSelected()}" />
<ui:composition template="../../templates/dmViewTemplate.xhtml">
<ui:define name="middleCenter">
<h:form id="viewExperimentTypeForm">
<div class="middleCenterLeftContent">
<div class="pageTitle">
<h1>Experiment Type Details</h1>
</div>
<ui:include src="private/experimentTypeViewPanelGrid.xhtml"/>
<p/>
<ui:param name="experimentTypeObject" value="#{experimentTypeController.selected}"/>
<div class="actionButton">
<p:commandButton action="#{experimentTypeController.prepareEdit(experimentTypeObject)}" rendered="#{loginController.admin}" value="Edit" alt="Edit" icon="ui-icon-pencil"/>
<p:commandButton onclick="PF('experimentTypeDestroyDialogWidget').show();" rendered="#{loginController.admin}" value="Delete" alt="Delete" icon="ui-icon-trash">
<f:setPropertyActionListener value="#{experimentTypeObject}" target="#{experimentTypeController.current}"/>
</p:commandButton>
<p:commandButton action="#{experimentTypeController.prepareList()}" value="Return" alt="Return" icon="ui-icon-arrowreturnthick-1-w"/>
</div>
<ui:include src="private/experimentTypeDestroyDialog.xhtml"/>
</div>
</h:form>
</ui:define>
</ui:composition>
</ui:composition>
<!--<?xml version='1.0' encoding='UTF-8' ?>-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
<title>Data Management System Portal Home</title>
<h:outputScript library="js/common" name="forwardFromHome.js" rendered="#{!loginController.loggedIn}" />
<ui:composition template="../templates/dmViewTemplate.xhtml">
<ui:define name="middleCenter">
<div class="homePage">
<div class="pageTitle">
<h1>Data Management Portal Home</h1>
</div>
<div class="sectionText">
Welcome to the Advanced Photon Source’s prototype data management portal. Registered users can view and set access permissions for their experiment data using this system.
<p/>
</div>
<div class="sectionTitle">
<h2>System At A Glance</h2>
</div>
<h:form id="systemSummaryForm">
<p:growl id="messages" showDetail="true" autoUpdate="true"/>
<p:panelGrid columns="2">
<h:outputLabel for="nRegisteredUsers" value="Number of Registered Users" styleClass="entityDataLabel"/>
<h:outputText id="nRegisteredUsers" value="#{userInfoController.items.getRowCount()}" title="Number of Registered Users" styleClass="entityDataText"/>
</p:panelGrid>
</h:form>
</div>
</ui:define>
</ui:composition>
</ui:composition>
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui"
xmlns:h="http://java.sun.com/jsf/html">
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="../resources/css/login.css" rel="stylesheet" type="text/css" />
<title>Data Management System Login</title>
</h:head>
<h:body>
<div id="top" class="topContent">
<div id="topLeft" class="topLeftContent">
<ui:insert name="topLeft">
<h:graphicImage alt="ANL Logo" url="../resources/images/AnlLogo167x75.png"/>
</ui:insert>
</div>
<div>
<div id="topRight" class="topRightContent">
<ui:insert name="topRight"/>
</div>
<div id="topCenter" class="topCenterContent">
<ui:insert name="topCenter">
<h1>Data Management System Portal</h1>
</ui:insert>
</div>
</div>
</div>
<div id="middle" class="middleContent">
<div id="middleLeft" class="middleLeftContent">
<h:form id="loginForm">
<div class="login">
<div>
<p:inputText id="username" value="#{loginController.username}" title="Username"/>
<p:watermark for="username" value="Username"/>
</div>
<p/>
<div>
<p:password id="password" value="#{loginController.password}" title="Password"/>
<p:watermark for="password" value="Password"/>
</div>
<p/>
<div>
<p:commandButton value="Login" action="#{loginController.login()}" />
</div>
</div>
</h:form>
</div>
<div id="middleRight" class="middleRightContent" >
<p:messages id="messages" escape="false" showDetail="true" autoUpdate="true" closable="false" showIcon="false" />
</div>
</div>
<div id="bottom" class="sectionText">
<p>
Welcome to the Advanced Photon Source’s prototype data management portal. Registered users can view and set access permissions for their experiment data using this system.
</p>
</div>
</h:body>
</html>
<!--<?xml version='1.0' encoding='UTF-8' ?>-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html">
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="../resources/css/login.css" rel="stylesheet" type="text/css" />
<title>Data Management System Login Help</title>
</h:head>
<h:body>
<div id="top" class="topContent">
<div id="topLeft" class="topLeftContent">
<ui:insert name="topLeft">
<h:graphicImage alt="ANL Logo" url="../resources/images/AnlLogo167x75.png"/>
</ui:insert>
</div>
<div>
<div id="topRight" class="topRightContent">
<ui:insert name="topRight"/>
</div>
<div id="topCenter" class="topCenterContent">
<ui:insert name="topCenter">
<h1>Data Management System Portal</h1>
</ui:insert>
</div>
</div>
</div>
<div id="middle" class="middleContent">
<p/>
<div class="pageTitle">
<h2>Data Management Portal Login Help</h2>
</div>
</div>
<div id="bottom" class="sectionText">
Login Help
<p/>
SharePoint
<p/>
Are you remembering to enter your username like this: anl\username? The "anl\" prefix is required.
<p/>
Internet Explorer
<p/>
If your Argonne account has been renamed (that is, your username has been changed), and you are using Internet Explorer as your browser, you may need to delete an existing, outdated security certificate as follows:
<p/>
In Internet Explorer, go to Tools -> Internet Options -> Content -> Certificates -> Personal.
<p/>
Select the certificate with the old username (issued by ANLIssuingCAv010) and click the "Remove" button.
<p/>
Clear the browser cache, close all browser windows, and restart the browser.
<p/>
Firefox
<p/>
In Firefox, clear the browser cache and cookies, close all browser windows, and restart the browser.
<p/>
Password Problems
<p/>
Passwords can be changed and reset, and accounts can be unlocked via a set of self-service tools available online.
</div>
</h:body>
</html>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
<title>Policy Property Create</title>
<h:outputScript library="js/common" name="forwardNotLoggedin.js" rendered="#{!loginController.loggedIn}"/>
<h:outputScript library="js/common" name="forwardNotAuthorized.js" rendered="#{!loginController.admin}"/>
<ui:composition template="../../templates/dmViewTemplate.xhtml">
<ui:define name="middleCenter">
<div class="pageTitle">
<h1>Add Policy Property for Policy Type: #{policyTypeController.current.name}</h1>
</div>
<h:form id="addPolicyPropertyForm">
<ui:include src="private/policyPropertyCreatePanelGrid.xhtml"/>
<p/>
<div class="actionButton">
<p:commandButton action="#{policyPropertyController.create()}" value="Save" alt="Save" icon="ui-icon-check" update="@form"/>
<p:commandButton action="#{policyPropertyController.prepareList()}" immediate="true" value="Cancel" alt="Cancel" icon="ui-icon-cancel"/>
</div>
</h:form>
</ui:define>
</ui:composition>
</ui:composition>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
<title>Policy Property Edit</title>
<h:outputScript library="js/common" name="forwardNotLoggedin.js" rendered="#{!loginController.loggedIn}"/>
<h:outputScript library="js/common" name="noBack.js" rendered="#{policyPropertyController.notSelected()}" />
<h:outputScript library="js/common" name="forwardNotAuthorized.js" rendered="#{!loginController.admin}"/>
<ui:composition template="../../templates/dmViewTemplate.xhtml">
<ui:define name="middleCenter">
<h:form id="editPolicyPropertyForm">
<div class="middleCenterLeftContent">
<div class="pageTitle">
<h1>Policy Type: #{policyTypeController.current.name} <br/>
Policy Property: #{policyPropertyController.current.name}</h1>
</div>
<ui:param name="policyPropertyObject" value="#{policyPropertyController.selected}"/>
<p:accordionPanel multiple="true" activeIndex="0,1" >
<p:tab title="Policy Property Description">
<div class="middleCenterLeftContent">
<ui:include src="private/policyPropertyEditPanelGrid.xhtml"/>
</div>
</p:tab>
<p:tab title="Allowed Policy Values">
<ui:include src="../allowedPolicyValue/private/allowedPolicyValueListEditDataTable.xhtml"/>
</p:tab>
</p:accordionPanel>
<p/>
<div class="actionButton">
<p:commandButton action="#{policyPropertyController.update()}" actionListener="#{allowedPolicyValueController.update()}" value="Save" alt="Save" icon="ui-icon-check" update="@form"/>
<p:commandButton action="#{policyPropertyController.prepareList()}" immediate="true" value="Return" alt="Return" icon="ui-icon-arrowreturnthick-1-w"/>
</div>
</div>
</h:form>
</ui:define>
</ui:composition>
</ui:composition>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:param name="policyPropertyObject" value="#{policyPropertyController.selected}"/>
<p:panelGrid columns="2" styleClass="createEntityDetails">
<h:outputLabel for="name" value="Name" styleClass="entityDataEmphasizedLabel"/>
<h:inputText id="name" value="#{policyPropertyObject.name}" title="Name" styleClass="entityDataEmphasizedText"/>
<h:outputLabel for="units" value="Units" styleClass="entityDataLabel"/>
<h:inputText id="units" value="#{policyPropertyObject.units}" title="Units" styleClass="entityDataText"/>
<h:outputLabel for="defaultValue" value="Default Value" styleClass="entityDataLabel"/>
<h:inputText id="defaultValue" value="#{policyPropertyObject.defaultValue}" title="Default Value" styleClass="entityDataText"/>
<h:outputLabel for="lowerLimit" value="Lower Limit" styleClass="entityDataLabel"/>
<h:inputText id="lowerLimit" value="#{policyPropertyObject.lowerLimit}" title="Lower Limit" styleClass="entityDataText"/>
<h:outputLabel for="upperLimit" value="Upper Limit" styleClass="entityDataLabel"/>
<h:inputText id="upperLimit" value="#{policyPropertyObject.upperLimit}" title="Upper Limit" styleClass="entityDataText"/>
<h:outputLabel for="description" value="Description" styleClass="entityDataLabel"/>
<h:inputText id="description" value="#{policyPropertyObject.description}" title="Description" styleClass="entityDataText"/>
</p:panelGrid>
</ui:composition>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:p="http://primefaces.org/ui"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<p:confirmDialog id="policyPropertyDestroyDialog" message="Delete policy property #{policyPropertyController.getCurrentEntityInstanceName()}?"
header="Delete Policy Property" severity="alert" widgetVar="policyPropertyDestroyDialogWidget"
styleClass="dialog">
<p:commandButton value="Yes" oncomplete="policyPropertyDestroyDialogWidget.hide()" action="#{policyPropertyController.destroy()}" update="@form"/>
<p:commandButton value="No" onclick="PF('policyPropertyDestroyDialogWidget').hide()" type="button" />
</p:confirmDialog>
</ui:composition>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:param name="policyPropertyObject" value="#{policyPropertyController.current}"/>
<p:panelGrid columns="2" styleClass="editEntityDetails">
<h:outputLabel for="name" value="Name" styleClass="entityDataEmphasizedLabel"/>
<h:outputText id="name" value="#{policyPropertyObject.name}" title="Name" styleClass="entityDataEmphasizedText"/>
<h:outputLabel for="units" value="Units" styleClass="entityDataLabel"/>
<h:inputText id="units" value="#{policyPropertyObject.units}" title="Units" styleClass="entityDataText"/>
<h:outputLabel for="defaultValue" value="Default Value" styleClass="entityDataLabel"/>
<h:inputText id="defaultValue" value="#{policyPropertyObject.defaultValue}" title="Default Value" styleClass="entityDataText"/>
<h:outputLabel for="lowerLimit" value="Lower Limit" styleClass="entityDataLabel"/>
<h:inputText id="lowerLimit" value="#{policyPropertyObject.lowerLimit}" title="Lower Limit" styleClass="entityDataText"/>
<h:outputLabel for="upperLimit" value="Upper Limit" styleClass="entityDatadLabel"/>
<h:inputText id="upperLimit" value="#{policyPropertyObject.upperLimit}" title="Upper Limit" styleClass="entityDataText"/>
<h:outputLabel for="description" value="Description" styleClass="entityDataLabel"/>
<h:inputText id="description" value="#{policyPropertyObject.description}" title="Description" styleClass="entityDataText"/>
</p:panelGrid>
</ui:composition>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
<div class="actionButton">
<p:commandButton id="policyPropertyViewResetFiltersButton" action="#{policyTypeController.prepareView()}" actionListener="#{policyPropertyController.policyPropertyInfoTable.resetList()}" alt="Clear Filters" icon="ui-icon-refresh" styleClass="actionButtonRight">
<p:tooltip for="policyPropertyViewResetFiltersButton" value="Reset list filters."/>
</p:commandButton>
<p:commandButton id="policyPropertyNoOp" style="visibility:hidden" value="NoOp"/>
<p:defaultCommand target="policyPropertyNoOp"/>
</div>
<p:dataTable id="policyPropertyListViewDataTable"
var="policyPropertyViewObject"
value="#{policyPropertyController.policyPropertyInfoTable.listDataModel}"
filteredValue="#{policyPropertyController.policyPropertyInfoTable.filteredObjectList}"
paginator="true"
paginatorAlwaysVisible="false"
rows="#{policyPropertyController.rows}"
binding="#{policyPropertyController.policyPropertyInfoTable.listDataTable}"
widgetVar="policyPropertyViewListWidget"
emptyMessage="No policy properties found." >
<p:column sortBy="#{policyPropertyViewObject.id}" headerText="Id" >
<h:outputText value="#{policyPropertyViewObject.id}"/>
</p:column>
<p:column sortBy="#{policyPropertyViewObject.name}" headerText="Property Name"
filterBy="#{policyPropertyViewObject.name}" filterMatchMode="contains" >
<h:outputText value="#{policyPropertyViewObject.name}"/>
</p:column>
<p:column sortBy="#{policyPropertyViewObject.defaultValue}" headerText="Default Value"
filterBy="#{policyPropertyViewObject.defaultValue}" filterMatchMode="contains" >
<h:outputText value="#{policyPropertyViewObject.defaultValue}"/>
</p:column>
<p:column sortBy="#{policyPropertyViewObject.units}" headerText="Units"
filterBy="#{policyPropertyViewObject.units}" filterMatchMode="contains" >
<h:outputText value="#{policyPropertyViewObject.units}"/>
</p:column>
<p:column sortBy="#{policyPropertyViewObject.lowerLimit}" headerText="Lower Limit"
filterBy="#{policyPropertyViewObject.lowerLimit}" filterMatchMode="contains" >
<h:outputText value="#{policyPropertyViewObject.lowerLimit}"/>
</p:column>
<p:column sortBy="#{policyPropertyViewObject.upperLimit}" headerText="Upper Limit"
filterBy="#{policyPropertyViewObject.upperLimit}" filterMatchMode="contains" >
<h:outputText value="#{policyPropertyViewObject.upperLimit}"/>
</p:column>
<p:column sortBy="#{policyPropertyViewObject.description}" headerText="Description"
filterBy="#{policyPropertyViewObject.description}" filterMatchMode="contains">
<h:outputText value="#{policyPropertyViewObject.description}"/>
</p:column>
<p:column headerText="Actions" >
<div class="actionLink">
<p:commandLink action="#{policyPropertyController.prepareView(policyPropertyViewObject)}" actionListener="#{allowedPolicyValueController.setPolicyProperty(policyPropertyViewObject)}" styleClass="ui-icon ui-icon-info" title="View"/>
<p:commandLink action="#{policyPropertyController.prepareEdit(policyPropertyViewObject)}" actionListener="#{allowedPolicyValueController.setPolicyProperty(policyPropertyViewObject)}" rendered="#{loginController.admin}" styleClass="ui-icon ui-icon-pencil" title="Edit"/>
</div>
</p:column>
</p:dataTable>
</ui:composition>
<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
<div class="actionButton">
<p:commandButton id="policyPropertyAddButton" action="#{policyPropertyController.prepareCreate()}" rendered="#{loginController.admin}" value="Add" alt="Add new Policy Property" icon="ui-icon-plus" update="@form">
<p:tooltip for="policyPropertyAddButton" value="Create new Policy Property."/>
</p:commandButton>
<p:commandButton id="policyPropertyResetFiltersButton" action="#{policyTypeController.prepareEdit(policyTypeController.current)}" actionListener="#{policyPropertyController.resetList()}" alt="Clear Filters" icon="ui-icon-refresh" styleClass="actionButtonRight">
<p:tooltip for="policyPropertyResetFiltersButton" value="Reset list filters."/>
</p:commandButton>
<p:commandButton id="policyPropertyNoOp" style="visibility:hidden" value="NoOp"/>
<p:defaultCommand target="policyPropertyNoOp"/>
</div>
<p:dataTable id="policyPropertyListDataTable"
var="policyPropertyObject"
value="#{policyPropertyController.listDataModel}"
filteredValue="#{policyPropertyController.filteredObjectList}"
paginator="true"
paginatorAlwaysVisible="false"
rows="#{policyPropertyController.rows}"
binding="#{policyPropertyController.listDataTable}"
widgetVar="policyPropertyListWidget"
emptyMessage="No policy properties found." >
<p:column sortBy="#{policyPropertyObject.id}" headerText="Id" >
<h:outputText value="#{policyPropertyObject.id}"/>
</p:column>
<p:column sortBy="#{policyPropertyObject.name}" headerText="Property Name"
filterBy="#{policyPropertyObject.name}" filterMatchMode="contains" >
<h:outputText value="#{policyPropertyObject.name}"/>
</p:column>
<p:column sortBy="#{policyPropertyObject.defaultValue}" headerText="Default Value"
filterBy="#{policyPropertyObject.defaultValue}" filterMatchMode="contains" >
<h:outputText value="#{policyPropertyObject.defaultValue}"/>
</p:column>
<p:column sortBy="#{policyPropertyObject.units}" headerText="Units"
filterBy="#{policyPropertyObject.units}" filterMatchMode="contains" >
<h:outputText value="#{policyPropertyObject.units}"/>
</p:column>
<p:column sortBy="#{policyPropertyObject.lowerLimit}" headerText="Lower Limit"
filterBy="#{policyPropertyObject.lowerLimit}" filterMatchMode="contains" >
<h:outputText value="#{policyPropertyObject.lowerLimit}"/>
</p:column>
<p:column sortBy="#{policyPropertyObject.upperLimit}" headerText="Upper Limit"
filterBy="#{policyPropertyObject.upperLimit}" filterMatchMode="contains" >
<h:outputText value="#{policyPropertyObject.upperLimit}"/>
</p:column>
<p:column sortBy="#{policyPropertyObject.description}" headerText="Description"
filterBy="#{policyPropertyObject.description}" filterMatchMode="contains">
<h:outputText value="#{policyPropertyObject.description}"/>
</p:column>
<p:column headerText="Actions" >
<div class="actionLink">
<p:commandLink action="#{policyPropertyController.prepareView(policyPropertyObject)}" actionListener="#{allowedPolicyValueController.setPolicyProperty(policyPropertyObject)}" styleClass="ui-icon ui-icon-info" title="View"/>
<p:commandLink action="#{policyPropertyController.prepareEdit(policyPropertyObject)}" actionListener="#{allowedPolicyValueController.setPolicyProperty(policyPropertyObject)}" rendered="#{loginController.admin}" styleClass="ui-icon ui-icon-pencil" title="Edit"/>
<p:commandLink oncomplete="PF('policyPropertyDestroyDialogWidget').show()" rendered="#{loginController.admin}" styleClass="ui-icon ui-icon-trash" title="Delete" update="@form">
<f:setPropertyActionListener value="#{policyPropertyObject}" target="#{policyPropertyController.current}"/>
</p:commandLink>
</div>
</p:column>
</p:dataTable>
<ui:include src="policyPropertyDestroyDialog.xhtml"/>
</ui:composition>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:param name="policyPropertyObject" value="#{policyPropertyController.current}"/>
<p:panelGrid columns="2" styleClass="editEntityDetails">
<h:outputLabel for="name" value="Name" styleClass="entityDataEmphasizedLabel"/>
<h:outputText id="name" value="#{policyPropertyObject.name}" title="Name" styleClass="entityDataEmphasizedText"/>
<h:outputLabel for="units" value="Units" styleClass="entityDataLabel"/>
<h:outputText id="units" value="#{policyPropertyObject.units}" title="Units" styleClass="entityDataText"/>
<h:outputLabel for="defaultValue" value="Default Value" styleClass="entityDataLabel"/>
<h:outputText id="defaultValue" value="#{policyPropertyObject.defaultValue}" title="Default Value" styleClass="entityDataText"/>
<h:outputLabel for="lowerLimit" value="Lower Limit" styleClass="entityDataLabel"/>
<h:outputText id="lowerLimit" value="#{policyPropertyObject.lowerLimit}" title="Lower Limit" styleClass="entityDataText"/>
<h:outputLabel for="upperLimit" value="Upper Limit" styleClass="entityDataLabel"/>
<h:outputText id="upperLimit" value="#{policyPropertyObject.upperLimit}" title="Upper Limit" styleClass="entityDataText"/>
<h:outputLabel for="description" value="Description" styleClass="entityDataLabel"/>
<h:outputText id="description" value="#{policyPropertyObject.description}" title="Description" styleClass="entityDataText"/>
</p:panelGrid>
</ui:composition>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
<title>Policy Property View</title>
<h:outputScript library="js/common" name="forwardNotLoggedin.js" rendered="#{!loginController.loggedIn}"/>
<h:outputScript library="js/common" name="noBack.js" rendered="#{policyPropertyController.notSelected()}" />
<ui:composition template="../../templates/dmViewTemplate.xhtml">
<ui:define name="middleCenter">
<h:form id="viewPolicyPropertyForm">
<div class="middleCenterLeftContent">
<div class="pageTitle">
<h1>Policy Type: #{policyTypeController.current.name} <br/>
Policy Property: #{policyPropertyController.current.name}</h1>
</div>
<ui:param name="policyPropertyObject" value="#{policyPropertyController.selected}"/>
<p:accordionPanel multiple="true" activeIndex="0,1" >
<p:tab title="Policy Property Description">
<div class="middleCenterLeftContent">
<ui:include src="private/policyPropertyViewPanelGrid.xhtml"/>
</div>
</p:tab>
<p:tab title="Allowed Policy Values">
<ui:include src="/views/allowedPolicyValue/private/allowedPolicyValueListDataTable.xhtml"/>
</p:tab>
</p:accordionPanel>
<p/>
<div class="actionButton">
<p:commandButton action="#{policyPropertyController.prepareEdit(policyPropertyObject)}" rendered="#{loginController.admin}" value="Edit" alt="Edit" icon="ui-icon-pencil"/>
<p:commandButton action="#{policyPropertyController.prepareList()}" value="Return" alt="Return" icon="ui-icon-arrowreturnthick-1-w"/>
</div>
</div>
</h:form>
</ui:define>
</ui:composition>
</ui:composition>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
<title>Policy Type Edit</title>
<h:outputScript library="js/common" name="forwardNotLoggedin.js" rendered="#{!loginController.loggedIn}"/>
<h:outputScript library="js/common" name="noBack.js" rendered="#{policyTypeController.notSelected()}" />
<h:outputScript library="js/common" name="forwardNotAuthorized.js" rendered="#{!loginController.admin}"/>
<ui:composition template="../../templates/dmViewTemplate.xhtml">
<ui:define name="middleCenter">
<h:form id="editPolicyTypeForm">
<div class="middleCenterLeftContent">
<div class="pageTitle">
<h1>Edit #{policyTypeController.current.name} Policy Type</h1>
</div>
<ui:param name="policyTypeObject" value="#{policyTypeController.selected}"/>
<p:accordionPanel multiple="true" activeIndex="0,1" >
<p:tab title="Policy Type Description">
<div class="middleCenterLeftContent">
<ui:include src="private/policyTypeEditPanelGrid.xhtml"/>
</div>
</p:tab>
<p:tab title="Properties">
<ui:include src="/views/policyProperty/private/policyPropertyListEditDataTable.xhtml"/>
</p:tab>
</p:accordionPanel>
<p/>
<div class="actionButton">
<p:commandButton action="#{policyTypeController.update()}" actionListener="#{policyPropertyController.clear()}" value="Save" alt="Save" icon="ui-icon-check" update="@form"/>
<p:commandButton action="#{policyTypeController.prepareList()}" immediate="true" value="Return" alt="Return" icon="ui-icon-arrowreturnthick-1-w"/>
</div>
</div>
</h:form>
</ui:define>
</ui:composition>
</ui:composition>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
<title>Policy Types List</title>
<h:outputScript library="js/common" name="forwardNotLoggedin.js" rendered="#{!loginController.loggedIn}"/>
<ui:composition template="../../templates/dmViewTemplate.xhtml">
<ui:define name="middleCenter">
<div class="pageTitle">
<h1>Policy Types</h1>
</div>
<h:form id="viewEntityTypeListForm">
<ui:param name="entityController" value="#{policyTypeController}"/>
<div class="actionButton">
<p:commandButton id="#{entityTypeName}ResetFiltersButton" action="#{entityController.resetList()}" alt="Clear Filters" icon="ui-icon-refresh" styleClass="actionButtonRight">
<p:tooltip for="#{entityTypeName}ResetFiltersButton" value="Reset list filters."/>
</p:commandButton>
<p:commandButton id="#{entityTypeName}NoOp" style="visibility:hidden" value="NoOp"/>
<p:defaultCommand target="#{entityTypeName}NoOp"/>
</div>
<h:panelGroup>
<ui:include src="private/policyTypeListDataTable.xhtml"/>
</h:panelGroup>
</h:form>
</ui:define>
</ui:composition>
</ui:composition>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:param name="policyTypeObject" value="#{policyTypeController.current}"/>
<p:panelGrid columns="2" styleClass="editEntityDetails">
<h:outputLabel for="name" value="Name" styleClass="entityDataEmphasizedLabel"/>
<h:outputText id="name" value="#{policyTypeObject.name}" title="Name" styleClass="entityDataEmphasizedText"/>
<h:outputLabel for="description" value="Description" styleClass="entityDataLabel"/>
<h:inputText id="description" value="#{policyTypeObject.description}" title="Description" styleClass="entityDataText"/>
</p:panelGrid>
</ui:composition>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
<p:dataTable id="policyTypeListDataTable"
var="policyTypeObject"
value="#{policyTypeController.listDataModel}"
filteredValue="#{policyTypeController.filteredObjectList}"
paginator="true"
paginatorAlwaysVisible="false"
rows="25"
binding="#{policyTypeController.listDataTable}"
widgetVar="policyTypeListWidget"
emptyMessage="No role types found." >
<p:column sortBy="#{policyTypeObject.id}" headerText="Id" >
<h:outputText value="#{policyTypeObject.id}"/>
</p:column>
<p:column sortBy="#{policyTypeObject.name}" headerText="Policy Type"
filterBy="#{policyTypeObject.name}" filterMatchMode="contains" >
<h:outputText value="#{policyTypeObject.name}"/>
</p:column>
<p:column sortBy="#{policyTypeObject.description}" headerText="Description"
filterBy="#{policyTypeObject.description}" filterMatchMode="contains">
<h:outputText value="#{policyTypeObject.description}"/>
</p:column>
<p:column headerText="Actions" >
<div class="actionLink">
<p:commandLink action="#{policyTypeController.prepareView(policyTypeObject)}" actionListener="#{policyPropertyController.setPolicyType(policyTypeObject)}" styleClass="ui-icon ui-icon-info" title="View"/>
<p:commandLink action="#{policyTypeController.prepareEdit(policyTypeObject)}" actionListener="#{policyPropertyController.setPolicyType(policyTypeObject)}" rendered="#{loginController.admin}" styleClass="ui-icon ui-icon-pencil" title="Edit"/>
</div>
</p:column>
</p:dataTable>
</ui:composition>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<ui:param name="policyTypeObject" value="#{policyTypeController.current}"/>
<p:panelGrid columns="2" styleClass="viewEntityDetails">
<h:outputLabel for="name" value="Name" styleClass="entityDataEmphasizedLabel"/>
<h:outputText id="name" value="#{policyTypeObject.name}" title="Name" styleClass="entityDataEmphasizedText"/>
<h:outputLabel for="description" value="Description" styleClass="entityDataLabel"/>
<h:outputText id="description" value="#{policyTypeObject.description}" title="Description" styleClass="entityDataText"/>
</p:panelGrid>
</ui:composition>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
<title>Policy Type View</title>
<h:outputScript library="js/common" name="forwardNotLoggedin.js" rendered="#{!loginController.loggedIn}"/>
<h:outputScript library="js/common" name="noBack.js" rendered="#{policyTypeController.notSelected()}" />
<ui:composition template="../../templates/dmViewTemplate.xhtml">
<ui:define name="middleCenter">
<h:form id="viewPolicyTypeForm">
<div class="middleCenterLeftContent">
<div class="pageTitle">
<h1>Policy Type: #{policyTypeController.current.name}</h1>
</div>
<ui:param name="policyTypeObject" value="#{policyTypeController.selected}"/>
<p:accordionPanel multiple="true" activeIndex="0,1" >
<p:tab title="Policy Type Description">
<div class="middleCenterLeftContent">
<ui:include src="private/policyTypeViewPanelGrid.xhtml"/>
</div>
</p:tab>
<p:tab title="Properties">
<ui:include src="../policyProperty/private/policyPropertyListDataTable.xhtml"/>
</p:tab>
</p:accordionPanel>
<p/>
<div class="actionButton">
<p:commandButton action="#{policyTypeController.prepareEdit(policyTypeObject)}" rendered="#{loginController.admin}" value="Edit" alt="Edit" icon="ui-icon-pencil"/>
<p:commandButton action="#{policyTypeController.prepareList()}" value="Return" alt="Return" icon="ui-icon-arrowreturnthick-1-w"/>
</div>
</div>
</h:form>
</ui:define>
</ui:composition>
</ui:composition>