Hello Primefaces's users,
I got a controller that put a message in the JSFContext, and then forward to a new page.
The message is not displayed (with p:growl).
Is it normal ?
If yes what is the best way to show messages after a forward or a redirect ?
Thank's for all...
Messages not shown after forward
-
- Posts: 145
- Joined: 05 Nov 2009, 22:32
----
Primefaces 2.0.1-SNAPSHOT
JBoss 6.0.0-M2
Mojorra 2.0.2
---
Primefaces 2.0.1-SNAPSHOT
JBoss 6.0.0-M2
Mojorra 2.0.2
---
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Hi, you'll lose the messages if you use redirect with JSF 1.2.
Forward should work though, can you provide the code where you add messages and how you use p:growl?
What does p:growl render?
Forward should work though, can you provide the code where you add messages and how you use p:growl?
What does p:growl render?
-
- Posts: 145
- Joined: 05 Nov 2009, 22:32
OK. Thank's for the answer. That's what I thought. I will store message in the session and call it back with a PhaseListener before displaying new page.cagatay.civici wrote: Hi, you'll lose the messages if you use redirect with JSF 1.2.
...
What does p:growl render?
p:growl don't display anuthing after à redirect.
----
Primefaces 2.0.1-SNAPSHOT
JBoss 6.0.0-M2
Mojorra 2.0.2
---
Primefaces 2.0.1-SNAPSHOT
JBoss 6.0.0-M2
Mojorra 2.0.2
---
-
- Information
-
Who is online
Users browsing this forum: No registered users and 13 guests