Customize CSP Search Page with CSS
Hello,
I am using CSP:search and would like to customize the appearance of pop-up search page with CSS. Any help is appreciated.
Thanks.
Dave
Discussion (2)1
Comments
Here's how you can do it
- Extend %CSP.PageLookup class and redefine ShowStyleSheet method there.
- Create custom tag calling your new search page
Documentation:
if i remember correctly you do not need to create a custom tag in order to use your customer version of the lookup-class. You can use the default CSP:search tag and provide your modified custom lookup-class by the "searchpage" attribute.
<csp:Search name="FindPerson"
searchpage="%ZCSP.PageLookup.cls?SEARCH&..."
onselect="onFindCustomer"
classname="Sample.Person"
...