myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1533085 - /myfaces/core/branches/2.1.x/impl/src/main/java/org/apache/myfaces/config/impl/digester/DigesterFacesConfigUnmarshallerImpl.java
Date Thu, 17 Oct 2013 14:04:37 GMT
Author: lu4242
Date: Thu Oct 17 14:04:36 2013
New Revision: 1533085

URL: http://svn.apache.org/r1533085
Log:
MYFACES-3743 <redirect><view-param>... has been renamed to <redirect><redirect-param>
in navigation case

Modified:
    myfaces/core/branches/2.1.x/impl/src/main/java/org/apache/myfaces/config/impl/digester/DigesterFacesConfigUnmarshallerImpl.java

Modified: myfaces/core/branches/2.1.x/impl/src/main/java/org/apache/myfaces/config/impl/digester/DigesterFacesConfigUnmarshallerImpl.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.1.x/impl/src/main/java/org/apache/myfaces/config/impl/digester/DigesterFacesConfigUnmarshallerImpl.java?rev=1533085&r1=1533084&r2=1533085&view=diff
==============================================================================
--- myfaces/core/branches/2.1.x/impl/src/main/java/org/apache/myfaces/config/impl/digester/DigesterFacesConfigUnmarshallerImpl.java
(original)
+++ myfaces/core/branches/2.1.x/impl/src/main/java/org/apache/myfaces/config/impl/digester/DigesterFacesConfigUnmarshallerImpl.java
Thu Oct 17 14:04:36 2013
@@ -236,7 +236,15 @@ public class DigesterFacesConfigUnmarsha
         digester.addSetNext("faces-config/navigation-rule/navigation-case/redirect/view-param",
"addViewParam");
         digester.addCallMethod("faces-config/navigation-rule/navigation-case/redirect/view-param/name",
"setName",0);
         digester.addCallMethod("faces-config/navigation-rule/navigation-case/redirect/view-param/value",
"setValue",0);
-        
+
+        digester.addObjectCreate("faces-config/navigation-rule/navigation-case/redirect/redirect-param",

+            ViewParam.class);
+        digester.addSetNext("faces-config/navigation-rule/navigation-case/redirect/redirect-param",

+            "addViewParam");
+        digester.addCallMethod("faces-config/navigation-rule/navigation-case/redirect/redirect-param/name",

+            "setName",0);
+        digester.addCallMethod("faces-config/navigation-rule/navigation-case/redirect/redirect-param/value",

+            "setValue",0);
 
         digester.addObjectCreate("faces-config/render-kit", RenderKit.class);
         digester.addSetNext("faces-config/render-kit", "addRenderKit");



Mime
View raw message