Top "Jsf-2" questions

JavaServer Faces (JSF) is a model-view-presenter framework typically used to create web applications.

How to display a line break with outputText?

I need to render a line break using outputText so that I can utilize the rendered attributed. I tried <…

jsf jsf-2 line-breaks
Display dynamic image from database or remote source with p:graphicImage and StreamedContent

I'm trying to display image bytes which is saved in database as a StreamedContent in the <p:graphicImage> …

database image jsf jsf-2 primefaces
JSTL in JSF2 Facelets... makes sense?

I would like to output a bit of Facelets code conditionally. For that purpose, the JSTL tags seem to work …

jsf jsf-2 jstl facelets
Defining and reusing an EL variable in JSF page

Is it possible to define variable and reuse the variable later in EL expressions ? For example : <h:inputText value="#{…

jsf jsf-2 el
How to use enum values in f:selectItem(s)

I want to make a selectOneMenu dropdown so I can select a status on my question. Is it possible to …

jsf jsf-2 enums selectonemenu
How to invalidate session in JSF 2.0?

What is the best possible way to invalidate session within a JSF 2.0 application? I know JSF itself does not handle …

session jsf-2 httpsession managed-bean session-scope
Concatenating strings within EL expression defined in an attribute of a facelets tag

I need to write an EL expression for an attribute which goes something like this: #{cc.attrs.appreciatedByCurrentUser ? (cc.attrs.…

jsf jsf-2 facelets el
p:commandLink fails to open page in new window/tab

I'm trying to create a link to open a new page in a different window/tab and display some msg …

jsf jsf-2 primefaces commandlink
JSF 2.0: use Enum values for selectOneMenu

I'm using JSF 2.0 and want to fill a selectOneMenu with the values of my Enum. A simple example: // Sample Enum …

jsf jakarta-ee jsf-2 jboss-weld
java.lang.IllegalStateException:Could not find backup for factory javax.faces.application.ApplicationFactory

I'm using this : Tomcat 7.0 JSF 2.0 JRE 7 but when trying to run my application, I got the following exception: java.lang.…

jsf jsf-2 factory illegalstateexception