6 Replies Latest reply on Feb 24, 2010 3:17 AM by Ilya Shaikovsky

    rich:messages + level + ajaxRendered + reRender (bug?)

    Israel Fonseca Apprentice

      Hi, i'm using a rich:messages with ajaxRendered="false" and the level attribute, but my reRender do not render the rich:messages that do have a level attribute on it. My test-case:

       

      --- xhtml

       

              <a4j:form>
                  <a4j:commandButton value="Submit" action="#{bean.submit}" reRender="error"/>
              </a4j:form>
         
              <a4j:outputPanel id="error">
                  <rich:messages level="INFO" ajaxRendered="false"/>
                  <rich:messages ajaxRendered="false"/>
              </a4j:outputPanel>

       

      --- class

       

      @Name("bean")
      public class Bean {

       

          public void submit(){
              FacesMessages.instance().add(Severity.INFO, "Sucess!");
          }
         
      }

       

      Only one message is been showed, the one that do not have the level attribute, is it a bug?

       

      Using RichFaces 3.3.3.CR1.