Parameter « Facelets « JSF Q&A

1. Howto create a facelet-hyperlink with variable data as parameter?

I have two facelet-pages: customers.xhtml (with a list of customers) and customer.xhtml for detail-view of just one customer. I use a h:dataTable component inside the customers.xhtml:

<h:dataTable var="customer" value="#{customerBackingBean.customers}">...</h:dataTable>
Now I want to ...

2. JSF : use array values as parameters

On my JSF2 page, i'm using internationalized error messages. In my backing bean, i'm putting the messages into the flash Scope:

flash.put("error", exception.getType());
On the page, this string gets translated this way:
<h:outputText value="#{bundle[flash.error]}"/>
Works ...

3. JSF - Pass a parameter on ajax call - What's wrong on this code?

I need to pass a parameter to a bean when i do an ajax call. My bean is this :

public class Selector {
    private String ...

4. JSF parameter passing

I'm using JSF 2.0 with Facelets and I want to do something like this: I have a web application with specific custom Exceptions. I would like to have a general error page, ...

5. How to use parameter "javax.faces.FACELETS_SUFFIX" in jsf 2

I have understood the meaning of jsf 2.0 context parameters "javax.faces.DEFAULT_SUFFIX" and "javax.faces.FACELETS_VIEW_MAPPINGS" with some examples. But I'm not clear about parameter "javax.faces.FACELETS_SUFFIX". According to the documentation:

javax.faces.FACELETS_SUFFIX": Allow the web ...