0 Replies Latest reply on May 26, 2011 12:27 PM by paddy3k

    Problems with a4j:status / richpanel

    paddy3k

      hi there

       

      I have a content area on my xhtml page which contains a richpanel und some input elements.

      a shortened version:

       

      <ui:composition template="/pages/templates/interviewTemplate.xhtml">
            <ui:define name="content">
               <h:form id="contentForm">
                  <rich:panel header="test" style="width:100%; height:100%">
                     <h:panelGrid columns="3">

                          <a4j:commandButton value="laden" action="#{datasource.doSomething}" render="table"/>

                     </h:panelGrid>
                  </rich:panel>
               </h:form>
            </ui:define>
         </ui:composition>

       

      what i want to archieve is the following :

      the richpanel should be disabled and a busy indicator image is shown.

      What i've got working so far is the following :

       

      <a4j:status id="busyStatus">
         <f:facet name="start">
            <h:graphicImage library="images" name="ajax-wait.gif" alt="Please Wait..." />
            <h:outputText value="Please Wait..." />
         </f:facet>
      </a4j:status>

       

      inserted after the </h:form> it shows the busy indicator right beneath the commandButton. But i want

      the richPanel holding all input elements to be disabled and the busy indicator shown centered.

       

      many thanks in advance

       

      kindest regards,

      paddy