Hi Adam,
you could try the JS method XSP.fireEvent as described
here.
But wouldn't it be easier to open a page and add a parameter to the URL which contains the search value?
F.e. http://www.example.org/db.nsf/search.xsp?query=TERM
Then you just have to do a redirect to a specific page, and don't have to use the sessionScope. This would be easier to implement, could be cache, and is just a simple link (that's why I have implemented it this way.)
Sven