1 <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <ui:composition xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:s="http://jboss.com/products/seam/taglib"
5 xmlns:ui="http://java.sun.com/jsf/facelets"
6 xmlns:f="http://java.sun.com/jsf/core"
7 xmlns:h="http://java.sun.com/jsf/html"
8 xmlns:rich="http://richfaces.org/rich"
9 template="/layout/template.xhtml">
11 <ui:define name="body">
13 <h:messages globalOnly="true" styleClass="message"/>
16 <f:facet name="header">Redes Bayesianas Cadastradas</f:facet>
20 <h:outputText value="Não existem redes cadastradas" rendered="#{empty arquivoRedeList.resultList}"/>
22 <rich:dataTable id="arquivoRedeList"
24 value="#{arquivoRedeList.resultList}"
25 rendered="#{not empty arquivoRedeList.resultList}">
27 <f:facet name="header">Arquivo</f:facet>
28 <s:link value="#{arquivoRede.nome}" view="/seguro/admin/rede/ArquivoRede.xhtml">
29 <f:param name="arquivoRedeId" value="${arquivoRede.id}" />
33 <f:facet name="header">Tipo</f:facet>
34 #{arquivoRede.contentType}
37 <f:facet name="header">Tamanho (bytes)</f:facet>
38 #{arquivoRede.tamanho}
41 <f:facet name="header">Ações</f:facet>
42 <s:link value="Download" action="#{downloadArquivoRede.download}">
43 <f:param name="arquivoRedeId" value="${arquivoRede.id}" />
46 <s:link value="Delete" action="#{arquivoRedeHome.remove}">
47 <f:param name="arquivoRedeId" value="${arquivoRede.id}" />
50 <s:link value="Perguntas e Respostas" view="/seguro/admin/rede/PerguntaEdit.xhtml">
51 <f:param name="arquivoRedeId" value="${arquivoRede.id}" />
60 <div class="actionButtons">
62 value="Upload de Rede Bayesiana"
63 view="/seguro/admin/rede/ArquivoRede.xhtml"/>