deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject git commit: DELTASPIKE-516 consider ExternalContext#getRequestPathInfo()
Date Sun, 02 Feb 2014 20:51:23 GMT
Updated Branches:
  refs/heads/master aafdf365b -> 406e5c462


DELTASPIKE-516 consider ExternalContext#getRequestPathInfo()

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

Branch: refs/heads/master
Commit: 406e5c462c6a2c6475521078682520e6e5760991
Parents: aafdf36
Author: tandraschko <tandraschko@apache.org>
Authored: Sun Feb 2 21:50:54 2014 +0100
Committer: tandraschko <tandraschko@apache.org>
Committed: Sun Feb 2 21:50:54 2014 +0100

----------------------------------------------------------------------
 .../apache/deltaspike/jsf/impl/util/ClientWindowHelper.java   | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/406e5c46/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/util/ClientWindowHelper.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/util/ClientWindowHelper.java
b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/util/ClientWindowHelper.java
index 2426cb2..0f5bb08 100644
--- a/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/util/ClientWindowHelper.java
+++ b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/util/ClientWindowHelper.java
@@ -52,7 +52,12 @@ public abstract class ClientWindowHelper
                 + ":" + externalContext.getRequestServerPort()
                 + externalContext.getRequestContextPath()
                 + externalContext.getRequestServletPath();
- 
+
+        if (externalContext.getRequestPathInfo() != null)
+        {
+            url += externalContext.getRequestPathInfo();
+        }
+        
         url = JsfUtils.addRequestParameters(externalContext, url, true);
         
         try


Mime
View raw message