Prettyhttp://www.aliyun.com/zixun/aggregation/16554.html ">faces officially released Prettyfaces 3.2.0, like prettyfaces friends quickly download upgrades to the latest Prettyfaces 2.0.4 bar. Prettyfaces is a set of open source, jsf1.1,jsf1.2,jsf2.0-oriented extensions that use pure Java, prettyfaces can help JSF users create URLs that are simple and beautiful and easier to bookmark in a browser.
Prettyfaces 3.2.0 solves the problem of passing parameters when using dynamic language to construct a Web page, causing URLs to be too long and SEO unfriendly. As we all know, static pages are the easiest to retrieve and index for search engines, and early search engines simply can't include dynamic pages (for example, with question marks?). and & symbols, because these pages are likely to bring search engine spiders into an infinite loop trap and cannot crawl out. But as technology is being updated, now the SE (search engine) has begun to read a variety of dynamic page content, but read a lot of restrictions, usually read to the first layer of the page, that is, if the URL with a lot of parameters to pass to the next page, then SE (search engine) is likely to give up the page included. And Prettyfaces solves the problem of SEO-unfriendly URLs using JSF by parsing and URL rewriting of pass parameters, and these settings are completely transparent to the developer and easy to use.
Features:
· URL rewriting-replace ugly URLs: "/FACES/PAGE.JSF" with pretty, seo-friendly, human URLs: "/optimized/page/"; The client browser implies sees your original URLs, Evan in the source-html
· Dynamic view Ids-now with dynamic view ID mapping for URL (through El method expressions,) can show different views based on Run-time conditions, effectively de-coupling the URL from the JSF view.
· Page-load Actions-call One or more action-methods, in one or more phases, unreported rendering a view.
· Consolidator parameter parsing-http parameters parsed from URL are stored in consolidator beans, stencils get a reference to your parameter Bean for easy access from the other Java classes.
· Navigation by id-define your page IDs at one place, reference them easily in Action-methods and RS, using standard JSF NA Vigation techniques.
· Integrated validation-for URL and Query-parameters, Inc. to re-use existing JSF validator.
· Easy to configure-requires absolutely minimal revisit; May is enabled using XML or annotations.
Download Address:
JSF1.1 > 3.2.0:jar, SRC, doc
JSF1.2 > 3.2.0:jar, SRC, doc
JSF2.0 > 3.2.0:jar, SRC, doc