Free community discussion board for IBM® WebSphere® Portal
and Lotus Web Content Management™
(WCM / ILWWCM / LWWCM / WWCM) products.
You are not logged in.
We are trying to add search capabilities to a portlet constructed using WCM 6.1.
We have a few site areas forming a tree structure and we would like the search to only search in the current area and its children. When the search results are displayed, the navigator component showing which site area we are up should ideally remain unchanged. Conceptually we have not left the site area.
Now, the search works fine. I followed the tutorial on the wiki. It advises creating a separate site area for displaying search results. While the results are there, the navigation component thinks we are outside of everywhere (which we are). I found no way of tricking it into thinking that it's on the page the search request came from.
Another way of solving this I thought could be making the action of the search form itself, i.e. action=''. Then somehow detect that the request was a search, so instead of displaying the current content, display the search results. But I could never figure out how to do this.
Please share your ideas if you know how to display the search results on the same page without (at least visually) navigating away from the site area.
Offline