I want to make portlet with filter and search results. filter have to be send in get method. I`m using spring annotation @ModelAttribute for filter. But all properties in filter are null, because liferay use prefix for url parameters like _[PORTLET_NAME]_WAR_[WAR_NAME]. I used actionRequest and sended filter by post method and it workek, but i need parameters in url.
Method in controller:
@RequestMapping
public String view(@ModelAttribute("filter") ProcessSearchFilter filter, RenderRequest request, Model model)
when parameter name is _processSearch_WAR_portlets_text=test, in filter property text is test, but i want use just text parameter in url.
any idea how it make?