myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r1178906 - /myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/component/UIPopup.java
Date Tue, 04 Oct 2011 19:02:47 GMT
Author: bommel
Date: Tue Oct  4 19:02:47 2011
New Revision: 1178906

URL: http://svn.apache.org/viewvc?rev=1178906&view=rev
Log:
(TOBAGO-1034)
Activate popup if decode fails

Modified:
    myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/component/UIPopup.java

Modified: myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/component/UIPopup.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/component/UIPopup.java?rev=1178906&r1=1178905&r2=1178906&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/component/UIPopup.java
(original)
+++ myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/component/UIPopup.java
Tue Oct  4 19:02:47 2011
@@ -60,6 +60,9 @@ public class UIPopup extends UIPanelBase
         facesContext.renderResponse();
         throw e;
       }
+      if (facesContext.getRenderResponse()) {
+        setActivated(true);
+      }
       addToPage();
     }
   }



Mime
View raw message