--- /dev/null
+<?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"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+ <ui:composition template="/template.xhtml">
+ <ui:define name="title">
+ <h:outputText value="#{bundle.ListNodeTitle}"></h:outputText>
+ </ui:define>
+ <ui:define name="body">
+ <h:form styleClass="jsfcrud_list_form">
+ <h:panelGroup id="messagePanel" layout="block">
+ <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
+ </h:panelGroup>
+ <h:outputText escape="false" value="#{bundle.ListNodeEmpty}" rendered="#{nodeController.items.rowCount == 0}"/>
+ <h:panelGroup rendered="#{nodeController.items.rowCount > 0}">
+ <h:outputText value="#{nodeController.pagination.pageFirstItem + 1}..#{nodeController.pagination.pageLastItem + 1}/#{nodeController.pagination.itemsCount}"/>
+ <h:commandLink action="#{nodeController.previous}" value="#{bundle.Previous} #{nodeController.pagination.pageSize}" rendered="#{nodeController.pagination.hasPreviousPage}"/>
+ <h:commandLink action="#{nodeController.next}" value="#{bundle.Next} #{nodeController.pagination.pageSize}" rendered="#{nodeController.pagination.hasNextPage}"/>
+ <h:dataTable value="#{nodeController.items}" var="item" border="0" cellpadding="2" cellspacing="0" rowClasses="jsfcrud_odd_row,jsfcrud_even_row" rules="all" style="border:solid 1px">
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="#{bundle.ListNodeTitle_id}"/>
+ </f:facet>
+ <h:outputText value="#{item.id}"/>
+ </h:column>
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="#{bundle.ListNodeTitle_name}"/>
+ </f:facet>
+ <h:outputText value="#{item.name}"/>
+ </h:column>
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="#{bundle.ListNodeTitle_nodeType}"/>
+ </f:facet>
+ <h:outputText value="#{item.nodeType}"/>
+ </h:column>
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="#{bundle.ListNodeTitle_time}"/>
+ </f:facet>
+ <h:outputText value="#{item.time}"/>
+ </h:column>
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="#{bundle.ListNodeTitle_cost}"/>
+ </f:facet>
+ <h:outputText value="#{item.cost}"/>
+ </h:column>
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="#{bundle.ListNodeTitle_bayesianNetwork}"/>
+ </f:facet>
+ <h:outputText value="#{item.bayesianNetwork}"/>
+ </h:column>
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value=" "/>
+ </f:facet>
+ <h:commandLink action="#{nodeController.prepareView}" value="#{bundle.ListNodeViewLink}"/>
+ <h:outputText value=" "/>
+ <h:commandLink action="#{nodeController.prepareEdit}" value="#{bundle.ListNodeEditLink}"/>
+ <h:outputText value=" "/>
+ <h:commandLink action="#{nodeController.destroy}" value="#{bundle.ListNodeDestroyLink}"/>
+ </h:column>
+ </h:dataTable>
+ </h:panelGroup>
+ <br />
+ <h:commandLink action="#{nodeController.prepareCreate}" value="#{bundle.ListNodeCreateLink}"/>
+ <br />
+ <br />
+ <h:commandLink value="#{bundle.ListNodeIndexLink}" action="/index" immediate="true" />
+ </h:form>
+ </ui:define>
+ </ui:composition>
+
+</html>