prettyfaces « Development « JSF Q&A





1. Phases skipped when using PrettyFaces (JSF)    stackoverflow.com

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    stackoverflow.com

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="/" />
  <view-id>/faces/index.jsf</view-id>
  </url-mapping>
i have one ...

3. JSF - Setting a property while following a link    stackoverflow.com

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    stackoverflow.com

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="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd&quot; id="WebApp_ID" version="2.5">
  ...

5. Duplicated mapping id with PrettyFaces    stackoverflow.com

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?    stackoverflow.com

At the moment I am using the following code:

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

7. JSF PrettyFaces Dynamic content?    coderanch.com

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 ...