Quantcast
Channel: Adobe Community : Popular Discussions - CQ5 (read only)
Viewing all articles
Browse latest Browse all 12476

List Component - Query

$
0
0

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.


Viewing all articles
Browse latest Browse all 12476

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>