1 Reply Latest reply on Aug 3, 2011 11:45 PM by Bernard Labno

    rich:messages life span suggestions

    Robert Gary Newbie

      I know this isn't specific to the richfaces version of the messages tag but I would like to hear suggestions on how others have addressed this issue. I have a page that scans for backend updates every few seconds. If something has changed the dynamic sections of the page rerender including the rich:messages. Additionally the user can initiate actions which cases a similar rerendering. As a result the amount of time a message lives is highly variabout, basically until the next backend update or a user action.

      What have others done in this case? Do you somehow set a minimum time for your messages to be displayed (i.e. not rerender rich:messages if it was recently rerendered)? If so, how to you handle new messages, etc?

       

      I'm assuming this is not a unique issue.

       

      -Robert