Author: mrdon Date: Mon May 21 06:55:34 2007 New Revision: 540147 URL: http://svn.apache.org/viewvc?view=rev&rev=540147 Log: Improving javadocs WW-1939
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java?view=diff&rev=540147&r1=540146&r2=540147 ============================================================================== --- struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java (original) +++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/mapper/Restful2ActionMapper.java Mon May 21 06:55:34 2007 @@ -58,6 +58,15 @@ * </action> * </pre> * <p> + * This mapper supports the following parameters: + * </p> + * <ul> + * <li><code>struts.mapper.idParameterName</code> - If set, this value will be the name + * of the parameter under which the id is stored. The id will then be removed + * from the action name. This allows restful actions to not require wildcards. + * </li> + * </ul> + * <p> * The following URL's will invoke its methods: * </p> * <ul>