This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
If the statement says "Customer selects the departure flight (not flights) then if the departure/return flight consist of multiple leg and each leg start with new flight then during the departure/return flights list you need to club the route segments and display as single selection (same as in expedia) and when user select flight then route segment flight nos needs to be send to calculate price
The problem will occur during the change itinerary. If you select 2 segment from your departure flight to change from itinerary then you again call itinerary prepare and in alternate flight scenario you may display the flight that have departure time less then 1 segment flight arrival time which is not a valid selection for user and should not be shown
How do you handle this?
Your inputs are highly appreciated
I hope with this question I am not crossing any SCEA privacy law as this in a very generic flight reservation scenario
I don't think, personally, I'm quite understanding what's being asked. I'd be happy to try to venture an answer (even a "I can't answer that") if I understood it better.
Theodore Jonathan Casser
SCJP/SCSNI/SCBCD/SCWCD/SCDJWS/SCMAD/SCEA/MCTS/MCPD... and so many more letters than you can shake a stick at!
Joined: Jun 04, 2007
Sorry Theodore.. I put the question in quite lengthy way
The question is related to alternate flight. The issue occur when your source to destination consist of multiple segment. The alternate flight step will give the user a choice to select the flight that is within (+)(-) 1 hr of flight departure time and in case of connected flight (-) 1 hr will give an invalid option
That is what I am trying to understand that is alternate flight should only consider (+) 1 hr
I think what is being asked is this - how do you handle the situation where you need to change an Itinerary and the search flight results page gives you flights whose time would not exactly correspond with the user's Itinerary (plus or minus one hour - remember). This is a low level decision and you can document a solution if you want to.
You beat me to it Shabbir. I was late by 3 minutes. arrhh ! [ June 11, 2007: Message edited by: John Meyers ]