You could do this instead:
window.exhibit.getComponent("exHiddenTextSearch").setText(pValue);
David
Dan Wlodarski wrote:
> I've got half of the problem licked. First, I assigned an ID to the div in
> HTML:
>
> <div id="exHiddenTextSearch"
> ex:role="facet"
> ex:facetClass="TextSearch"
> style="visibility:invisible"></div>
>
> Then, in the JS event tied to the front-end framework:
>
> var hiddenExhibitInput = document.getElementById("exHiddenTextSearch");
> hiddenExhibitInput.firstChild.firstChild.value = pValue;
>
> pValue, of course, is a parameter of the event.
>
> That gets the value into the TextSearchFacet, but it doesn't apply the
> resulting filter. What would I need to call to do so?
>
>
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general