On 2012-06-19 01:42 , Jet LI wrote: > Hi > > Is there any way to pre filter search facet, I have tried for the > ex:queryParamName, > but it does not work, because I have to load data programmatic,
Which version of Exhibit are you working with? ex:queryParamName specifies a query parameter for the page you're visiting to pre-set the filter value. That is, if you visit your Exhibit at http://you.example.org/exhibit.html?q=test and ex:queryParamName="q", the pre-filtering value will be "q". You can also just set it with ex:query="test". If you need to set it programmatically as well, we'll need to know which version you're working with (though at the end of the day, you would be calling facet.setText(val)). > I tried facet.setText("test"); or facet.applyRestrictions("test"); > they also not work.... > -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
