Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Can't set URL parametr by requestTemplate in autoCompleteList
Hi,
I try to make AutoCompleteList
My question is not sending, when i write code in question.
So, my code:
https://gist.github.com/Alina1999mikh/0a93b95c500d9d6497b550888141237f
The problem is: I need to get "keywords" parameter in backend :
String searchQuery = ParamUtil.get(request, "keywords", StringPool.BLANK).toLowerCase();
But I don't have this parameter in URL. Why requestTemplate:
contactSearchQueryTemplate doesn't set this parameter?
Hi ,
You can try prepending "<portlet:namespace/>" to keyword parameter.
Ex. return '&<portlet:namespace/>keywords=' + query;
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™