Top "Jsf" questions

JSF, Jakarta Server Faces (formerly known as JavaServer Faces) is a model-view-presenter framework typically used to create HTML form based web applications.

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
Concat two String in JSF EL expression

I have the following el expression: <af:outputText value="#{viewArticle.publish ? ('Publish on ' + viewArticle.publishDate + ' by ' + …

java string jsf el concat
How do I get request url in jsf managed bean without the requested servlet?

Assuming the URL is http://localhost:8080/project-name/resource.xhtml, I want to obtain the following http://localhost:8080/project-name in a …

java jsf
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
DataModel must implement org.primefaces.model.SelectableDataModel when selection is enabled.

I'm trying to create a DataTable with Multiple Row Selection but i'm getting an error here's the link of the …

jsf primefaces facelets
Eclipse autocomplete (content assist) with facelets (jsf) and xhtml

How to activate eclipse (3.5, WTP) content assist in .xhtml pages for JSF (1.2) tags, using facelets? It works in .jsp files, …

java eclipse jsf facelets
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
PrimeFaces commandButton doesn't navigate or update

I'am using Primefaces to make my app a little bit more beautiful. I noticed that p:commandButton and h:commandButton …

jsf jsf-2 primefaces