Manu
Manu

Reputation: 1263

dynamic "params" in Liferay spring mvc portlet @RequestMapping

This is my jsp portlet action

<portlet:actionURL var="saveAsDraftURL">
    <portlet:param name="action" value="abc"></portlet:param>
</portlet:actionURL>

also action I can do it dynamic by

<portlet:param name="action" value="${abcValue}"></portlet:param>

and this is my RequestMapping in my controller class

@RequestMapping(params = { "action=abc" })
    public void saveTheForm(

is there way if I can make it dynamic the request mapping params in my controller class.

Upvotes: 0

Views: 283

Answers (0)

Related Questions