0 Replies Latest reply on Jan 8, 2009 12:09 PM by stephen

    How to check in EL if context variable is set?

    stephen

      I'd like my error page to show the value of org.jboss.seam.handledException.message.


      However the page should also work if that context variable is not set (because the page should not only used for excfeptions, but also for other error situations).


      I tried


      <c:if test="#{conversationContext.isSet('org.jboss.seam.handledException')}">
          #{org.jboss.seam.handledException.message}
      </c:if>
      


      but that still results in


      javax.el.ELException: /error.xhtml: Property 'handledException' not found on type org.jboss.seam.Namespace