4 Replies Latest reply on Jan 9, 2013 3:53 AM by Hasan Tahan

    rich:collapsiblePanel styling problem at first rendering

    Abdulkerim İnanmış Novice

      Hi,

      At first, render It has ot any style information,. how can I fix this problem. can you help please,

      My code is below.

       

      <h:panelGrid columns="1">

                        <h:panelGroup id="kriter" >

                             <rich:collapsiblePanel  header="Fatura Paketi Sorgulama"  switchType="ajax">

                                     <h:panelGrid columns="2">

                                       <h:outputText value="Paket No" />

                                       <h:inputText value = "#{faturaPaketiSorgulamaBean.paketSorgulamaTalep.paketNo}" >

                                           <f:converter converterId="nullConverter" />

                                       </h:inputText>

                                      <a4j:commandButton  execute="kriter" render="sonuc" value="Listele" action ="#{faturaPaketiSorgulamaBean.listele}" />

       

                                  </h:panelGrid>

                                 </rich:collapsiblePanel>   

                           </h:panelGroup>   

                           <h:panelGroup  id="sonuc">

                              <h:dataTable  rendered="#{not empty faturaPaketiSorgulamaBean.paketProvizyonListModel}" value = "#{faturaPaketiSorgulamaBean.paketProvizyonListModel}" var = "provizyon"

                                               border="1" cellspacing="3" rowClasses="odd-row, even-row"

                                               styleClass="teminatTablosu" headerClass="teminatTablosuHeader" footerClass="teminatTablosuFooter">

                                  <f:facet name="header">

                                      <h:outputText value="Fatura Paketleri"></h:outputText>

                                  </f:facet>

                                  <h:column>

                                      <f:facet name="header">Oluşturulma Tarihi</f:facet>

                                      <h:outputText value="#{provizyon.olusturulmaTarihi}"></h:outputText>

                                  </h:column>

                                  <h:column>

                                      <f:facet name="header">Paket No</f:facet>

                                      <h:outputText value="#{provizyon.paketNo}"></h:outputText>

                                  </h:column>

                                   <h:column>

                                      <f:facet name="header">Talep Edilen Tutar</f:facet>

                                      <h:outputText value=" "></h:outputText>

                                  </h:column>

                                   <h:column>

                                      <f:facet name="header">Hasta Payı</f:facet>

                                      <h:outputText value=" "></h:outputText>

                                  </h:column>

                                   <h:column>

                                      <f:facet name="header">Geri Ödeme Kurumu Payı</f:facet>

                                      <h:outputText value=" "></h:outputText>

                                  </h:column>

                                   <h:column>

                                      <f:facet name="header">Paket Durumu</f:facet>

                                      <h:outputText value=" "></h:outputText>

                                  </h:column>

                                   <h:column>

                                      <h:commandButton value="seç" action="#{faturaPaketiSorgulamaBean.detay}" />

                                  </h:column>

                            </h:dataTable>

                          </h:panelGroup>

                      </h:panelGrid>