primefaces p:selectOneMenu没有显示正确

时间:2018-01-24 16:29:53

标签: jsf primefaces

我使用primefaces。我有以下p:selectOneMenu

<h:form id="frmFiltros" styleClass="form-filtros">
            <p:panelGrid columns="5" style="margin:auto;">
                <h:outputLabel for="txtHoraRef" value="A partir de:" />
                <p:spinner id="txtHoraRef" value="#{servComp.horaReferencia}" min="0" max="23" size="4"/>
                <h:outputLabel for="cbIntervalo" value="Rango de horas:" />
                <p:selectOneMenu id="cbIntervalo" value="#{servComp.intervalo}">
                    <f:selectItems value="#{servComp.intervalos}" />
                </p:selectOneMenu>
                <p:commandButton value="Listado" action="#{servComp.doListado}" update=":pnlDiagrama" oncomplete="configTabla();"/>
            </p:panelGrid>
        </h:form>

当我执行屏幕时,它无法正确显示。屏幕是:

enter image description here

风格是否存在问题?

0 个答案:

没有答案