2 Replies Latest reply on Apr 28, 2010 11:02 AM by daniele campanini

    Exception Handling - Passing params to error.xhmtl - how ?

    Reinhard Wagner Newbie

      Hello.


      I'd like to render different parts of the error.xhtml page depending on which exception occured. Therefore I tried






      <exception class="org.jboss.seam.security.NotLoggedInException">
              <redirect view-id="/error.xhtml">
                  <message severity="warn">NOTLOGGEDIN</message>
              </redirect>
          </exception>
      






      and on the error.xhtml page






      "<s:div rendered="#{handledException.message eq 'NOTLOGGEDIN'}">Sorry, you have to .... </s:div>"








      but it doesn't render properly ...