October 24, 200520 yr Newbies I'm new to XML/XSLT. Does anyone know of a way to restore the last query for the next new search? I’ve created a page called ‘products.xsl’ which contains 2 parts. The top part of it is a search engine: category (popup menu) and keywords (text field). The bottom part is a search result list. After the search, I want the last item that I selected from popup menu STAYED within the search result list instead of reset to default. Is there a way to do that? Any helps would be appreciated. Thanks! Danny Edited October 24, 200520 yr by Guest
October 26, 200520 yr Yes, there is a way. You can use the $request-query variable to extract the part of your query that corresponds to your category and get the query value. Check the FMS7A CWP Guide for the correct XPath syntax. Within the popup-menu, you compare each menu value to the query value. If they match, you can set the selected attribute in your menu option like this: menu entry. For this you need .
Create an account or sign in to comment