prettyfaces « Development « JSF Q&A

1. Phases skipped when using PrettyFaces (JSF)

When using PrettyFaces to map a page containing a form, all phases after Restore View are skipped and the response is rendered. Thus the form is not submitted and the model ...

2. Pretty Faces Mapping problem

i using PrettyFaces for Pretty URL but i have first problem with PrettyFaces: my mapping in pretty-config.xml

     <url-mapping id="home">
  <pattern value="/" />
i have one ...

3. JSF - Setting a property while following a link

I'm using prettyfaces for handling URL paths. What I want to do is set a language property upon following a link (to choose language). Something like this:

<h:link outcome="#{bean.currentPath}" value="English"> <!-- ...

4. Using PrettyFaces 3.3.1-SNAPSHOT

i downloaded the 3.3.1-SNAPSHOT version to make generic url regarding this post: Pretty Faces: Generic URL mapping my configuration is as follows: my web.xml:

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="" xmlns="" xmlns:web="" xsi:schemaLocation="; id="WebApp_ID" version="2.5">

5. Duplicated mapping id with PrettyFaces

i am using PrettyFaces 3.3.0 with Spring Security 3 i have two beans UserBean which is mapped to serve to pages (users,add) and LoginBean to serve the login page my mappings is as follows: 1- ...

6. Should I use f:event or action element in PrettyFaces?

At the moment I am using the following code:

public void init() {
    question = questionBean.findQuestion(questionParamId);
Which is invoked by this:
    <f:viewParam name="id" value="#{questionShowBackingBean.questionParamId}" />

7. JSF PrettyFaces Dynamic content?

JSF is not JSP. So what you know about JSP may do you more harm than good. JSF2 has built-in tiling facilities, for example. So it's easy to setup common page headers and footers. Also, since JSF is more of a true implementation of the Model/View/Controller paradigm that just about any web framework out there, you shouldn't be putting logic on ...