This JavaScript function retrieves the Resource ID of the current search view. This function can be used only for search views. To get the Resource ID of the current detail view, use the getCurrentViewId JavaScript function on the detail view JSP page.
getCurrentSearchViewId()
None.
Resource ID of the current search view.
This example shows how to refresh the current search view when a value is selected from a combo box by obtaining the current View ID.
<select class="combobox" onChange="changeSearchView(getCurrentSearchViewId())"
<%=getComboOptions(documentTypeBinding)%>>
<yfc:loopOptions
binding="xml:CommonDocumentTypeList:/DocumentParamsList/@DocumentParams"
name="Description" value="DocumentType" selected="<%=selectedDocumentType%>"/>
</select>