Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Advanced Search - Implementation Qurstion

 
Arun G Rao
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is in reference to URLy Bird search by hotel name and location. I started with the editable combo box which had a list from the DB. When my wife saw the design, she suggested that the location drop down should dynamically repsond to the value selected in the name combo box.

E.g -
Case 1) If Hotel name is ANY, then build the list of all locations (ANY will also be an option)

Case 1) If Hotel name is HILTON, then build the list of all locations that this hotel is present (ANY will also be an option).

This will avoid any confusion what so ever after the results are shown (if there are none) and will also apply defensive design. I really liked the idea. The question is, will this be an overkill for the exam.

Thanks in advance.

Arun
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11914
209
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Arun,

I really like that as well, and I don't think it should add much complexity to your project, so it should be fine to add it.

Regards, Andrew
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic