Top "Facelets" questions

Facelets is an XML-based view technology for the JavaServer Faces framework.

Passing action method names as arguments to facelets componenets

I am calling a template and am passing in parameters like below: <ui:include src="WEB-INF/Subviews/ProductEdit.xhtml"&…

jsf facelets myfaces
Jsf How to create a Naming Container

I have a problem with duplicated ids in my JSF app. I've read in this post that one of the …

jsf facelets naming-containers
JSF - Bean injection trouble

As suggested by a user time ago in another question, I need to inject a bean in another bean. So, …

java jsf jsf-2 facelets postconstruct
ui:repeat doesn't work with f:selectItem

i am using icefaces select on menu to select a user from list of users and i want to repeat …

jsf-2 facelets icefaces icefaces-1.8
Handling ViewExpiredException on login page using a custom ViewHandler

In my web app, when the session expires and a user initiates a request (full page or AJAX), the user …

java jsf-2 facelets viewexpiredexception
Output a map collection in facelets JSF 2

I have seen a couple other examples on SO discussing some weird workarounds but none seem to work and they …

jsf map jsf-2 facelets uirepeat
@Inject to pass params to a CDI @Named bean via URL

If I cannot use the @ManagedProperty annotation with @Named, because @ManagedProperty doesn't work in CDI(?), then how do you pass …

jsf facelets cdi managed-property
AJAX render attribute doesn't work with rendered="false" component

I have a component that I want to show/hide after user hits a commandButton. It's like this: <h:…

ajax jsf-2 java-ee-6 facelets show-hide
Avoiding duplicate ids when reusing facelets compositions in the same naming container

I have a <ui:composition> that contains a few elements with explicit ids and some ajax events which …

jsf jsf-2 facelets composition
JSF tag is not working on *.xhtml but working *.jsp file

I am trying to run simple application using JSF 2.2, Netbeans 7.3 and GlassFish v2. index.xhtml: <?xml version='1.0' …

jsf facelets jsf-2.2 glassfish-2.x