A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Developer Certification (SCJD/OCMJD)
User search B&S
Joined: Nov 14, 2008
Dec 03, 2008 18:24:00
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?
Joined: Sep 23, 2008
Dec 03, 2008 19:55:00
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
It is sorta covered in the
JavaRanch Style Guide
subject: User search B&S
B&S- Find method
which to follow when the instruction and the DB interface conflict to each other
Search exactly matches or partially matches?
search requirement in B&S
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015