Renders a link or a button to initiate a browse query term lookup. The link opens a new window in which the user can browse to a search term that is guaranteed to return results, using the BrowseResultsElementRenderer. The selected term is then inserted into the initial search form from which the search is executed, using the javascript window.open( ) function and the window.opener property from the pop-up window to pass information.
XML Configuration Template:
<SearchElementRenderer
rendererClass="com.raritantechnologies.quickstart.taglibrary.forms.BrowseLinkElementRenderer"
name = "[ control name ]"
action = "[ page containing the browse results control ]"
features = "[ third argument to window.open() ]"
formName = "[ form where field exists (DOM path) ]"
field = "[ browse field to use for browse lookup WARNING: This field must be in the same form as the browse control ]"
fieldParam = "[ url parameter to pass browse field name to browse control for dynamic field linking ]"
formField = "[ name of field in local form that field value populates ]"
cssClass = "[ cssClass ]"
text = "[ text for the button or link ]"
imageURL = "[ image for link button ]"
buttonOrLink = "[ button ]" >