0 Replies Latest reply on Nov 10, 2011 3:11 AM by heyw

    a4j:region renderRegionOnly behavior

    heyw

      Hello,

       

      i used  region with the renderRegionOnly attribute of Richfaces 3.3.3. If an ajax request insisde the region is submited, the outputPanel with the facesMessages shoud in this case excluded from  the renderer response.

       

      I  expect that the facesMessages not be in the rerender response, but the panel with the messages is rerendered after an ajax request.

       

      How can i exclude the outputpanel from the rerender response, without removing the ajaxRendered flag?

       

      Thanks, Heinz.

       

      <a:outputPanel ajaxRendered="true">
              <h:messages id="facesMessages" globalOnly="true" layout="table" infoClass="info" warnClass="warn" errorClass="error" styleClass="message" showSummary="true" showDetail="false"/>
      </a:outputPanel>
      
      <a:region  renderRegionOnly="true">
      
           <a:form>
      
                <a:poll enabled="true" ajaxSingle="true"  action="#{srvice.refresh}" interval="10000" reRender="status"></a:poll>
      
                <a:jsFunction name="load" ajaxSingle="true"  action="#{service.refresh}" reRender="status" />
      
           </a:form>
      
                         
           <a:status id="status">
                <f:facet name="start">
                     <h:graphicImage  value="/common/img/spinner.gif"/>
                  </f:facet>
                
                <f:facet name="stop">
                     <s:graphicImage value="#{service.image}" />          </f:facet>
           </a:status>
      
      </a:region>