mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
Changing id parameter name on restful action mapper to optional
WW-1715 git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/branches/STRUTS_2_0_X@540814 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -240,7 +240,7 @@ public class Restful2ActionMapper extends DefaultActionMapper {
|
||||
return idParameterName;
|
||||
}
|
||||
|
||||
@Inject(StrutsConstants.STRUTS_ID_PARAMETER_NAME)
|
||||
@Inject(required=false,value=StrutsConstants.STRUTS_ID_PARAMETER_NAME)
|
||||
public void setIdParameterName(String idParameterName) {
|
||||
this.idParameterName = idParameterName;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user