I have a discussion folder with a few custom entry attributes that are input through a custom form. I like how the discussion view has a filter to search on my custom entry attributes. However I would like the filter to be a dynamic filter form instead of having to build static filters. In other words I'd like to build a custom filter accessory. I have already built a custom search JSP on a landing page (based on the WEB-INF/jsp/search/ jsp's) but prefer the discussion page filter view.

Can someone point me in the right direction on how to create a custom filter accessory? Where are the standard filter jsp's located? Is there a way to insert JSP in a Text HTML accessory?