0 Replies Latest reply on Sep 12, 2007 4:19 PM by Brian Smith

    Facelets Templates and a4j:Status

    Brian Smith Apprentice

      I have been refactoring some views away from monolithic pages to take advantage of Facelets Templating. Since I have done all is working except one a4j:status component. I have checked the rendered HTML and it is there, its just not activating when an ajax submit happens.

      Here are my views


      <ui:composition xmlns="http://www.w3.org/1999/xhtml"
       <f:facet name="start">
       <ui:insert name="statusOutputArea">
       <h:graphicImage value="../img/spinner.gif"/>
       <a4j:outputPanel id="#{outputId}">
       <ui:insert name="tableArea">
       Some Result Table Here

      addressresults.xhtml uses this template and inserts a table into "tableArea"

      <ui:composition xmlns="http://www.w3.org/1999/xhtml"
       <ui:insert name="inputArea">
       Some Input Components Here
       <ui:insert name="buttonArea">
       Some Buttons Components Here
       <ui:insert name="resultArea">
       Some Results Here

      addresssearch.xhtml uses this template

      addresslookup.xhtml inserts addresssearch.xhtml into the main site template.

      everything appears to work fine except this darned status component. Red Hat Developer Studio is not showing it in its preview mode either so I am sure it is something I am doing wrong with the templating but can't figure it out.

      This is probably a Facelets issue but thought I would post it here as well.