4 Replies Latest reply on Feb 21, 2007 8:14 PM by Monkey Den

    EL in pages.xml (i18n)

    Monkey Den Master

      It would be nice to be able to get a message from messages_en.properties (possibly by EL) when an exception occurs, as in the following example:

      <exception class="java.lang.IllegalStateException">
       <redirect view-id="/error.xhtml">
       <message id="#{messages['user.session.expired']}"/>
       </redirect>
      </exception>


      The docs have hardcoded messages and I didn't see anything in the DTD that would allow it.

      Does this feature of pages.xml support i18n in any way?