--- /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.CreateNodeTitle}"></h:outputText>
+ </ui:define>
+ <ui:define name="body">
+ <h:panelGroup id="messagePanel" layout="block">
+ <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
+ </h:panelGroup>
+ <h:form>
+ <h:panelGrid columns="2">
+ <h:outputLabel value="#{bundle.CreateNodeLabel_id}" for="id" />
+ <h:inputText id="id" value="#{nodeController.selected.id}" title="#{bundle.CreateNodeTitle_id}" />
+ <h:outputLabel value="#{bundle.CreateNodeLabel_name}" for="name" />
+ <h:inputText id="name" value="#{nodeController.selected.name}" title="#{bundle.CreateNodeTitle_name}" />
+ <h:outputLabel value="#{bundle.CreateNodeLabel_nodeType}" for="nodeType" />
+ <h:inputText id="nodeType" value="#{nodeController.selected.nodeType}" title="#{bundle.CreateNodeTitle_nodeType}" />
+ <h:outputLabel value="#{bundle.CreateNodeLabel_time}" for="time" />
+ <h:inputText id="time" value="#{nodeController.selected.time}" title="#{bundle.CreateNodeTitle_time}" />
+ <h:outputLabel value="#{bundle.CreateNodeLabel_cost}" for="cost" />
+ <h:inputText id="cost" value="#{nodeController.selected.cost}" title="#{bundle.CreateNodeTitle_cost}" />
+ <h:outputLabel value="#{bundle.CreateNodeLabel_bayesianNetwork}" for="bayesianNetwork" />
+ <h:selectOneMenu id="bayesianNetwork" value="#{nodeController.selected.bayesianNetwork}" title="#{bundle.CreateNodeTitle_bayesianNetwork}" >
+ <f:selectItems value="#{bayesianNetworkController.itemsAvailableSelectOne}"/>
+ </h:selectOneMenu>
+ </h:panelGrid>
+ <br />
+ <h:commandLink action="#{nodeController.create}" value="#{bundle.CreateNodeSaveLink}" />
+ <br />
+ <br />
+ <h:commandLink action="#{nodeController.prepareList}" value="#{bundle.CreateNodeShowAllLink}" immediate="true"/>
+ <br />
+ <br />
+ <h:commandLink value="#{bundle.CreateNodeIndexLink}" action="/index" immediate="true" />
+ </h:form>
+ </ui:define>
+ </ui:composition>
+
+</html>