Skip to content

JavaCodeHelp/prettyfaces

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

207 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

------------------------------------
           VERSION 4.0.0
------------------------------------
Migrated to Rewrite (http://ocpsoft.org/rewrite/)


------------------------------------
           VERSION 3.3.4
------------------------------------

Features & Enhancements:
* Added 'relative' attribute to urlbuffer component. Thanks to 0swald for the patch.

Bugfixes:
* Fixed bug that caused URL to get decoded twice (#16)
* Fixed handling of '\' in generated URLs (#16)

------------------------------------
           VERSION 3.3.3
------------------------------------

Features & Enhancements:
* Exceptions aren't wrapped by PrettyFilter anymore
* Added configuration parameter to enable a workaround for ORCHESTRA-60 (#125)
* Major performance improvements - thanks to Piotr Jastrzebski and Frank Caputo
* Enabled <distributable/> mode in web-fragment.xml, for clustering support

Bugfixes:
* Fixed potential NullPointerException in annotation scanning code 
* Fixed PrettyContext.JSESSIONID_REGEX to support clustered session IDs
* Empty segments are now handled correctly - thanks to Piotr Jastrzebski for the patch (#123)
* Fixed encoding for square brackets and less/greater than characters
* Don't apply rewrite rule to requests forwarded by URL-mappings anymore
* Fixed encoding/decoding of vertical bar (|) character
* Fixed bug that caused mappings to also match viewIds of other mappings (#128)
* Fixed detection of jsessionid for GAE application (#15)

------------------------------------
           VERSION 3.3.2
------------------------------------

Bugfixes:
* Fixed invalid usage of Servlet 3.0 API 

------------------------------------
           VERSION 3.3.1
------------------------------------

Features & Enhancements:
* Support of query parameter and action inheritance (#75)
* Development mode can now be enabled by setting the context parameter 'com.ocpsoft.pretty.DEVELOPMENT'

Bugfixes:
* Implemented equals()/hashcode() for LazyExpression (#115)
* Performance: URLPatternParser got created on every call to UrlMapping.getPatternParser()
* Fixed incorrect handling of Spring AOP proxies during bean name lookup - thanks to mbenson for the patch #(119)
* Dynaview: Parameter injection now correctly happens before view determination (#120)
* Fixed decoding of quotation mark character. Thanks to Bruno Aranda for the patch. (#122)
* Use equals() instead of matches() to compare URL with view-id. Thanks to mbenson for bringing this up.
* Prevent rewrite loops by avoiding nested rewrites for forwarded requests (#121)
* Fixed bug causing CDIBeanNameResolver to don't reload configuration in development mode on JBoss AS7

------------------------------------
           VERSION 3.3.0
------------------------------------

Features & Enhancements:
* Performance improvements when running JSF 2.0 in project stage 'development'
* Regular expression performance improvements provided by Yann Simon.
* Ambiguous View IDs are now resolved automatically when using pretty:mappingIds in action method navigation, <h:link> and <h:button> component outcomes
* Ambiguous View IDs may now be resolved manually for outbound URL rewrites by adding '?com.ocpsoft.mappingId=...' to URLs before calling HttpServletResponse.encodeURL(...)
* Dynaview URLs are now resolved during rendering of links and navigation cases, and are now as functional as traditional mappings.

Bugfixes:
* Fixed bug that caused path parameter validators to be ignored (#102)
* Handle java.lang.ClassFormatError during initialization of bean name resolvers (#101)
* Also check Weld 1.1.x specific servlet context attribute while search for BeanManager
* Mapping inheritance now working correctly for mappings using the same viewId


------------------------------------
           VERSION 3.2.1
------------------------------------

Features & Enhancements:
* Use JSF converters for path and query parameter conversion.
* Now bundles shaded apache commons libs, and requires no dependencies.

Bugfixes:
* Fixed incorrect encoding of URLs when using the 'url' attribute for rewrite rules (#91)
* MultiPageMessagesSupport doesn't duplicate messages any more if using MyFaces (#89)
* Fixed potential NullPointerExceptions on FacesContext access
* Ignore query parameters that are not correctly encoded (#88)
* Fixed BeanManager JNDI lookup for Weld 1.1.0 + Tomcat enviroments
* Correctly handle $ characters as path parameters


------------------------------------
           VERSION 3.2.0
------------------------------------

Major Changes:
* PrettyFaces is now licensed under the Apache Software License v2.0 (http://www.apache.org/licenses/LICENSE-2.0.html)
* Added 'parentId' for Hierarchical Mappings in pretty-config.xml (#72)
* Can now be run in a pure servlet environment (without JSF and related JARs)

Features & Enhancements:
* Added 'onPostback' configuration parameter for query parameters (#24)
* Added code-completion support for Eclipse Helios
* Added 'pretty:location' client behavior 
* Added 'onPostback' configuration parameter for path parameters (#24)
* New method PrettyContext.sendError() to send custom HTTP status codes (#66)
* Added SPI hooks for ConfigurationProvider and ConfigurationPostProcessor
* New @URLMappings annotation to declare multiple mappings on a single class

Regression Impact:
* Changed some method signatures in PrettyContext
* PrettyFilter no longer wraps application exceptions in ServletException
* PrettyException no longer extends javax.faces.FacesException
* Began deprecation of <view-id>/view.jsp</view-id> in favor of <view-id value="/view.jsp" />
* com.ocpsoft.pretty.faces.el.BeanNameResolver SPI has moved to com.ocpsoft.pretty.faces.spi.ELBeanNameResolver
* URL-mapping order is now properly respected in pretty-config.xml (and other config sources.)
* Began deprecation of PrettyURLBuilder methods without the new 'encodeUrl' argument.

Bugfixes:
* Fixed compatibility with Java 1.5
* Fixed handling of non-ASCII characters in URLs
* Fixed EL method invocation in JSF 1.1 branch.
* Removed HttpSession accesses that could potentially create an unwanted user session. (#62)
* Prevent downloading of web.xml DTDs during configuration
* Fixed FacesConfigBeanNameResolver regarding space characters in URLs 
* PrettyFacesWrappedResponse no longer depends on FacesContext (#78)
* PrettyFaces no longer injects values into EL if the response has been marked complete (#79)
* Added documentation specifying the need to "double-escape" backslashes in custom regexes (#83)
* Fixed annotation scanning if application is run with jetty-maven-plugin


------------------------------------
           VERSION 3.1.0
------------------------------------

Features & Enhancements:

* Introducing: URL mapping configuration with annotations (http://ocpsoft.com/prettyfaces/annotations-support-is-coming-to-prettyfaces-url-rewriting/ + http://ocpsoft.com/docs/prettyfaces/snapshot/en-US/html/Configuration.html#config.annotations)
* Added path and query-parameter validation wth managed bean methods (#50 + r353)
* Added support for JSF2 redirects using ExternalContext (r305)
* Added support for arrays as query parameters (r278)

Regression impact:

* The URL query string is now included in rewrite-rules; this allows for finer control of the rewriting engine (Any prior rewrite rules should be revised and re-tested)

Bugfixes:

* Resolved Mojarra warning "Request path '/faces/url.xhtml' begins with one or more occurrences of the FacesServlet prefix path mapping '/faces'." when using path mapping (#43 + r379)
* Resolved Deployment warning on Geronimo (#58 + r364)
* URL Path Expressions now match correctly when more than one expression is used between path segments (r362)
* Resolved ClassNotFoundException with JSF 1.2 on JBoss6 (#54 + r360)
* Resolved failed deployment due to ClassNotFoundException on Geronimo (#59 + r369)

About

URL-rewriting for Servlet, JSF, and Java EE

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Java 98.9%
  • HTML 1.1%