myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mstar...@apache.org
Subject svn commit: r905686 - /myfaces/trinidad/branches/trinidad-2.0.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/ViewHandlerImpl.java
Date Tue, 02 Feb 2010 16:05:17 GMT
Author: mstarets
Date: Tue Feb  2 16:05:11 2010
New Revision: 905686

URL: http://svn.apache.org/viewvc?rev=905686&view=rev
Log:
TRINIDAD-1703 - JSF2: Viewhandler.getViewDeclarationLanguage() implementation should call
into the PageResolver

Call into PageResolver before calling into delegate's getViewDeclarationLanguage()

Modified:
    myfaces/trinidad/branches/trinidad-2.0.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/ViewHandlerImpl.java

Modified: myfaces/trinidad/branches/trinidad-2.0.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/ViewHandlerImpl.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-2.0.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/ViewHandlerImpl.java?rev=905686&r1=905685&r2=905686&view=diff
==============================================================================
--- myfaces/trinidad/branches/trinidad-2.0.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/ViewHandlerImpl.java
(original)
+++ myfaces/trinidad/branches/trinidad-2.0.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/ViewHandlerImpl.java
Tue Feb  2 16:05:11 2010
@@ -93,6 +93,11 @@
     {
       return null;
     }
+    
+    // TRINIDAD-1703 - use physical URI (retrieved from the PageResolver before calling the
delegate's 
+    // implementation
+    viewId = _getPath(viewId);
+    
     return _delegate.getViewDeclarationLanguage(context, viewId);
   }
 



Mime
View raw message