When a user does a simple search or an advanced search and I am in the search results dialog, I can view the search results nodes with browseBean. Can I yes programmatically as you say, with Java in the Dialog recover the actual search query the user made, whether simple search or advanced search?