Skip to content
Snippets Groups Projects
experimentViewPanelGrid.xhtml 2.07 KiB
Newer Older
Barbara B. Frosik's avatar
Barbara B. Frosik committed
<?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"
                xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
                xmlns:f="http://xmlns.jcp.org/jsf/core">

    <c:set var="experimentObject" value="#{experimentController.selected}"/>

    <p:panelGrid columns="2" styleClass="viewEntityDetails">

        <h:outputLabel for="name" value="Name" styleClass="entityDataEmphasizedLabel"/>
        <h:outputText id="name" value="#{experimentObject.name}" title="Name" styleClass="entityDataEmphasizedText"/>

        <h:outputLabel for="id" value="Id" styleClass="entityDataLabel"/>
        <h:outputText id="id" value="#{experimentObject.id}" title="Id" styleClass="entityDataText"/>

        <h:outputLabel for="experimentType" value="Type" styleClass="entityDataLabel"/>
        <h:outputText id="experimentType" value="#{experimentObject.experimentType.name}" title="Name" styleClass="entityDataText"/>

        <h:outputLabel for="description" value="Description" styleClass="entityDataLabel"/>
        <h:outputText id="description" value="#{experimentObject.description}" title="Description" styleClass="entityDataText"/>
 
        <h:outputLabel for="startDate" value="Start Date" styleClass="entityDataLabel"/>
        <h:outputText  id="startDate" value="#{experimentObject.startDate}" styleClass="entityDataText">
            <f:convertDateTime pattern="#{resources.DatePattern}" type="date" />
        </h:outputText>

        
        <h:outputLabel for="endDate" value="End Date" styleClass="entityDataLabel"/>
        <h:outputText  id="endDate" value="#{experimentObject.endDate}" styleClass="entityDataText">
            <f:convertDateTime pattern="#{resources.DatePattern}" type="date" />
        </h:outputText>
       
    </p:panelGrid>

</ui:composition>