Hi all,
I have a list component and I have set up initial query in advance search, which generates the listing of the articles.
Now I am planning to add a search box and upon providing the new search text I would like to search again and utilizing same list component I would like to display new result list.
I looked a the init.jsp and found the place where I think it executes the initial query?
I tried to override source and query string but it is not taking an effect. Also I am not able to find the jar for "com.day.cq.wcm.foundation.List", I wanted to decompile and wanted to see how querys are executed.
List list = new List(slingRequest, new PageFilter());
list.setQuery("Test");
list.setSource("search");
Any pointers would be helpful!
Thanks in advance.