Search Hotels

   
Maximum results: 
Name #{hot.name} Address #{hot.address} City, State #{hot.city}, #{hot.state}, #{hot.country} Zip #{hot.zip} Action

Current Hotel Bookings

Name #{book.hotel.name} Address #{book.hotel.address} City, State #{book.hotel.city}, #{book.hotel.state} Check in date Check out date Confirmation number #{book.id} Action

State management in Seam

State in Seam is contextual. When you click "Find Hotels", the application retrieves a list of hotels from the database and caches it in the session context. When you navigate to one of the hotel records by clicking the "View Hotel" link, a conversation begins. The conversation is attached to a particular tab, in a particular browser window. You can navigate to multiple hotels using "open in new tab" or "open in new window" in your web browser. Each window will execute in the context of a different conversation. The application keeps state associated with your hotel booking in the conversation context, which ensures that the concurrent conversations do not interfere with each other.

How does the search page work?