Hi,
Before I ask my question I'd like to mention that I am not too familiar with the JavaScript/Java etc. I am an ABAP person now starting to work on the SAPUI5 and Gateway.
So here's my question;
When I create SAPUI5 app and create a shell (in fact the system does it for me) there is an option to activate the Search Tool (please see below). I did that and I got the tool.
--------------------------------------------------------------------------------------------------------------------------------------
createShell:function(oController){
var oShell = sap.ui.ux3.Shell("ID_CostCenterShell",{
appIcon: "images/esri.gif",
appTitle: oBundle.getText("APP_TITLE"),
showLogoutButton:false,
showSearchTool: true,
showInspectorTool: false,
showFeederTool: false,
worksetItems: [new sap.ui.ux3.NavigationItem("navItemList",{key: "CostCenterList",text:oBundle.getText("WORKSET_TITLE")})],
--------------------------------------------------------------------------------------------------------------------------------------
I now want to be able to do a search and fire a server side code/method from here such that a code/method in my Gateway service class gets fired for the entered search criteria.
I could find code for a local trigger as mentioned in the Demo kit as below;
search:function(oEvent){
alert("Search triggered: " + oEvent.getParameter("text"));
But I am looking for something that can fire a back-end search for the data entered in the search tool.
I've been trying to do it for sometime now but I think it's best to ask the best brains in the industry,..
Please help.
Thanks,
Sanjiv