Identify the Java search list items (124 Views)
Reply
Advisor
Jupalli
Posts: 17
Registered: ‎06-19-2013
Message 1 of 1 (124 Views)

Identify the Java search list items

I have a stadalone java application that maintains inventory, say books, and when I search for a book, say "time", I get the list of books that contain the tag "time". I would like to read each list item and compare the contents to identify a specific item to select.

 

I can select each item my their ID, i.e., JavaList.select "0" or JavaList.select "1" however, I would like to read the contents of each list item and compare if it has specific text, if so then select it.

 

I've tried getitem but it only gives the search query result string used by the java code (e.g: javautil.query1.result@bbasedwe) and not the contents like "Time is Money edition 2"

 

 

Appreciate any pointers.


-- Opinions expressed in my postings are mine alone, and do not reflect the opinions of my employer. No warranties express or implied for any solution/suggestion posted.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.