portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r216210 - in /portals/jetspeed-2/trunk/portals-bridges/frameworks/src/java/org/apache/portals/bridges/frameworks: GenericFrameworkPortlet.java spring/PortletApplicationModelImpl.java
Date Wed, 13 Jul 2005 18:28:18 GMT
Author: taylor
Date: Wed Jul 13 11:28:18 2005
New Revision: 216210

URL: http://svn.apache.org/viewcvs?rev=216210&view=rev
Log:
fix bug in Framework Bridge where state of current view was being lost in certain cases

Modified:
    portals/jetspeed-2/trunk/portals-bridges/frameworks/src/java/org/apache/portals/bridges/frameworks/GenericFrameworkPortlet.java
    portals/jetspeed-2/trunk/portals-bridges/frameworks/src/java/org/apache/portals/bridges/frameworks/spring/PortletApplicationModelImpl.java

Modified: portals/jetspeed-2/trunk/portals-bridges/frameworks/src/java/org/apache/portals/bridges/frameworks/GenericFrameworkPortlet.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/portals-bridges/frameworks/src/java/org/apache/portals/bridges/frameworks/GenericFrameworkPortlet.java?rev=216210&r1=216209&r2=216210&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/portals-bridges/frameworks/src/java/org/apache/portals/bridges/frameworks/GenericFrameworkPortlet.java
(original)
+++ portals/jetspeed-2/trunk/portals-bridges/frameworks/src/java/org/apache/portals/bridges/frameworks/GenericFrameworkPortlet.java
Wed Jul 13 11:28:18 2005
@@ -557,6 +557,8 @@
         if (key != null)
         {
             bean = model.lookupBean(mb, key);
+            if (bean != null)
+                putBeanInSession(request, mb, bean);
         }
         else
         {

Modified: portals/jetspeed-2/trunk/portals-bridges/frameworks/src/java/org/apache/portals/bridges/frameworks/spring/PortletApplicationModelImpl.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/portals-bridges/frameworks/src/java/org/apache/portals/bridges/frameworks/spring/PortletApplicationModelImpl.java?rev=216210&r1=216209&r2=216210&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/portals-bridges/frameworks/src/java/org/apache/portals/bridges/frameworks/spring/PortletApplicationModelImpl.java
(original)
+++ portals/jetspeed-2/trunk/portals-bridges/frameworks/src/java/org/apache/portals/bridges/frameworks/spring/PortletApplicationModelImpl.java
Wed Jul 13 11:28:18 2005
@@ -243,6 +243,7 @@
                     requiresExternalSupport = true;
                 }
                 modelBean = new ModelBeanImpl(beanName, ModelBean.POJO, lookup, requiresExternalSupport);
+                modelBeanMap.put(beanName, modelBean);
             }
         }
         else



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


Mime
View raw message