Questions tagged [facescontext]

This tag denotes the FacesContext class which is part of the Java Server Faces (JSF) model view presenter framework. It is used to permit disambiguation with the deprecated generic [context] tag.

This tag denotes the FacesContext class which is part of the Java Server Faces (JSF) model view presenter framework. It is used to permit disambiguation with the deprecated generic tag.

See Also

See the main information on .

112 questions
0
votes
0 answers

AbstractFacesServlet, how to implement AbstractFacesServlet.java in Java?

I created web-service,where i am getting url params , which i am setting it to Object. after it when i want to set to facesContext it is giving me NULL.I got Suggestion to implement AbstractFacesServlet.java class in project but any idea how can ?…
V.Rohan
  • 945
  • 2
  • 14
  • 27
0
votes
2 answers

actionListener not called inside

I have the following code, Using jsf2.2, primefaces 3.2. My requirement is to update the Project depending on the updateFlag. when i use c:if (xmlns:c="http://java.sun.com/jsp/jstl/core") like the following code the action Listener for the Update…
B.M.
  • 318
  • 2
  • 3
  • 19
0
votes
1 answer

Saving a view in JSF

Im having a question regarding retrieving the view state of a JSF page. I have an application in which the user is able to search for persons in a list and when the user press "show" button the same JSF page will be filled with a list of the various…
Erfan
  • 113
  • 1
  • 3
  • 7
0
votes
1 answer

Serialize FacesContext or How to get properties-values after Server Restart

The problem is the following: I need to serialize the user session, so, it will still be present after a server restarts. Using JavaEE and Tomcat 7 works fine with implements Serializable, but the problem is the FacesContext. Indeed, after…
s4m3
  • 39
  • 6
0
votes
1 answer

JSF receiving FacesContext outside request

As far as i know, FacesContext is avalible only in request scope. I've created a thread that tries to receive instance of FacesContext, but it is returning null. My point is to update some application-scoped beans every 10 seconds. Thread's run…
Adrian Adamczyk
  • 3,000
  • 5
  • 25
  • 41
-1
votes
1 answer

why exist initContextServletContext in JSF Mojarra 2.2 FacesContext.java

private static ConcurrentHashMap initContextServletContext = new ConcurrentHashMap(2); field is private, but never used in FacesContext class. Is there a reason to exist?
tcwhvi
  • 3
  • 2
-1
votes
1 answer

add message to growl message componnent in primefaces

hello i have a jsf page it contains a message and a i want add message only to the growl message and it does not work for me : my java code is : public class EtudeBean { privaezte loneeg lotiezeffhssemgefntI12Etude; public EtudeeBffeeezan() { …
user3578199
  • 1
  • 2
  • 5
1 2 3 4 5 6 7
8