Commits

Anonymous committed 9e3a482

WW-1412
- ParamRemoverInterceptor is suffering from the getter/setter rpoblem as described in http://wiki.opensymphony.com/display/WW/Why+does+my+setter+not+get+called and http://cephas.net/blog/1007/01/04/ognl-getter-and-setter-type-must-match/

Removing the getParameterNames and getParamValues methods solves this issue

In summary, this is due to Ognl follows the JavaBean spec, and for a property to get recognized it needs to be consistent in its getter and setter

Thx Martin for letting us know about it. :-)

git-svn-id: http://svn.opensymphony.com/svn/xwork/branches/xwork_1-2/src@1310e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits b3a2206

Comments (0)

Files changed (1)

File java/com/opensymphony/xwork/interceptor/ParameterRemoverInterceptor.java

 
 
 	/**
-	 * Return the csv <code>paramNames</code> as a <code>Set</code>.
-	 * 
-	 * @return the paramNames
-	 */
-	public Set getParamNames() {
-		return this.paramNames;
-	}
-
-	/**
 	 * Allows <code>paramNames</code> attribute to be set as comma-separated-values (csv).
 	 * 
 	 * @param paramNames the paramNames to set
 		this.paramNames = TextParseUtil.commaDelimitedStringToSet(paramNames);
 	}
 
-	/**
-	 * Return the csv <code>paramValues</code> as a <code>Set</code>.
-	 * 
-	 * @return the paramValues
-	 */
-	public Set getParamValues() {
-		return this.paramValues;
-	}
 
 	/**
 	 * Allows <code>paramValues</code> attribute to be set as a comma-separated-values (csv).