-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: facesbridge-tck-5.0.0, facesbridge-tck-2.0.0, facesbridge-tck-3.0.0, facesbridge-tck-4.0.0
-
Fix Version/s: facesbridge-tck-5.0.0, facesbridge-tck-2.0.0, facesbridge-tck-3.0.0, facesbridge-tck-4.0.0
-
Component/s: FacesBridge TCK
-
Labels:None
The faces-config.xml descriptor provides the ability to specify a chain-of-responsibility for javax.faces.application.ViewHandler via the <view-handler>...</view-handler> element. The JSF implementation is responsible for building up a delegation chain of ViewHandler instances (provided that they extend ViewHandlerWrapper).
When the Mojarra implementation is initialized in a webapp context, it will call Application.setViewHandler(ViewHandler) for each <view-handler>...</view-handler> found in any faces-config.xml descriptors. However, when the MyFaces implementation is initialized, it will only call that method once.
The TCK makes the assumption that the method will be called multiple times (Mojarra) and needs to be fixed so that it can be compatible with MyFaces as well.