I add some faces message in the post construct. but when there is navigation from the current page the postconstruct is called again during restore view phase and adds the faces message again.
is there a way to prevent the faces message from being added during restore phase?
I can check the phase id and not add the message.
but is that the right way ? is there any other way?