how does this function postComponentJumpEvent() works in jsp
Options
Hi Experts!
We had below customization in our customised titlebar.jsp. Not sure how the below postComponentJumpEvent works to understand where exactly the query will execute.
function onClickCustomSearch ()
We had below customization in our customised titlebar.jsp. Not sure how the below postComponentJumpEvent works to understand where exactly the query will execute.
function onClickCustomSearch ()
{
var contentPage = eval(getAbsoluteFramePath("content"));
if (contentPage != null)
{
var text = document.getElementById("txtSearch1");
callBlur(text);
var strValue = trim(text.value);
if (strValue != "" && strValue != "<%=strSearch %>")
{
//var strDQL="select * from agl_control_document where upper(agl_consignment_id)='"+strValue.toUpperCase()+"'";
var strDQL="<%=STRSELECT1 %>'"+strValue.toUpperCase()+"'<%=STRLOWERASSIGN1 %>'"+strValue.toLowerCase()+"'<%=STRUNION1 %> '"+strValue.toUpperCase()+"'<%=STRLOWERASSIGN1 %> '"+strValue.toLowerCase()+"'<%=STRHIDDEN1 %>";
//alert("agl_consignment_id "+strDQL);
postComponentJumpEvent(null, "search", "content", "queryType", "dql", "query", strDQL);
//postComponentJumpEvent(null, "search", "content", "query", strValue);
if (typeof text.autoComplete != "undefined" && text.autoComplete != null)
{
// add the search string to client-side's auto-complete suggestions
text.autoComplete.addEntry(strValue);
var prefs = InlineRequestEngine.getPreferences(InlineRequestType.JSON);
prefs.setCallback("onUpdateACCallBack");
postInlineServerEvent(null, prefs, null, null, "onUpdateAutoCompleteData", null, null);
}
}
}
0
Comments
Categories
- All Categories
- 108 Developer Announcements
- 49 Articles
- 100 General Questions
- 122 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management