If you want to determine the size of the response buffer the JSF runtime uses when buffering then the 'com.sun.faces.responseBufferSize' context-param allows you to set the size to something you want. The default is 1024 bytes, which is not big, but also not too large.
See the example snippet below which you could put in your faces-config.xml.
Hurray Java 8 is out! See for more information at http://www.oracle.com/technetwork/java/javase/overview/java8-2100321.html
In every JSF application view state is kept either on the client or on the server. How do you make sure this state is smaller?
Today we are covering what the "com.sun.faces.sendPoweredByHeader" context-param does.
The "com.sun.faces.validateXml" context-param makes it possible for you to have the Mojarra JSF runtime verify your configuration files against the faces-config.xml schema. If an error is found you will immediately be made aware as deployment will fail until you fix the problem.
By convention in Faces Flows the page that is the start node has the same name as the flow, but is it possible to change that? It sure is, read on!
The JavaEE team at Oracle has been busy processing the feedback from the JavaEE 8 Community Survey
Question 6 in part one of the survey reads: "Is there any one de-facto standard technology in this space [Server side web MVC framework, aside from JSF] to which we should look for inspiration". For those respondents that answered yes to that question, fully half of them cited Spring MVC. By way of background, it's possible to classify server side web frameworks as "action based" or "component based". For some background on these terms, please see http://javaserverfaces.java.net/presentations/demystifyingjsf.odp.
To explore the possibilities for adding "action based" to the UI standard for JavaEE, we have committed some experimental prototype work to snapshot builds of Mojarra on January 9th, 2014. The current prototype allows you to use a simple annotation which would result in a call to a method on your managed bean and then dispatch the response to a regular view.
Why would you add a placeholder component to the tree using ui:component? Well, sometimes you need to add content dynamically, but you also need to be able sure where it ends up.
I want to wish you all a Happy New Year!
And that is it.
Occasionally, users have the need to override the version of JSF included in the application server by bundling a different version of JSF with their application. If you are trying to use CDI in such a scenario, you might have noticed it does not work. Is there a way out?