-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: bridge-impl-3.0.0, bridge-impl-4.0.0, bridge-impl-5.0.0
-
Component/s: Liferay Faces Bridge Impl / Demos / Tests
-
Labels:None
The bridge's ViewDeclarationLanguageFactory implementation currently unwraps all of the ViewDeclarationLanguageWrapper instances in the delegation chain until it finds the one from Mojarra/MyFaces. A better way would be to call-through to the ViewDeclarationLanguage.getId() method and compare it with ViewDeclarationLanguage.ViewDeclarationLanguage.FACELETS_VIEW_DECLARATION_LANGUAGE_ID.