wood burning stoves 2.0*
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
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: User search B&S