You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2011/12/08 21:41:15 UTC
svn commit: r1212106 -
/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/lifecycle/RestoreViewExecutor.java
Author: bommel
Date: Thu Dec 8 20:41:14 2011
New Revision: 1212106
URL: http://svn.apache.org/viewvc?rev=1212106&view=rev
Log:
TOBAGO-1057: Navigate to a new view with partialReload (AJAX) - (Support of CODE_RELOAD_REQUIRED)
preserve jsf-1.1 compatibility
Modified:
myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/lifecycle/RestoreViewExecutor.java
Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/lifecycle/RestoreViewExecutor.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/lifecycle/RestoreViewExecutor.java?rev=1212106&r1=1212105&r2=1212106&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/lifecycle/RestoreViewExecutor.java (original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/lifecycle/RestoreViewExecutor.java Thu Dec 8 20:41:14 2011
@@ -69,7 +69,7 @@ class RestoreViewExecutor implements Pha
}
sessionMap.remove(TobagoLifecycle.FACES_MESSAGES_KEY);
if (viewRoot.getChildCount() > 0 && viewRoot.getChildren().get(0) instanceof AbstractUIPage) {
- viewRoot.getChildren().get(0).decode(facesContext);
+ ((UIComponent) viewRoot.getChildren().get(0)).decode(facesContext);
}
facesContext.renderResponse();
return true;