This content has been marked as final.
Show 4 replies
-
1. Re: Why is there a FacesContext in org.jboss.seam.core?
raja05 Aug 15, 2006 1:52 AM (in response to smokingapipe)None, you can use a FacesMessage to send a message (Refer to the registration example that comes with Seam). The org.jboss.seam.core.FacesContext is a wrapper over the javax.faces.FacesContext and returns the current implementation of javax.faces.FacesContext(which is ServletFacesContextImpl if u are using myfaces).
-
2. Re: Why is there a FacesContext in org.jboss.seam.core?
basel Aug 15, 2006 7:31 AM (in response to smokingapipe)FacesMessages.instance().add("Your message");
Note the s at the end of FacesMessages. -
3. Re: Why is there a FacesContext in org.jboss.seam.core?
bfo81 Aug 15, 2006 3:10 PM (in response to smokingapipe)Could it be that (Seam) FacesMessages can be injected whilst (JSF) FacesMessage cannot?
-
4. Re: Why is there a FacesContext in org.jboss.seam.core?
gavin.king Aug 22, 2006 11:13 PM (in response to smokingapipe)"SmokingAPipe" wrote:
I'm confused. If I want to use a context to send messages, do I use the javax.faces.FacesContext, or org.jboss.seam.core.FacesContext? I can't see any info about when and why org.jboss.seam.core.FacesContext would be used.
Thanks
org.jboss.seam.core.FacesContext is a manager component. You never use it directly from your code.