aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes User search B&S Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "User search B&S" Watch "User search B&S" New topic
Author

User search B&S

Jakub Drzazga
Ranch Hand

Joined: Nov 14, 2008
Posts: 41
I have doupts about search in client GUI. It is written in the submision i paragraph "The User Interface":

...
It must allow the user to search the data for all records, or for records where the name and/or location fields exactly match values specified by the user.
...

Is it means that it is a little bit different searching than "Fred"
matches "Fred" or "Freddy"? Is it necessary to use in GUI searching like "Fred" matches "Freddy" and nothing else?

Please help.
Martin Castellanos
Greenhorn

Joined: Sep 23, 2008
Posts: 10
Your Data class should return records that have partial match, whether you make like an AND or an OR is up to you and you should put it in your choices.

Your GUI should show only exact matches.

Data: "Fred" matches "Freddy", "Fredd", etc...
GUI: "Fred" matches "Fred" only


Regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: User search B&S
 
Similar Threads
which to follow when the instruction and the DB interface conflict to each other
search requirement in B&S
Search exactly matches or partially matches?
B&S- Find method
B&S findcriteria()