1 Reply Latest reply on Nov 21, 2007 7:56 AM by Ilya Shaikovsky

    Latest version of a4j:status hit duplicate Id error

    John Smith Newbie

      My status codes are as below

      <a4j:status for="#{ajaxContainer}" rendered="#{not empty ajaxContainer}">
       <f:facet name="start">
       <h:outputText value="#{text['msg.ajax.status']}" styleClass="ajaxStatusPos ajaxStatusFont" />
       </f:facet>
       </a4j:status>
       <a4j:status layout="block" rendered="#{empty ajaxContainer}">
       <f:facet name="start">
       <h:outputText value="#{text['msg.ajax.status']}" styleClass="ajaxStatusPos ajaxStatusFont" />
       </f:facet>
       </a4j:status>
      


      Previously, when I'm using a4j ver 1.1.0. this piece of code worked fine. But after I've updated to current version under richfaces, it gaves me duplicated ids.

      I'd noticed that the new version, does not take the form id anymore and instead it uses '_viewroot' to replace the form id.

      Why is this?