Skip to content
Snippets Groups Projects
Commit e2b50bad authored by Barbara B. Frosik's avatar Barbara B. Frosik
Browse files

abc

parent 96a710e5
No related branches found
No related tags found
No related merge requests found
<?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/>
<p:dataTable id="experimentPoliciesEditDataTable"
var="policyTypeObject"
value="#{experimentController.experimentPoliciesTypeTable.listDataModel}"
filteredValue="#{experimentController.experimentPoliciesTypeTable.filteredObjectList}"
paginator="true"
paginatorAlwaysVisible="false"
rows="25"
binding="#{experimentController.experimentPoliciesTypeTable.listDataTable}"
widgetVar="policyEditWidget"
emptyMessage="No policies found.">
<p:column sortBy="#{policyTypeObject.policyType}" headerText="Policy Type" >
<h:outputText value="#{policyTypeObject.policyType}"/>
</p:column>
<p:column>
<h:outputLabel for="policyValue" value="Policy Value" styleClass="entityDataLabel"/>
<p:selectOneMenu id="policyValue" value="#{policyTypeObject.policyValue}" styleClass="entityDataText">
<f:selectItem itemLabel="Select Type" itemValue="" noSelectionOption="true" />
<f:selectItems value="#{experimentController.getAllowedPolicies(policyTypeObject.policyType)}"
var="allowedPolicy"
itemValue="#{policyAValue}"
itemLabel="#{policyAValue.name}"
itemDescription="#{policyAValue.description}" />
</p:selectOneMenu>
</p:column>
<p:column sortBy="#{policyTypeObject.policyValue}" headerText="Policy Value"
filterBy="#{policyTypeObject.policyValue}" filterMatchMode="contains" >
<h:outputText value="#{policyTypeObject.policyValue}"/>
</p:column>
<!-- <p:column sortBy="#{policyTypeObject.policyType.description}" headerText="Description"
filterBy="#{policyTypeObject.policyType.description}" filterMatchMode="contains">
<h:outputText value="#{policyTypeObject.policyType.description}"/>
</p:column>-->
</p:dataTable>
</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">
<p/>
<p:dataTable id="experimentPoliciesListDataTable"
var="policyObject"
value="#{experimentController.experimentPoliciesTable.listDataModel}"
filteredValue="#{experimentController.experimentPoliciesTable.filteredObjectList}"
paginator="true"
paginatorAlwaysVisible="false"
rows="25"
binding="#{experimentController.experimentPoliciesTable.listDataTable}"
widgetVar="policyListWidget"
emptyMessage="No policies found.">
<p:column sortBy="#{policyObject.policyType.name}" headerText="Policy Type" >
<h:outputText value="#{policyObject.policyType.name}"/>
</p:column>
<p:column sortBy="#{policyObject.policyValue}" headerText="Policy Value"
filterBy="#{policyObject.policyValue}" filterMatchMode="contains" >
<h:outputText value="#{policyObject.policyValue}"/>
</p:column>
<p:column sortBy="#{policyObject.description}" headerText="Description"
filterBy="#{policyObject.description}" filterMatchMode="contains">
<h:outputText value="#{policyObject.description}"/>
</p:column>
</p:dataTable>
</ui:composition>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment