" /> " /> "/>

dynamic "params" in Liferay spring mvc portlet @RequestMapping

265 views Asked by At

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.

0

There are 0 answers