Accordion panel appears open, but doesn't show content

て烟熏妆下的殇ゞ 提交于 2019-12-13 03:19:12

问题


I want to show the first tab, and by default (I mean, without activeIndex) it shows me that tab, but it doesn't show the content.

<p:accordionPanel id="acordeon" value="#{editarReporteExcelBean.reporteOperacionDtoList}" var="reporteOperacion" activeIndex="0" >
    <p:tab id="areaTab" >
        <f:facet name="title">Area #{reporteOperacion.area.nombre}</f:facet>
        <anglosgi:reporteOperacion id="reporteOperacion1"
                            reporteOperacionDto="#{reporteOperacion}"
                            formId="reporteForm"
                            contenedorId="reporteForm:acordeon"/>
    </p:tab>
</p:accordionPanel>

and there's the first lines of {#reporteOperacion}:

<composite:interface>
        <composite:attribute name="reporteOperacionDto" required="true" />
        <composite:attribute name="contenedorId" required="true" />
        <composite:attribute name="formId" required="true" />
    </composite:interface>

    <composite:implementation>

        <p:outputPanel id="panelGeneral" >

            <fieldset>
                <legend>Reporte 
                    <h:outputText value="#{cc.attrs.reporteOperacionDto.metaArchivoReporte.fecha}" >
                        <f:convertDateTime pattern="dd/MM/yyyy" timeZone="GMT-4" />
                    </h:outputText>
                </legend>

来源:https://stackoverflow.com/questions/13770951/accordion-panel-appears-open-but-doesnt-show-content

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!