In my JSF app I need to display FacesMessage from another thread. Acordi开发者_如何学运维ng to docs it\'s not possible. But maybe there is some trick to do so? I can\'t see another way to do what I wa
We need to get certain information from PortletRequest in our Portal application. We do that using a utility method inside our Portlet Application. In this Utility method we access FacesContext.getCur
my jsp page is: Home.jsp <%@ page language=\"java\" contentType=\"text/html; charset=ISO-8859-1\" pageEncoding=\"ISO-8859-1\"%>
What is FacesContext used for? 开发者_Python百科And where exactly is it implemented?Quote from chapter 6.1 of JSF 2.0 specification:
It seems like the partial requests don\'t use the faces context instances that are created by FacesContextFactory implementations.
I have a problem with finding component in JSF tree. Suppose I have the following template: <a4j:form id=\"someForm\">
How do i mock out facescontext using mockito? I have made this dummy method: public String toPage2(){ if(isChecked()){
I have thewrapped into my own faces component. Right now we found that when adding several messages the are of theexpands moving the actual page components to the very far bottom of the page.
is there any equivalent to FacesContext, but in servlet environment? I have some DAOSessionManager that handles transaction to my database. I can use the FacesContext to identify the current http req
I don\'t know about threads in Java. I like to know what is happening in this code because each time it runs, it produces a different output: