Originally posted by Kalichar Rangantittu:
Could anyone suggest a design by which one can easily determine which fields are to be shown part of the search criteria. In other words, our requirement says we should allow search by Dest airport/Arrival airport. I would have to hard code the program to use these fields as part of the criteria for search. How can one avoid this? It is possible to have a properties file and read from that as to which fields are to be shown. However, that would be over kill. Cannot think of any other way to keep this flexible. Any suggestions would be welcome....
In my design, you can search by any two criteria. There are two selection menus, you pick two criteria, then hit ok, then a window come up, you type in data in edit field, hit ok again, the search result will be returned to you.
It may be overkill, but you never know, perhaps you underkill somewhere.