JavaServer TM Faces Release Notes
Change Log

Specification Version: 1.2MR2
Implementation Version: 1.2_09

This release sees the introduction of Groovy support within Mojarra!

Groovy (and this is taken from the Groovy homepage....)

When using Groovy within Mojarra, you can quickly prototype your managed beans, converters, validators, well, pretty much any JSF artifact without having to redeploy your application. Please see this blog entry for more details on how to configure your application to take adavantage of this new feature!

With this release the jsf-api and jsf-impl JAR files contain manifest information to expose the JARs as OSGi bundles. We've only tested with GlassFish V3 (which uses Felix for the OSGi runtime), so if you discover any issues in other OSGi runtimes, please let us know.

We've added three new initialization parameters since the release of 1.2_08.

Paramter Name Description Default Value
com.sun.faces.registerConverterPropertyEditors

In versions prior to 1.2_09, Mojarra would attempt to create a PropertyEditor for each by type converter registered with the application. This PropertyEditory would allow JSF converters to be used in EL coercion when the default rules weren't able to be applied. However, due to how PropertyEditors are registered, this could cause an applications to overwrite each others defined PropertyEditors and potentially introduce a memory leak.

Given the above, we've now disabled this feature by default. If this feature is needed, it will need to be explicitly enabled (keeping the information above in mind).

We've logged an issue against the EL specification for this issue and hope it will be addressed in their next release.

See Issue 722 for more details.

false
com.sun.faces.disableUnicodeEscaping

By default any characters above a certain range will be escaped as either an HTML entity or a decimal reference. This behavior is not always desirable. To allow more flexibility how content is rendered to a client, this option was introduced. Valid configuration values are: false, true, and auto with false being the default. When the option value is false, Mojarra will continue to escaped no matter the response encoding type. If the configuration value is true, Then no escaping will occur assuming that the response encoding can properly handle all characters. If the configuration option is auto then the response encoding will be checked. If the encoding is of the UTF family of encodings no unicode or html entity encoding will occur, however, if the response stream encoding is ISO-8859-1 then the ISO characters above a certain range will be encoded as HTML entities and any characters above that range will be written as decimal references.

See Issue 727 and Issue 751 for more details.

false
com.sun.faces.developmentMode

When set to true, any modifications to the faces-config.xml file in WEB-INF, or any referred to by the javax.faces.CONFIG_FILE init parameter, will cause the JSF application to reload itself. This also has the side effect of causing class caching to be disabled so that changes to Groovy-based artifacts will be displayed at runtime.

false

Issues Resolved In This Release

ID Type Pri Plat Owner State Resolution Summary
693 DEFECT P3 PC rlubke RESOLVED FIXED DebugUtil.printTree(...) causes IllegalArgumentException while calling from RestoreViewPhase.execute(...) with log level FINEST
696 DEFECT P3 All rlubke RESOLVED FIXED Locale variants not supported
705 DEFECT P3 All rlubke RESOLVED FIXED Problems with HtmlResponseWriter
706 DEFECT P3 All rlubke RESOLVED FIXED FacesContextImpl.getMaximumSeverity() returns INFO even if all messages are deleted out of the faces-context
707 DEFECT P3 All rlubke RESOLVED FIXED removing faces-messages (silently) fails
708 ENHANC P3 All rlubke RESOLVED FIXED More descriptive error message if bean class is interface
709 DEFECT P3 All rlubke RESOLVED FIXED ManagedBeanBuilder chokes on property values with double-quote
711 ENHANC P3 All rlubke RESOLVED FIXED NPE's without messages in inner Maps of ExternalContextImpl
714 DEFECT P2 All rlubke RESOLVED FIXED duplicate Componentid exception
715 DEFECT P3 All rlubke RESOLVED FIXED UIData invokeComponent() may incorrectly strip off part of a client ID
716 DEFECT P3 All rlubke RESOLVED FIXED Bug when using cloneWithWriter - elements are out of order
717 DEFECT P3 All rlubke RESOLVED FIXED Elements with long attribute contents are written with excess trailing zero symbol
718 DEFECT P3 All rlubke RESOLVED FIXED UIData#invokeOnComponent() ignores facets
722 DEFECT P3 All youngm RESOLVED FIXED Converter PropertyEditor not multi application safe
723 DEFECT P4 All jdlee RESOLVED FIXED UIViewRoot is repeating code
724 DEFECT P3 All rlubke RESOLVED FIXED Action fails if component id contains a comma
725 DEFECT P3 All rlubke RESOLVED FIXED outputformat not using viewroot's locale
726 DEFECT P3 All rlubke RESOLVED FIXED Cardemo tests fail due to stream chain order when using encryption
727 ENHANC P3 All youngm RESOLVED FIXED Improve unicode handling for smaller page sizes
728 DEFECT P4 All rlubke RESOLVED FIXED ListDataModel.getRowData() throws an exception with no message
730 DEFECT P3 Macintos rlubke RESOLVED FIXED RenderKitUtils.canBeOptimized crashes on UIComponents of classes with null packages
731 ENHANC P3 All rlubke RESOLVED FIXED AbstractConfigProcessor consumes stack trace information
732 DEFECT P4 All rlubke RESOLVED FIXED Error when logging set to FINEST
734 DEFECT P1 All rlubke RESOLVED FIXED Do not swallow exception in UIViewRoot#notifyPhaseListeners
735 DEFECT P3 All rlubke RESOLVED FIXED UIComponentBase#findComponent throws StringIndexOutOfBoundsException
736 DEFECT P3 All rlubke RESOLVED FIXED c.s.f.taglib.ValidateLongRangeTag uses Integer.valueOf() instead of Long.valueOf()
Issues Resolved after 1.2_09 Beta1
738 DEFECT P2 All rlubke RESOLVED FIXED API change in GF injection services results in a NoSuchMethodException
741 DEFECT P3 All driscoll RESOLVED FIXED CommandLink children doesn't get fully recursively rendered
742 PATCH P3 All rlubke RESOLVED FIXED Use ThreadLocal.remove() to prevent potential Classloader leaks
743 PATCH P3 All rlubke RESOLVED FIXED Multiple META-INF/faces-config.xml for non-jars with with same directory overriden
744 ENHANC P3 All rlubke RESOLVED FIXED Enable the compression of serialized server state
749 DEFECT P3 All rlubke RESOLVED FIXED SelectItemGroup: escape and disabled properties are ignored
751 ENHANC P3 All rlubke RESOLVED FIXED avoid strict html entity encoding
752 DEFECT P3 All rlubke RESOLVED FIXED ValueChangeEvent incorrectly fired for UISelectBoolean instances
755 DEFECT P3 PC rlubke RESOLVED FIXED NumberConverter hack 4510618 fails