The default name of the parameter is "action", but can be changed using {@link #setParameterName setParameterName()}.
The bean configuration for this mapping will look somthing like this:
<bean id="parameterHandlerMapping" class="org.springframework.web.portlet.handler.ParameterHandlerMapping"> <property name="parameterMap"> <map> <entry key="add"><ref bean="addItemHandler"/></entry> <entry key="edit"><ref bean="editItemHandler"/></entry> <entry key="delete"><ref bean="deleteItemHandler"/></entry> </map> </property> </bean>Thanks to Rainer Schmitz for suggesting this mapping strategy! @author John A. Lewis @author Juergen Hoeller @since 2.0 @see ParameterMappingInterceptor
|
|
|
|