struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [02/28] struts git commit: WW-4447 Reverts some changes introduced by WW-4297 Resetting 'label' attribute can block user if they would like to develop their own hidden.ftl template
Date Thu, 19 Mar 2015 08:50:01 GMT
WW-4447 Reverts some changes introduced by WW-4297
Resetting 'label' attribute can block user if they would like to
develop their own hidden.ftl template


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

Branch: refs/heads/master
Commit: 243378937969e5caeeeefc2bd98ce799a995e431
Parents: 0b49c2c
Author: Lukasz Lenart <lukaszlenart@apache.org>
Authored: Wed Jan 14 16:15:17 2015 +0100
Committer: Lukasz Lenart <lukaszlenart@apache.org>
Committed: Wed Jan 14 16:15:17 2015 +0100

----------------------------------------------------------------------
 core/src/main/java/org/apache/struts2/components/Hidden.java | 6 ------
 1 file changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/24337893/core/src/main/java/org/apache/struts2/components/Hidden.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/struts2/components/Hidden.java b/core/src/main/java/org/apache/struts2/components/Hidden.java
index 36b03d1..b513340 100644
--- a/core/src/main/java/org/apache/struts2/components/Hidden.java
+++ b/core/src/main/java/org/apache/struts2/components/Hidden.java
@@ -66,10 +66,4 @@ public class Hidden extends UIBean {
         return TEMPLATE;
     }
 
-    @Override
-    public void evaluateParams() {
-        super.evaluateParams();
-        label = null;
-        addParameter("label", null);
-    }
 }


Mime
View raw message