0 Replies Latest reply on Jan 16, 2012 9:36 AM by Carsten Hanka

    ViewExpiredException and messages

    Carsten Hanka Newbie
      Hello,
      I have a question about handling of viewExpiredExceptions.
      As described in the documentation I use the tag


      `<exception class="javax.faces.application.ViewExpiredException" log="true" log-level="info">
               <redirect view-id="/error.xhtml" >
                  <message severity="warn">session expired</message>
              </redirect>
          </exception>`

      The error.xhtml is fairy simple and consists mainly of the tag:


      `<h:messages styleClass="stdText" />`



      When a VEE is thrown, the error.xhtml is shown, but there is no error message whatsoever.
      I thought this should be work according to the documentation :
      http://docs.jboss.org/seam/latest/reference/en-US/html/events.html#d0e5644

      We use seam 2.2.0.GA and JBoss version 5.1.0.GA.
      Any help would be apreciated.