2 Replies Latest reply on Dec 20, 2007 11:21 AM by Pete Muir

    Redirect and Message

    Diego Coronel Apprentice

      Hi, im trying to show a message in my xhtml using redirect on page.xml, but no message is showing.

       <navigation from-action="#{cadastroFornecedoresBean.merge}">
       <rule if-outcome="sucesso">
       <end-conversation before-redirect="true"/>
       <redirect view-id="/face/almoxarifado/cadastro_fornecedores/pesquisar.seam">
       <message severity="INFO">#{msg.sucesso}</message>
       </redirect>
      
       </rule>
       </navigation>
      


      and my xhtml:
       <h:messages globalOnly="true" fatalClass="faltalMessage"
       errorClass="errorMessage" warnClass="warningMessage" infoClass="infoMessage" id="generalMessages" />
      


      anyone know why ?

      ty, sry about english