p:messages on a redirected page not shown #3339
Replies: 3 comments 3 replies
-
solution instead or redirect to page:
=>e.g.:
|
Beta Was this translation helpful? Give feedback.
-
if you can put together a PF Test reproducer of the exact issue we can take a look. You workaround around seems kinda hacky it sounds like the messages are being lost in the redirect? |
Beta Was this translation helpful? Give feedback.
-
@melloware due to lack of time i can't implement in your test project. Just add above code of first posting and the redirect should maybe go to a different site instead of test.xhtml). Please feel free to make changes. thx and sorry |
Beta Was this translation helpful? Give feedback.
-
Hello.
I have a problem with showing messages on a redirected page with jakarta Faces 4.0 and Primefaces 14.0.10
Have you any idea what’s wrong?
Code =>
error.xhtml has that components =>
MessagesRenderer Method encodeMarkup() is called but after List messages = collectFacesMessages(uiMessages, context); the messages is null;
Where the messages got lost till to this call?
Beta Was this translation helpful? Give feedback.
All reactions