portals-bridges-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r541449 - /portals/bridges/trunk/jsf/src/java/org/apache/portals/bridges/jsf/FacesPortlet.java
Date Thu, 24 May 2007 22:12:45 GMT
Author: taylor
Date: Thu May 24 15:12:41 2007
New Revision: 541449

URL: http://svn.apache.org/viewvc?view=rev&rev=541449
Log:
https://issues.apache.org/jira/browse/PB-64
correctly restore view in action life cycle thanks to suggestion from Matt Bruzek

Modified:
    portals/bridges/trunk/jsf/src/java/org/apache/portals/bridges/jsf/FacesPortlet.java

Modified: portals/bridges/trunk/jsf/src/java/org/apache/portals/bridges/jsf/FacesPortlet.java
URL: http://svn.apache.org/viewvc/portals/bridges/trunk/jsf/src/java/org/apache/portals/bridges/jsf/FacesPortlet.java?view=diff&rev=541449&r1=541448&r2=541449
==============================================================================
--- portals/bridges/trunk/jsf/src/java/org/apache/portals/bridges/jsf/FacesPortlet.java (original)
+++ portals/bridges/trunk/jsf/src/java/org/apache/portals/bridges/jsf/FacesPortlet.java Thu
May 24 15:12:41 2007
@@ -486,6 +486,8 @@
         {
             if (actionRequest)
             {
+                String vi = context.getViewRoot().getViewId();
+                context.getApplication().getViewHandler().restoreView(context, vi);
                 getLifecycle().execute(context);
                 if (log.isTraceEnabled())
                 {
@@ -493,7 +495,6 @@
                 }
                 // The view should have been restore.
                 // Pass it to the render request.
-
                 request.getPortletSession().setAttribute(
                         createViewRootKey(context, defaultPage, viewId),
                         context.getViewRoot());



---------------------------------------------------------------------
To unsubscribe, e-mail: bridges-commits-unsubscribe@portals.apache.org
For additional commands, e-mail: bridges-commits-help@portals.apache.org


Mime
View raw message