Hi,

I'm trying to create a generic search component that should show up in the footer bar. Creating the component itself is not a problem but returning the results is. The component is calling a service like this:

final SearchService searchService = lookupService(SearchService.class);
SortedSet<SearchResult> results = searchService.find(this.query, null, 1);

I was thinking about returning a StandaloneCollectionPage or ViewModel by using ActionResultResponseType but I can't figure out to create the model right. So how to set the response page with the right parameters?

Thanks,
Erik

Reply via email to