To sort liferay search container result follow below steps.
1) Create liferay search container in your JSP.
2) Create search container in your controller and set result in search container object.
3) Get sorted results using dynamic query.
1) Create liferay search container in your JSP.
2) Create search container in your controller and set result in search container object.
3) Get sorted results using dynamic query.
hi, nce work..can u sahre the code once pls.
ReplyDeleteI don't have sample portlet for this . But you can use the code snippet i posted in this blog.
ReplyDeleteI am having 4 drop down i want to change the search result according to the drop down values ,Like if i want to values from particular state than it should show the complete state results .
ReplyDeleteI used DynamicQueryFactoryUtil and criterion for this .Please give me any suggestion for this ..
What problem you are facing ? Read the user selected inputs and pass the same in dynamic query to filter records.
Delete