I would like to display exception thrown by a managed bean during a dialog to the user. How do I configure this?

As example:
  <state id="setup">
    <onentry>
      <var expr="#{vendorDialog.setup}" name="outcome" />
    </onentry>
    <transition target="vendor/add" cond="${outcome eq 'success'}" />
  </state>

vendorDialog.setup() can throw a NotConfiguredException.

1) I want to show this to the user.
2) I would also like to define the view that will display the exception.
3) In the above view, what is the bean/variable containing the thrown exception?


Paul Spencer

Reply via email to