This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes User search B&S Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: User search B&S
 
Similar Threads
search requirement in B&S
B&S findcriteria()
which to follow when the instruction and the DB interface conflict to each other
Search exactly matches or partially matches?
B&S- Find method