【发布时间】:2017-01-09 18:12:44
【问题描述】:
关于 Bootfaces 1.0.1 的 b:tabView 的使用,它在展示中有效,但在我的模板中无效,当我单击选项卡时它会消失。感谢这里的一些帮助。我也在使用 Icefaces 3.3.0
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE ...>
<html ...>
<h:head>
</h:head>
<h:body>
<ui:composition template="../plantillas/principal.xhtml">
<ui:define name="content">
<b:panel id="uno" title="Pacientes" collapsible="false" look="primary"
rendered="#{!pacientes.formulario.mostrar}">
<b:panel id="diez" title="Términos de Búsqueda" collapsible="false" look="primary" class="fuenterabs">
<b:panelGrid colSpans="6,6" size="md">
<b:row>
<b:label text="Grupo sanguineo:" class="fuenterabs" col-md="12" span="4" />
<ice:selectOneMenu class="form-control bf-no-message has-success" value="#{pacientes.tiposangreb}" partialSubmit="true" >
<f:selectItems value="#{tablaDeCodigos.comboTipoSangre}" />
</ice:selectOneMenu>
</b:row>
</b:panelGrid>
</b:panel>
<ace:menuBar autoSubmenuDisplay="true" >
<ace:menuItem class="btn btn-primary fa fa-file-o bicep" value="Nuevo" action="#{pacientes.nuevo()}"/>
<ace:menuItem class="btn btn-info fa fa-search bicep" value="Buscar" action="#{pacientes.buscar()}"/>
</ace:menuBar>
<ace:messages />
</b:panel>
<b:panel id="tres" title="Centro" collapsible="false" >
<b:tabView pills="true" contentStyle="border: 1px solid #ddd;padding:10px">
<b:tab title="JSF markup">
</b:tab>
<b:tab title="second tab">
Put some text here.
</b:tab>
</b:tabView>
</b:panel>
</ui:define>
</ui:composition>
</h:body>
</html>
【问题讨论】:
-
我不是对这个问题投反对票的人,但目前还不清楚这个问题在问什么。如果您重新提出问题,您可能会得到更好的反馈。
-
@BrandonMinnick 谢谢!我相信这种反馈可以帮助人们学习如何提出更好的问题。
标签: jsf tabview bootsfaces