Adicionado Adicionado Classe TipoLog
[simdecs.git] / web / bn / question / View.xhtml
... / ...
CommitLineData
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.ViewQuestionTitle}"></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:outputText value="#{bundle.ViewQuestionLabel_id}"/>
19 <h:outputText value="#{questionController.selected.id}" title="#{bundle.ViewQuestionTitle_id}"/>
20 <h:outputText value="#{bundle.ViewQuestionLabel_text}"/>
21 <h:outputText value="#{questionController.selected.text}" title="#{bundle.ViewQuestionTitle_text}"/>
22 <h:outputText value="#{bundle.ViewQuestionLabel_node}"/>
23 <h:outputText value="#{questionController.selected.node}" title="#{bundle.ViewQuestionTitle_node}"/>
24 </h:panelGrid>
25 <br />
26 <h:commandLink action="#{questionController.destroyAndView}" value="#{bundle.ViewQuestionDestroyLink}"/>
27 <br />
28 <br />
29 <h:commandLink action="Edit" value="#{bundle.ViewQuestionEditLink}"/>
30 <br />
31 <h:commandLink action="#{questionController.prepareCreate}" value="#{bundle.ViewQuestionCreateLink}" />
32 <br />
33 <h:commandLink action="#{questionController.prepareList}" value="#{bundle.ViewQuestionShowAllLink}"/>
34 <br />
35 <br />
36 <h:commandLink value="#{bundle.ViewQuestionIndexLink}" action="/index" immediate="true" />
37
38 </h:form>
39 </ui:define>
40 </ui:composition>
41
42</html>