2 Replies Latest reply on Jan 26, 2006 10:44 AM by Louis Coetzee

    Error message for @Conversational ?

    Louis Coetzee Apprentice

      Hi,

      I have defined a @Conversational(ifNotBegunOutcome="goToMain") for my stateful bean. Upon conversation timeout I get the desired behavior (the user gets redirected to the page as defined for goToMain in faces-config.xml (at least for those pages that does not do a form submit.... but this requires further investigation) ).

      Ideally I would like to show some kind of message to the user why he/she suddenly ended up on that page as defined by the goToMain (which is not the one he expects or was navigating to).

      Is it possible to add some kind of errormessage to the Conversational that can then be displayed by the normal <h:messages id="errorMessages" /> JSF tag ?

      Thanks

      Louis