| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 | <html xmlns="http://www.w3.org/1999/xhtml" |
| 4 | xmlns:ui="http://java.sun.com/jsf/facelets" |
| 5 | xmlns:h="http://java.sun.com/jsf/html" |
| 6 | xmlns:f="http://java.sun.com/jsf/core"> |
| 7 | |
| 8 | <ui:composition template="/template.xhtml"> |
| 9 | <ui:define name="title"> |
| 10 | <h:outputText value="#{bundle.EditBayesianNetworkTitle}"></h:outputText> |
| 11 | </ui:define> |
| 12 | <ui:define name="body"> |
| 13 | <h:panelGroup id="messagePanel" layout="block"> |
| 14 | <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/> |
| 15 | </h:panelGroup> |
| 16 | <h:form> |
| 17 | <h:panelGrid columns="2"> |
| 18 | <h:outputLabel value="#{bundle.EditBayesianNetworkLabel_id}" for="id" /> |
| 19 | <h:inputText id="id" value="#{bayesianNetworkController.selected.id}" title="#{bundle.EditBayesianNetworkTitle_id}" /> |
| 20 | <h:outputLabel value="#{bundle.EditBayesianNetworkLabel_name}" for="name" /> |
| 21 | <h:inputText id="name" value="#{bayesianNetworkController.selected.name}" title="#{bundle.EditBayesianNetworkTitle_name}" /> |
| 22 | </h:panelGrid> |
| 23 | <h:commandLink action="#{bayesianNetworkController.update}" value="#{bundle.EditBayesianNetworkSaveLink}"/> |
| 24 | <br /> |
| 25 | <br /> |
| 26 | <h:commandLink action="View" value="#{bundle.EditBayesianNetworkViewLink}" immediate="true"/> |
| 27 | <br /> |
| 28 | <h:commandLink action="#{bayesianNetworkController.prepareList}" value="#{bundle.EditBayesianNetworkShowAllLink}" immediate="true"/> |
| 29 | <br /> |
| 30 | <br /> |
| 31 | <h:commandLink value="#{bundle.EditBayesianNetworkIndexLink}" action="/index" immediate="true" /> |
| 32 | </h:form> |
| 33 | </ui:define> |
| 34 | </ui:composition> |
| 35 | |
| 36 | </html> |