Top "Facelets" questions

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

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
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
How to reference CSS / JS / image resource in Facelets template?

I've done tutorial about Facelets templating. Now I've tried to create a page that isn't in same directory as the …

jsf resources jsf-2 facelets templating
Error Parsing /page.xhtml: Error Traced[line: 42] The entity "nbsp" was referenced, but not declared

I'd like to use non breaking spaces in my JSF page. I know, in plain HTML I could use &…

jsf jsf-2 facelets html-entities
How to customize JSF validation error message

How can I customize the validation message that appears when validation fails? Here is the code I have: <h:…

validation jsf message facelets
JSF/PrimeFaces - Template with <p:layout>

I need to create a layout like this but with all the containers on separated files, like: top.xhtml <…

templates jsf layout primefaces facelets
What is the difference between creating JSF pages with .jsp or .xhtml or .jsf extension

I saw some examples creating the JSF pages with .jsp extension, other examples creating them with .xhtml extension, and other …

jsp jsf facelets file-extension
Facelets repeat Tag Index

Does anyone know a way to get the index of the element in a ui:repeat facelets tag? <ui:…

jsf jsf-2 facelets
When to use f:view and f:subview

I am not sure what are the benefits of using <f:view> and <f:subview>. I …

jsf-2 view facelets subview