PortletMVC4Spring Annotations¶
PortletMVC4Spring provides several annotations for mapping requests to controller classes and controller methods.
@RenderMapping
Annotation Examples¶
The following table describes some @RenderMapping
annotation examples.
Example |
Description |
---|---|
|
Handle primary render requests if no other handler methods match the render request. |
|
Handle the render request if has parameter a parameter setting |
|
Handle the request if it has a parameter named |
|
Handle the request as long as it has not parameter named |
|
Handle the request if the window state is |
@ActionMapping
Annotation Examples¶
The table below describes some @ActionMapping
annotation examples.
Example |
Description |
---|---|
|
Handle primary action requests if no other handler methods match the action request. |
|
Handle the action request if it has a parameter setting |
|
Handle the request if it has a parameter named |
|
Handle the request as long as it has no parameter named |