You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by or...@apache.org on 2005/08/31 01:52:43 UTC

svn commit: r264895 - /myfaces/impl/trunk/src/java/org/apache/myfaces/application/jsp/JspViewHandlerImpl.java

Author: oros
Date: Tue Aug 30 16:52:37 2005
New Revision: 264895

URL: http://svn.apache.org/viewcvs?rev=264895&view=rev
Log:
call setViewId from createView as RI does

Modified:
    myfaces/impl/trunk/src/java/org/apache/myfaces/application/jsp/JspViewHandlerImpl.java

Modified: myfaces/impl/trunk/src/java/org/apache/myfaces/application/jsp/JspViewHandlerImpl.java
URL: http://svn.apache.org/viewcvs/myfaces/impl/trunk/src/java/org/apache/myfaces/application/jsp/JspViewHandlerImpl.java?rev=264895&r1=264894&r2=264895&view=diff
==============================================================================
--- myfaces/impl/trunk/src/java/org/apache/myfaces/application/jsp/JspViewHandlerImpl.java (original)
+++ myfaces/impl/trunk/src/java/org/apache/myfaces/application/jsp/JspViewHandlerImpl.java Tue Aug 30 16:52:37 2005
@@ -115,7 +115,9 @@
 //      "It is the callers responsibility to ensure that setViewId() is called
 //      on the returned view, passing the same viewId value."
 //      so we do not set the viewId here
-//        uiViewRoot.setViewId(viewId);
+
+//      ok, but the RI does so, so let's do it, too.
+        uiViewRoot.setViewId(viewId);
 
         if (currentLocale != null)
         {