on 09-04-2006 10:35 AM
Hi All,
I am employing the "Google Search" functionality in WDP. I am following the BestPractices pdf. I am getting a compilation error in the search view for the following line of code:
updateSearchIndex(1);
The error states: The method updateSearchIndex(int) is undefined for the type SearchView.
I have followed all the steps mentioned in the pdf. I am not able to figure out why I am getting this error. Can anyone help Plz..
Regds,
Newbie
Hi PN,
You must write the code code for the method
updateSearchIndex(1);
as it is not given by the system.
create a methos by name updateSearchIndex(int pgIndx) with pgIndx as the integer parameter in the methods tab of search view and write the folloeing code in it:
wdContext.currentButtonBarElement().setPageIndex(pgIndx);
wdContext.currentRequest_GoogleSearchPort_doGoogleSearchElement().setStart((pageIndex -1) * 10);
You need to implement the code for displaying the HTML Result strings along with this then only u'll be able to get proper output.
Regds,
Anagha.
DONOT FORGET TO REWARD POINTS FOR USEFUL ANSWERS.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Heidi,
When I click on SAP Notes search link it asks for a username and password. How to register for that. Is it free registration?
Regds,
PN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Srinivasan,
How to get the SAP note 722502?
Rgds,
PN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Refer to SAP Note 722502 and try implementing the correction instructions.
Hope it helps.
Regards
Srinivasan T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.