deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject deltaspike git commit: DELTASPIKE-795 added check needed for view-actions
Date Mon, 08 Dec 2014 12:51:17 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master d2e08ec0a -> 3d66b6dd7


DELTASPIKE-795 added check needed for view-actions


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/3d66b6dd
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/3d66b6dd
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/3d66b6dd

Branch: refs/heads/master
Commit: 3d66b6dd77a60fa49066e7cb01a7fedacd221faf
Parents: d2e08ec
Author: gpetracek <gpetracek@apache.org>
Authored: Mon Dec 8 13:48:23 2014 +0100
Committer: gpetracek <gpetracek@apache.org>
Committed: Mon Dec 8 13:48:23 2014 +0100

----------------------------------------------------------------------
 .../scope/viewaccess/ViewAccessScopedAwareNavigationHandler.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/3d66b6dd/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/scope/viewaccess/ViewAccessScopedAwareNavigationHandler.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/scope/viewaccess/ViewAccessScopedAwareNavigationHandler.java
b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/scope/viewaccess/ViewAccessScopedAwareNavigationHandler.java
index d89b0a7..46b208b 100644
--- a/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/scope/viewaccess/ViewAccessScopedAwareNavigationHandler.java
+++ b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/scope/viewaccess/ViewAccessScopedAwareNavigationHandler.java
@@ -50,7 +50,7 @@ public class ViewAccessScopedAwareNavigationHandler extends NavigationHandler
im
 
         this.navigationHandler.handleNavigation(context, fromAction, outcome);
         
-        if (viewId != null)
+        if (viewId != null && context.isPostback() /*need for supporting view-actions
correctly - see DELTASPIKE-795*/)
         {
             lazyInit();
 


Mime
View raw message