File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes GUI search function phrasing 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 "GUI search function phrasing" Watch "GUI search function phrasing" New topic

GUI search function phrasing

Patrick Page

Joined: May 16, 2013
Posts: 2
Hey Guys, I just recently got my assignment (B&S 2.3.3).

On reading through it, in the GUI specification I could use some clarification.
The Statement indicates:

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

Does this mean that my main page should have 2 search bar options so that the CSR can do a combined search for both a name and a location simultaneously,

Or does it mean there should be 1 search field capable of handling a search for a name and location.
Roel De Nijs

Joined: Jul 19, 2004
Posts: 8371

My GUI has 2 text fields (one for name and the other for location) and a search button. Some developers also added a combo box with conditional operator (AND / OR).

SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
Himai Minh
Ranch Hand

Joined: Jul 29, 2012
Posts: 1115
You may want to put two textfields, name and location. When name field is filled, search by name. When location field is filled, search by location.
If both are filled, search for a record with that name and location. In this case, it usually returns you only one search result.
Patrick Page

Joined: May 16, 2013
Posts: 2
Thanks for that guys, Both very helpful.
I agree. Here's the link:
subject: GUI search function phrasing
It's not a secret anymore!