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.

What is the JSF resource library for and how should it be used?

The JSF <h:outputStylesheet>, <h:outputScript> and <h:graphicImage> components have a library attribute. …

jsf jsf-2 resources
Identifying and solving javax.el.PropertyNotFoundException: Target Unreachable

When trying to reference a managed bean in EL like so #{bean.entity.property}, sometimes a javax.el.PropertyNotFoundException: Target …

jsf cdi el managed-bean propertynotfoundexception
selectOneMenu ajax events

I am using an editable primefaces selectOneMenu to display some values. If the user selects an item from the List …

ajax jsf primefaces
How get the base URL via context path in JSF?

I have this structure: WebContent resources components top.xhtml company about_us.xhtml index.xhtml top.xhtml is a component, …

jsf base-url contextpath
Difference between h:button and h:commandButton

In JSF 2, what is the difference between h:button and h:commandButton ?

jsf button jsf-2
JSF rendered multiple combined conditions

I need to give condition like if((a == 12 and b == 13) or(a == 12 and b == 15)) in JSF rendered attribute. Can anyone …

jsf rendered-attribute
null check in jsf expression language

Please see this Expression Language styleClass="#{obj.validationErrorMap eq null ? ' ' : obj.validationErrorMap.contains('key')?'highlight_field':'highlight_row'}" …

java jsf el
Convert timestamp long to normal date format

In my web app, date & time of a user's certain activity is stored(in database) as a timestamp Long …

java jsf primefaces
What values can I pass to the event attribute of the f:ajax tag?

I am trying to find a list of all the possible values I can pass to the attribute event of …

ajax jsf jsf-2
WELD-001408: Unsatisfied dependencies for type Customer with qualifiers @Default

I'm a Java EE-newbie. I want to test JSF and therefore made a simple program but can not deploy it. …

jsf jakarta-ee dependency-injection cdi managed-bean